Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:59:08.043718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_02_3777.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_05_2598.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_07_2593.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_14_6973.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_23_8861.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_25_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_02_3777.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_05_2598.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_07_2593.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_14_6973.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_23_8861.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_25_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990847","1396990841","1396990817","1396990882","1396990849","1396990845"],"photo_ids_order":["1396990817","1396990841","1396990845","1396990847","1396990849","1396990882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c4f9cf102735b882600f2a639d5bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5657334088609814963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_14_6973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1763c83dd0695f7578f9fb80c01b1f75.jpg","text":"TemporaryFile(/tmp/multipartBody5495398048487504793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_05_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/30/56a8c01dbf4df143b3ac13857712149a.jpg","text":"TemporaryFile(/tmp/multipartBody8534031269627575786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_02_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/30/41237e986df7b67d1284ef73699c57d5.jpg","text":"TemporaryFile(/tmp/multipartBody2004910729090237347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_25_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/30/86e9ae5151fd293132302a6cd212ade2.jpg","text":"TemporaryFile(/tmp/multipartBody1622453935059184016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_23_8861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cc42e6629c536713588c620401fa6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2614312314046036190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457212040,"filename":"image_25112025_19_24_07_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990845","file1":"1396990841","file0":"1396990817","file4":"1396990849","file5":"1396990882","file3":"1396990847"},"map_files_photo_id_array":[{"photo_id":"1396990882","filename":"file5"},{"photo_id":"1396990845","filename":"file2"},{"photo_id":"1396990849","filename":"file4"},{"photo_id":"1396990841","filename":"file1"},{"photo_id":"1396990817","filename":"file0"},{"photo_id":"1396990847","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990847":["hashtag1","hashtag2"]},{"1396990841":["hashtag1","hashtag2"]},{"1396990817":["hashtag1","hashtag2"]},{"1396990882":["hashtag1","hashtag2"]},{"1396990849":["hashtag1","hashtag2"]},{"1396990845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990847, 1396990841, 1396990817, 1396990882, 1396990849, 1396990845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.501967668533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:00:02.866781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_27_1611.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_28_1667.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_30_1548.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_32_1638.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_33_1723.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_36_2942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_27_1611.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_28_1667.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_30_1548.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_32_1638.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_33_1723.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_36_2942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396991213","1396991170","1396991293","1396991332","1396991104","1396991253"],"photo_ids_order":["1396991104","1396991170","1396991213","1396991253","1396991293","1396991332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b54ecf119a3f0b64d5bab3ea268e0378.jpg","text":"TemporaryFile(/tmp/multipartBody3356252104517875952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_30_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eba2f43850bea3b33a2ba319f172979b.jpg","text":"TemporaryFile(/tmp/multipartBody3364511950470014817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_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/30/1176d35ffd3076610a8a115b3fbe14cf.jpg","text":"TemporaryFile(/tmp/multipartBody7296273596256972440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_33_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3730e5fb885cc66e49b4b3496b25a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1934901540513241867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_36_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/30/517bfb45d4a6f9e7706706e77fc3b701.jpg","text":"TemporaryFile(/tmp/multipartBody3743319186209288099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_27_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/30/86ad7cc33744a92f60ae8b29c3585be2.jpg","text":"TemporaryFile(/tmp/multipartBody7307091668059829853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457264234,"filename":"image_25112025_19_24_32_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396991213","file1":"1396991170","file0":"1396991104","file4":"1396991293","file5":"1396991332","file3":"1396991253"},"map_files_photo_id_array":[{"photo_id":"1396991332","filename":"file5"},{"photo_id":"1396991213","filename":"file2"},{"photo_id":"1396991293","filename":"file4"},{"photo_id":"1396991170","filename":"file1"},{"photo_id":"1396991104","filename":"file0"},{"photo_id":"1396991253","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396991213":["hashtag1","hashtag2"]},{"1396991170":["hashtag1","hashtag2"]},{"1396991293":["hashtag1","hashtag2"]},{"1396991332":["hashtag1","hashtag2"]},{"1396991104":["hashtag1","hashtag2"]},{"1396991253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396991213, 1396991170, 1396991293, 1396991332, 1396991104, 1396991253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.073678731918335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:00:42.376258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/11/image_31102025_11_11_32_2755.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_36_3638.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_38_2638.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_41_2630.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_45_3815.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_47_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_32_2755.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_36_3638.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_38_2638.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_41_2630.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_45_3815.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_47_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396991504","1396991503","1396991496","1396991523","1396991505","1396991459"],"photo_ids_order":["1396991459","1396991496","1396991503","1396991504","1396991505","1396991523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45afde07f2e927106202de8631017887.jpg","text":"TemporaryFile(/tmp/multipartBody348009768721128188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_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/30/d37c9131bf4cab2f93a7ee2acf150475.jpg","text":"TemporaryFile(/tmp/multipartBody7497135620254696115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_38_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/30/89dbd8140f07c58e8b355a16ac135d29.jpg","text":"TemporaryFile(/tmp/multipartBody6753270798507587430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_36_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/30/0554a53a04b39b950a57982f07322458.jpg","text":"TemporaryFile(/tmp/multipartBody65795228858933798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_47_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c865313109c794c7515d2c4837f6552.jpg","text":"TemporaryFile(/tmp/multipartBody250264422910497874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_45_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/30/90588039b2b0d2728441e40f513bcd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3820767692663968116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457303298,"filename":"image_31102025_11_11_32_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396991503","file1":"1396991496","file0":"1396991459","file4":"1396991505","file5":"1396991523","file3":"1396991504"},"map_files_photo_id_array":[{"photo_id":"1396991523","filename":"file5"},{"photo_id":"1396991503","filename":"file2"},{"photo_id":"1396991505","filename":"file4"},{"photo_id":"1396991496","filename":"file1"},{"photo_id":"1396991459","filename":"file0"},{"photo_id":"1396991504","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396991504":["hashtag1","hashtag2"]},{"1396991503":["hashtag1","hashtag2"]},{"1396991496":["hashtag1","hashtag2"]},{"1396991523":["hashtag1","hashtag2"]},{"1396991505":["hashtag1","hashtag2"]},{"1396991459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396991504, 1396991503, 1396991496, 1396991523, 1396991505, 1396991459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768409729003906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:01:22.672891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 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_30112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29028864, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764457343000}
4219
4142295
4219
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/23/59/image_30112025_00_00_04_9675.jpg', '/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_15_10554.jpg', '/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_24_9701.jpg', '/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_34_9804.jpg', '/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_45_10768.jpg', '/home/pi/Desktop/images/30112025/00/00/image_30112025_00_01_04_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/29112025/23/59/image_30112025_00_00_04_9675.jpg
/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_15_10554.jpg
/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_24_9701.jpg
/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_34_9804.jpg
/home/pi/Desktop/images/30112025/00/00/image_30112025_00_00_45_10768.jpg
/home/pi/Desktop/images/30112025/00/00/image_30112025_00_01_04_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396991665","1396991623","1396991620","1396991664","1396991661","1396991654"],"photo_ids_order":["1396991620","1396991623","1396991654","1396991661","1396991664","1396991665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/224487998247539bf05c57a6da923c35.jpg","text":"TemporaryFile(/tmp/multipartBody7457116855878932862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_01_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc1067fd25e983277e5278c04c7f3314.jpg","text":"TemporaryFile(/tmp/multipartBody2980457695879256448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_00_15_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ac9b50595448ce276c9e51f92b1401d.jpg","text":"TemporaryFile(/tmp/multipartBody4423636896828435765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_00_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74f5f2c7a5e8f16a0d58c8cc6a0ce325.jpg","text":"TemporaryFile(/tmp/multipartBody7237465126043784125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_00_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47a96609a9b648085acb89f89de33d43.jpg","text":"TemporaryFile(/tmp/multipartBody5679645610248440216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_00_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7014d9376c00cdc6ae83452ede599d10.jpg","text":"TemporaryFile(/tmp/multipartBody4687722370053444016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457344307,"filename":"image_30112025_00_00_24_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396991654","file1":"1396991623","file0":"1396991620","file4":"1396991664","file5":"1396991665","file3":"1396991661"},"map_files_photo_id_array":[{"photo_id":"1396991665","filename":"file5"},{"photo_id":"1396991654","filename":"file2"},{"photo_id":"1396991664","filename":"file4"},{"photo_id":"1396991623","filename":"file1"},{"photo_id":"1396991620","filename":"file0"},{"photo_id":"1396991661","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396991665":["hashtag1","hashtag2"]},{"1396991623":["hashtag1","hashtag2"]},{"1396991620":["hashtag1","hashtag2"]},{"1396991664":["hashtag1","hashtag2"]},{"1396991661":["hashtag1","hashtag2"]},{"1396991654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396991665, 1396991623, 1396991620, 1396991664, 1396991661, 1396991654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.608569860458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:02:03.138420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_15_10713.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_25_9687.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_34_9628.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_15_10713.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_25_9687.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_34_9628.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_45_10708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5423498153686523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:02:12.620513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_38_1642.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_41_2675.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_44_3642.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_49_2547.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_53_3626.jpg', '/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_56_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_38_1642.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_41_2675.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_44_3642.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_49_2547.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_53_3626.jpg
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_56_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396992025","1396991905","1396992066","1396991943","1396991868","1396991987"],"photo_ids_order":["1396991868","1396991905","1396991943","1396991987","1396992025","1396992066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e364683d81258ea7f8eb4f0384d4e4ac.jpg","text":"TemporaryFile(/tmp/multipartBody7305575597886299173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_53_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/30/50dc32c6a3ccb9fdf143ce24612da0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1374906569702356788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_41_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23530408a0ecad71052140c36033db88.jpg","text":"TemporaryFile(/tmp/multipartBody8572837569206155604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_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/30/c777e52bb2609720994dad32a3b22380.jpg","text":"TemporaryFile(/tmp/multipartBody3793477693488176913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_44_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/30/9dfcf3ce1ab9f37f6d6e842490ea7c72.jpg","text":"TemporaryFile(/tmp/multipartBody256438773795533101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_38_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/30/6986c7b64d001dfffafd314318ce8ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6152572798688624584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457394666,"filename":"image_25112025_19_24_49_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396991943","file1":"1396991905","file0":"1396991868","file4":"1396992025","file5":"1396992066","file3":"1396991987"},"map_files_photo_id_array":[{"photo_id":"1396992066","filename":"file5"},{"photo_id":"1396991943","filename":"file2"},{"photo_id":"1396992025","filename":"file4"},{"photo_id":"1396991905","filename":"file1"},{"photo_id":"1396991868","filename":"file0"},{"photo_id":"1396991987","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396992025":["hashtag1","hashtag2"]},{"1396991905":["hashtag1","hashtag2"]},{"1396992066":["hashtag1","hashtag2"]},{"1396991943":["hashtag1","hashtag2"]},{"1396991868":["hashtag1","hashtag2"]},{"1396991987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396992025, 1396991905, 1396992066, 1396991943, 1396991868, 1396991987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.109557151794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:03:02.776893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_15_10713.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_25_9687.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_34_9628.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_45_10708.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_55_9807.jpg', '/home/pi/Desktop/images/30112025/00/01/image_30112025_00_02_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_15_10713.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_25_9687.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_34_9628.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_45_10708.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_01_55_9807.jpg
/home/pi/Desktop/images/30112025/00/01/image_30112025_00_02_04_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396992433","1396992318","1396992395","1396992278","1396992472","1396992355"],"photo_ids_order":["1396992278","1396992318","1396992355","1396992395","1396992433","1396992472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dafccae186a0751d23f2cf4d3c22ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody7080567026038416980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_01_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edd6fa63ecbbe65b4321fa74bf933680.jpg","text":"TemporaryFile(/tmp/multipartBody2069594130675669048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_01_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2df3d7c0ff85ce7999298bccae31dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6297511050386669228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_01_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9af28d70ce2e5e0a56ee7780ebb8784f.jpg","text":"TemporaryFile(/tmp/multipartBody3765121510636884754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_01_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/021108b1fdad908c64844c00f665dbe8.jpg","text":"TemporaryFile(/tmp/multipartBody6713655818756442145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_02_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f45f9080f3719caefa93063f7f962b3.jpg","text":"TemporaryFile(/tmp/multipartBody7875324997691059514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457443658,"filename":"image_30112025_00_01_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396992355","file1":"1396992318","file0":"1396992278","file4":"1396992433","file5":"1396992472","file3":"1396992395"},"map_files_photo_id_array":[{"photo_id":"1396992472","filename":"file5"},{"photo_id":"1396992355","filename":"file2"},{"photo_id":"1396992433","filename":"file4"},{"photo_id":"1396992318","filename":"file1"},{"photo_id":"1396992278","filename":"file0"},{"photo_id":"1396992395","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396992433":["hashtag1","hashtag2"]},{"1396992318":["hashtag1","hashtag2"]},{"1396992395":["hashtag1","hashtag2"]},{"1396992278":["hashtag1","hashtag2"]},{"1396992472":["hashtag1","hashtag2"]},{"1396992355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396992433, 1396992318, 1396992395, 1396992278, 1396992472, 1396992355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52782225608826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:03:41.921595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/11/image_31102025_11_11_50_2590.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_54_3639.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_56_2693.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_59_2734.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_03_3723.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_05_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_50_2590.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_54_3639.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_56_2693.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_59_2734.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_03_3723.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_05_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396992643","1396992706","1396992681","1396992705","1396992606","1396992707"],"photo_ids_order":["1396992606","1396992643","1396992681","1396992705","1396992706","1396992707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/998c67eedd5f3f85d5d941f381589103.jpg","text":"TemporaryFile(/tmp/multipartBody7264085642096877877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_11_54_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/30/6b22a56f633c4a44886c9ac1370f3dac.jpg","text":"TemporaryFile(/tmp/multipartBody8515267576507107812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_12_03_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/30/e5e59bceba6c6a4779cf2b62fff0aa62.jpg","text":"TemporaryFile(/tmp/multipartBody5497342532696689343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_11_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/30/3924f3303348e3866ab641a4614c4a87.jpg","text":"TemporaryFile(/tmp/multipartBody7496697331571259383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_11_59_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c7bb2c8487ca9dd1fb35043ee634f77.jpg","text":"TemporaryFile(/tmp/multipartBody592197781687452957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_11_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/30/16f5af32e38e96df93f57e4639cc1ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2546295541862387698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457482857,"filename":"image_31102025_11_12_05_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396992681","file1":"1396992643","file0":"1396992606","file4":"1396992706","file5":"1396992707","file3":"1396992705"},"map_files_photo_id_array":[{"photo_id":"1396992707","filename":"file5"},{"photo_id":"1396992681","filename":"file2"},{"photo_id":"1396992706","filename":"file4"},{"photo_id":"1396992643","filename":"file1"},{"photo_id":"1396992606","filename":"file0"},{"photo_id":"1396992705","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396992643":["hashtag1","hashtag2"]},{"1396992706":["hashtag1","hashtag2"]},{"1396992681":["hashtag1","hashtag2"]},{"1396992705":["hashtag1","hashtag2"]},{"1396992606":["hashtag1","hashtag2"]},{"1396992707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396992643, 1396992706, 1396992681, 1396992705, 1396992606, 1396992707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80371642112732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:04:22.095636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_15_10557.jpg', '/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_25_9740.jpg', '/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_35_9799.jpg', '/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_44_9812.jpg', '/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_54_9651.jpg', '/home/pi/Desktop/images/30112025/00/02/image_30112025_00_03_05_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_15_10557.jpg
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_25_9740.jpg
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_35_9799.jpg
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_44_9812.jpg
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_02_54_9651.jpg
/home/pi/Desktop/images/30112025/00/02/image_30112025_00_03_05_10792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396992711","1396992720","1396992714","1396992723","1396992717","1396992722"],"photo_ids_order":["1396992711","1396992714","1396992717","1396992720","1396992722","1396992723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73e107426a2e441fdb233efda59e4a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5401176420094489297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_02_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0040a7da864fd781c6010a6122d0a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7343230393060080543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_02_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/209632a549426124e746336376be8e54.jpg","text":"TemporaryFile(/tmp/multipartBody8898229717903971785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_02_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/351d6b3c0ee9b9ded8caf2781a355a26.jpg","text":"TemporaryFile(/tmp/multipartBody3459631893550853162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_03_05_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/803f2128a1f6876ec83d5039c9050566.jpg","text":"TemporaryFile(/tmp/multipartBody5659210041507461074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_02_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0033af4fdeb9d223a50d4ed5640b2046.jpg","text":"TemporaryFile(/tmp/multipartBody5425353833430808749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457522780,"filename":"image_30112025_00_02_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396992717","file1":"1396992714","file0":"1396992711","file4":"1396992722","file5":"1396992723","file3":"1396992720"},"map_files_photo_id_array":[{"photo_id":"1396992723","filename":"file5"},{"photo_id":"1396992717","filename":"file2"},{"photo_id":"1396992722","filename":"file4"},{"photo_id":"1396992714","filename":"file1"},{"photo_id":"1396992711","filename":"file0"},{"photo_id":"1396992720","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396992711":["hashtag1","hashtag2"]},{"1396992720":["hashtag1","hashtag2"]},{"1396992714":["hashtag1","hashtag2"]},{"1396992723":["hashtag1","hashtag2"]},{"1396992717":["hashtag1","hashtag2"]},{"1396992722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396992711, 1396992720, 1396992714, 1396992723, 1396992717, 1396992722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13341164588928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:05:02.915535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_15_9671.jpg', '/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_24_9597.jpg', '/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_35_10712.jpg', '/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_44_9578.jpg', '/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_55_10629.jpg', '/home/pi/Desktop/images/30112025/00/03/image_30112025_00_04_05_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_15_9671.jpg
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_24_9597.jpg
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_35_10712.jpg
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_44_9578.jpg
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_03_55_10629.jpg
/home/pi/Desktop/images/30112025/00/03/image_30112025_00_04_05_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396992733","1396992727","1396992730","1396992724","1396992726","1396992725"],"photo_ids_order":["1396992724","1396992725","1396992726","1396992727","1396992730","1396992733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5baef3bbebc64bb9fcc8e1f574a377d7.jpg","text":"TemporaryFile(/tmp/multipartBody3950445237617498294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_04_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d352dc647d39f27da57e8df6887cb4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2775262670199659088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_03_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6250ec557e3f29bf14f259cb92b258e.jpg","text":"TemporaryFile(/tmp/multipartBody2617161986706920393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_03_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dc7ce5766aad764da2583707a6784ee.jpg","text":"TemporaryFile(/tmp/multipartBody9126841297632628126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_03_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/594b8126c3c703ecebb1ea262fedbb6d.jpg","text":"TemporaryFile(/tmp/multipartBody3947573330098469616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_03_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12695acbeb47d574810f602d7fed4a02.jpg","text":"TemporaryFile(/tmp/multipartBody6674722205531379789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457563738,"filename":"image_30112025_00_03_24_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396992726","file1":"1396992725","file0":"1396992724","file4":"1396992730","file5":"1396992733","file3":"1396992727"},"map_files_photo_id_array":[{"photo_id":"1396992733","filename":"file5"},{"photo_id":"1396992726","filename":"file2"},{"photo_id":"1396992730","filename":"file4"},{"photo_id":"1396992725","filename":"file1"},{"photo_id":"1396992724","filename":"file0"},{"photo_id":"1396992727","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396992733":["hashtag1","hashtag2"]},{"1396992727":["hashtag1","hashtag2"]},{"1396992730":["hashtag1","hashtag2"]},{"1396992724":["hashtag1","hashtag2"]},{"1396992726":["hashtag1","hashtag2"]},{"1396992725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396992733, 1396992727, 1396992730, 1396992724, 1396992726, 1396992725)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.014902114868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:06:03.296685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:06:13.005141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_58_2758.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_02_3623.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_05_2522.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_08_3690.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_11_2588.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_13_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/24/image_25112025_19_24_58_2758.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_02_3623.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_05_2522.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_08_3690.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_11_2588.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_13_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993228","1396993221","1396993224","1396993157","1396993202","1396993124"],"photo_ids_order":["1396993124","1396993157","1396993202","1396993221","1396993224","1396993228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91bc37b8fd2bf25eaa8dc0274acf61b1.jpg","text":"TemporaryFile(/tmp/multipartBody9120021846810095024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_25_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/30/2ee2daf2085ac68b9a54f9a1342bb4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1751994002123117919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_25_08_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cdcf57391d64979a75d50a161b0171c.jpg","text":"TemporaryFile(/tmp/multipartBody5849921833244148938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_25_11_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/30/f807b5495bc610079a815b261c48afe2.jpg","text":"TemporaryFile(/tmp/multipartBody3385747175826900019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_25_02_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/30/ab24e4ad5a7af215bc907dbfab39d02b.jpg","text":"TemporaryFile(/tmp/multipartBody5778016235396326576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_25_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/30/a42a645d260404ac7915ea16379e452f.jpg","text":"TemporaryFile(/tmp/multipartBody8982582498724145450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457635009,"filename":"image_25112025_19_24_58_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993202","file1":"1396993157","file0":"1396993124","file4":"1396993224","file5":"1396993228","file3":"1396993221"},"map_files_photo_id_array":[{"photo_id":"1396993228","filename":"file5"},{"photo_id":"1396993202","filename":"file2"},{"photo_id":"1396993224","filename":"file4"},{"photo_id":"1396993157","filename":"file1"},{"photo_id":"1396993124","filename":"file0"},{"photo_id":"1396993221","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993228":["hashtag1","hashtag2"]},{"1396993221":["hashtag1","hashtag2"]},{"1396993224":["hashtag1","hashtag2"]},{"1396993157":["hashtag1","hashtag2"]},{"1396993202":["hashtag1","hashtag2"]},{"1396993124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993228, 1396993221, 1396993224, 1396993157, 1396993202, 1396993124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94239139556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:07:02.909998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_14_9725.jpg', '/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_24_9650.jpg', '/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_35_10663.jpg', '/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_44_9512.jpg', '/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_55_10671.jpg', '/home/pi/Desktop/images/30112025/00/04/image_30112025_00_05_05_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_14_9725.jpg
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_24_9650.jpg
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_35_10663.jpg
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_44_9512.jpg
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_04_55_10671.jpg
/home/pi/Desktop/images/30112025/00/04/image_30112025_00_05_05_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993362","1396993361","1396993364","1396993366","1396993354","1396993342"],"photo_ids_order":["1396993342","1396993354","1396993361","1396993362","1396993364","1396993366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77aed9110b17b45fad6174e070d25494.jpg","text":"TemporaryFile(/tmp/multipartBody4361597550410648110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_04_44_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e2c70c751e3ce126c0a9b008ace0491.jpg","text":"TemporaryFile(/tmp/multipartBody5215431039307643044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_04_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5398816670fc2997ff9781364e98982.jpg","text":"TemporaryFile(/tmp/multipartBody9183989533410925587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_04_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff48f409dc9b77b6f3c233e897c587a2.jpg","text":"TemporaryFile(/tmp/multipartBody7427871159096338896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_05_05_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d797722a0f8c4c9a68b30cc82b686c07.jpg","text":"TemporaryFile(/tmp/multipartBody3455040093649137059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_04_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70d5f05ba11c2fdd532f3f98ac8530f2.jpg","text":"TemporaryFile(/tmp/multipartBody3564269994465409615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457683701,"filename":"image_30112025_00_04_14_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993361","file1":"1396993354","file0":"1396993342","file4":"1396993364","file5":"1396993366","file3":"1396993362"},"map_files_photo_id_array":[{"photo_id":"1396993366","filename":"file5"},{"photo_id":"1396993361","filename":"file2"},{"photo_id":"1396993364","filename":"file4"},{"photo_id":"1396993354","filename":"file1"},{"photo_id":"1396993342","filename":"file0"},{"photo_id":"1396993362","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993362":["hashtag1","hashtag2"]},{"1396993361":["hashtag1","hashtag2"]},{"1396993364":["hashtag1","hashtag2"]},{"1396993366":["hashtag1","hashtag2"]},{"1396993354":["hashtag1","hashtag2"]},{"1396993342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993362, 1396993361, 1396993364, 1396993366, 1396993354, 1396993342)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.09638071060181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:08:03.191020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_14_9578.jpg', '/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_35_9741.jpg', '/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_45_9764.jpg', '/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_54_9533.jpg', '/home/pi/Desktop/images/30112025/00/05/image_30112025_00_06_05_10811.jpg', '/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_25_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_14_9578.jpg
/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_35_9741.jpg
/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_45_9764.jpg
/home/pi/Desktop/images/30112025/00/05/image_30112025_00_05_54_9533.jpg
/home/pi/Desktop/images/30112025/00/05/image_30112025_00_06_05_10811.jpg
/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_25_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993377","1396993385","1396993382","1396993376","1396993379","1396993375"],"photo_ids_order":["1396993375","1396993376","1396993377","1396993379","1396993382","1396993385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81e8884f4fbf72cc660841a152ad926e.jpg","text":"TemporaryFile(/tmp/multipartBody8322256422628243856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_05_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bd9c6348b55fb97657a8a3470c9addc.jpg","text":"TemporaryFile(/tmp/multipartBody8800095133192027347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_06_25_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/341d5b01d30752a6ca59b8554e9538ff.jpg","text":"TemporaryFile(/tmp/multipartBody3281575505095052802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_06_05_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b98f4a25a24aa031391186d2e264ac31.jpg","text":"TemporaryFile(/tmp/multipartBody2248093282283620805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_05_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0c76d55bf345c17448e1d4fb2e15921.jpg","text":"TemporaryFile(/tmp/multipartBody7562933807054363472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_05_54_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7610629a7e25a148026acc9a20678de.jpg","text":"TemporaryFile(/tmp/multipartBody3486392062192300680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457746206,"filename":"image_30112025_00_05_14_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993377","file1":"1396993376","file0":"1396993375","file4":"1396993382","file5":"1396993385","file3":"1396993379"},"map_files_photo_id_array":[{"photo_id":"1396993385","filename":"file5"},{"photo_id":"1396993377","filename":"file2"},{"photo_id":"1396993382","filename":"file4"},{"photo_id":"1396993376","filename":"file1"},{"photo_id":"1396993375","filename":"file0"},{"photo_id":"1396993379","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993377":["hashtag1","hashtag2"]},{"1396993385":["hashtag1","hashtag2"]},{"1396993382":["hashtag1","hashtag2"]},{"1396993376":["hashtag1","hashtag2"]},{"1396993379":["hashtag1","hashtag2"]},{"1396993375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993377, 1396993385, 1396993382, 1396993376, 1396993379, 1396993375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2983615398407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:08:42.728732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/12/image_31102025_11_12_08_2656.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_12_3689.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_14_2624.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_17_2693.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_21_3643.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_23_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/11/12/image_31102025_11_12_08_2656.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_12_3689.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_14_2624.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_17_2693.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_21_3643.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_23_2591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7353260517120361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:09:02.904508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_34_9718.jpg', '/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_45_10618.jpg', '/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_55_9641.jpg', '/home/pi/Desktop/images/30112025/00/06/image_30112025_00_07_04_9545.jpg', '/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_15_10569.jpg', '/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_24_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_34_9718.jpg
/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_45_10618.jpg
/home/pi/Desktop/images/30112025/00/06/image_30112025_00_06_55_9641.jpg
/home/pi/Desktop/images/30112025/00/06/image_30112025_00_07_04_9545.jpg
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_15_10569.jpg
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_24_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993395","1396993394","1396993397","1396993396","1396993399","1396993402"],"photo_ids_order":["1396993394","1396993395","1396993396","1396993397","1396993399","1396993402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5a44e81eb23fdd74a6f8918da1d5414.jpg","text":"TemporaryFile(/tmp/multipartBody1493232463295573827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_06_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48f4a9fe7faac42ccd6cb586e13ca125.jpg","text":"TemporaryFile(/tmp/multipartBody2589977214311889055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_06_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f49c382ee32d31d6ed7544a14f71ead.jpg","text":"TemporaryFile(/tmp/multipartBody1235245193283419549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_07_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/924a70195e2864a94f7477b22f0eb54e.jpg","text":"TemporaryFile(/tmp/multipartBody4139489110231260826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_06_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4939fc70a4fc6bba08cac86d0a172c3a.jpg","text":"TemporaryFile(/tmp/multipartBody9211181193773501793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_07_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6127b16d79af48bac7f55304ff5b2966.jpg","text":"TemporaryFile(/tmp/multipartBody3724261373679148485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457803781,"filename":"image_30112025_00_07_24_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993396","file1":"1396993395","file0":"1396993394","file4":"1396993399","file5":"1396993402","file3":"1396993397"},"map_files_photo_id_array":[{"photo_id":"1396993402","filename":"file5"},{"photo_id":"1396993396","filename":"file2"},{"photo_id":"1396993399","filename":"file4"},{"photo_id":"1396993395","filename":"file1"},{"photo_id":"1396993394","filename":"file0"},{"photo_id":"1396993397","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993395":["hashtag1","hashtag2"]},{"1396993394":["hashtag1","hashtag2"]},{"1396993397":["hashtag1","hashtag2"]},{"1396993396":["hashtag1","hashtag2"]},{"1396993399":["hashtag1","hashtag2"]},{"1396993402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993395, 1396993394, 1396993397, 1396993396, 1396993399, 1396993402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.766626834869385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:09:42.089453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/12/image_31102025_11_12_08_2656.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_12_3689.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_14_2624.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_17_2693.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_21_3643.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_23_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/11/12/image_31102025_11_12_08_2656.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_12_3689.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_14_2624.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_17_2693.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_21_3643.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_23_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993413","1396993416","1396993410","1396993412","1396993415","1396993414"],"photo_ids_order":["1396993410","1396993412","1396993413","1396993414","1396993415","1396993416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4997377b54650a10bb742460ea6c7d50.jpg","text":"TemporaryFile(/tmp/multipartBody4014917212614600908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_14_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/30/aaad566be001810dc7e0208d2a259243.jpg","text":"TemporaryFile(/tmp/multipartBody5461989033294227200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_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/30/0e29b482acee06dd0e7e93aeaf2a2a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2696829542384893406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_08_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89a9dcd3086e006d13f3831bcd7773ec.jpg","text":"TemporaryFile(/tmp/multipartBody8238230814845783440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_12_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/30/5c7e9ab79ee334861bcbfda134817cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4783929700381597632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_21_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/30/4d6787ce5f82ed2bf05cecc9975a8078.jpg","text":"TemporaryFile(/tmp/multipartBody6610986464661183455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457842830,"filename":"image_31102025_11_12_17_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993413","file1":"1396993412","file0":"1396993410","file4":"1396993415","file5":"1396993416","file3":"1396993414"},"map_files_photo_id_array":[{"photo_id":"1396993416","filename":"file5"},{"photo_id":"1396993413","filename":"file2"},{"photo_id":"1396993415","filename":"file4"},{"photo_id":"1396993412","filename":"file1"},{"photo_id":"1396993410","filename":"file0"},{"photo_id":"1396993414","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993413":["hashtag1","hashtag2"]},{"1396993416":["hashtag1","hashtag2"]},{"1396993410":["hashtag1","hashtag2"]},{"1396993412":["hashtag1","hashtag2"]},{"1396993415":["hashtag1","hashtag2"]},{"1396993414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993413, 1396993416, 1396993410, 1396993412, 1396993415, 1396993414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52439308166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:10:22.374633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_35_10271.jpg', '/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_44_9642.jpg', '/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_54_9797.jpg', '/home/pi/Desktop/images/30112025/00/07/image_30112025_00_08_05_10688.jpg', '/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_15_9823.jpg', '/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_24_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_35_10271.jpg
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_44_9642.jpg
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_07_54_9797.jpg
/home/pi/Desktop/images/30112025/00/07/image_30112025_00_08_05_10688.jpg
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_15_9823.jpg
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_24_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993426","1396993428","1396993419","1396993430","1396993429","1396993423"],"photo_ids_order":["1396993419","1396993423","1396993426","1396993428","1396993429","1396993430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca6c889c8b145ea103980f810448b13a.jpg","text":"TemporaryFile(/tmp/multipartBody8857018657187931832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_07_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2943022970d15b3fbeef32746d2c20af.jpg","text":"TemporaryFile(/tmp/multipartBody8141996032602314836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_08_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e3e12f957c172e4ff393109028de23a.jpg","text":"TemporaryFile(/tmp/multipartBody182655210799647215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_07_35_10271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4db0022aedeb09a096145d0a859ecb3a.jpg","text":"TemporaryFile(/tmp/multipartBody4334912257461218866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_08_24_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5435d1e5ced868c19ae156e2e77544b.jpg","text":"TemporaryFile(/tmp/multipartBody7987340736716815674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_08_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/620cc0821d8b33455c9fb5b6f8d3b491.jpg","text":"TemporaryFile(/tmp/multipartBody1885652317535296733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457883025,"filename":"image_30112025_00_07_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993426","file1":"1396993423","file0":"1396993419","file4":"1396993429","file5":"1396993430","file3":"1396993428"},"map_files_photo_id_array":[{"photo_id":"1396993430","filename":"file5"},{"photo_id":"1396993426","filename":"file2"},{"photo_id":"1396993429","filename":"file4"},{"photo_id":"1396993423","filename":"file1"},{"photo_id":"1396993419","filename":"file0"},{"photo_id":"1396993428","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993426":["hashtag1","hashtag2"]},{"1396993428":["hashtag1","hashtag2"]},{"1396993419":["hashtag1","hashtag2"]},{"1396993430":["hashtag1","hashtag2"]},{"1396993429":["hashtag1","hashtag2"]},{"1396993423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993426, 1396993428, 1396993419, 1396993430, 1396993429, 1396993423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42342400550842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:11:03.170951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_35_10655.jpg', '/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_45_9603.jpg', '/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_54_9604.jpg', '/home/pi/Desktop/images/30112025/00/08/image_30112025_00_09_04_10180.jpg', '/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_15_10664.jpg', '/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_25_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_35_10655.jpg
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_45_9603.jpg
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_08_54_9604.jpg
/home/pi/Desktop/images/30112025/00/08/image_30112025_00_09_04_10180.jpg
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_15_10664.jpg
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_25_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993431","1396993440","1396993434","1396993436","1396993433","1396993432"],"photo_ids_order":["1396993431","1396993432","1396993433","1396993434","1396993436","1396993440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9423c6e9785975dbce02ca698c595a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5041120535729529482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_08_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3870aeb840caefe66ba05b6445eed22.jpg","text":"TemporaryFile(/tmp/multipartBody7454673741130220939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_09_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5f8b554c036bffcb851d0eb789a485b.jpg","text":"TemporaryFile(/tmp/multipartBody5172739864139447729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_09_04_10180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ee1ca8c3f1e40a33be75a16fbe55c54.jpg","text":"TemporaryFile(/tmp/multipartBody5316195740736709170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_09_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bba6d5e051be485a1d27df5484e38802.jpg","text":"TemporaryFile(/tmp/multipartBody1815181849762096788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_08_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6ef01432df16573fdcc3b695f6a985a.jpg","text":"TemporaryFile(/tmp/multipartBody7021833252486721203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457923956,"filename":"image_30112025_00_08_45_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993433","file1":"1396993432","file0":"1396993431","file4":"1396993436","file5":"1396993440","file3":"1396993434"},"map_files_photo_id_array":[{"photo_id":"1396993440","filename":"file5"},{"photo_id":"1396993433","filename":"file2"},{"photo_id":"1396993436","filename":"file4"},{"photo_id":"1396993432","filename":"file1"},{"photo_id":"1396993431","filename":"file0"},{"photo_id":"1396993434","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993431":["hashtag1","hashtag2"]},{"1396993440":["hashtag1","hashtag2"]},{"1396993434":["hashtag1","hashtag2"]},{"1396993436":["hashtag1","hashtag2"]},{"1396993433":["hashtag1","hashtag2"]},{"1396993432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993431, 1396993440, 1396993434, 1396993436, 1396993433, 1396993432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.859819173812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:11:42.439588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/12/image_31102025_11_12_26_2746.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_30_3655.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_32_2644.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_35_2736.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_38_2779.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_42_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_26_2746.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_30_3655.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_32_2644.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_35_2736.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_38_2779.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_42_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993443","1396993446","1396993448","1396993445","1396993447","1396993444"],"photo_ids_order":["1396993443","1396993444","1396993445","1396993446","1396993447","1396993448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f0ce3c49ae86105291b470d3a65a90b.jpg","text":"TemporaryFile(/tmp/multipartBody4417421069261004953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_26_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/30/ff1b54204b24fe10b15e7ffb1b869e39.jpg","text":"TemporaryFile(/tmp/multipartBody2143253131370222063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_35_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2396f68cf4f439ba74a26561cf2a255e.jpg","text":"TemporaryFile(/tmp/multipartBody1642785669217545263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_42_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/30/26b5dfc29d2d9089648074add6d61043.jpg","text":"TemporaryFile(/tmp/multipartBody8807260666666493551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_32_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/30/254db487246f21814dce2882cd2d684f.jpg","text":"TemporaryFile(/tmp/multipartBody3958246837125923718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_38_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56c22bde55b07e063dd3c2cc2b280d41.jpg","text":"TemporaryFile(/tmp/multipartBody5189944324193940615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457963431,"filename":"image_31102025_11_12_30_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993445","file1":"1396993444","file0":"1396993443","file4":"1396993447","file5":"1396993448","file3":"1396993446"},"map_files_photo_id_array":[{"photo_id":"1396993448","filename":"file5"},{"photo_id":"1396993445","filename":"file2"},{"photo_id":"1396993447","filename":"file4"},{"photo_id":"1396993444","filename":"file1"},{"photo_id":"1396993443","filename":"file0"},{"photo_id":"1396993446","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993443":["hashtag1","hashtag2"]},{"1396993446":["hashtag1","hashtag2"]},{"1396993448":["hashtag1","hashtag2"]},{"1396993445":["hashtag1","hashtag2"]},{"1396993447":["hashtag1","hashtag2"]},{"1396993444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993443, 1396993446, 1396993448, 1396993445, 1396993447, 1396993444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05576944351196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:12:22.611159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_34_9687.jpg', '/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_44_9853.jpg', '/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_55_10644.jpg', '/home/pi/Desktop/images/30112025/00/09/image_30112025_00_10_05_9723.jpg', '/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_14_9635.jpg', '/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_25_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_34_9687.jpg
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_44_9853.jpg
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_09_55_10644.jpg
/home/pi/Desktop/images/30112025/00/09/image_30112025_00_10_05_9723.jpg
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_14_9635.jpg
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_25_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993461","1396993464","1396993466","1396993450","1396993453","1396993456"],"photo_ids_order":["1396993450","1396993453","1396993456","1396993461","1396993464","1396993466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c7b88bc1b366f4183480a400b41ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody5994616801658661359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_10_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/820d837a0eff54a733e8b663523639c6.jpg","text":"TemporaryFile(/tmp/multipartBody6269258224432092290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_10_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c7fe1be2d5b37d0cc282386f775bd9f.jpg","text":"TemporaryFile(/tmp/multipartBody6104799876234344492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_10_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/651ff9fc1ccffe57d5beb0bd8de274c2.jpg","text":"TemporaryFile(/tmp/multipartBody5205433185035866457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_09_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2750779812a6531718511e5d7a04bce3.jpg","text":"TemporaryFile(/tmp/multipartBody3010774445502687185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_09_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c29ae065c68df5e5c596cf5b7dcf5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1585938488969913605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458003286,"filename":"image_30112025_00_09_55_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993456","file1":"1396993453","file0":"1396993450","file4":"1396993464","file5":"1396993466","file3":"1396993461"},"map_files_photo_id_array":[{"photo_id":"1396993466","filename":"file5"},{"photo_id":"1396993456","filename":"file2"},{"photo_id":"1396993464","filename":"file4"},{"photo_id":"1396993453","filename":"file1"},{"photo_id":"1396993450","filename":"file0"},{"photo_id":"1396993461","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993461":["hashtag1","hashtag2"]},{"1396993464":["hashtag1","hashtag2"]},{"1396993466":["hashtag1","hashtag2"]},{"1396993450":["hashtag1","hashtag2"]},{"1396993453":["hashtag1","hashtag2"]},{"1396993456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993461, 1396993464, 1396993466, 1396993450, 1396993453, 1396993456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22164583206177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:13:03.376042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_35_9718.jpg', '/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_44_9798.jpg', '/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_55_10571.jpg', '/home/pi/Desktop/images/30112025/00/10/image_30112025_00_11_05_9660.jpg', '/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_15_10318.jpg', '/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_25_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_35_9718.jpg
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_44_9798.jpg
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_10_55_10571.jpg
/home/pi/Desktop/images/30112025/00/10/image_30112025_00_11_05_9660.jpg
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_15_10318.jpg
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_25_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993467","1396993469","1396993477","1396993471","1396993474","1396993468"],"photo_ids_order":["1396993467","1396993468","1396993469","1396993471","1396993474","1396993477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d224f664365dbb1a5c32274378f8ef4.jpg","text":"TemporaryFile(/tmp/multipartBody479345906559093915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_10_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/795281673ef1e03cfbfc3017e2a99b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7364681191326708035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_10_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a44c86b346f69265b3d3b8a1226d4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8436730786782582067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_11_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/674075c7b24435bf93b916b6b2c75010.jpg","text":"TemporaryFile(/tmp/multipartBody2576332811076872265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_11_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18d88492bf63d37237edf974b9924bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6373470473121551028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_11_15_10318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97eca68839bdfc6b4e6eb9104ce10a48.jpg","text":"TemporaryFile(/tmp/multipartBody7136012746879976390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458044200,"filename":"image_30112025_00_10_44_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993469","file1":"1396993468","file0":"1396993467","file4":"1396993474","file5":"1396993477","file3":"1396993471"},"map_files_photo_id_array":[{"photo_id":"1396993477","filename":"file5"},{"photo_id":"1396993469","filename":"file2"},{"photo_id":"1396993474","filename":"file4"},{"photo_id":"1396993468","filename":"file1"},{"photo_id":"1396993467","filename":"file0"},{"photo_id":"1396993471","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993467":["hashtag1","hashtag2"]},{"1396993469":["hashtag1","hashtag2"]},{"1396993477":["hashtag1","hashtag2"]},{"1396993471":["hashtag1","hashtag2"]},{"1396993474":["hashtag1","hashtag2"]},{"1396993468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993467, 1396993469, 1396993477, 1396993471, 1396993474, 1396993468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60986280441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:13:42.822130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/12/image_31102025_11_12_44_2752.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_47_2818.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_50_2582.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_53_3679.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_56_2625.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_59_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/11/12/image_31102025_11_12_44_2752.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_47_2818.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_50_2582.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_53_3679.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_56_2625.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_59_2684.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8548290729522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:14:02.755780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:14:12.038974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_17_3696.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_20_2570.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_23_2840.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_25_2795.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_29_3727.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_32_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_17_3696.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_20_2570.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_23_2840.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_25_2795.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_29_3727.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_32_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993488","1396993497","1396993500","1396993493","1396993502","1396993489"],"photo_ids_order":["1396993488","1396993489","1396993493","1396993497","1396993500","1396993502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26e57a5838798c40770700f7b7c95a19.jpg","text":"TemporaryFile(/tmp/multipartBody4826352939281716418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_17_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/30/36291f1a13fe4dc817d75c4a533532ca.jpg","text":"TemporaryFile(/tmp/multipartBody4250283502442592629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_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/30/a47f7543fb71b3de6f0a29433dc642c9.jpg","text":"TemporaryFile(/tmp/multipartBody465354941112417988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_29_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/30/371a92506a7ed30f9038ae1a7a9fefbd.jpg","text":"TemporaryFile(/tmp/multipartBody8683890054604535444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_23_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/30/6f7c7c309e6d1f1afcac11a556397eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8035664433918139359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_32_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/30/8df0ad93ec7f47ed092894e58d9ca015.jpg","text":"TemporaryFile(/tmp/multipartBody3990028980025036066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458113898,"filename":"image_25112025_19_25_20_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993493","file1":"1396993489","file0":"1396993488","file4":"1396993500","file5":"1396993502","file3":"1396993497"},"map_files_photo_id_array":[{"photo_id":"1396993502","filename":"file5"},{"photo_id":"1396993493","filename":"file2"},{"photo_id":"1396993500","filename":"file4"},{"photo_id":"1396993489","filename":"file1"},{"photo_id":"1396993488","filename":"file0"},{"photo_id":"1396993497","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993488":["hashtag1","hashtag2"]},{"1396993497":["hashtag1","hashtag2"]},{"1396993500":["hashtag1","hashtag2"]},{"1396993493":["hashtag1","hashtag2"]},{"1396993502":["hashtag1","hashtag2"]},{"1396993489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993488, 1396993497, 1396993500, 1396993493, 1396993502, 1396993489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34373927116394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:15:02.797257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:15:12.273461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_35_2807.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_37_2771.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_41_3628.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_44_2679.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_47_3170.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_50_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_35_2807.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_37_2771.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_41_3628.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_44_2679.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_47_3170.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_50_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993512","1396993506","1396993509","1396993517","1396993514","1396993516"],"photo_ids_order":["1396993506","1396993509","1396993512","1396993514","1396993516","1396993517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af207aef035f19fb364f39f10a2d984f.jpg","text":"TemporaryFile(/tmp/multipartBody7977294310244446682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_41_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bb877478f5cc10647163ce9de6bddd5.jpg","text":"TemporaryFile(/tmp/multipartBody1131925132581529839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_35_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/30/952b51de3989754d306b1c93fa036113.jpg","text":"TemporaryFile(/tmp/multipartBody8630207063454935392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_37_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d60567005a8eeed3273032ca874734a0.jpg","text":"TemporaryFile(/tmp/multipartBody3431735827790210638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_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/30/625e188d37dee67a2ee4b836d163a46e.jpg","text":"TemporaryFile(/tmp/multipartBody6491961669479360925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_44_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/30/03a7571c9686aae13c4d035d7345f0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3406553176727759678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458179216,"filename":"image_25112025_19_25_47_3170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993512","file1":"1396993509","file0":"1396993506","file4":"1396993516","file5":"1396993517","file3":"1396993514"},"map_files_photo_id_array":[{"photo_id":"1396993517","filename":"file5"},{"photo_id":"1396993512","filename":"file2"},{"photo_id":"1396993516","filename":"file4"},{"photo_id":"1396993509","filename":"file1"},{"photo_id":"1396993506","filename":"file0"},{"photo_id":"1396993514","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993512":["hashtag1","hashtag2"]},{"1396993506":["hashtag1","hashtag2"]},{"1396993509":["hashtag1","hashtag2"]},{"1396993517":["hashtag1","hashtag2"]},{"1396993514":["hashtag1","hashtag2"]},{"1396993516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993512, 1396993506, 1396993509, 1396993517, 1396993514, 1396993516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.041893005371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:16:02.409567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:16:11.929641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:16:21.923925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_34_9617.jpg', '/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_45_10665.jpg', '/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_55_9790.jpg', '/home/pi/Desktop/images/30112025/00/11/image_30112025_00_12_04_9598.jpg', '/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_15_10547.jpg', '/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_34_9617.jpg
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_45_10665.jpg
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_11_55_9790.jpg
/home/pi/Desktop/images/30112025/00/11/image_30112025_00_12_04_9598.jpg
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_15_10547.jpg
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993530","1396993524","1396993520","1396993526","1396993531","1396993528"],"photo_ids_order":["1396993520","1396993524","1396993526","1396993528","1396993530","1396993531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/848fe530e4ce800960950cf125aff4ab.jpg","text":"TemporaryFile(/tmp/multipartBody4603336031383382610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_12_15_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffc9e5af5dce8a0730d87bd2d1e0ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody5709957177952196033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_11_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b66d6fab1163b37f36fc9a3e9af930b.jpg","text":"TemporaryFile(/tmp/multipartBody2752376995193843909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_11_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8370fa537742ed1707cf277b91580251.jpg","text":"TemporaryFile(/tmp/multipartBody3221608776962718856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_11_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aa4fe2541cbe2b11269870afccd46c0.jpg","text":"TemporaryFile(/tmp/multipartBody5772933546766657316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_12_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfd814c97ca9267dad41cbe93dcd193c.jpg","text":"TemporaryFile(/tmp/multipartBody3162299224444217836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458242564,"filename":"image_30112025_00_12_04_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993526","file1":"1396993524","file0":"1396993520","file4":"1396993530","file5":"1396993531","file3":"1396993528"},"map_files_photo_id_array":[{"photo_id":"1396993531","filename":"file5"},{"photo_id":"1396993526","filename":"file2"},{"photo_id":"1396993530","filename":"file4"},{"photo_id":"1396993524","filename":"file1"},{"photo_id":"1396993520","filename":"file0"},{"photo_id":"1396993528","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993530":["hashtag1","hashtag2"]},{"1396993524":["hashtag1","hashtag2"]},{"1396993520":["hashtag1","hashtag2"]},{"1396993526":["hashtag1","hashtag2"]},{"1396993531":["hashtag1","hashtag2"]},{"1396993528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993530, 1396993524, 1396993520, 1396993526, 1396993531, 1396993528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13088083267212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:17:02.847738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:17:12.329339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_53_3035.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_55_2729.jpg', '/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_58_2770.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_02_3776.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_05_2796.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_07_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_53_3035.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_55_2729.jpg
/home/pi/Desktop/images/25112025/19/25/image_25112025_19_25_58_2770.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_02_3776.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_05_2796.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_07_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993542","1396993532","1396993540","1396993534","1396993543","1396993537"],"photo_ids_order":["1396993532","1396993534","1396993537","1396993540","1396993542","1396993543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c53e89e0e9a1d537826a4fbe1b8c440b.jpg","text":"TemporaryFile(/tmp/multipartBody8345579137093296578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_26_05_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/30/2ffe0dca960b73a555b5c3578b2e2c98.jpg","text":"TemporaryFile(/tmp/multipartBody44645893444585687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_25_53_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/30/df1a5e20ebdd666078d948014fa1b14e.jpg","text":"TemporaryFile(/tmp/multipartBody3546041738585928112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_26_02_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/30/289f2c15e276c168fa7d639f0bc7222d.jpg","text":"TemporaryFile(/tmp/multipartBody4288098917099624578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_25_55_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96497f9606e882f34dc9ca31ab866ac1.jpg","text":"TemporaryFile(/tmp/multipartBody6527342357773173956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_26_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/30/32bec9d4ba5f8ab9bda6e80115db97fb.jpg","text":"TemporaryFile(/tmp/multipartBody7369994262293818565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458295441,"filename":"image_25112025_19_25_58_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993537","file1":"1396993534","file0":"1396993532","file4":"1396993542","file5":"1396993543","file3":"1396993540"},"map_files_photo_id_array":[{"photo_id":"1396993543","filename":"file5"},{"photo_id":"1396993537","filename":"file2"},{"photo_id":"1396993542","filename":"file4"},{"photo_id":"1396993534","filename":"file1"},{"photo_id":"1396993532","filename":"file0"},{"photo_id":"1396993540","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993542":["hashtag1","hashtag2"]},{"1396993532":["hashtag1","hashtag2"]},{"1396993540":["hashtag1","hashtag2"]},{"1396993534":["hashtag1","hashtag2"]},{"1396993543":["hashtag1","hashtag2"]},{"1396993537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993542, 1396993532, 1396993540, 1396993534, 1396993543, 1396993537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.258419036865234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:18:06.462453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:18:13.627608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_11_3665.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_14_2783.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_17_2756.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_19_2633.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_23_3637.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_26_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_11_3665.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_14_2783.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_17_2756.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_19_2633.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_23_3637.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_26_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993553","1396993547","1396993556","1396993559","1396993550","1396993544"],"photo_ids_order":["1396993544","1396993547","1396993550","1396993553","1396993556","1396993559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aab6083a39ba90090fff0616da8ee833.jpg","text":"TemporaryFile(/tmp/multipartBody32732787900657667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_19_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/30/f39fb7adbe76750c269e55febbbd8113.jpg","text":"TemporaryFile(/tmp/multipartBody1138091938832264688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_14_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c15a6f9bd7b46c909dc1cc1e95051f2.jpg","text":"TemporaryFile(/tmp/multipartBody4460475818649823303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_23_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/30/d9ebf26505ad8491623e2180fe7c5503.jpg","text":"TemporaryFile(/tmp/multipartBody9146602601820447360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_26_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92a20781bb6afcbeec0c1f940f1f8722.jpg","text":"TemporaryFile(/tmp/multipartBody7502189658660050020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_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/30/b4222e291369c8a2b1f5d11875e86d81.jpg","text":"TemporaryFile(/tmp/multipartBody1102067220386357777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458358586,"filename":"image_25112025_19_26_11_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993550","file1":"1396993547","file0":"1396993544","file4":"1396993556","file5":"1396993559","file3":"1396993553"},"map_files_photo_id_array":[{"photo_id":"1396993559","filename":"file5"},{"photo_id":"1396993550","filename":"file2"},{"photo_id":"1396993556","filename":"file4"},{"photo_id":"1396993547","filename":"file1"},{"photo_id":"1396993544","filename":"file0"},{"photo_id":"1396993553","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993553":["hashtag1","hashtag2"]},{"1396993547":["hashtag1","hashtag2"]},{"1396993556":["hashtag1","hashtag2"]},{"1396993559":["hashtag1","hashtag2"]},{"1396993550":["hashtag1","hashtag2"]},{"1396993544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993553, 1396993547, 1396993556, 1396993559, 1396993550, 1396993544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.430511713027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:19:08.886570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:19:16.356526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_28_2773.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_31_2774.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_35_3518.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_37_2635.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_41_3698.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_44_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_28_2773.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_31_2774.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_35_3518.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_37_2635.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_41_3698.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_44_2863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993575","1396993571","1396993565","1396993568","1396993577","1396993562"],"photo_ids_order":["1396993562","1396993565","1396993568","1396993571","1396993575","1396993577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb4554fe96fb148b87988284aa213ed5.jpg","text":"TemporaryFile(/tmp/multipartBody4814605416821825571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_41_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/30/3948b36bf10b5d1c3f74607301296316.jpg","text":"TemporaryFile(/tmp/multipartBody1135161716152943378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_37_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4021d35b6298a65df3ffe35123b3e8cf.jpg","text":"TemporaryFile(/tmp/multipartBody4300024721175643182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_31_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ed53c50c2a42d6ff8bffb9c39e193a0.jpg","text":"TemporaryFile(/tmp/multipartBody9314207976896293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_35_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/30/bdcfd37c7cd52cecd12ad409a3d315fc.jpg","text":"TemporaryFile(/tmp/multipartBody5580550822358845608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_44_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/30/4581fa5acf61c18a0bf456ba8e68f298.jpg","text":"TemporaryFile(/tmp/multipartBody6206083876636079192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458419724,"filename":"image_25112025_19_26_28_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993568","file1":"1396993565","file0":"1396993562","file4":"1396993575","file5":"1396993577","file3":"1396993571"},"map_files_photo_id_array":[{"photo_id":"1396993577","filename":"file5"},{"photo_id":"1396993568","filename":"file2"},{"photo_id":"1396993575","filename":"file4"},{"photo_id":"1396993565","filename":"file1"},{"photo_id":"1396993562","filename":"file0"},{"photo_id":"1396993571","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993575":["hashtag1","hashtag2"]},{"1396993571":["hashtag1","hashtag2"]},{"1396993565":["hashtag1","hashtag2"]},{"1396993568":["hashtag1","hashtag2"]},{"1396993577":["hashtag1","hashtag2"]},{"1396993562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993575, 1396993571, 1396993565, 1396993568, 1396993577, 1396993562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41359305381775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:20:03.066380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_34_9727.jpg', '/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_45_10740.jpg', '/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_55_9688.jpg', '/home/pi/Desktop/images/30112025/00/12/image_30112025_00_13_04_9675.jpg', '/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_15_10667.jpg', '/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_25_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_34_9727.jpg
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_45_10740.jpg
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_12_55_9688.jpg
/home/pi/Desktop/images/30112025/00/12/image_30112025_00_13_04_9675.jpg
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_15_10667.jpg
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_25_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993581","1396993584","1396993578","1396993580","1396993585","1396993579"],"photo_ids_order":["1396993578","1396993579","1396993580","1396993581","1396993584","1396993585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d41c33a538cef74b0d74e15c56cf0b6.jpg","text":"TemporaryFile(/tmp/multipartBody2173281102217808632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_13_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0ba7dce3ec1ca01c0b052096fd15d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5694683591624941385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_13_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fe233c891efe9e609e25b312d236ad9.jpg","text":"TemporaryFile(/tmp/multipartBody5315337386568886750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_12_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d71c44d04ffb0e59e9c25033160c05ba.jpg","text":"TemporaryFile(/tmp/multipartBody2556191097442902941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_12_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a113d2d8c40f9750858b414b0d4ea42.jpg","text":"TemporaryFile(/tmp/multipartBody6254400940002631897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_13_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5e60014ecca1897836e65a93ead8227.jpg","text":"TemporaryFile(/tmp/multipartBody5432539630032784177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458463759,"filename":"image_30112025_00_12_45_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993580","file1":"1396993579","file0":"1396993578","file4":"1396993584","file5":"1396993585","file3":"1396993581"},"map_files_photo_id_array":[{"photo_id":"1396993585","filename":"file5"},{"photo_id":"1396993580","filename":"file2"},{"photo_id":"1396993584","filename":"file4"},{"photo_id":"1396993579","filename":"file1"},{"photo_id":"1396993578","filename":"file0"},{"photo_id":"1396993581","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993581":["hashtag1","hashtag2"]},{"1396993584":["hashtag1","hashtag2"]},{"1396993578":["hashtag1","hashtag2"]},{"1396993580":["hashtag1","hashtag2"]},{"1396993585":["hashtag1","hashtag2"]},{"1396993579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993581, 1396993584, 1396993578, 1396993580, 1396993585, 1396993579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87758660316467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:20:42.550349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/12/image_31102025_11_12_44_2752.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_47_2818.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_50_2582.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_53_3679.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_56_2625.jpg', '/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_59_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/11/12/image_31102025_11_12_44_2752.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_47_2818.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_50_2582.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_53_3679.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_56_2625.jpg
/home/pi/Desktop/images/31102025/11/12/image_31102025_11_12_59_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":["1396993593","1396993596","1396993595","1396993589","1396993594","1396993591"],"photo_ids_order":["1396993589","1396993591","1396993593","1396993594","1396993595","1396993596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f8d3192600187ae1390c8c7969da0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3347730072322408553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_50_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/30/4ec818f73ad8b7e6a4e96d471d9e379c.jpg","text":"TemporaryFile(/tmp/multipartBody6456666986837927727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_59_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/30/5bb5be273be745a244bfbbc820f7fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody785807406217169917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_56_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0eb947c580ae04571d83e76d16da3f4.jpg","text":"TemporaryFile(/tmp/multipartBody8744170479968039157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_44_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/30/e55405e800157d9b18dddef5aa82907c.jpg","text":"TemporaryFile(/tmp/multipartBody603573149439758639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_53_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/30/42c22544b0268f0a618bdf01ff763e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4182371379947377874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458503425,"filename":"image_31102025_11_12_47_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993593","file1":"1396993591","file0":"1396993589","file4":"1396993595","file5":"1396993596","file3":"1396993594"},"map_files_photo_id_array":[{"photo_id":"1396993596","filename":"file5"},{"photo_id":"1396993593","filename":"file2"},{"photo_id":"1396993595","filename":"file4"},{"photo_id":"1396993591","filename":"file1"},{"photo_id":"1396993589","filename":"file0"},{"photo_id":"1396993594","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993593":["hashtag1","hashtag2"]},{"1396993596":["hashtag1","hashtag2"]},{"1396993595":["hashtag1","hashtag2"]},{"1396993589":["hashtag1","hashtag2"]},{"1396993594":["hashtag1","hashtag2"]},{"1396993591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993593, 1396993596, 1396993595, 1396993589, 1396993594, 1396993591)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.67574739456177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:21:32.772753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_47_2596.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_49_2737.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_53_3562.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_55_2651.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_59_3586.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_02_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_47_2596.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_49_2737.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_53_3562.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_55_2651.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_59_3586.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_02_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: 1.8884577751159668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:21:42.765799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/13/image_31102025_11_13_03_3852.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_05_2710.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_08_2800.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_11_2733.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_15_3684.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_17_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_03_3852.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_05_2710.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_08_2800.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_11_2733.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_15_3684.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_17_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993611","1396993610","1396993604","1396993607","1396993612","1396993609"],"photo_ids_order":["1396993604","1396993607","1396993609","1396993610","1396993611","1396993612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e48e4f01ddfe28f819dfd181f97c9fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4124619272692045969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_15_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/30/959755374779225b03acc6eba6d09f03.jpg","text":"TemporaryFile(/tmp/multipartBody8325922480221035618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_11_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/30/ed5f942a7027c56221ccb0cf6a04fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody2389267414903291387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_03_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/30/a71b6154210271ae4ea76077d21335d1.jpg","text":"TemporaryFile(/tmp/multipartBody5033398322346946219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_05_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338f70859938fc8d39f899c557760cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1259723583558109739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_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/30/4e3d82d9db6d470013ed4fd74d55d335.jpg","text":"TemporaryFile(/tmp/multipartBody3691843857294002851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458563938,"filename":"image_31102025_11_13_08_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993609","file1":"1396993607","file0":"1396993604","file4":"1396993611","file5":"1396993612","file3":"1396993610"},"map_files_photo_id_array":[{"photo_id":"1396993612","filename":"file5"},{"photo_id":"1396993609","filename":"file2"},{"photo_id":"1396993611","filename":"file4"},{"photo_id":"1396993607","filename":"file1"},{"photo_id":"1396993604","filename":"file0"},{"photo_id":"1396993610","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993611":["hashtag1","hashtag2"]},{"1396993610":["hashtag1","hashtag2"]},{"1396993604":["hashtag1","hashtag2"]},{"1396993607":["hashtag1","hashtag2"]},{"1396993612":["hashtag1","hashtag2"]},{"1396993609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993611, 1396993610, 1396993604, 1396993607, 1396993612, 1396993609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78689527511597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:22:21.984246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_35_9770.jpg', '/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_44_9762.jpg', '/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_55_10665.jpg', '/home/pi/Desktop/images/30112025/00/13/image_30112025_00_14_05_9607.jpg', '/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_14_9678.jpg', '/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_35_9770.jpg
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_44_9762.jpg
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_13_55_10665.jpg
/home/pi/Desktop/images/30112025/00/13/image_30112025_00_14_05_9607.jpg
/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_14_9678.jpg
/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_25_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993624","1396993618","1396993626","1396993616","1396993627","1396993621"],"photo_ids_order":["1396993616","1396993618","1396993621","1396993624","1396993626","1396993627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccdc1e52b758fb2f2c7bd21877b883b6.jpg","text":"TemporaryFile(/tmp/multipartBody3300387116922905343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_14_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4da4d07db504111845ff1b551b394973.jpg","text":"TemporaryFile(/tmp/multipartBody4651092742644047857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_13_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68d443566f85d445b900de3352aad7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8818505443940588550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_14_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53c44ffa01d3863a4062517eabce55f9.jpg","text":"TemporaryFile(/tmp/multipartBody3400739483326916750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_13_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38fe0b5e8d4f49a9bebef6de545297f6.jpg","text":"TemporaryFile(/tmp/multipartBody4540377863174000775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_14_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01d5630a6d64b191965fed43b9ccc57c.jpg","text":"TemporaryFile(/tmp/multipartBody8463366490528747740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458602667,"filename":"image_30112025_00_13_55_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993621","file1":"1396993618","file0":"1396993616","file4":"1396993626","file5":"1396993627","file3":"1396993624"},"map_files_photo_id_array":[{"photo_id":"1396993627","filename":"file5"},{"photo_id":"1396993621","filename":"file2"},{"photo_id":"1396993626","filename":"file4"},{"photo_id":"1396993618","filename":"file1"},{"photo_id":"1396993616","filename":"file0"},{"photo_id":"1396993624","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993624":["hashtag1","hashtag2"]},{"1396993618":["hashtag1","hashtag2"]},{"1396993626":["hashtag1","hashtag2"]},{"1396993616":["hashtag1","hashtag2"]},{"1396993627":["hashtag1","hashtag2"]},{"1396993621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993624, 1396993618, 1396993626, 1396993616, 1396993627, 1396993621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.427366971969604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:23:02.845204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_35_9752.jpg', '/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_44_9664.jpg', '/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_55_10654.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_05_9752.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_14_9375.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_25_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_35_9752.jpg
/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_44_9664.jpg
/home/pi/Desktop/images/30112025/00/14/image_30112025_00_14_55_10654.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_05_9752.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_14_9375.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_25_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993638","1396993629","1396993631","1396993630","1396993633","1396993636"],"photo_ids_order":["1396993629","1396993630","1396993631","1396993633","1396993636","1396993638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5790f352d34239a950bf3ff49fc2b12e.jpg","text":"TemporaryFile(/tmp/multipartBody6248960069139588121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_15_25_10456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0af1f327b0ae8f37f3f9d8845e80ce1f.jpg","text":"TemporaryFile(/tmp/multipartBody3098782578976987567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_14_35_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/038ae72904e06ddfc4362b5fdfa2163a.jpg","text":"TemporaryFile(/tmp/multipartBody4720947214400221864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_14_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca8af3f3496dd56f782363ebeb11616d.jpg","text":"TemporaryFile(/tmp/multipartBody377214083993992461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_14_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7f27a5e791f81e556deeaf5e701b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7418893946370851229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_15_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60fdac1cd087fc92d49dc57629f4a374.jpg","text":"TemporaryFile(/tmp/multipartBody6533898051989398947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458643622,"filename":"image_30112025_00_15_14_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993631","file1":"1396993630","file0":"1396993629","file4":"1396993636","file5":"1396993638","file3":"1396993633"},"map_files_photo_id_array":[{"photo_id":"1396993638","filename":"file5"},{"photo_id":"1396993631","filename":"file2"},{"photo_id":"1396993636","filename":"file4"},{"photo_id":"1396993630","filename":"file1"},{"photo_id":"1396993629","filename":"file0"},{"photo_id":"1396993633","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993638":["hashtag1","hashtag2"]},{"1396993629":["hashtag1","hashtag2"]},{"1396993631":["hashtag1","hashtag2"]},{"1396993630":["hashtag1","hashtag2"]},{"1396993633":["hashtag1","hashtag2"]},{"1396993636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993638, 1396993629, 1396993631, 1396993630, 1396993633, 1396993636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27695083618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:23:42.244603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/13/image_31102025_11_13_20_2789.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_23_2945.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_27_3510.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_29_2705.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_32_2794.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_35_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/11/13/image_31102025_11_13_20_2789.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_23_2945.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_27_3510.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_29_2705.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_32_2794.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_35_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993641","1396993644","1396993646","1396993643","1396993645","1396993642"],"photo_ids_order":["1396993641","1396993642","1396993643","1396993644","1396993645","1396993646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/654ea8b250389e7e96804925383133a3.jpg","text":"TemporaryFile(/tmp/multipartBody1845327400943838249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_20_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/30/69c07f34b2865a2bfbecd11f2a4e8255.jpg","text":"TemporaryFile(/tmp/multipartBody2642578939300053568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_29_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ec04d43713195b608c487a2f5426fc1.jpg","text":"TemporaryFile(/tmp/multipartBody722550173739629789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_35_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb2edb0ec7e2db3f29bbae9f385a3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody9032766751141986782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_27_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee4d95bbc15dfde8b8fdaac4306e742f.jpg","text":"TemporaryFile(/tmp/multipartBody6614617224182852740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_32_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5de0503b7b91252611caccc81be19d1.jpg","text":"TemporaryFile(/tmp/multipartBody2842403006053109041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458683287,"filename":"image_31102025_11_13_23_2945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993643","file1":"1396993642","file0":"1396993641","file4":"1396993645","file5":"1396993646","file3":"1396993644"},"map_files_photo_id_array":[{"photo_id":"1396993646","filename":"file5"},{"photo_id":"1396993643","filename":"file2"},{"photo_id":"1396993645","filename":"file4"},{"photo_id":"1396993642","filename":"file1"},{"photo_id":"1396993641","filename":"file0"},{"photo_id":"1396993644","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993641":["hashtag1","hashtag2"]},{"1396993644":["hashtag1","hashtag2"]},{"1396993646":["hashtag1","hashtag2"]},{"1396993643":["hashtag1","hashtag2"]},{"1396993645":["hashtag1","hashtag2"]},{"1396993642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993641, 1396993644, 1396993646, 1396993643, 1396993645, 1396993642)","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: 60.26310920715332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:25:02.948406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:25:12.300028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:25:22.364364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:25:32.238766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_47_2596.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_49_2737.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_53_3562.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_55_2651.jpg', '/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_59_3586.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_02_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_47_2596.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_49_2737.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_53_3562.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_55_2651.jpg
/home/pi/Desktop/images/25112025/19/26/image_25112025_19_26_59_3586.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_02_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993671","1396993668","1396993670","1396993664","1396993672","1396993666"],"photo_ids_order":["1396993664","1396993666","1396993668","1396993670","1396993671","1396993672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce6e03dc25ca7002d36ead0d30e7e382.jpg","text":"TemporaryFile(/tmp/multipartBody3289287079441273698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_26_59_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/30/cb0483dfc4d14df060a3a50395c46ce7.jpg","text":"TemporaryFile(/tmp/multipartBody1555921101698059568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_26_53_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/30/e06487af7fd02900d819a2d7b35eae07.jpg","text":"TemporaryFile(/tmp/multipartBody3413137332403478258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_26_55_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/30/4cd87e1fbda809e0b506440a95431a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7582536236447076851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_26_47_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/30/3dee90822fe60c5ecb7ebf771fd8af0b.jpg","text":"TemporaryFile(/tmp/multipartBody7664865169253999862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_27_02_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/30/6bdad34fc9d8794da761f66143744c38.jpg","text":"TemporaryFile(/tmp/multipartBody3376150305459410450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458794455,"filename":"image_25112025_19_26_49_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993668","file1":"1396993666","file0":"1396993664","file4":"1396993671","file5":"1396993672","file3":"1396993670"},"map_files_photo_id_array":[{"photo_id":"1396993672","filename":"file5"},{"photo_id":"1396993668","filename":"file2"},{"photo_id":"1396993671","filename":"file4"},{"photo_id":"1396993666","filename":"file1"},{"photo_id":"1396993664","filename":"file0"},{"photo_id":"1396993670","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993671":["hashtag1","hashtag2"]},{"1396993668":["hashtag1","hashtag2"]},{"1396993670":["hashtag1","hashtag2"]},{"1396993664":["hashtag1","hashtag2"]},{"1396993672":["hashtag1","hashtag2"]},{"1396993666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993671, 1396993668, 1396993670, 1396993664, 1396993672, 1396993666)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.58572793006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:26:19.122576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_07_2583.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_11_3738.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_13_2584.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_16_2624.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_20_3694.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_22_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_07_2583.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_11_3738.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_13_2584.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_16_2624.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_20_3694.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_22_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993680","1396993674","1396993683","1396993677","1396993685","1396993688"],"photo_ids_order":["1396993674","1396993677","1396993680","1396993683","1396993685","1396993688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/763f58a7765668b4fc31df2889eb7fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4860198530521039751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_13_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/30/70ac2e60f95f7a2fb5e8a2f1ecb03102.jpg","text":"TemporaryFile(/tmp/multipartBody5145443512041405628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_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/30/87acd49463200044603dc1940d59e069.jpg","text":"TemporaryFile(/tmp/multipartBody5308825692501259405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_16_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/30/a5ef7361519cd235b60dd6bab0b86b42.jpg","text":"TemporaryFile(/tmp/multipartBody8774977607484641106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_11_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9427bba362ce48eec0d2793286094df.jpg","text":"TemporaryFile(/tmp/multipartBody7300852661180641894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_20_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/30/d7fbe31f9c27b48f52d3aa878e9ca0da.jpg","text":"TemporaryFile(/tmp/multipartBody2056382047786082037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458841035,"filename":"image_25112025_19_27_22_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993680","file1":"1396993677","file0":"1396993674","file4":"1396993685","file5":"1396993688","file3":"1396993683"},"map_files_photo_id_array":[{"photo_id":"1396993688","filename":"file5"},{"photo_id":"1396993680","filename":"file2"},{"photo_id":"1396993685","filename":"file4"},{"photo_id":"1396993677","filename":"file1"},{"photo_id":"1396993674","filename":"file0"},{"photo_id":"1396993683","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993680":["hashtag1","hashtag2"]},{"1396993674":["hashtag1","hashtag2"]},{"1396993683":["hashtag1","hashtag2"]},{"1396993677":["hashtag1","hashtag2"]},{"1396993685":["hashtag1","hashtag2"]},{"1396993688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993680, 1396993674, 1396993683, 1396993677, 1396993685, 1396993688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.660359382629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:27:05.986836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_34_9569.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_45_10664.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_54_9429.jpg', '/home/pi/Desktop/images/30112025/00/15/image_30112025_00_16_05_10802.jpg', '/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_15_9958.jpg', '/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_25_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_34_9569.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_45_10664.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_15_54_9429.jpg
/home/pi/Desktop/images/30112025/00/15/image_30112025_00_16_05_10802.jpg
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_15_9958.jpg
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_25_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993692","1396993695","1396993689","1396993701","1396993690","1396993698"],"photo_ids_order":["1396993689","1396993690","1396993692","1396993695","1396993698","1396993701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13028b34b6eda254aa67e2085c76fd24.jpg","text":"TemporaryFile(/tmp/multipartBody6582845310837900196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_15_54_9429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/226703acc02186c8f7366cc203680ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1926124642117276407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_16_05_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daa0fbeff6a913de35ff1f2a3c75106f.jpg","text":"TemporaryFile(/tmp/multipartBody6285558468571846262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_15_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d6430ba2fd7dd8e531e1158a74355ef.jpg","text":"TemporaryFile(/tmp/multipartBody582826147434404746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_16_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4767ecba350d2d1afa6a473e8e8d5faf.jpg","text":"TemporaryFile(/tmp/multipartBody921389591547157101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_15_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af8160372b7ff6fc30245549df638c13.jpg","text":"TemporaryFile(/tmp/multipartBody3100858867401874738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458889430,"filename":"image_30112025_00_16_15_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993692","file1":"1396993690","file0":"1396993689","file4":"1396993698","file5":"1396993701","file3":"1396993695"},"map_files_photo_id_array":[{"photo_id":"1396993701","filename":"file5"},{"photo_id":"1396993692","filename":"file2"},{"photo_id":"1396993698","filename":"file4"},{"photo_id":"1396993690","filename":"file1"},{"photo_id":"1396993689","filename":"file0"},{"photo_id":"1396993695","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993692":["hashtag1","hashtag2"]},{"1396993695":["hashtag1","hashtag2"]},{"1396993689":["hashtag1","hashtag2"]},{"1396993701":["hashtag1","hashtag2"]},{"1396993690":["hashtag1","hashtag2"]},{"1396993698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993692, 1396993695, 1396993689, 1396993701, 1396993690, 1396993698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75250434875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:28:03.098922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_34_9732.jpg', '/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_45_10689.jpg', '/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_55_9783.jpg', '/home/pi/Desktop/images/30112025/00/16/image_30112025_00_17_05_9766.jpg', '/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_14_9689.jpg', '/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_25_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_34_9732.jpg
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_45_10689.jpg
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_16_55_9783.jpg
/home/pi/Desktop/images/30112025/00/16/image_30112025_00_17_05_9766.jpg
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_14_9689.jpg
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_25_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993705","1396993707","1396993709","1396993706","1396993711","1396993708"],"photo_ids_order":["1396993705","1396993706","1396993707","1396993708","1396993709","1396993711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25b78bbd5e323b422eb6e38914d60d65.jpg","text":"TemporaryFile(/tmp/multipartBody6809908238676102003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_16_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be1da1020c136de1aff28ca9d282fc55.jpg","text":"TemporaryFile(/tmp/multipartBody6524352264941886364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_16_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8edd846fdb14307bca1236f4feecf823.jpg","text":"TemporaryFile(/tmp/multipartBody8837285769991049212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_17_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d45edd2f1fef8c1d98eb18401ac7cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7444419521814490060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_16_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e969dc453342ce5882f243b0c7444c2.jpg","text":"TemporaryFile(/tmp/multipartBody1543722171786205765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_17_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffac51aca0909b98bb8a82af45dec079.jpg","text":"TemporaryFile(/tmp/multipartBody4662231003886192799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764458943821,"filename":"image_30112025_00_17_05_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993707","file1":"1396993706","file0":"1396993705","file4":"1396993709","file5":"1396993711","file3":"1396993708"},"map_files_photo_id_array":[{"photo_id":"1396993711","filename":"file5"},{"photo_id":"1396993707","filename":"file2"},{"photo_id":"1396993709","filename":"file4"},{"photo_id":"1396993706","filename":"file1"},{"photo_id":"1396993705","filename":"file0"},{"photo_id":"1396993708","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993705":["hashtag1","hashtag2"]},{"1396993707":["hashtag1","hashtag2"]},{"1396993709":["hashtag1","hashtag2"]},{"1396993706":["hashtag1","hashtag2"]},{"1396993711":["hashtag1","hashtag2"]},{"1396993708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993705, 1396993707, 1396993709, 1396993706, 1396993711, 1396993708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76040744781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:28:42.674795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/13/image_31102025_11_13_38_3722.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_41_2838.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_44_2692.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_47_2791.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_50_3698.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_53_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_38_3722.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_41_2838.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_44_2692.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_47_2791.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_50_3698.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_53_2747.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8991491794586182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:29:02.907574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_34_9716.jpg', '/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_44_9583.jpg', '/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_55_10703.jpg', '/home/pi/Desktop/images/30112025/00/17/image_30112025_00_18_04_9620.jpg', '/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_14_9794.jpg', '/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_25_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_34_9716.jpg
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_44_9583.jpg
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_17_55_10703.jpg
/home/pi/Desktop/images/30112025/00/17/image_30112025_00_18_04_9620.jpg
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_14_9794.jpg
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_25_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993723","1396993722","1396993727","1396993721","1396993732","1396993735"],"photo_ids_order":["1396993721","1396993722","1396993723","1396993727","1396993732","1396993735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24c8f2442b734e1082c3180e59d10bed.jpg","text":"TemporaryFile(/tmp/multipartBody2420148734794352482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_17_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bc2cad75443f68d894dc6f3f682a07e.jpg","text":"TemporaryFile(/tmp/multipartBody8999972820052179422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_17_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30105a1b500c52cdec53f210dceba717.jpg","text":"TemporaryFile(/tmp/multipartBody42458643949947253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_18_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51aa6647fb4dd2230f4a30a3e114ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody5148087764178608938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_17_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac15dd3c5872ab0a0f07d9ccc2e56253.jpg","text":"TemporaryFile(/tmp/multipartBody5844314557372779997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_18_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ffa1a3199df902469ef9a3e5155d0a5.jpg","text":"TemporaryFile(/tmp/multipartBody1940870547379502071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459008347,"filename":"image_30112025_00_18_25_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993723","file1":"1396993722","file0":"1396993721","file4":"1396993732","file5":"1396993735","file3":"1396993727"},"map_files_photo_id_array":[{"photo_id":"1396993735","filename":"file5"},{"photo_id":"1396993723","filename":"file2"},{"photo_id":"1396993732","filename":"file4"},{"photo_id":"1396993722","filename":"file1"},{"photo_id":"1396993721","filename":"file0"},{"photo_id":"1396993727","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993723":["hashtag1","hashtag2"]},{"1396993722":["hashtag1","hashtag2"]},{"1396993727":["hashtag1","hashtag2"]},{"1396993721":["hashtag1","hashtag2"]},{"1396993732":["hashtag1","hashtag2"]},{"1396993735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993723, 1396993722, 1396993727, 1396993721, 1396993732, 1396993735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.76662874221802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:30:05.985211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:30:13.169800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_26_3650.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_29_2750.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_31_2610.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_35_3544.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_37_2511.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_40_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_26_3650.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_29_2750.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_31_2610.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_35_3544.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_37_2511.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_40_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993749","1396993746","1396993748","1396993742","1396993750","1396993744"],"photo_ids_order":["1396993742","1396993744","1396993746","1396993748","1396993749","1396993750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07ca8a420f3a90dd379161ceebaf31fb.jpg","text":"TemporaryFile(/tmp/multipartBody5461054405464138763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_37_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5f88e036239c747104867ad2e847f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6959742204441871570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_31_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/30/3e162c00d47e79fdecad42cff2843a90.jpg","text":"TemporaryFile(/tmp/multipartBody6284830044927528935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_35_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/30/83bc5fceed8db0ab3c0b278a12ae5006.jpg","text":"TemporaryFile(/tmp/multipartBody1437607448211977539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_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/30/58c17275b405b196ef0e2fab5bd9645e.jpg","text":"TemporaryFile(/tmp/multipartBody7437276549822445507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_40_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5845a500e7afda218830e8868a00626.jpg","text":"TemporaryFile(/tmp/multipartBody6058434135101557114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459083415,"filename":"image_25112025_19_27_29_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993746","file1":"1396993744","file0":"1396993742","file4":"1396993749","file5":"1396993750","file3":"1396993748"},"map_files_photo_id_array":[{"photo_id":"1396993750","filename":"file5"},{"photo_id":"1396993746","filename":"file2"},{"photo_id":"1396993749","filename":"file4"},{"photo_id":"1396993744","filename":"file1"},{"photo_id":"1396993742","filename":"file0"},{"photo_id":"1396993748","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993749":["hashtag1","hashtag2"]},{"1396993746":["hashtag1","hashtag2"]},{"1396993748":["hashtag1","hashtag2"]},{"1396993742":["hashtag1","hashtag2"]},{"1396993750":["hashtag1","hashtag2"]},{"1396993744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993749, 1396993746, 1396993748, 1396993742, 1396993750, 1396993744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.558310747146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:31:03.377261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_35_9828.jpg', '/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_44_9731.jpg', '/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_55_10609.jpg', '/home/pi/Desktop/images/30112025/00/18/image_30112025_00_19_05_9634.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_14_9736.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_24_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_35_9828.jpg
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_44_9731.jpg
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_18_55_10609.jpg
/home/pi/Desktop/images/30112025/00/18/image_30112025_00_19_05_9634.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_14_9736.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_24_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993752","1396993754","1396993762","1396993756","1396993759","1396993753"],"photo_ids_order":["1396993752","1396993753","1396993754","1396993756","1396993759","1396993762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0f4ad40865bb519619fe626f84a4901.jpg","text":"TemporaryFile(/tmp/multipartBody7487236154081299304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_18_35_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64dc7c30183b3268794a4bcd64284ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8905782010519943029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_18_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbf417f6af2c32ac01f65da462778dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4099725293321493544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_19_24_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0365ea7210bb980b41c6ccc6d0b35192.jpg","text":"TemporaryFile(/tmp/multipartBody5337686406010005009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_19_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ef98757f89194081ff7948707bcaa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2993784102028767097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_19_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d80050d84a08868e98e84eab78cf8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1438356160707587963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459124298,"filename":"image_30112025_00_18_44_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993754","file1":"1396993753","file0":"1396993752","file4":"1396993759","file5":"1396993762","file3":"1396993756"},"map_files_photo_id_array":[{"photo_id":"1396993762","filename":"file5"},{"photo_id":"1396993754","filename":"file2"},{"photo_id":"1396993759","filename":"file4"},{"photo_id":"1396993753","filename":"file1"},{"photo_id":"1396993752","filename":"file0"},{"photo_id":"1396993756","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993752":["hashtag1","hashtag2"]},{"1396993754":["hashtag1","hashtag2"]},{"1396993762":["hashtag1","hashtag2"]},{"1396993756":["hashtag1","hashtag2"]},{"1396993759":["hashtag1","hashtag2"]},{"1396993753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993752, 1396993754, 1396993762, 1396993756, 1396993759, 1396993753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68379878997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:32:03.012644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_34_9935.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_44_10103.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_55_10741.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_20_05_9591.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_14_9632.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_25_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_34_9935.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_44_10103.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_55_10741.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_20_05_9591.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_14_9632.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_25_10783.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6441974639892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:32:12.587799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_44_3510.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_46_2923.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_49_2781.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_53_3723.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_56_2836.jpg', '/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_59_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_44_3510.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_46_2923.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_49_2781.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_53_3723.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_56_2836.jpg
/home/pi/Desktop/images/25112025/19/27/image_25112025_19_27_59_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993773","1396993776","1396993790","1396993786","1396993780","1396993783"],"photo_ids_order":["1396993773","1396993776","1396993780","1396993783","1396993786","1396993790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c09e63b95137c07ba66f5debe0e1ab8f.jpg","text":"TemporaryFile(/tmp/multipartBody3446179360916899661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_44_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c089f883606dc54ec355c478345c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody6783644413139641992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_46_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/30/fd5046414ec5eeafe73b322ea3becf26.jpg","text":"TemporaryFile(/tmp/multipartBody5686105915553971097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_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/30/9aab1c673cf0b4164be75fea71b04988.jpg","text":"TemporaryFile(/tmp/multipartBody8320222401969731962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_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/30/231484dc55d2b8ad243c18539861ef86.jpg","text":"TemporaryFile(/tmp/multipartBody8546526136472654277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_49_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/30/6419f18a4f955d364c20d7e2bd20081a.jpg","text":"TemporaryFile(/tmp/multipartBody1432492952456345490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459196832,"filename":"image_25112025_19_27_53_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993780","file1":"1396993776","file0":"1396993773","file4":"1396993786","file5":"1396993790","file3":"1396993783"},"map_files_photo_id_array":[{"photo_id":"1396993790","filename":"file5"},{"photo_id":"1396993780","filename":"file2"},{"photo_id":"1396993786","filename":"file4"},{"photo_id":"1396993776","filename":"file1"},{"photo_id":"1396993773","filename":"file0"},{"photo_id":"1396993783","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396993773":["hashtag1","hashtag2"]},{"1396993776":["hashtag1","hashtag2"]},{"1396993790":["hashtag1","hashtag2"]},{"1396993786":["hashtag1","hashtag2"]},{"1396993780":["hashtag1","hashtag2"]},{"1396993783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396993773, 1396993776, 1396993790, 1396993786, 1396993780, 1396993783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62357473373413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:33:02.589535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_34_9935.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_44_10103.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_55_10741.jpg', '/home/pi/Desktop/images/30112025/00/19/image_30112025_00_20_05_9591.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_14_9632.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_25_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_34_9935.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_44_10103.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_19_55_10741.jpg
/home/pi/Desktop/images/30112025/00/19/image_30112025_00_20_05_9591.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_14_9632.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_25_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993794","1396993800","1396993793","1396993802","1396993795","1396993797"],"photo_ids_order":["1396993793","1396993794","1396993795","1396993797","1396993800","1396993802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4c3700c42443a19a183ad0c71053399.jpg","text":"TemporaryFile(/tmp/multipartBody4316233168952718088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_19_44_10103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfa7639341b499bf805e60efac1ae194.jpg","text":"TemporaryFile(/tmp/multipartBody4089406297384564355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_20_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/826f6a8fc1506dcb08e57adfb3b0cf4f.jpg","text":"TemporaryFile(/tmp/multipartBody7887689648207777585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_19_34_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12ad075bd238caed391a3e19517f87b0.jpg","text":"TemporaryFile(/tmp/multipartBody4913586443156130300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_20_25_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bf91f74e88a6f85a0356227796a678f.jpg","text":"TemporaryFile(/tmp/multipartBody8406077105762843752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_19_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c26ca37c498396a4897a31fde82889c7.jpg","text":"TemporaryFile(/tmp/multipartBody3956298743504968077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459244307,"filename":"image_30112025_00_20_05_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993795","file1":"1396993794","file0":"1396993793","file4":"1396993800","file5":"1396993802","file3":"1396993797"},"map_files_photo_id_array":[{"photo_id":"1396993802","filename":"file5"},{"photo_id":"1396993795","filename":"file2"},{"photo_id":"1396993800","filename":"file4"},{"photo_id":"1396993794","filename":"file1"},{"photo_id":"1396993793","filename":"file0"},{"photo_id":"1396993797","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993794":["hashtag1","hashtag2"]},{"1396993800":["hashtag1","hashtag2"]},{"1396993793":["hashtag1","hashtag2"]},{"1396993802":["hashtag1","hashtag2"]},{"1396993795":["hashtag1","hashtag2"]},{"1396993797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993794, 1396993800, 1396993793, 1396993802, 1396993795, 1396993797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41739845275879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:34:02.739112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_35_9704.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_44_9780.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_54_9798.jpg', '/home/pi/Desktop/images/30112025/00/20/image_30112025_00_21_05_10667.jpg', '/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_15_9720.jpg', '/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_24_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_35_9704.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_44_9780.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_20_54_9798.jpg
/home/pi/Desktop/images/30112025/00/20/image_30112025_00_21_05_10667.jpg
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_15_9720.jpg
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_24_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396993815","1396993812","1396993809","1396993808","1396993810","1396993807"],"photo_ids_order":["1396993807","1396993808","1396993809","1396993810","1396993812","1396993815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a55ad30eb77a849b896fcdaada4d8c31.jpg","text":"TemporaryFile(/tmp/multipartBody8332868606613076957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_21_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdbf77110c18b5d0f7cd1a46fc3efa81.jpg","text":"TemporaryFile(/tmp/multipartBody780234778553959564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_21_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1eea8594c5b38e09373b2edb829a024f.jpg","text":"TemporaryFile(/tmp/multipartBody3208087184671573234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_20_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/533ef577636782b90fdeb9eb66adbf0c.jpg","text":"TemporaryFile(/tmp/multipartBody4032454190878824806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_20_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70ad5b40821f4a630a41fdac32387a71.jpg","text":"TemporaryFile(/tmp/multipartBody5161186431420908023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_21_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61ae16314d7c434d978689d684b9385c.jpg","text":"TemporaryFile(/tmp/multipartBody7160361173883274885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459303469,"filename":"image_30112025_00_20_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993809","file1":"1396993808","file0":"1396993807","file4":"1396993812","file5":"1396993815","file3":"1396993810"},"map_files_photo_id_array":[{"photo_id":"1396993815","filename":"file5"},{"photo_id":"1396993809","filename":"file2"},{"photo_id":"1396993812","filename":"file4"},{"photo_id":"1396993808","filename":"file1"},{"photo_id":"1396993807","filename":"file0"},{"photo_id":"1396993810","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396993815":["hashtag1","hashtag2"]},{"1396993812":["hashtag1","hashtag2"]},{"1396993809":["hashtag1","hashtag2"]},{"1396993808":["hashtag1","hashtag2"]},{"1396993810":["hashtag1","hashtag2"]},{"1396993807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396993815, 1396993812, 1396993809, 1396993808, 1396993810, 1396993807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82753562927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:34:42.090279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/13/image_31102025_11_13_38_3722.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_41_2838.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_44_2692.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_47_2791.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_50_3698.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_53_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_38_3722.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_41_2838.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_44_2692.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_47_2791.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_50_3698.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_53_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":["1396993824","1396993827","1396993826","1396993823","1396993822","1396993825"],"photo_ids_order":["1396993822","1396993823","1396993824","1396993825","1396993826","1396993827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05bc77ef73b29c6f55bb90cb671957be.jpg","text":"TemporaryFile(/tmp/multipartBody4176950590891874501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_44_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93761366dc2f7dad5b8442eb30fa3921.jpg","text":"TemporaryFile(/tmp/multipartBody3018756150920718792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_53_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48f0957a6266de95d94944c741597b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8459970152295249257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_50_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d54f6e25b3874454127fccf873c7ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2910698099037339442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_41_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d16b39cb12ac44add3a94e877b9070f8.jpg","text":"TemporaryFile(/tmp/multipartBody7031708874838816648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_38_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/30/0182b727fe1b7109e368cf5a535f87fd.jpg","text":"TemporaryFile(/tmp/multipartBody3970437903452881605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459342900,"filename":"image_31102025_11_13_47_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396993824","file1":"1396993823","file0":"1396993822","file4":"1396993826","file5":"1396993827","file3":"1396993825"},"map_files_photo_id_array":[{"photo_id":"1396993827","filename":"file5"},{"photo_id":"1396993824","filename":"file2"},{"photo_id":"1396993826","filename":"file4"},{"photo_id":"1396993823","filename":"file1"},{"photo_id":"1396993822","filename":"file0"},{"photo_id":"1396993825","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396993824":["hashtag1","hashtag2"]},{"1396993827":["hashtag1","hashtag2"]},{"1396993826":["hashtag1","hashtag2"]},{"1396993823":["hashtag1","hashtag2"]},{"1396993822":["hashtag1","hashtag2"]},{"1396993825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396993824, 1396993827, 1396993826, 1396993823, 1396993822, 1396993825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99501132965088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:35:22.286431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_35_10561.jpg', '/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_45_9703.jpg', '/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_54_9620.jpg', '/home/pi/Desktop/images/30112025/00/21/image_30112025_00_22_04_9872.jpg', '/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_24_9548.jpg', '/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_35_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_35_10561.jpg
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_45_9703.jpg
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_21_54_9620.jpg
/home/pi/Desktop/images/30112025/00/21/image_30112025_00_22_04_9872.jpg
/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_24_9548.jpg
/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_35_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396994358","1396994117","1396993883","1396994009","1396994227","1396993831"],"photo_ids_order":["1396993831","1396993883","1396994009","1396994117","1396994227","1396994358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10c6e907006e06210a1fc45bb3ae0171.jpg","text":"TemporaryFile(/tmp/multipartBody7063047672797923751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_22_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b46dbf6b1730d918d53c39c5f31c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody5223743586141441129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_22_04_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95592224a9ee4eecf98e86badd383dca.jpg","text":"TemporaryFile(/tmp/multipartBody4449425929804148373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_21_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7c41f853a76b52fa401d96635f06d61.jpg","text":"TemporaryFile(/tmp/multipartBody6927288472642596266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_21_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/568f0eda4249f04ff52a8a63dbc179b8.jpg","text":"TemporaryFile(/tmp/multipartBody2137101874253795776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_22_24_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec029cd79e73eee3d7112ea51b75213d.jpg","text":"TemporaryFile(/tmp/multipartBody756876590814425486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459382997,"filename":"image_30112025_00_21_35_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396994009","file1":"1396993883","file0":"1396993831","file4":"1396994227","file5":"1396994358","file3":"1396994117"},"map_files_photo_id_array":[{"photo_id":"1396994358","filename":"file5"},{"photo_id":"1396994009","filename":"file2"},{"photo_id":"1396994227","filename":"file4"},{"photo_id":"1396993883","filename":"file1"},{"photo_id":"1396993831","filename":"file0"},{"photo_id":"1396994117","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396994358":["hashtag1","hashtag2"]},{"1396994117":["hashtag1","hashtag2"]},{"1396993883":["hashtag1","hashtag2"]},{"1396994009":["hashtag1","hashtag2"]},{"1396994227":["hashtag1","hashtag2"]},{"1396993831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396994358, 1396994117, 1396993883, 1396994009, 1396994227, 1396993831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.968687295913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:36:02.739101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_44_9602.jpg', '/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_55_10680.jpg', '/home/pi/Desktop/images/30112025/00/22/image_30112025_00_23_05_9575.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_14_9636.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_25_10727.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_35_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_44_9602.jpg
/home/pi/Desktop/images/30112025/00/22/image_30112025_00_22_55_10680.jpg
/home/pi/Desktop/images/30112025/00/22/image_30112025_00_23_05_9575.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_14_9636.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_25_10727.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_35_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396994676","1396994681","1396994675","1396994674","1396994677","1396994679"],"photo_ids_order":["1396994674","1396994675","1396994676","1396994677","1396994679","1396994681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c067c7db9487df18ce2af6db5615047.jpg","text":"TemporaryFile(/tmp/multipartBody7841045065210254701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_23_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d15ff016f23c8205276067f70d36c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1106356077507866797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_23_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6d80e4cd1696a7c2efd6ce7a06938d2.jpg","text":"TemporaryFile(/tmp/multipartBody6388065196583707980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_22_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b28b895f0a65ee2094d284637bd0c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7588101438976145357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_22_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5321197c62d7a0cc9f9e6496b19be70b.jpg","text":"TemporaryFile(/tmp/multipartBody8347913141047603403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_23_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e00ddb86ea5b2d6bc364737bb990228.jpg","text":"TemporaryFile(/tmp/multipartBody3640964527453312461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459423482,"filename":"image_30112025_00_23_25_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396994676","file1":"1396994675","file0":"1396994674","file4":"1396994679","file5":"1396994681","file3":"1396994677"},"map_files_photo_id_array":[{"photo_id":"1396994681","filename":"file5"},{"photo_id":"1396994676","filename":"file2"},{"photo_id":"1396994679","filename":"file4"},{"photo_id":"1396994675","filename":"file1"},{"photo_id":"1396994674","filename":"file0"},{"photo_id":"1396994677","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396994676":["hashtag1","hashtag2"]},{"1396994681":["hashtag1","hashtag2"]},{"1396994675":["hashtag1","hashtag2"]},{"1396994674":["hashtag1","hashtag2"]},{"1396994677":["hashtag1","hashtag2"]},{"1396994679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396994676, 1396994681, 1396994675, 1396994674, 1396994677, 1396994679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90203309059143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:36:42.446950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/13/image_31102025_11_13_56_2703.jpg', '/home/pi/Desktop/images/31102025/11/13/image_31102025_11_14_00_3690.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_02_2812.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_05_2680.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_08_2592.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_11_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_13_56_2703.jpg
/home/pi/Desktop/images/31102025/11/13/image_31102025_11_14_00_3690.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_02_2812.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_05_2680.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_08_2592.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_11_3772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396994936","1396994686","1396994944","1396994824","1396994704","1396994943"],"photo_ids_order":["1396994686","1396994704","1396994824","1396994936","1396994943","1396994944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff71b6c2dc6512b67dd9c9b110fce66c.jpg","text":"TemporaryFile(/tmp/multipartBody1992764084574368177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_14_05_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/533d9f5bbc2251e9cf62e253842ad6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3595244483972276731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_13_56_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/30/524fa0932dfd69f004847d49353f55b3.jpg","text":"TemporaryFile(/tmp/multipartBody5844971083879776937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_14_11_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54aebcb02df131a945b1a1653714ef0c.jpg","text":"TemporaryFile(/tmp/multipartBody3013986045154734655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_14_02_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/30/c6a99ed994bbc6cd729823502150372f.jpg","text":"TemporaryFile(/tmp/multipartBody9124574887685504085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_14_00_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/30/4d30bf84277c71b9b085dd7f2e608254.jpg","text":"TemporaryFile(/tmp/multipartBody8277080518887049875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459463383,"filename":"image_31102025_11_14_08_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396994824","file1":"1396994704","file0":"1396994686","file4":"1396994943","file5":"1396994944","file3":"1396994936"},"map_files_photo_id_array":[{"photo_id":"1396994944","filename":"file5"},{"photo_id":"1396994824","filename":"file2"},{"photo_id":"1396994943","filename":"file4"},{"photo_id":"1396994704","filename":"file1"},{"photo_id":"1396994686","filename":"file0"},{"photo_id":"1396994936","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396994936":["hashtag1","hashtag2"]},{"1396994686":["hashtag1","hashtag2"]},{"1396994944":["hashtag1","hashtag2"]},{"1396994824":["hashtag1","hashtag2"]},{"1396994704":["hashtag1","hashtag2"]},{"1396994943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396994936, 1396994686, 1396994944, 1396994824, 1396994704, 1396994943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11508846282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:37:22.603041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_44_9550.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_55_10763.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_24_05_9791.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_14_9611.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_25_10646.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_35_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_44_9550.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_55_10763.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_24_05_9791.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_14_9611.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_25_10646.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_35_9693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6026935577392578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:37:32.614550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_01_2585.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_04_2871.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_08_3685.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_10_2710.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_13_2675.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_17_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_01_2585.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_04_2871.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_08_3685.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_10_2710.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_13_2675.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_17_3535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995068","1396995062","1396995064","1396995067","1396995069","1396995066"],"photo_ids_order":["1396995062","1396995064","1396995066","1396995067","1396995068","1396995069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d3913735c792f64063d25ea25f57094.jpg","text":"TemporaryFile(/tmp/multipartBody8185260517438582507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_13_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9256523fcd44922bba81cae73ee1090.jpg","text":"TemporaryFile(/tmp/multipartBody2532604511547484491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_01_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdd01342a531c4f72664bfc16f6ee915.jpg","text":"TemporaryFile(/tmp/multipartBody1588604735580423330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_04_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/30/0aa84828abd08e66e9e3088d8e93d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7646887612144317363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_10_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c7acb62830cf08b9b1554e70a7704a2.jpg","text":"TemporaryFile(/tmp/multipartBody5506453011574709347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_17_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/30/9eeeeed02ca0a44e8a03b670c90019a9.jpg","text":"TemporaryFile(/tmp/multipartBody3764620881178655144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459514554,"filename":"image_25112025_19_28_08_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995066","file1":"1396995064","file0":"1396995062","file4":"1396995068","file5":"1396995069","file3":"1396995067"},"map_files_photo_id_array":[{"photo_id":"1396995069","filename":"file5"},{"photo_id":"1396995066","filename":"file2"},{"photo_id":"1396995068","filename":"file4"},{"photo_id":"1396995064","filename":"file1"},{"photo_id":"1396995062","filename":"file0"},{"photo_id":"1396995067","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396995068":["hashtag1","hashtag2"]},{"1396995062":["hashtag1","hashtag2"]},{"1396995064":["hashtag1","hashtag2"]},{"1396995067":["hashtag1","hashtag2"]},{"1396995069":["hashtag1","hashtag2"]},{"1396995066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396995068, 1396995062, 1396995064, 1396995067, 1396995069, 1396995066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82679009437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:38:12.761866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_19_2774.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_22_2703.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_26_3754.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_29_2667.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_31_2466.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_35_3506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_19_2774.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_22_2703.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_26_3754.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_29_2667.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_31_2466.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_35_3506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995080","1396995082","1396995070","1396995072","1396995075","1396995078"],"photo_ids_order":["1396995070","1396995072","1396995075","1396995078","1396995080","1396995082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fc6bdaea3808bf87982ca8f355605b0.jpg","text":"TemporaryFile(/tmp/multipartBody6167459227468978471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_31_2466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14c477e743adc29862e94332c559d0aa.jpg","text":"TemporaryFile(/tmp/multipartBody6503708011406892718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_35_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/30/b939c8c4c4fba6bb2c41375939d3ec78.jpg","text":"TemporaryFile(/tmp/multipartBody7771020631896539195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_19_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/30/7f37805e3af74058f36c4b54e4a4a20b.jpg","text":"TemporaryFile(/tmp/multipartBody8443417716977205683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_22_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9df7d340fe3d32c35d0c976ab3fcb658.jpg","text":"TemporaryFile(/tmp/multipartBody5098789618247385920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_26_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/30/abf1311c7ae3c9cfe86f993c5b949a29.jpg","text":"TemporaryFile(/tmp/multipartBody6878681842027858654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459554674,"filename":"image_25112025_19_28_29_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995075","file1":"1396995072","file0":"1396995070","file4":"1396995080","file5":"1396995082","file3":"1396995078"},"map_files_photo_id_array":[{"photo_id":"1396995082","filename":"file5"},{"photo_id":"1396995075","filename":"file2"},{"photo_id":"1396995080","filename":"file4"},{"photo_id":"1396995072","filename":"file1"},{"photo_id":"1396995070","filename":"file0"},{"photo_id":"1396995078","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396995080":["hashtag1","hashtag2"]},{"1396995082":["hashtag1","hashtag2"]},{"1396995070":["hashtag1","hashtag2"]},{"1396995072":["hashtag1","hashtag2"]},{"1396995075":["hashtag1","hashtag2"]},{"1396995078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396995080, 1396995082, 1396995070, 1396995072, 1396995075, 1396995078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744909048080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:39:02.936075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_44_9550.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_55_10763.jpg', '/home/pi/Desktop/images/30112025/00/23/image_30112025_00_24_05_9791.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_14_9611.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_25_10646.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_35_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_44_9550.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_23_55_10763.jpg
/home/pi/Desktop/images/30112025/00/23/image_30112025_00_24_05_9791.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_14_9611.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_25_10646.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_35_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995086","1396995088","1396995085","1396995090","1396995093","1396995087"],"photo_ids_order":["1396995085","1396995086","1396995087","1396995088","1396995090","1396995093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b27a77392718101f679531eb7a65bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6447839442274944995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_23_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f395eac48bd89a378b3ec56c617ed117.jpg","text":"TemporaryFile(/tmp/multipartBody5249621727586202397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_24_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fc1ac77c5e891a744483cb7db4a717c.jpg","text":"TemporaryFile(/tmp/multipartBody1017183926974399992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_23_44_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d13714cd32ab5895cd0b6ae6a785b49.jpg","text":"TemporaryFile(/tmp/multipartBody8787741661260555617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_24_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f201a53bb71fd74ab19fdf7930af3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5836368814012149734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_24_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/281693112262440711196205c642ca13.jpg","text":"TemporaryFile(/tmp/multipartBody2745570981647873140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459603817,"filename":"image_30112025_00_24_05_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995087","file1":"1396995086","file0":"1396995085","file4":"1396995090","file5":"1396995093","file3":"1396995088"},"map_files_photo_id_array":[{"photo_id":"1396995093","filename":"file5"},{"photo_id":"1396995087","filename":"file2"},{"photo_id":"1396995090","filename":"file4"},{"photo_id":"1396995086","filename":"file1"},{"photo_id":"1396995085","filename":"file0"},{"photo_id":"1396995088","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995086":["hashtag1","hashtag2"]},{"1396995088":["hashtag1","hashtag2"]},{"1396995085":["hashtag1","hashtag2"]},{"1396995090":["hashtag1","hashtag2"]},{"1396995093":["hashtag1","hashtag2"]},{"1396995087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995086, 1396995088, 1396995085, 1396995090, 1396995093, 1396995087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5611846446991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:39:41.953881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/14/image_31102025_11_14_14_2635.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_17_2681.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_20_3713.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_23_2821.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_26_2734.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_29_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_14_2635.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_17_2681.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_20_3713.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_23_2821.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_26_2734.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_29_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995102","1396995101","1396995104","1396995103","1396995106","1396995105"],"photo_ids_order":["1396995101","1396995102","1396995103","1396995104","1396995105","1396995106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e5224c16bb678f749226baecd08a745.jpg","text":"TemporaryFile(/tmp/multipartBody4138581057381764112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_17_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/30/7cfa02288249939471a1276f19e7afeb.jpg","text":"TemporaryFile(/tmp/multipartBody2881979732432688905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_14_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3512e0a03521827abf3da0ce3d717838.jpg","text":"TemporaryFile(/tmp/multipartBody7101346166072955529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_23_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/30/b099fd7414676adeefa9fbde48f5791d.jpg","text":"TemporaryFile(/tmp/multipartBody8919297511472017896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_20_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/30/c62e5f617e10151cf0c33c81ef9c49cf.jpg","text":"TemporaryFile(/tmp/multipartBody8825665068362102342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_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/30/782d4e8a9fd711d030fd4e5c503c1d53.jpg","text":"TemporaryFile(/tmp/multipartBody4694599041033720683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459642884,"filename":"image_31102025_11_14_26_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995103","file1":"1396995102","file0":"1396995101","file4":"1396995105","file5":"1396995106","file3":"1396995104"},"map_files_photo_id_array":[{"photo_id":"1396995106","filename":"file5"},{"photo_id":"1396995103","filename":"file2"},{"photo_id":"1396995105","filename":"file4"},{"photo_id":"1396995102","filename":"file1"},{"photo_id":"1396995101","filename":"file0"},{"photo_id":"1396995104","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995102":["hashtag1","hashtag2"]},{"1396995101":["hashtag1","hashtag2"]},{"1396995104":["hashtag1","hashtag2"]},{"1396995103":["hashtag1","hashtag2"]},{"1396995106":["hashtag1","hashtag2"]},{"1396995105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995102, 1396995101, 1396995104, 1396995103, 1396995106, 1396995105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.692195892333984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:40:22.123863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_44_9564.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_55_10713.jpg', '/home/pi/Desktop/images/30112025/00/24/image_30112025_00_25_05_9714.jpg', '/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_14_9618.jpg', '/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_25_10789.jpg', '/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_34_9266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_44_9564.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_24_55_10713.jpg
/home/pi/Desktop/images/30112025/00/24/image_30112025_00_25_05_9714.jpg
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_14_9618.jpg
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_25_10789.jpg
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_34_9266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995120","1396995119","1396995112","1396995115","1396995109","1396995117"],"photo_ids_order":["1396995109","1396995112","1396995115","1396995117","1396995119","1396995120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/037ea84034ec74bec3e4dd338b5829a7.jpg","text":"TemporaryFile(/tmp/multipartBody5366260742453701251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_25_34_9266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcc7a4bfd2ed068ade45448b580ca08e.jpg","text":"TemporaryFile(/tmp/multipartBody8497033827681580944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_25_25_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45cd58eb91a0928a200ca7566879e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2114662973753200846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_24_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19e4eb2c0c54a39d8cf702ce1339533c.jpg","text":"TemporaryFile(/tmp/multipartBody5647630489014358274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_25_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50070d7f94acc8ae2c6b3ea9477bcea5.jpg","text":"TemporaryFile(/tmp/multipartBody8099173269502043670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_24_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dec8e9b9bc0c824985519d739a1e147.jpg","text":"TemporaryFile(/tmp/multipartBody2295253006745461978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459682865,"filename":"image_30112025_00_25_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995115","file1":"1396995112","file0":"1396995109","file4":"1396995119","file5":"1396995120","file3":"1396995117"},"map_files_photo_id_array":[{"photo_id":"1396995120","filename":"file5"},{"photo_id":"1396995115","filename":"file2"},{"photo_id":"1396995119","filename":"file4"},{"photo_id":"1396995112","filename":"file1"},{"photo_id":"1396995109","filename":"file0"},{"photo_id":"1396995117","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995120":["hashtag1","hashtag2"]},{"1396995119":["hashtag1","hashtag2"]},{"1396995112":["hashtag1","hashtag2"]},{"1396995115":["hashtag1","hashtag2"]},{"1396995109":["hashtag1","hashtag2"]},{"1396995117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995120, 1396995119, 1396995112, 1396995115, 1396995109, 1396995117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64822840690613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:41:03.104713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_45_10593.jpg', '/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_54_9528.jpg', '/home/pi/Desktop/images/30112025/00/25/image_30112025_00_26_04_9813.jpg', '/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_15_10562.jpg', '/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_24_9369.jpg', '/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_35_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_45_10593.jpg
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_25_54_9528.jpg
/home/pi/Desktop/images/30112025/00/25/image_30112025_00_26_04_9813.jpg
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_15_10562.jpg
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_24_9369.jpg
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_35_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995129","1396995122","1396995121","1396995124","1396995123","1396995126"],"photo_ids_order":["1396995121","1396995122","1396995123","1396995124","1396995126","1396995129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9929f79517c2d77a27fd1606a815c5a9.jpg","text":"TemporaryFile(/tmp/multipartBody6365545948841271651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_26_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d738449bb1252498b1b580384ab6c97.jpg","text":"TemporaryFile(/tmp/multipartBody827870344881398536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_25_54_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cb291d2967e3174bba6649d1f670333.jpg","text":"TemporaryFile(/tmp/multipartBody1606869580646632788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_25_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b55c8919ad0a5575aa42167b8676d367.jpg","text":"TemporaryFile(/tmp/multipartBody3454818530012065374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_26_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6ee1efaff96d1e2b539c713e88d65d9.jpg","text":"TemporaryFile(/tmp/multipartBody4425746262442643456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_26_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3776af5f07e554a52a0cbef544b313f5.jpg","text":"TemporaryFile(/tmp/multipartBody1899326246105321080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459723907,"filename":"image_30112025_00_26_24_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995123","file1":"1396995122","file0":"1396995121","file4":"1396995126","file5":"1396995129","file3":"1396995124"},"map_files_photo_id_array":[{"photo_id":"1396995129","filename":"file5"},{"photo_id":"1396995123","filename":"file2"},{"photo_id":"1396995126","filename":"file4"},{"photo_id":"1396995122","filename":"file1"},{"photo_id":"1396995121","filename":"file0"},{"photo_id":"1396995124","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995129":["hashtag1","hashtag2"]},{"1396995122":["hashtag1","hashtag2"]},{"1396995121":["hashtag1","hashtag2"]},{"1396995124":["hashtag1","hashtag2"]},{"1396995123":["hashtag1","hashtag2"]},{"1396995126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995129, 1396995122, 1396995121, 1396995124, 1396995123, 1396995126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3687539100647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:41:42.368678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/14/image_31102025_11_14_32_3585.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_35_2684.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_38_2672.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_41_3779.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_44_2758.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_50_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/11/14/image_31102025_11_14_32_3585.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_35_2684.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_38_2672.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_41_3779.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_44_2758.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_50_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":["1396995140","1396995143","1396995142","1396995141","1396995144","1396995138"],"photo_ids_order":["1396995138","1396995140","1396995141","1396995142","1396995143","1396995144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/295a9a9fafbc57e69b742fc9db042d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7577762292359824593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_35_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/30/5cded02b6cd61cd390dee9b9ade2b4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2452550361255942511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_44_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2946f088f1059e8b5c4ea05f65352ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5555565751172028106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_41_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/30/746cd7f5d0175215eb45686098c502ad.jpg","text":"TemporaryFile(/tmp/multipartBody6550454715283830981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_38_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47502f6210c088c8688d4f2fa8961374.jpg","text":"TemporaryFile(/tmp/multipartBody3228352239821238607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_50_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9132f0de2fee64f9a064d4f7327e3534.jpg","text":"TemporaryFile(/tmp/multipartBody4659779495103823235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459763342,"filename":"image_31102025_11_14_32_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995141","file1":"1396995140","file0":"1396995138","file4":"1396995143","file5":"1396995144","file3":"1396995142"},"map_files_photo_id_array":[{"photo_id":"1396995144","filename":"file5"},{"photo_id":"1396995141","filename":"file2"},{"photo_id":"1396995143","filename":"file4"},{"photo_id":"1396995140","filename":"file1"},{"photo_id":"1396995138","filename":"file0"},{"photo_id":"1396995142","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995140":["hashtag1","hashtag2"]},{"1396995143":["hashtag1","hashtag2"]},{"1396995142":["hashtag1","hashtag2"]},{"1396995141":["hashtag1","hashtag2"]},{"1396995144":["hashtag1","hashtag2"]},{"1396995138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995140, 1396995143, 1396995142, 1396995141, 1396995144, 1396995138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48255133628845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:42:22.608073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_44_9552.jpg', '/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_55_10665.jpg', '/home/pi/Desktop/images/30112025/00/26/image_30112025_00_27_05_9660.jpg', '/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_15_10245.jpg', '/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_25_9728.jpg', '/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_34_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_44_9552.jpg
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_26_55_10665.jpg
/home/pi/Desktop/images/30112025/00/26/image_30112025_00_27_05_9660.jpg
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_15_10245.jpg
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_25_9728.jpg
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_34_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995161","1396995151","1396995153","1396995156","1396995159","1396995147"],"photo_ids_order":["1396995147","1396995151","1396995153","1396995156","1396995159","1396995161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38790fca33404cab79f3838333f4b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6479788726673786371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_27_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/518ccc4b3a244c54fee88469ed5dc499.jpg","text":"TemporaryFile(/tmp/multipartBody122761343495000762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_26_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb2fe738daa70368e332d5c4e4d0a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody3823442529863603003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_27_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/158e127021e8b44fe75b1aa02b1e76c2.jpg","text":"TemporaryFile(/tmp/multipartBody6176645954913063484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_27_15_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/604e4a4967f28347f1ea7f3c62d39e24.jpg","text":"TemporaryFile(/tmp/multipartBody754070642222405813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_27_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3df28a6e64437a3bc053a06aac9bd63.jpg","text":"TemporaryFile(/tmp/multipartBody7428379932970485968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459803289,"filename":"image_30112025_00_26_44_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995153","file1":"1396995151","file0":"1396995147","file4":"1396995159","file5":"1396995161","file3":"1396995156"},"map_files_photo_id_array":[{"photo_id":"1396995161","filename":"file5"},{"photo_id":"1396995153","filename":"file2"},{"photo_id":"1396995159","filename":"file4"},{"photo_id":"1396995151","filename":"file1"},{"photo_id":"1396995147","filename":"file0"},{"photo_id":"1396995156","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995161":["hashtag1","hashtag2"]},{"1396995151":["hashtag1","hashtag2"]},{"1396995153":["hashtag1","hashtag2"]},{"1396995156":["hashtag1","hashtag2"]},{"1396995159":["hashtag1","hashtag2"]},{"1396995147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995161, 1396995151, 1396995153, 1396995156, 1396995159, 1396995147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00009036064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:43:03.360176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_45_10517.jpg', '/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_54_9462.jpg', '/home/pi/Desktop/images/30112025/00/27/image_30112025_00_28_05_10577.jpg', '/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_15_9582.jpg', '/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_24_9780.jpg', '/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_44_10102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_45_10517.jpg
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_27_54_9462.jpg
/home/pi/Desktop/images/30112025/00/27/image_30112025_00_28_05_10577.jpg
/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_15_9582.jpg
/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_24_9780.jpg
/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_44_10102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995164","1396995167","1396995169","1396995166","1396995171","1396995165"],"photo_ids_order":["1396995164","1396995165","1396995166","1396995167","1396995169","1396995171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64a862e822d0790e39de3e7ab29bd1bd.jpg","text":"TemporaryFile(/tmp/multipartBody2855490591535866069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_27_45_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44200f8ceb0b8112fc0b960a5cfcc11f.jpg","text":"TemporaryFile(/tmp/multipartBody4177481719275341130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_28_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6eda68728d18bbbf6cf4e5aefb740331.jpg","text":"TemporaryFile(/tmp/multipartBody998393626087857797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_28_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daaf2715be009361f4a501a015b4c68a.jpg","text":"TemporaryFile(/tmp/multipartBody5235712132713746115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_28_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/506e6ec69fe4b45f4eb5e255791c0220.jpg","text":"TemporaryFile(/tmp/multipartBody4885431793396654284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_28_44_10102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef01fda100dabd0696e0dea143cdc29a.jpg","text":"TemporaryFile(/tmp/multipartBody6242906366927950004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459844110,"filename":"image_30112025_00_27_54_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995166","file1":"1396995165","file0":"1396995164","file4":"1396995169","file5":"1396995171","file3":"1396995167"},"map_files_photo_id_array":[{"photo_id":"1396995171","filename":"file5"},{"photo_id":"1396995166","filename":"file2"},{"photo_id":"1396995169","filename":"file4"},{"photo_id":"1396995165","filename":"file1"},{"photo_id":"1396995164","filename":"file0"},{"photo_id":"1396995167","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995164":["hashtag1","hashtag2"]},{"1396995167":["hashtag1","hashtag2"]},{"1396995169":["hashtag1","hashtag2"]},{"1396995166":["hashtag1","hashtag2"]},{"1396995171":["hashtag1","hashtag2"]},{"1396995165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995164, 1396995167, 1396995169, 1396995166, 1396995171, 1396995165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84160542488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:43:42.676918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/14/image_31102025_11_14_53_3601.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_56_2764.jpg', '/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_59_2793.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_07_3015.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_10_3601.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_13_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_53_3601.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_56_2764.jpg
/home/pi/Desktop/images/31102025/11/14/image_31102025_11_14_59_2793.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_07_3015.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_10_3601.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_13_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995191","1396995185","1396995187","1396995189","1396995180","1396995183"],"photo_ids_order":["1396995180","1396995183","1396995185","1396995187","1396995189","1396995191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a07dfe71f89dc3fac09afb0c391919ec.jpg","text":"TemporaryFile(/tmp/multipartBody2985301126559548398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_15_13_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/30/081e82c3ea398e466161b68969649853.jpg","text":"TemporaryFile(/tmp/multipartBody666766030948249494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_14_59_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fb3b47a07d70f356e2ca3fb3d1f7ecb.jpg","text":"TemporaryFile(/tmp/multipartBody2028524356296630869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_15_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/30/b233336bb63f2e9b5caf51623012c17e.jpg","text":"TemporaryFile(/tmp/multipartBody7646906021763540538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_15_10_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/30/c6292b237a438087aca7f7b0a130d044.jpg","text":"TemporaryFile(/tmp/multipartBody9198626633750686750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_14_53_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/30/f745e7eb2861369b37e7fd05987e015e.jpg","text":"TemporaryFile(/tmp/multipartBody1151631839903961457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459883702,"filename":"image_31102025_11_14_56_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995185","file1":"1396995183","file0":"1396995180","file4":"1396995189","file5":"1396995191","file3":"1396995187"},"map_files_photo_id_array":[{"photo_id":"1396995191","filename":"file5"},{"photo_id":"1396995185","filename":"file2"},{"photo_id":"1396995189","filename":"file4"},{"photo_id":"1396995183","filename":"file1"},{"photo_id":"1396995180","filename":"file0"},{"photo_id":"1396995187","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995191":["hashtag1","hashtag2"]},{"1396995185":["hashtag1","hashtag2"]},{"1396995187":["hashtag1","hashtag2"]},{"1396995189":["hashtag1","hashtag2"]},{"1396995180":["hashtag1","hashtag2"]},{"1396995183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995191, 1396995185, 1396995187, 1396995189, 1396995180, 1396995183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44914197921753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:44:21.858810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_55_10689.jpg', '/home/pi/Desktop/images/30112025/00/28/image_30112025_00_29_05_9739.jpg', '/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_14_9588.jpg', '/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_25_10577.jpg', '/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_35_9767.jpg', '/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_44_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/28/image_30112025_00_28_55_10689.jpg
/home/pi/Desktop/images/30112025/00/28/image_30112025_00_29_05_9739.jpg
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_14_9588.jpg
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_25_10577.jpg
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_35_9767.jpg
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_44_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995194","1396995209","1396995199","1396995211","1396995205","1396995202"],"photo_ids_order":["1396995194","1396995199","1396995202","1396995205","1396995209","1396995211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d3b965d319563ebc2f73b49cee68e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8864533303022453668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_28_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11c2cc15c13b483b155ec1bf748de3bc.jpg","text":"TemporaryFile(/tmp/multipartBody4609597529247656154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_29_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/817d08a5668c9e6f8508f803ed04fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody3045238532147665467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_29_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4e9feb71edb81769eab8ce3fa1dff57.jpg","text":"TemporaryFile(/tmp/multipartBody2229774253901712675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_29_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8cdd5e7c1ed4bad842a13f2a03ff6c2.jpg","text":"TemporaryFile(/tmp/multipartBody2735882484104875009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_29_25_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2681a0d78a149b3f764ead8813b4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3518766521152251810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459922562,"filename":"image_30112025_00_29_14_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995202","file1":"1396995199","file0":"1396995194","file4":"1396995209","file5":"1396995211","file3":"1396995205"},"map_files_photo_id_array":[{"photo_id":"1396995211","filename":"file5"},{"photo_id":"1396995202","filename":"file2"},{"photo_id":"1396995209","filename":"file4"},{"photo_id":"1396995199","filename":"file1"},{"photo_id":"1396995194","filename":"file0"},{"photo_id":"1396995205","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995194":["hashtag1","hashtag2"]},{"1396995209":["hashtag1","hashtag2"]},{"1396995199":["hashtag1","hashtag2"]},{"1396995211":["hashtag1","hashtag2"]},{"1396995205":["hashtag1","hashtag2"]},{"1396995202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995194, 1396995209, 1396995199, 1396995211, 1396995205, 1396995202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48123574256897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:45:02.643969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_55_10734.jpg', '/home/pi/Desktop/images/30112025/00/29/image_30112025_00_30_05_9698.jpg', '/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_15_10344.jpg', '/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_25_9728.jpg', '/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_35_9806.jpg', '/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_45_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_29_55_10734.jpg
/home/pi/Desktop/images/30112025/00/29/image_30112025_00_30_05_9698.jpg
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_15_10344.jpg
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_25_9728.jpg
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_35_9806.jpg
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_45_10066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995213","1396995215","1396995212","1396995220","1396995214","1396995217"],"photo_ids_order":["1396995212","1396995213","1396995214","1396995215","1396995217","1396995220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79ddd2521b40a41a127c37f1bcc29370.jpg","text":"TemporaryFile(/tmp/multipartBody3361915154350888419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_30_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1153fa4e149d048f40f83765aba53ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1902057425615407544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_30_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/243abe902439a95ce68d8bacfd45a315.jpg","text":"TemporaryFile(/tmp/multipartBody3683386272244748252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_29_55_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c20408ab5b317f3c8cccd3a3e605974.jpg","text":"TemporaryFile(/tmp/multipartBody7749150067458393011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_30_45_10066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cf3ebc1a3dbaa8e16d0bb252c3d5d93.jpg","text":"TemporaryFile(/tmp/multipartBody1432531415285275614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_30_15_10344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/478012c7a0494648b181e2fa22a15f1b.jpg","text":"TemporaryFile(/tmp/multipartBody4443008708142930128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764459963379,"filename":"image_30112025_00_30_35_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995214","file1":"1396995213","file0":"1396995212","file4":"1396995217","file5":"1396995220","file3":"1396995215"},"map_files_photo_id_array":[{"photo_id":"1396995220","filename":"file5"},{"photo_id":"1396995214","filename":"file2"},{"photo_id":"1396995217","filename":"file4"},{"photo_id":"1396995213","filename":"file1"},{"photo_id":"1396995212","filename":"file0"},{"photo_id":"1396995215","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995213":["hashtag1","hashtag2"]},{"1396995215":["hashtag1","hashtag2"]},{"1396995212":["hashtag1","hashtag2"]},{"1396995220":["hashtag1","hashtag2"]},{"1396995214":["hashtag1","hashtag2"]},{"1396995217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995213, 1396995215, 1396995212, 1396995220, 1396995214, 1396995217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1003360748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:45:42.080909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/15/image_31102025_11_15_17_3630.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_20_2804.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_22_2667.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_25_2734.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_29_3761.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_31_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_17_3630.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_20_2804.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_22_2667.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_25_2734.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_29_3761.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_31_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995228","1396995233","1396995230","1396995232","1396995229","1396995231"],"photo_ids_order":["1396995228","1396995229","1396995230","1396995231","1396995232","1396995233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fda42d8cfba900f3793d262fda202886.jpg","text":"TemporaryFile(/tmp/multipartBody2209332003099029785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_17_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/30/23f79cf4d8bb869d7fae53d98caf4e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8389234784828817317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_31_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/30/55f5273afb4e36d2a241f0bae7484a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5798231160961726850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_22_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c566bcde401bbe20d55ca7f811367f18.jpg","text":"TemporaryFile(/tmp/multipartBody6396036203726263265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_29_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/30/d2fde2747e26cfad25a2049a7168d909.jpg","text":"TemporaryFile(/tmp/multipartBody462299882045171780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_20_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/30/6e03f4310d6b1f7733bd1e1bd41b3c25.jpg","text":"TemporaryFile(/tmp/multipartBody2174542427579582293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460003050,"filename":"image_31102025_11_15_25_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995230","file1":"1396995229","file0":"1396995228","file4":"1396995232","file5":"1396995233","file3":"1396995231"},"map_files_photo_id_array":[{"photo_id":"1396995233","filename":"file5"},{"photo_id":"1396995230","filename":"file2"},{"photo_id":"1396995232","filename":"file4"},{"photo_id":"1396995229","filename":"file1"},{"photo_id":"1396995228","filename":"file0"},{"photo_id":"1396995231","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995228":["hashtag1","hashtag2"]},{"1396995233":["hashtag1","hashtag2"]},{"1396995230":["hashtag1","hashtag2"]},{"1396995232":["hashtag1","hashtag2"]},{"1396995229":["hashtag1","hashtag2"]},{"1396995231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995228, 1396995233, 1396995230, 1396995232, 1396995229, 1396995231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.857245206832886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:46:22.196803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_54_9684.jpg', '/home/pi/Desktop/images/30112025/00/30/image_30112025_00_31_05_10756.jpg', '/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_15_9882.jpg', '/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_25_9930.jpg', '/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_35_9689.jpg', '/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_44_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_30_54_9684.jpg
/home/pi/Desktop/images/30112025/00/30/image_30112025_00_31_05_10756.jpg
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_15_9882.jpg
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_25_9930.jpg
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_35_9689.jpg
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_44_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995239","1396995248","1396995242","1396995244","1396995237","1396995246"],"photo_ids_order":["1396995237","1396995239","1396995242","1396995244","1396995246","1396995248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcc066b31c2f4142bc89ec36e1d3f2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4242107202899123580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_31_05_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf6fb87285f5d17896332f7bdaa3f423.jpg","text":"TemporaryFile(/tmp/multipartBody2309470708058813186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_31_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8abe9a94debc82d167e3866c9830991d.jpg","text":"TemporaryFile(/tmp/multipartBody375007535739910779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_31_15_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5518c51a4e8e6210d223334476e75da9.jpg","text":"TemporaryFile(/tmp/multipartBody4919412105658628392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_31_25_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3659c1cfe955e8d833d153cfe092ee3f.jpg","text":"TemporaryFile(/tmp/multipartBody1287068608842950432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_30_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b443db5f79dd0b998d09e615e96d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody6389562799502296907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460042847,"filename":"image_30112025_00_31_35_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995242","file1":"1396995239","file0":"1396995237","file4":"1396995246","file5":"1396995248","file3":"1396995244"},"map_files_photo_id_array":[{"photo_id":"1396995248","filename":"file5"},{"photo_id":"1396995242","filename":"file2"},{"photo_id":"1396995246","filename":"file4"},{"photo_id":"1396995239","filename":"file1"},{"photo_id":"1396995237","filename":"file0"},{"photo_id":"1396995244","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995239":["hashtag1","hashtag2"]},{"1396995248":["hashtag1","hashtag2"]},{"1396995242":["hashtag1","hashtag2"]},{"1396995244":["hashtag1","hashtag2"]},{"1396995237":["hashtag1","hashtag2"]},{"1396995246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995239, 1396995248, 1396995242, 1396995244, 1396995237, 1396995246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48558259010315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:47:03.151277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_55_10583.jpg', '/home/pi/Desktop/images/30112025/00/31/image_30112025_00_32_05_9798.jpg', '/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_14_9726.jpg', '/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_24_9847.jpg', '/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_35_10759.jpg', '/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_31_55_10583.jpg
/home/pi/Desktop/images/30112025/00/31/image_30112025_00_32_05_9798.jpg
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_14_9726.jpg
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_24_9847.jpg
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_35_10759.jpg
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_44_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995257","1396995251","1396995260","1396995254","1396995250","1396995252"],"photo_ids_order":["1396995250","1396995251","1396995252","1396995254","1396995257","1396995260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b53288be349666c5843ea4cb1ef2f32.jpg","text":"TemporaryFile(/tmp/multipartBody7722728228316639138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_32_35_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bab8ac59c417a5a94b74a10bff5bf17c.jpg","text":"TemporaryFile(/tmp/multipartBody7813481044696183781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_32_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c27ccf3689ebf62001da4126ea07ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody8368078122052869916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_32_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69362ee82ba64184e5370ba9785228f7.jpg","text":"TemporaryFile(/tmp/multipartBody7782396669918654870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_32_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ab0dfd07f5aa78b685b0fb1878dd3a8.jpg","text":"TemporaryFile(/tmp/multipartBody169421233478915235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_31_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d37382f29f454cc71d8196efcde9def7.jpg","text":"TemporaryFile(/tmp/multipartBody4909299738097947853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460083865,"filename":"image_30112025_00_32_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995252","file1":"1396995251","file0":"1396995250","file4":"1396995257","file5":"1396995260","file3":"1396995254"},"map_files_photo_id_array":[{"photo_id":"1396995260","filename":"file5"},{"photo_id":"1396995252","filename":"file2"},{"photo_id":"1396995257","filename":"file4"},{"photo_id":"1396995251","filename":"file1"},{"photo_id":"1396995250","filename":"file0"},{"photo_id":"1396995254","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995257":["hashtag1","hashtag2"]},{"1396995251":["hashtag1","hashtag2"]},{"1396995260":["hashtag1","hashtag2"]},{"1396995254":["hashtag1","hashtag2"]},{"1396995250":["hashtag1","hashtag2"]},{"1396995252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995257, 1396995251, 1396995260, 1396995254, 1396995250, 1396995252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56572198867798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:47:42.472243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/15/image_31102025_11_15_34_2692.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_37_2766.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_41_3718.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_43_2699.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_47_3554.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_49_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_34_2692.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_37_2766.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_41_3718.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_43_2699.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_47_3554.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_49_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995266","1396995269","1396995268","1396995265","1396995267","1396995264"],"photo_ids_order":["1396995264","1396995265","1396995266","1396995267","1396995268","1396995269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c636107a13f22d5a9e23cc3f85b10d0a.jpg","text":"TemporaryFile(/tmp/multipartBody297905830593637735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_41_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/30/9979035b1c7f8bec127b809278d87793.jpg","text":"TemporaryFile(/tmp/multipartBody402645562393534061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_49_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/30/728320411eb7de7cb0d622ce62387fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4231313491561502498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_47_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/30/5b85d13566a5f0812a7dafcdbd71516c.jpg","text":"TemporaryFile(/tmp/multipartBody3617250808493866512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_37_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/30/e8720e6019276a7f3b7c2556642c3170.jpg","text":"TemporaryFile(/tmp/multipartBody1649230648567961050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3ee62efedca84872a63e39296d3ebc3.jpg","text":"TemporaryFile(/tmp/multipartBody2493052475248150553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460123360,"filename":"image_31102025_11_15_34_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995266","file1":"1396995265","file0":"1396995264","file4":"1396995268","file5":"1396995269","file3":"1396995267"},"map_files_photo_id_array":[{"photo_id":"1396995269","filename":"file5"},{"photo_id":"1396995266","filename":"file2"},{"photo_id":"1396995268","filename":"file4"},{"photo_id":"1396995265","filename":"file1"},{"photo_id":"1396995264","filename":"file0"},{"photo_id":"1396995267","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995266":["hashtag1","hashtag2"]},{"1396995269":["hashtag1","hashtag2"]},{"1396995268":["hashtag1","hashtag2"]},{"1396995265":["hashtag1","hashtag2"]},{"1396995267":["hashtag1","hashtag2"]},{"1396995264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995266, 1396995269, 1396995268, 1396995265, 1396995267, 1396995264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69948959350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:48:22.751890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_55_10511.jpg', '/home/pi/Desktop/images/30112025/00/32/image_30112025_00_33_05_9650.jpg', '/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_14_9688.jpg', '/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_24_9781.jpg', '/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_35_10760.jpg', '/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_32_55_10511.jpg
/home/pi/Desktop/images/30112025/00/32/image_30112025_00_33_05_9650.jpg
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_14_9688.jpg
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_24_9781.jpg
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_35_10760.jpg
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995284","1396995283","1396995279","1396995273","1396995282","1396995276"],"photo_ids_order":["1396995273","1396995276","1396995279","1396995282","1396995283","1396995284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7e1730423d4ff8c3476ee69deaa9ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1835362614729510702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_33_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86022196c2554c686bb2f6e6001ccf1d.jpg","text":"TemporaryFile(/tmp/multipartBody8828758487528157766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_33_35_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/574c4b8a073e439b194041cce6b59c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1693968176796254756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_33_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae6758642042a226560fbd7a634f8878.jpg","text":"TemporaryFile(/tmp/multipartBody7839162520085709014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_32_55_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3e320c2b838d81977fd85b7eb4ef1df.jpg","text":"TemporaryFile(/tmp/multipartBody6360769607648634961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_33_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e88d676af52204db3a884c08db7b28f4.jpg","text":"TemporaryFile(/tmp/multipartBody7391004621607363311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460163422,"filename":"image_30112025_00_33_05_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995279","file1":"1396995276","file0":"1396995273","file4":"1396995283","file5":"1396995284","file3":"1396995282"},"map_files_photo_id_array":[{"photo_id":"1396995284","filename":"file5"},{"photo_id":"1396995279","filename":"file2"},{"photo_id":"1396995283","filename":"file4"},{"photo_id":"1396995276","filename":"file1"},{"photo_id":"1396995273","filename":"file0"},{"photo_id":"1396995282","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995284":["hashtag1","hashtag2"]},{"1396995283":["hashtag1","hashtag2"]},{"1396995279":["hashtag1","hashtag2"]},{"1396995273":["hashtag1","hashtag2"]},{"1396995282":["hashtag1","hashtag2"]},{"1396995276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995284, 1396995283, 1396995279, 1396995273, 1396995282, 1396995276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33650016784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:49:02.913860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_54_9709.jpg', '/home/pi/Desktop/images/30112025/00/33/image_30112025_00_34_05_10741.jpg', '/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_15_9703.jpg', '/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_24_9750.jpg', '/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_34_9679.jpg', '/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_33_54_9709.jpg
/home/pi/Desktop/images/30112025/00/33/image_30112025_00_34_05_10741.jpg
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_15_9703.jpg
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_24_9750.jpg
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_34_9679.jpg
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_45_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995290","1396995287","1396995286","1396995285","1396995288","1396995293"],"photo_ids_order":["1396995285","1396995286","1396995287","1396995288","1396995290","1396995293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c16b89fefaa17094343cb53645d669d8.jpg","text":"TemporaryFile(/tmp/multipartBody4686368870940728329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_34_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f12e1b544b206d65c56a1578d2d8f833.jpg","text":"TemporaryFile(/tmp/multipartBody4682972186792278285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_34_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cea57529637e509c04271564de334a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2941926445128445019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_34_05_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c28191041ebb4da4a4dacf1b4774bb73.jpg","text":"TemporaryFile(/tmp/multipartBody5428878306414478566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_33_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d883e457a41bfcfcb41d6e647c8c160.jpg","text":"TemporaryFile(/tmp/multipartBody2893632252339217667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_34_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/098e83f300bd53d3e7d4acec3f52162c.jpg","text":"TemporaryFile(/tmp/multipartBody8965606914226593804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460203743,"filename":"image_30112025_00_34_45_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995287","file1":"1396995286","file0":"1396995285","file4":"1396995290","file5":"1396995293","file3":"1396995288"},"map_files_photo_id_array":[{"photo_id":"1396995293","filename":"file5"},{"photo_id":"1396995287","filename":"file2"},{"photo_id":"1396995290","filename":"file4"},{"photo_id":"1396995286","filename":"file1"},{"photo_id":"1396995285","filename":"file0"},{"photo_id":"1396995288","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995290":["hashtag1","hashtag2"]},{"1396995287":["hashtag1","hashtag2"]},{"1396995286":["hashtag1","hashtag2"]},{"1396995285":["hashtag1","hashtag2"]},{"1396995288":["hashtag1","hashtag2"]},{"1396995293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995290, 1396995287, 1396995286, 1396995285, 1396995288, 1396995293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.666088581085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:49:42.127884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/15/image_31102025_11_15_52_2609.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_56_3773.jpg', '/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_59_2730.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_01_2707.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_04_2806.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_07_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_52_2609.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_56_3773.jpg
/home/pi/Desktop/images/31102025/11/15/image_31102025_11_15_59_2730.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_01_2707.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_04_2806.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_07_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":["1396995365","1396995329","1396995305","1396995304","1396995301","1396995303"],"photo_ids_order":["1396995301","1396995303","1396995304","1396995305","1396995329","1396995365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2b5f37e519e7792006336be0e0d1b47.jpg","text":"TemporaryFile(/tmp/multipartBody982885865094831979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_16_07_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/30/f11b3da8f36da5129b45e9cca873956c.jpg","text":"TemporaryFile(/tmp/multipartBody326856618707363653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_16_04_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/30/62f1f9da014f4a8c6302e99cad869205.jpg","text":"TemporaryFile(/tmp/multipartBody6438112366584219997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_16_01_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d55951e0cf72cd6d18241cc079e312a.jpg","text":"TemporaryFile(/tmp/multipartBody9070978881745444558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_15_59_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/30/b4cf52e4b694f4de204069385ac887e8.jpg","text":"TemporaryFile(/tmp/multipartBody7639850958664222919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_15_52_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/30/1a9b35adddb4409b4fd518398c6c8631.jpg","text":"TemporaryFile(/tmp/multipartBody4085031172695722985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460243094,"filename":"image_31102025_11_15_56_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995304","file1":"1396995303","file0":"1396995301","file4":"1396995329","file5":"1396995365","file3":"1396995305"},"map_files_photo_id_array":[{"photo_id":"1396995365","filename":"file5"},{"photo_id":"1396995304","filename":"file2"},{"photo_id":"1396995329","filename":"file4"},{"photo_id":"1396995303","filename":"file1"},{"photo_id":"1396995301","filename":"file0"},{"photo_id":"1396995305","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396995365":["hashtag1","hashtag2"]},{"1396995329":["hashtag1","hashtag2"]},{"1396995305":["hashtag1","hashtag2"]},{"1396995304":["hashtag1","hashtag2"]},{"1396995301":["hashtag1","hashtag2"]},{"1396995303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396995365, 1396995329, 1396995305, 1396995304, 1396995301, 1396995303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14021062850952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:50:22.378422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_55_9792.jpg', '/home/pi/Desktop/images/30112025/00/34/image_30112025_00_35_04_9650.jpg', '/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_15_10612.jpg', '/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_24_9671.jpg', '/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_34_9574.jpg', '/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_45_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_34_55_9792.jpg
/home/pi/Desktop/images/30112025/00/34/image_30112025_00_35_04_9650.jpg
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_15_10612.jpg
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_24_9671.jpg
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_34_9574.jpg
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_45_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995647","1396995610","1396995684","1396995573","1396995537","1396995501"],"photo_ids_order":["1396995501","1396995537","1396995573","1396995610","1396995647","1396995684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee3ed7c305e9a91ef96e242ddb34060d.jpg","text":"TemporaryFile(/tmp/multipartBody1277739712733624540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_35_34_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f7e21c621fef4ef30b4014b5945cec3.jpg","text":"TemporaryFile(/tmp/multipartBody4662897966960628999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_35_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85c0c96431972fe643a71c65e1376bd2.jpg","text":"TemporaryFile(/tmp/multipartBody523880784255691297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_35_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5137e1797959a20fdb95a217c83fcc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5705835838913352881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_35_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30b4d2caec2130760cb7031b4574572a.jpg","text":"TemporaryFile(/tmp/multipartBody2082563828975207036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_35_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cc649bfb030d04ea2f76425144d72b7.jpg","text":"TemporaryFile(/tmp/multipartBody1845018932787029828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460283057,"filename":"image_30112025_00_34_55_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995573","file1":"1396995537","file0":"1396995501","file4":"1396995647","file5":"1396995684","file3":"1396995610"},"map_files_photo_id_array":[{"photo_id":"1396995684","filename":"file5"},{"photo_id":"1396995573","filename":"file2"},{"photo_id":"1396995647","filename":"file4"},{"photo_id":"1396995537","filename":"file1"},{"photo_id":"1396995501","filename":"file0"},{"photo_id":"1396995610","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995647":["hashtag1","hashtag2"]},{"1396995610":["hashtag1","hashtag2"]},{"1396995684":["hashtag1","hashtag2"]},{"1396995573":["hashtag1","hashtag2"]},{"1396995537":["hashtag1","hashtag2"]},{"1396995501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995647, 1396995610, 1396995684, 1396995573, 1396995537, 1396995501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40866422653198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:51:03.065072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_54_9625.jpg', '/home/pi/Desktop/images/30112025/00/35/image_30112025_00_36_05_10778.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_15_9580.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_24_9560.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_35_10667.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_45_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_35_54_9625.jpg
/home/pi/Desktop/images/30112025/00/35/image_30112025_00_36_05_10778.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_15_9580.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_24_9560.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_35_10667.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_45_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396995909","1396996022","1396995875","1396995839","1396995981","1396995942"],"photo_ids_order":["1396995839","1396995875","1396995909","1396995942","1396995981","1396996022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b95dc82038be773eb2447f0cfe0f47e.jpg","text":"TemporaryFile(/tmp/multipartBody5094588888111604347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_36_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d8f864017811b0223292adef22bb9d6.jpg","text":"TemporaryFile(/tmp/multipartBody3303559441727943503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_36_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/847d398d7535c9a125527d89e018c0e7.jpg","text":"TemporaryFile(/tmp/multipartBody4555296634600077089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_36_05_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1864912ba5da4ddc57cb90886d4af638.jpg","text":"TemporaryFile(/tmp/multipartBody1081670068131402369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_35_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/332aa46326efd93ca9117f6fce2eb558.jpg","text":"TemporaryFile(/tmp/multipartBody2825004012774712368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_36_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84181cbcd2951fd5d967a3290af68b95.jpg","text":"TemporaryFile(/tmp/multipartBody5385955863107938484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460323849,"filename":"image_30112025_00_36_24_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396995909","file1":"1396995875","file0":"1396995839","file4":"1396995981","file5":"1396996022","file3":"1396995942"},"map_files_photo_id_array":[{"photo_id":"1396996022","filename":"file5"},{"photo_id":"1396995909","filename":"file2"},{"photo_id":"1396995981","filename":"file4"},{"photo_id":"1396995875","filename":"file1"},{"photo_id":"1396995839","filename":"file0"},{"photo_id":"1396995942","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396995909":["hashtag1","hashtag2"]},{"1396996022":["hashtag1","hashtag2"]},{"1396995875":["hashtag1","hashtag2"]},{"1396995839":["hashtag1","hashtag2"]},{"1396995981":["hashtag1","hashtag2"]},{"1396995942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396995909, 1396996022, 1396995875, 1396995839, 1396995981, 1396995942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508681774139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:51:42.450028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/16/image_31102025_11_16_11_3671.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_13_2615.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_16_2642.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_22_2784.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_25_2605.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_29_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_11_3671.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_13_2615.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_16_2642.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_22_2784.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_25_2605.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_29_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396996343","1396996304","1396996229","1396996267","1396996194","1396996155"],"photo_ids_order":["1396996155","1396996194","1396996229","1396996267","1396996304","1396996343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/116c980587b6d32490e9c63ee42ba6f4.jpg","text":"TemporaryFile(/tmp/multipartBody2310988983980138966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_29_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/30/47d1cd58460e2cc694cab9a13f90c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4886174444071552283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_25_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/30/ed69d7cb2f47b7c46bce6cea08473d86.jpg","text":"TemporaryFile(/tmp/multipartBody6996193892852348291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_16_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02c68d775da420e486f5e6a27cb8604a.jpg","text":"TemporaryFile(/tmp/multipartBody1762537064297922645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_22_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/30/1a0cb04b07f7869eedb626db8ac8f757.jpg","text":"TemporaryFile(/tmp/multipartBody5382951000118727491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_13_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/30/1601b50863eccd8473eb5a01c4cc3a16.jpg","text":"TemporaryFile(/tmp/multipartBody6533919207640514952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460363403,"filename":"image_31102025_11_16_11_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396996229","file1":"1396996194","file0":"1396996155","file4":"1396996304","file5":"1396996343","file3":"1396996267"},"map_files_photo_id_array":[{"photo_id":"1396996343","filename":"file5"},{"photo_id":"1396996229","filename":"file2"},{"photo_id":"1396996304","filename":"file4"},{"photo_id":"1396996194","filename":"file1"},{"photo_id":"1396996155","filename":"file0"},{"photo_id":"1396996267","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396996343":["hashtag1","hashtag2"]},{"1396996304":["hashtag1","hashtag2"]},{"1396996229":["hashtag1","hashtag2"]},{"1396996267":["hashtag1","hashtag2"]},{"1396996194":["hashtag1","hashtag2"]},{"1396996155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396996343, 1396996304, 1396996229, 1396996267, 1396996194, 1396996155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.095208406448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:52:22.711717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_54_9611.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_37_05_10759.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_15_9749.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_24_9735.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_35_10531.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_54_9611.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_37_05_10759.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_15_9749.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_24_9735.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_35_10531.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_45_9677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6077983379364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:52:32.703590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_38_3327.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_40_2572.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_43_2840.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_46_2722.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_50_3622.jpg', '/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_52_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_38_3327.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_40_2572.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_43_2840.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_46_2722.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_50_3622.jpg
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_52_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":["1396996520","1396996523","1396996522","1396996516","1396996518","1396996521"],"photo_ids_order":["1396996516","1396996518","1396996520","1396996521","1396996522","1396996523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8897556450b825e7e67760b8e3502003.jpg","text":"TemporaryFile(/tmp/multipartBody7047497330193361616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_43_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/30/1a20baebc7988f80390392eee9311c1f.jpg","text":"TemporaryFile(/tmp/multipartBody3112614689382596282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_52_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/30/bf2e9d930a269d0d4051e2458731e5f6.jpg","text":"TemporaryFile(/tmp/multipartBody3838659974176263420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_50_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/30/582239f76cda7086c54e416ccb090ad9.jpg","text":"TemporaryFile(/tmp/multipartBody406846010501258689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_38_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/30/f015235c2617a081d8070f0f36c24345.jpg","text":"TemporaryFile(/tmp/multipartBody1450697465440069343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_40_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/30/8c380e710248e5200fc6a1355a3ab79b.jpg","text":"TemporaryFile(/tmp/multipartBody4262720229331847266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460414666,"filename":"image_25112025_19_28_46_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396996520","file1":"1396996518","file0":"1396996516","file4":"1396996522","file5":"1396996523","file3":"1396996521"},"map_files_photo_id_array":[{"photo_id":"1396996523","filename":"file5"},{"photo_id":"1396996520","filename":"file2"},{"photo_id":"1396996522","filename":"file4"},{"photo_id":"1396996518","filename":"file1"},{"photo_id":"1396996516","filename":"file0"},{"photo_id":"1396996521","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396996520":["hashtag1","hashtag2"]},{"1396996523":["hashtag1","hashtag2"]},{"1396996522":["hashtag1","hashtag2"]},{"1396996516":["hashtag1","hashtag2"]},{"1396996518":["hashtag1","hashtag2"]},{"1396996521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396996520, 1396996523, 1396996522, 1396996516, 1396996518, 1396996521)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.45960187911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:53:21.915275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_54_9611.jpg', '/home/pi/Desktop/images/30112025/00/36/image_30112025_00_37_05_10759.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_15_9749.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_24_9735.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_35_10531.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_36_54_9611.jpg
/home/pi/Desktop/images/30112025/00/36/image_30112025_00_37_05_10759.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_15_9749.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_24_9735.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_35_10531.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_45_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396996529","1396996550","1396996604","1396996532","1396996526","1396996644"],"photo_ids_order":["1396996526","1396996529","1396996532","1396996550","1396996604","1396996644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b7e144283d802cea393d06a2fb037d3.jpg","text":"TemporaryFile(/tmp/multipartBody9123213538567565472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_37_05_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab3a32597703980ef8813aeb7b475821.jpg","text":"TemporaryFile(/tmp/multipartBody387221125964065376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_37_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ee1ea8c4c01daa8213ae0b77d537b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8899627350055338685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_37_35_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/296eb640043ce9387cb333594d9d871c.jpg","text":"TemporaryFile(/tmp/multipartBody6611903365197584590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_37_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cb26093b7b24c7d3ac9df15f7df2742.jpg","text":"TemporaryFile(/tmp/multipartBody2301634920078737313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_36_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97cc73ec566a0f9b488c9121d2d31f57.jpg","text":"TemporaryFile(/tmp/multipartBody3609421496683719015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460462591,"filename":"image_30112025_00_37_45_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396996532","file1":"1396996529","file0":"1396996526","file4":"1396996604","file5":"1396996644","file3":"1396996550"},"map_files_photo_id_array":[{"photo_id":"1396996644","filename":"file5"},{"photo_id":"1396996532","filename":"file2"},{"photo_id":"1396996604","filename":"file4"},{"photo_id":"1396996529","filename":"file1"},{"photo_id":"1396996526","filename":"file0"},{"photo_id":"1396996550","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396996529":["hashtag1","hashtag2"]},{"1396996550":["hashtag1","hashtag2"]},{"1396996604":["hashtag1","hashtag2"]},{"1396996532":["hashtag1","hashtag2"]},{"1396996526":["hashtag1","hashtag2"]},{"1396996644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396996529, 1396996550, 1396996604, 1396996532, 1396996526, 1396996644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.264957427978516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:54:03.083899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_54_9653.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_38_04_9794.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_15_10901.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_25_9636.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_34_9606.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_45_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_54_9653.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_38_04_9794.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_15_10901.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_25_9636.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_34_9606.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_45_10772.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6640808582305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 00:54:12.225959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_55_2755.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_01_5393.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_03_2879.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_05_1774.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_07_1876.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_16_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/28/image_25112025_19_28_55_2755.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_01_5393.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_03_2879.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_05_1774.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_07_1876.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_16_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":["1396996921","1396996915","1396996980","1396996944","1396996920","1396996982"],"photo_ids_order":["1396996915","1396996920","1396996921","1396996944","1396996980","1396996982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f1f359468faf9e6c68d9ab01c2b80f7.jpg","text":"TemporaryFile(/tmp/multipartBody888455844617585264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_29_03_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/30/c980c9adc295d6fc0693f5940675f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4048813954253603714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_28_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/30/8520960bdc82c8d0d6679e86906cdd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4861382132411598525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_29_07_1876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0aa089f2242058789161a67a54c01c6.jpg","text":"TemporaryFile(/tmp/multipartBody197775547268713120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_29_05_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/30/579648ec874246a0e2b5a72bfa620163.jpg","text":"TemporaryFile(/tmp/multipartBody1974689434744108055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_29_01_5393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9784b7afd0bc410ee7ec25b3fff2542.jpg","text":"TemporaryFile(/tmp/multipartBody7966395656003138329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460523095,"filename":"image_25112025_19_29_16_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396996921","file1":"1396996920","file0":"1396996915","file4":"1396996980","file5":"1396996982","file3":"1396996944"},"map_files_photo_id_array":[{"photo_id":"1396996982","filename":"file5"},{"photo_id":"1396996921","filename":"file2"},{"photo_id":"1396996980","filename":"file4"},{"photo_id":"1396996920","filename":"file1"},{"photo_id":"1396996915","filename":"file0"},{"photo_id":"1396996944","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396996921":["hashtag1","hashtag2"]},{"1396996915":["hashtag1","hashtag2"]},{"1396996980":["hashtag1","hashtag2"]},{"1396996944":["hashtag1","hashtag2"]},{"1396996920":["hashtag1","hashtag2"]},{"1396996982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396996921, 1396996915, 1396996980, 1396996944, 1396996920, 1396996982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.46510028839111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:55:03.039559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_54_9653.jpg', '/home/pi/Desktop/images/30112025/00/37/image_30112025_00_38_04_9794.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_15_10901.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_25_9636.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_34_9606.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_45_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_37_54_9653.jpg
/home/pi/Desktop/images/30112025/00/37/image_30112025_00_38_04_9794.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_15_10901.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_25_9636.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_34_9606.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_45_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997053","1396997047","1396997056","1396997050","1396997049","1396997051"],"photo_ids_order":["1396997047","1396997049","1396997050","1396997051","1396997053","1396997056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2da90edff9589653d043f8e33b389110.jpg","text":"TemporaryFile(/tmp/multipartBody3041818514910697799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_38_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e0bb7421058ca43e1b433803fe947ca.jpg","text":"TemporaryFile(/tmp/multipartBody7384824303324854217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_37_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9da4191b7e58c8e4c9ac988995a666e.jpg","text":"TemporaryFile(/tmp/multipartBody6835314065626721468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_38_45_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/806fe7bc709b0ae0b32e4987baf5dcbd.jpg","text":"TemporaryFile(/tmp/multipartBody8834580368053359850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_38_15_10901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e58990759673ef669f97f914605c2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7002988508778512420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_38_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32012479f6c0dc3faae1413efa3d1d8d.jpg","text":"TemporaryFile(/tmp/multipartBody9060790547670707628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460563790,"filename":"image_30112025_00_38_25_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997050","file1":"1396997049","file0":"1396997047","file4":"1396997053","file5":"1396997056","file3":"1396997051"},"map_files_photo_id_array":[{"photo_id":"1396997056","filename":"file5"},{"photo_id":"1396997050","filename":"file2"},{"photo_id":"1396997053","filename":"file4"},{"photo_id":"1396997049","filename":"file1"},{"photo_id":"1396997047","filename":"file0"},{"photo_id":"1396997051","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997053":["hashtag1","hashtag2"]},{"1396997047":["hashtag1","hashtag2"]},{"1396997056":["hashtag1","hashtag2"]},{"1396997050":["hashtag1","hashtag2"]},{"1396997049":["hashtag1","hashtag2"]},{"1396997051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997053, 1396997047, 1396997056, 1396997050, 1396997049, 1396997051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28632187843323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 00:55:42.445439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/16/image_31102025_11_16_31_2829.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_34_2562.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_38_3549.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_40_2694.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_43_2524.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_46_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_31_2829.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_34_2562.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_38_3549.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_40_2694.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_43_2524.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_46_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997068","1396997070","1396997064","1396997067","1396997069","1396997066"],"photo_ids_order":["1396997064","1396997066","1396997067","1396997068","1396997069","1396997070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9eae63d7f3408566a31f8976655a2f53.jpg","text":"TemporaryFile(/tmp/multipartBody3014354113908475143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_40_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/30/4cfd2203376e7bdff1713bccfed31e02.jpg","text":"TemporaryFile(/tmp/multipartBody1652917821686259703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_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/30/09b72a6e50adcfb8625f46380f957f4f.jpg","text":"TemporaryFile(/tmp/multipartBody9035398692338797771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_31_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/30/ebccf50795b6df658d106310c17d93d9.jpg","text":"TemporaryFile(/tmp/multipartBody2662273482188940408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_38_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/30/6c16df3d35c84819aedc029246fd80e3.jpg","text":"TemporaryFile(/tmp/multipartBody1549486693107470652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_43_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/30/fea16a9e494139b3df1474f1a3d738cb.jpg","text":"TemporaryFile(/tmp/multipartBody6931322012309593679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460603361,"filename":"image_31102025_11_16_34_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997067","file1":"1396997066","file0":"1396997064","file4":"1396997069","file5":"1396997070","file3":"1396997068"},"map_files_photo_id_array":[{"photo_id":"1396997070","filename":"file5"},{"photo_id":"1396997067","filename":"file2"},{"photo_id":"1396997069","filename":"file4"},{"photo_id":"1396997066","filename":"file1"},{"photo_id":"1396997064","filename":"file0"},{"photo_id":"1396997068","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396997068":["hashtag1","hashtag2"]},{"1396997070":["hashtag1","hashtag2"]},{"1396997064":["hashtag1","hashtag2"]},{"1396997067":["hashtag1","hashtag2"]},{"1396997069":["hashtag1","hashtag2"]},{"1396997066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396997068, 1396997070, 1396997064, 1396997067, 1396997069, 1396997066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48612833023071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 00:56:22.631392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_55_9748.jpg', '/home/pi/Desktop/images/30112025/00/38/image_30112025_00_39_04_9659.jpg', '/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_14_9932.jpg', '/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_24_9783.jpg', '/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_35_10866.jpg', '/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_45_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_38_55_9748.jpg
/home/pi/Desktop/images/30112025/00/38/image_30112025_00_39_04_9659.jpg
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_14_9932.jpg
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_24_9783.jpg
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_35_10866.jpg
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_45_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997083","1396997077","1396997086","1396997080","1396997074","1396997088"],"photo_ids_order":["1396997074","1396997077","1396997080","1396997083","1396997086","1396997088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c628a86a97dfb5e26393c8b9800fe843.jpg","text":"TemporaryFile(/tmp/multipartBody230253895536803153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_39_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20f0c85c10d0c76bd607f6b87e9f8e21.jpg","text":"TemporaryFile(/tmp/multipartBody1484425996460663678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_39_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f453afcdb79410fbb93580320cb26b25.jpg","text":"TemporaryFile(/tmp/multipartBody1026126108620422548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_39_35_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/376557d749ddfe3eba1638bb7c49b4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1540823800310457540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_39_14_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b259c8e46dd9ef72e20e7a5547feb6e.jpg","text":"TemporaryFile(/tmp/multipartBody4349308241513681282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_38_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63b7aff5a3577fa19d38a43d4defa15e.jpg","text":"TemporaryFile(/tmp/multipartBody5666697983264691414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460643306,"filename":"image_30112025_00_39_45_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997080","file1":"1396997077","file0":"1396997074","file4":"1396997086","file5":"1396997088","file3":"1396997083"},"map_files_photo_id_array":[{"photo_id":"1396997088","filename":"file5"},{"photo_id":"1396997080","filename":"file2"},{"photo_id":"1396997086","filename":"file4"},{"photo_id":"1396997077","filename":"file1"},{"photo_id":"1396997074","filename":"file0"},{"photo_id":"1396997083","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997083":["hashtag1","hashtag2"]},{"1396997077":["hashtag1","hashtag2"]},{"1396997086":["hashtag1","hashtag2"]},{"1396997080":["hashtag1","hashtag2"]},{"1396997074":["hashtag1","hashtag2"]},{"1396997088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997083, 1396997077, 1396997086, 1396997080, 1396997074, 1396997088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91667318344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:57:03.410052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_54_9755.jpg', '/home/pi/Desktop/images/30112025/00/39/image_30112025_00_40_05_10592.jpg', '/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_15_9769.jpg', '/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_24_9597.jpg', '/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_35_10604.jpg', '/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_45_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_39_54_9755.jpg
/home/pi/Desktop/images/30112025/00/39/image_30112025_00_40_05_10592.jpg
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_15_9769.jpg
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_24_9597.jpg
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_35_10604.jpg
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_45_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997089","1396997091","1396997099","1396997090","1396997093","1396997096"],"photo_ids_order":["1396997089","1396997090","1396997091","1396997093","1396997096","1396997099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e435441f0060156a84683dcdc2a3a735.jpg","text":"TemporaryFile(/tmp/multipartBody6790594726138701705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_39_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/594291b2e01972a1697f3a5eccb0d438.jpg","text":"TemporaryFile(/tmp/multipartBody7720607394333147063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_40_15_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8516f4d07ae60d3de5cf05f42789670c.jpg","text":"TemporaryFile(/tmp/multipartBody8906236138695067852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_40_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30eeb68056ed1b206acea031a0b9118c.jpg","text":"TemporaryFile(/tmp/multipartBody8654333108527521769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_40_05_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3855715f11ec6178b9dce831b96d93b5.jpg","text":"TemporaryFile(/tmp/multipartBody9016250388708664780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_40_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ffd55e87c5dffc0ddc81d20b79f5d93.jpg","text":"TemporaryFile(/tmp/multipartBody5317072027749977132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460686793,"filename":"image_30112025_00_40_35_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997091","file1":"1396997090","file0":"1396997089","file4":"1396997096","file5":"1396997099","file3":"1396997093"},"map_files_photo_id_array":[{"photo_id":"1396997099","filename":"file5"},{"photo_id":"1396997091","filename":"file2"},{"photo_id":"1396997096","filename":"file4"},{"photo_id":"1396997090","filename":"file1"},{"photo_id":"1396997089","filename":"file0"},{"photo_id":"1396997093","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997089":["hashtag1","hashtag2"]},{"1396997091":["hashtag1","hashtag2"]},{"1396997099":["hashtag1","hashtag2"]},{"1396997090":["hashtag1","hashtag2"]},{"1396997093":["hashtag1","hashtag2"]},{"1396997096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997089, 1396997091, 1396997099, 1396997090, 1396997093, 1396997096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.484535217285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 00:59:03.156619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_54_9707.jpg', '/home/pi/Desktop/images/30112025/00/40/image_30112025_00_41_05_10572.jpg', '/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_15_9701.jpg', '/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_24_9711.jpg', '/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_35_10707.jpg', '/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_45_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_40_54_9707.jpg
/home/pi/Desktop/images/30112025/00/40/image_30112025_00_41_05_10572.jpg
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_15_9701.jpg
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_24_9711.jpg
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_35_10707.jpg
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_45_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997113","1396997122","1396997116","1396997125","1396997112","1396997118"],"photo_ids_order":["1396997112","1396997113","1396997116","1396997118","1396997122","1396997125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/333d2a4f5d7cf196310ea5f9c4a588f8.jpg","text":"TemporaryFile(/tmp/multipartBody7287460427781600416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_41_05_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84d9802b89c1e7bd3b51737435123068.jpg","text":"TemporaryFile(/tmp/multipartBody8001760905926679377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_41_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/267ff450e3c5430f735dc7fc40f1c0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5038116857849545032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_41_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/951a5bcb44d539f9ceced5ebca3b6c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8359963016987828936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_41_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c149ed4909fdf3dc9cd57560a8488747.jpg","text":"TemporaryFile(/tmp/multipartBody6883748829696089461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_40_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a52c9e14e3ac5ac7d38799aaf62d37c.jpg","text":"TemporaryFile(/tmp/multipartBody6466842976689634091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460804007,"filename":"image_30112025_00_41_24_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997116","file1":"1396997113","file0":"1396997112","file4":"1396997122","file5":"1396997125","file3":"1396997118"},"map_files_photo_id_array":[{"photo_id":"1396997125","filename":"file5"},{"photo_id":"1396997116","filename":"file2"},{"photo_id":"1396997122","filename":"file4"},{"photo_id":"1396997113","filename":"file1"},{"photo_id":"1396997112","filename":"file0"},{"photo_id":"1396997118","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997113":["hashtag1","hashtag2"]},{"1396997122":["hashtag1","hashtag2"]},{"1396997116":["hashtag1","hashtag2"]},{"1396997125":["hashtag1","hashtag2"]},{"1396997112":["hashtag1","hashtag2"]},{"1396997118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997113, 1396997122, 1396997116, 1396997125, 1396997112, 1396997118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.322622537612915 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-30 01:00:02.796212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_54_9780.jpg', '/home/pi/Desktop/images/30112025/00/41/image_30112025_00_42_04_9696.jpg', '/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_15_10777.jpg', '/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_25_9705.jpg', '/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_34_9658.jpg', '/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_41_54_9780.jpg
/home/pi/Desktop/images/30112025/00/41/image_30112025_00_42_04_9696.jpg
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_15_10777.jpg
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_25_9705.jpg
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_34_9658.jpg
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_45_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997140","1396997134","1396997137","1396997133","1396997135","1396997132"],"photo_ids_order":["1396997132","1396997133","1396997134","1396997135","1396997137","1396997140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34754c0214866915b0657d46f7bc004c.jpg","text":"TemporaryFile(/tmp/multipartBody2108565533827951310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_42_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2336310bdf86465e870dbd5b0d872561.jpg","text":"TemporaryFile(/tmp/multipartBody7323733564649390038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_42_15_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4660bc40165663182ee740de3544fd94.jpg","text":"TemporaryFile(/tmp/multipartBody3310835589054269613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_42_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8402b1b3ee5f4f14df7aad2c9a7f3b57.jpg","text":"TemporaryFile(/tmp/multipartBody7730205045965968025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_42_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f9a2075c90f60294a625f411c17856c.jpg","text":"TemporaryFile(/tmp/multipartBody3595850831010415086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_42_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/994df1a031f396f3463165dcecc79d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3443436674194873543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460863513,"filename":"image_30112025_00_41_54_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997134","file1":"1396997133","file0":"1396997132","file4":"1396997137","file5":"1396997140","file3":"1396997135"},"map_files_photo_id_array":[{"photo_id":"1396997140","filename":"file5"},{"photo_id":"1396997134","filename":"file2"},{"photo_id":"1396997137","filename":"file4"},{"photo_id":"1396997133","filename":"file1"},{"photo_id":"1396997132","filename":"file0"},{"photo_id":"1396997135","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997140":["hashtag1","hashtag2"]},{"1396997134":["hashtag1","hashtag2"]},{"1396997137":["hashtag1","hashtag2"]},{"1396997133":["hashtag1","hashtag2"]},{"1396997135":["hashtag1","hashtag2"]},{"1396997132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997140, 1396997134, 1396997137, 1396997133, 1396997135, 1396997132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.664159536361694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:00:42.424963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/16/image_31102025_11_16_49_2711.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_52_2863.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_55_2805.jpg', '/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_59_3731.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_01_2823.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_04_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/11/16/image_31102025_11_16_49_2711.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_52_2863.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_55_2805.jpg
/home/pi/Desktop/images/31102025/11/16/image_31102025_11_16_59_3731.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_01_2823.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_04_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":["1396997152","1396997149","1396997151","1396997148","1396997153","1396997150"],"photo_ids_order":["1396997148","1396997149","1396997150","1396997151","1396997152","1396997153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a01048940f0fc4deadd0c5a6ef303205.jpg","text":"TemporaryFile(/tmp/multipartBody217359372053782385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_17_01_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/30/92f9204a50a490f2dea76b8131f73659.jpg","text":"TemporaryFile(/tmp/multipartBody6205234724713754680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_16_52_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/30/0225853ca21717fc4e3e460b26872543.jpg","text":"TemporaryFile(/tmp/multipartBody7433948485644914429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_16_59_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/30/6530f14b734d05e286a7d0d8aa6e2935.jpg","text":"TemporaryFile(/tmp/multipartBody4121792999919106184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_16_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/30/1f4d45ae59f899aed8dd9e5115a243f2.jpg","text":"TemporaryFile(/tmp/multipartBody429833496246496811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_17_04_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/30/85c3271bcee4fab3d4d18ceb55729ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7285412553069244468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460903343,"filename":"image_31102025_11_16_55_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997150","file1":"1396997149","file0":"1396997148","file4":"1396997152","file5":"1396997153","file3":"1396997151"},"map_files_photo_id_array":[{"photo_id":"1396997153","filename":"file5"},{"photo_id":"1396997150","filename":"file2"},{"photo_id":"1396997152","filename":"file4"},{"photo_id":"1396997149","filename":"file1"},{"photo_id":"1396997148","filename":"file0"},{"photo_id":"1396997151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396997152":["hashtag1","hashtag2"]},{"1396997149":["hashtag1","hashtag2"]},{"1396997151":["hashtag1","hashtag2"]},{"1396997148":["hashtag1","hashtag2"]},{"1396997153":["hashtag1","hashtag2"]},{"1396997150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396997152, 1396997149, 1396997151, 1396997148, 1396997153, 1396997150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38496470451355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:01:22.570582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_55_9719.jpg', '/home/pi/Desktop/images/30112025/00/42/image_30112025_00_43_04_9535.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_15_10554.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_24_9535.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_35_10646.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_42_55_9719.jpg
/home/pi/Desktop/images/30112025/00/42/image_30112025_00_43_04_9535.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_15_10554.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_24_9535.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_35_10646.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_45_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997167","1396997160","1396997163","1396997157","1396997165","1396997162"],"photo_ids_order":["1396997157","1396997160","1396997162","1396997163","1396997165","1396997167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b00d386acdd24eb004225a80e27e504.jpg","text":"TemporaryFile(/tmp/multipartBody4348528342194297392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_43_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11748b7884e189dc280c1f2345d02218.jpg","text":"TemporaryFile(/tmp/multipartBody2251291101223278392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_43_04_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8802d8ac2e62f3c81735977b89fcc32.jpg","text":"TemporaryFile(/tmp/multipartBody7500891701033424934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_43_24_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f24653f6b1c0aef40d353e001f732ae.jpg","text":"TemporaryFile(/tmp/multipartBody6150706659386880655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_42_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4e03722ba2d3e180ca1a335c07b4855.jpg","text":"TemporaryFile(/tmp/multipartBody22735226311230977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_43_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4dcb8deb5b07066a216be0fccbc8662.jpg","text":"TemporaryFile(/tmp/multipartBody8796594591634803970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460943213,"filename":"image_30112025_00_43_15_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997162","file1":"1396997160","file0":"1396997157","file4":"1396997165","file5":"1396997167","file3":"1396997163"},"map_files_photo_id_array":[{"photo_id":"1396997167","filename":"file5"},{"photo_id":"1396997162","filename":"file2"},{"photo_id":"1396997165","filename":"file4"},{"photo_id":"1396997160","filename":"file1"},{"photo_id":"1396997157","filename":"file0"},{"photo_id":"1396997163","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997167":["hashtag1","hashtag2"]},{"1396997160":["hashtag1","hashtag2"]},{"1396997163":["hashtag1","hashtag2"]},{"1396997157":["hashtag1","hashtag2"]},{"1396997165":["hashtag1","hashtag2"]},{"1396997162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997167, 1396997160, 1396997163, 1396997157, 1396997165, 1396997162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89775037765503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:02:03.288752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_54_9599.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_44_05_10769.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_15_9588.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_24_9862.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_34_9654.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_54_9599.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_44_05_10769.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_15_9588.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_24_9862.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_34_9654.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_45_10598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6019160747528076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:02:12.774936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_20_3594.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_22_2566.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_26_3689.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_29_2778.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_31_2690.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_35_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_20_3594.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_22_2566.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_26_3689.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_29_2778.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_31_2690.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_35_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997182","1396997184","1396997178","1396997171","1396997180","1396997174"],"photo_ids_order":["1396997171","1396997174","1396997178","1396997180","1396997182","1396997184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e38afb9d650288c1ebb66cfd680640f1.jpg","text":"TemporaryFile(/tmp/multipartBody2657376589352466106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_31_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/30/64eb743b1c378a7264eca46a0f0b5b73.jpg","text":"TemporaryFile(/tmp/multipartBody366068724868190522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_35_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/30/4d0eb5034cedaed87b5660e98dab2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3232845779622820122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_26_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/30/768d1b315e692266d696da993d3820ef.jpg","text":"TemporaryFile(/tmp/multipartBody2248040611881638372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_20_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/30/279b9c837965af69bedd431b5da69d01.jpg","text":"TemporaryFile(/tmp/multipartBody9028382196521160776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_29_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/30/5e12ad03dfe44870ae2d9d2060e72be7.jpg","text":"TemporaryFile(/tmp/multipartBody3888181488787424483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764460994642,"filename":"image_25112025_19_29_22_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997178","file1":"1396997174","file0":"1396997171","file4":"1396997182","file5":"1396997184","file3":"1396997180"},"map_files_photo_id_array":[{"photo_id":"1396997184","filename":"file5"},{"photo_id":"1396997178","filename":"file2"},{"photo_id":"1396997182","filename":"file4"},{"photo_id":"1396997174","filename":"file1"},{"photo_id":"1396997171","filename":"file0"},{"photo_id":"1396997180","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396997182":["hashtag1","hashtag2"]},{"1396997184":["hashtag1","hashtag2"]},{"1396997178":["hashtag1","hashtag2"]},{"1396997171":["hashtag1","hashtag2"]},{"1396997180":["hashtag1","hashtag2"]},{"1396997174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396997182, 1396997184, 1396997178, 1396997171, 1396997180, 1396997174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16841244697571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:03:04.852046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_54_9599.jpg', '/home/pi/Desktop/images/30112025/00/43/image_30112025_00_44_05_10769.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_15_9588.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_24_9862.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_34_9654.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_43_54_9599.jpg
/home/pi/Desktop/images/30112025/00/43/image_30112025_00_44_05_10769.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_15_9588.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_24_9862.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_34_9654.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_45_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396997563","1396997499","1396997355","1396997421","1396997604","1396997318"],"photo_ids_order":["1396997318","1396997355","1396997421","1396997499","1396997563","1396997604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2e83a58328871badd513634e5cc8d63.jpg","text":"TemporaryFile(/tmp/multipartBody6445554413631067220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_44_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/851b2f8b1f2f15839fe85e2cc802d923.jpg","text":"TemporaryFile(/tmp/multipartBody6879952861178939207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_44_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70b5991b261401925638703863535887.jpg","text":"TemporaryFile(/tmp/multipartBody5726049372606832691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_44_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3584724120813b48f6b360872a579da1.jpg","text":"TemporaryFile(/tmp/multipartBody8097799644338730420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_44_15_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d98bf6cc5e5c9659a87c80bf2a6137c8.jpg","text":"TemporaryFile(/tmp/multipartBody8048297604914418017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_44_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eeb513b53b474bb42ff51c6f640d04c6.jpg","text":"TemporaryFile(/tmp/multipartBody3008291904049094219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461045604,"filename":"image_30112025_00_43_54_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396997421","file1":"1396997355","file0":"1396997318","file4":"1396997563","file5":"1396997604","file3":"1396997499"},"map_files_photo_id_array":[{"photo_id":"1396997604","filename":"file5"},{"photo_id":"1396997421","filename":"file2"},{"photo_id":"1396997563","filename":"file4"},{"photo_id":"1396997355","filename":"file1"},{"photo_id":"1396997318","filename":"file0"},{"photo_id":"1396997499","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396997563":["hashtag1","hashtag2"]},{"1396997499":["hashtag1","hashtag2"]},{"1396997355":["hashtag1","hashtag2"]},{"1396997421":["hashtag1","hashtag2"]},{"1396997604":["hashtag1","hashtag2"]},{"1396997318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396997563, 1396997499, 1396997355, 1396997421, 1396997604, 1396997318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.493630170822144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:04:02.869439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_54_9723.jpg', '/home/pi/Desktop/images/30112025/00/44/image_30112025_00_45_04_9740.jpg', '/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_15_10682.jpg', '/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_24_9642.jpg', '/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_35_10559.jpg', '/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_45_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_44_54_9723.jpg
/home/pi/Desktop/images/30112025/00/44/image_30112025_00_45_04_9740.jpg
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_15_10682.jpg
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_24_9642.jpg
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_35_10559.jpg
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_45_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396998655","1396998564","1396998729","1396998485","1396998359","1396998272"],"photo_ids_order":["1396998272","1396998359","1396998485","1396998564","1396998655","1396998729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2c963e33c303daa67aebb8243ac7f79.jpg","text":"TemporaryFile(/tmp/multipartBody2690317532303164748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_45_35_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f161fdf8e22dc8d3c165cbe58fc41cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8504533216161264038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_45_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ffc332e5994ae7c40d188f311d98be3.jpg","text":"TemporaryFile(/tmp/multipartBody5679815026074676409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_45_45_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80b158ac736277ba73c0f9d8447d2981.jpg","text":"TemporaryFile(/tmp/multipartBody3082933058398307007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_45_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c23a35a47bb7934badd95349fe90756d.jpg","text":"TemporaryFile(/tmp/multipartBody6395606542263706035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_45_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29d0b75a77d93b04eb0c3bf8d131ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody5877072891458008015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461103659,"filename":"image_30112025_00_44_54_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396998485","file1":"1396998359","file0":"1396998272","file4":"1396998655","file5":"1396998729","file3":"1396998564"},"map_files_photo_id_array":[{"photo_id":"1396998729","filename":"file5"},{"photo_id":"1396998485","filename":"file2"},{"photo_id":"1396998655","filename":"file4"},{"photo_id":"1396998359","filename":"file1"},{"photo_id":"1396998272","filename":"file0"},{"photo_id":"1396998564","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396998655":["hashtag1","hashtag2"]},{"1396998564":["hashtag1","hashtag2"]},{"1396998729":["hashtag1","hashtag2"]},{"1396998485":["hashtag1","hashtag2"]},{"1396998359":["hashtag1","hashtag2"]},{"1396998272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396998655, 1396998564, 1396998729, 1396998485, 1396998359, 1396998272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51818037033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:04:42.126517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/17/image_31102025_11_17_07_2707.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_10_3651.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_13_2569.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_16_2871.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_20_3705.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_22_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/11/17/image_31102025_11_17_07_2707.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_10_3651.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_13_2569.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_16_2871.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_20_3705.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_22_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396999015","1396999061","1396998939","1396998980","1396998902","1396998862"],"photo_ids_order":["1396998862","1396998902","1396998939","1396998980","1396999015","1396999061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/096a2b4b51148284f2ef037b2c8c1ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1938799326028626758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_20_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17bd464e1d81a29f6d10f797d3b85410.jpg","text":"TemporaryFile(/tmp/multipartBody7908240136891952627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9f8b3ff7c8fe89d4ec3a9af17879e11.jpg","text":"TemporaryFile(/tmp/multipartBody7779407193042129478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_13_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/30/e7b1761d4ac4d56f7e9a90ada732fe46.jpg","text":"TemporaryFile(/tmp/multipartBody23126260387004915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_16_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/30/30420f3520fb1f6e2f8b33ab31dcc1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4105566850441897822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_10_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a322d43013759483ec7ec1d4166a30e3.jpg","text":"TemporaryFile(/tmp/multipartBody1290233467582498078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461143039,"filename":"image_31102025_11_17_07_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396998939","file1":"1396998902","file0":"1396998862","file4":"1396999015","file5":"1396999061","file3":"1396998980"},"map_files_photo_id_array":[{"photo_id":"1396999061","filename":"file5"},{"photo_id":"1396998939","filename":"file2"},{"photo_id":"1396999015","filename":"file4"},{"photo_id":"1396998902","filename":"file1"},{"photo_id":"1396998862","filename":"file0"},{"photo_id":"1396998980","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396999015":["hashtag1","hashtag2"]},{"1396999061":["hashtag1","hashtag2"]},{"1396998939":["hashtag1","hashtag2"]},{"1396998980":["hashtag1","hashtag2"]},{"1396998902":["hashtag1","hashtag2"]},{"1396998862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396999015, 1396999061, 1396998939, 1396998980, 1396998902, 1396998862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99057960510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:05:22.294735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_54_9636.jpg', '/home/pi/Desktop/images/30112025/00/45/image_30112025_00_46_05_10690.jpg', '/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_15_9650.jpg', '/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_24_9709.jpg', '/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_35_10583.jpg', '/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_45_54_9636.jpg
/home/pi/Desktop/images/30112025/00/45/image_30112025_00_46_05_10690.jpg
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_15_9650.jpg
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_24_9709.jpg
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_35_10583.jpg
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396999405","1396999419","1396999416","1396999370","1396999304","1396999417"],"photo_ids_order":["1396999304","1396999370","1396999405","1396999416","1396999417","1396999419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbf9bd82d5489fa6e5525e08302c1d17.jpg","text":"TemporaryFile(/tmp/multipartBody3615881814929091537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_46_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8051decea489da87db7bde107659465c.jpg","text":"TemporaryFile(/tmp/multipartBody3224063046088768304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_46_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9007a5de2d6a64ac3d8cc7a66747952.jpg","text":"TemporaryFile(/tmp/multipartBody2429741275226979305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_46_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c42d1ac3f61474b9a894196fe46c4af9.jpg","text":"TemporaryFile(/tmp/multipartBody4255519523951147290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_46_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58e3524766facfc4d1cd3f4c8aee6ffb.jpg","text":"TemporaryFile(/tmp/multipartBody56423332599605873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_45_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d49005d68cff0c51cc464652728e1698.jpg","text":"TemporaryFile(/tmp/multipartBody2365063053149866728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461182963,"filename":"image_30112025_00_46_35_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396999405","file1":"1396999370","file0":"1396999304","file4":"1396999417","file5":"1396999419","file3":"1396999416"},"map_files_photo_id_array":[{"photo_id":"1396999419","filename":"file5"},{"photo_id":"1396999405","filename":"file2"},{"photo_id":"1396999417","filename":"file4"},{"photo_id":"1396999370","filename":"file1"},{"photo_id":"1396999304","filename":"file0"},{"photo_id":"1396999416","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396999405":["hashtag1","hashtag2"]},{"1396999419":["hashtag1","hashtag2"]},{"1396999416":["hashtag1","hashtag2"]},{"1396999370":["hashtag1","hashtag2"]},{"1396999304":["hashtag1","hashtag2"]},{"1396999417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396999405, 1396999419, 1396999416, 1396999370, 1396999304, 1396999417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.273102045059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:06:03.027744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_54_9724.jpg', '/home/pi/Desktop/images/30112025/00/46/image_30112025_00_47_05_10630.jpg', '/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_14_9662.jpg', '/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_24_9682.jpg', '/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_35_10605.jpg', '/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_46_54_9724.jpg
/home/pi/Desktop/images/30112025/00/46/image_30112025_00_47_05_10630.jpg
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_14_9662.jpg
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_24_9682.jpg
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_35_10605.jpg
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_44_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396999572","1396999670","1396999706","1396999514","1396999672","1396999612"],"photo_ids_order":["1396999514","1396999572","1396999612","1396999670","1396999672","1396999706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a45685914256c275e6f97742c2284c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3890324774699104339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_47_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82b9d3c8d9e2cb3483468995b1ed8f27.jpg","text":"TemporaryFile(/tmp/multipartBody2767712016356814972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_47_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ee721e07c298955ed3b1348687e33c6.jpg","text":"TemporaryFile(/tmp/multipartBody1436713978772719928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_47_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfc24b9b6a1172383131876ecc00a315.jpg","text":"TemporaryFile(/tmp/multipartBody2473986178888789760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_46_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b643d0d8ec8ea5f50569391c68207f21.jpg","text":"TemporaryFile(/tmp/multipartBody1008521532321015354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_47_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf6253055dde0cd1f4c1041cebd53b83.jpg","text":"TemporaryFile(/tmp/multipartBody3168289036665139470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461223731,"filename":"image_30112025_00_47_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396999612","file1":"1396999572","file0":"1396999514","file4":"1396999672","file5":"1396999706","file3":"1396999670"},"map_files_photo_id_array":[{"photo_id":"1396999706","filename":"file5"},{"photo_id":"1396999612","filename":"file2"},{"photo_id":"1396999672","filename":"file4"},{"photo_id":"1396999572","filename":"file1"},{"photo_id":"1396999514","filename":"file0"},{"photo_id":"1396999670","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1396999572":["hashtag1","hashtag2"]},{"1396999670":["hashtag1","hashtag2"]},{"1396999706":["hashtag1","hashtag2"]},{"1396999514":["hashtag1","hashtag2"]},{"1396999672":["hashtag1","hashtag2"]},{"1396999612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1396999572, 1396999670, 1396999706, 1396999514, 1396999672, 1396999612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6961624622345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:07:03.400058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_55_10569.jpg', '/home/pi/Desktop/images/30112025/00/47/image_30112025_00_48_05_9725.jpg', '/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_14_9702.jpg', '/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_24_9734.jpg', '/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_35_10797.jpg', '/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_47_55_10569.jpg
/home/pi/Desktop/images/30112025/00/47/image_30112025_00_48_05_9725.jpg
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_14_9702.jpg
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_24_9734.jpg
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_35_10797.jpg
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_45_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397000012","1396999973","1396999934","1396999817","1396999855","1396999896"],"photo_ids_order":["1396999817","1396999855","1396999896","1396999934","1396999973","1397000012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3d4526616c9171e377edd76fc4d7fcb.jpg","text":"TemporaryFile(/tmp/multipartBody9147659150023989752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_48_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1b341951f25abd54cd10cb29a5c31dc.jpg","text":"TemporaryFile(/tmp/multipartBody8168860935272556244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_48_35_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f238df508ca7a5c0791b31fdc9697d3e.jpg","text":"TemporaryFile(/tmp/multipartBody917868755029354288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_48_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac8b61b570a73611e89c5ab8cbdd554b.jpg","text":"TemporaryFile(/tmp/multipartBody8636032608668707366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_47_55_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/591ee179ae41ba5e72d2c4844a288325.jpg","text":"TemporaryFile(/tmp/multipartBody1624989111728464865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_48_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cfec826fbc9ac1323e9f34d3b839d54.jpg","text":"TemporaryFile(/tmp/multipartBody4864466593141850743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461285794,"filename":"image_30112025_00_48_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396999896","file1":"1396999855","file0":"1396999817","file4":"1396999973","file5":"1397000012","file3":"1396999934"},"map_files_photo_id_array":[{"photo_id":"1397000012","filename":"file5"},{"photo_id":"1396999896","filename":"file2"},{"photo_id":"1396999973","filename":"file4"},{"photo_id":"1396999855","filename":"file1"},{"photo_id":"1396999817","filename":"file0"},{"photo_id":"1396999934","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397000012":["hashtag1","hashtag2"]},{"1396999973":["hashtag1","hashtag2"]},{"1396999934":["hashtag1","hashtag2"]},{"1396999817":["hashtag1","hashtag2"]},{"1396999855":["hashtag1","hashtag2"]},{"1396999896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397000012, 1396999973, 1396999934, 1396999817, 1396999855, 1396999896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50968146324158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:08:02.853100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_54_9673.jpg', '/home/pi/Desktop/images/30112025/00/48/image_30112025_00_49_04_9818.jpg', '/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_15_10560.jpg', '/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_24_9555.jpg', '/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_35_10617.jpg', '/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_45_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_48_54_9673.jpg
/home/pi/Desktop/images/30112025/00/48/image_30112025_00_49_04_9818.jpg
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_15_10560.jpg
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_24_9555.jpg
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_35_10617.jpg
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_45_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397000453","1397000380","1397000275","1397000346","1397000310","1397000415"],"photo_ids_order":["1397000275","1397000310","1397000346","1397000380","1397000415","1397000453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79af1ba37ac4fedc92107ac3b985f0dc.jpg","text":"TemporaryFile(/tmp/multipartBody4894256460430219419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_49_45_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5afecb053140896896cfca0347180c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3679483735026482310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_49_24_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/036aa7ad04c0ff60508cac281afe75b7.jpg","text":"TemporaryFile(/tmp/multipartBody7502948613560408978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_48_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5df5b9f8af8890daf3f3c925d3a508f5.jpg","text":"TemporaryFile(/tmp/multipartBody4737591262912230983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_49_15_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f1ead55ef9513a9fff2ec35e48b3081.jpg","text":"TemporaryFile(/tmp/multipartBody5821810987726192092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_49_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a260ac875f9c907efbf255d729daaa24.jpg","text":"TemporaryFile(/tmp/multipartBody3206321534246659726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461344211,"filename":"image_30112025_00_49_35_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397000346","file1":"1397000310","file0":"1397000275","file4":"1397000415","file5":"1397000453","file3":"1397000380"},"map_files_photo_id_array":[{"photo_id":"1397000453","filename":"file5"},{"photo_id":"1397000346","filename":"file2"},{"photo_id":"1397000415","filename":"file4"},{"photo_id":"1397000310","filename":"file1"},{"photo_id":"1397000275","filename":"file0"},{"photo_id":"1397000380","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397000453":["hashtag1","hashtag2"]},{"1397000380":["hashtag1","hashtag2"]},{"1397000275":["hashtag1","hashtag2"]},{"1397000346":["hashtag1","hashtag2"]},{"1397000310":["hashtag1","hashtag2"]},{"1397000415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397000453, 1397000380, 1397000275, 1397000346, 1397000310, 1397000415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.475476026535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:08:42.478159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/17/image_31102025_11_17_25_2662.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_28_2835.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_31_3647.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_34_2823.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_37_2704.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_40_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_25_2662.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_28_2835.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_31_3647.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_34_2823.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_37_2704.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_40_2880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397000561","1397000563","1397000565","1397000562","1397000559","1397000564"],"photo_ids_order":["1397000559","1397000561","1397000562","1397000563","1397000564","1397000565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e0a26653eed3d9df4808b23c8aad7e5.jpg","text":"TemporaryFile(/tmp/multipartBody5019890449403210458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_28_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/30/4f0d3db31a134a981391b088f4d05067.jpg","text":"TemporaryFile(/tmp/multipartBody4432082491223330271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_34_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/30/104ccc53afbd3ad5e78af75904e17e71.jpg","text":"TemporaryFile(/tmp/multipartBody4414883132556021723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_40_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/30/56baa8905335182c005ca0b491364cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2046074615154602352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_31_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/30/cb59e90b2e52d9687cbcdc30b1bccbab.jpg","text":"TemporaryFile(/tmp/multipartBody3314092137808861488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_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/30/5eece9b36c0b69b421bd56d5e33109e1.jpg","text":"TemporaryFile(/tmp/multipartBody4626517414916468865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461383461,"filename":"image_31102025_11_17_37_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397000562","file1":"1397000561","file0":"1397000559","file4":"1397000564","file5":"1397000565","file3":"1397000563"},"map_files_photo_id_array":[{"photo_id":"1397000565","filename":"file5"},{"photo_id":"1397000562","filename":"file2"},{"photo_id":"1397000564","filename":"file4"},{"photo_id":"1397000561","filename":"file1"},{"photo_id":"1397000559","filename":"file0"},{"photo_id":"1397000563","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397000561":["hashtag1","hashtag2"]},{"1397000563":["hashtag1","hashtag2"]},{"1397000565":["hashtag1","hashtag2"]},{"1397000562":["hashtag1","hashtag2"]},{"1397000559":["hashtag1","hashtag2"]},{"1397000564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397000561, 1397000563, 1397000565, 1397000562, 1397000559, 1397000564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2687873840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:09:22.666968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_54_9715.jpg', '/home/pi/Desktop/images/30112025/00/49/image_30112025_00_50_04_9697.jpg', '/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_15_10544.jpg', '/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_24_9554.jpg', '/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_35_10671.jpg', '/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_44_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_49_54_9715.jpg
/home/pi/Desktop/images/30112025/00/49/image_30112025_00_50_04_9697.jpg
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_15_10544.jpg
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_24_9554.jpg
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_35_10671.jpg
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_44_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397000573","1397000575","1397000569","1397000571","1397000577","1397000579"],"photo_ids_order":["1397000569","1397000571","1397000573","1397000575","1397000577","1397000579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48b00a0e84db2d9550fb856d462bf9b8.jpg","text":"TemporaryFile(/tmp/multipartBody8520455834776648282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_50_15_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f9d9451c1b6d76dbf6570430a283b35.jpg","text":"TemporaryFile(/tmp/multipartBody8912882994764112858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_50_24_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86a9d5e0754e733ce551ca26188ff0cb.jpg","text":"TemporaryFile(/tmp/multipartBody8789021039532499994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_49_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e9344480336c9893074b92cb4d4246c.jpg","text":"TemporaryFile(/tmp/multipartBody6242996670414612008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_50_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8070bf6674c1c756055e4d561f2219b.jpg","text":"TemporaryFile(/tmp/multipartBody1770426907659454926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_50_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8629236a17f7e6ee0efb9f234e49114.jpg","text":"TemporaryFile(/tmp/multipartBody6546538729877176231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461423433,"filename":"image_30112025_00_50_44_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397000573","file1":"1397000571","file0":"1397000569","file4":"1397000577","file5":"1397000579","file3":"1397000575"},"map_files_photo_id_array":[{"photo_id":"1397000579","filename":"file5"},{"photo_id":"1397000573","filename":"file2"},{"photo_id":"1397000577","filename":"file4"},{"photo_id":"1397000571","filename":"file1"},{"photo_id":"1397000569","filename":"file0"},{"photo_id":"1397000575","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397000573":["hashtag1","hashtag2"]},{"1397000575":["hashtag1","hashtag2"]},{"1397000569":["hashtag1","hashtag2"]},{"1397000571":["hashtag1","hashtag2"]},{"1397000577":["hashtag1","hashtag2"]},{"1397000579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397000573, 1397000575, 1397000569, 1397000571, 1397000577, 1397000579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05717086791992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:10:03.134650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_55_10630.jpg', '/home/pi/Desktop/images/30112025/00/50/image_30112025_00_51_05_9773.jpg', '/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_15_9812.jpg', '/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_24_9527.jpg', '/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_35_10721.jpg', '/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_45_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_50_55_10630.jpg
/home/pi/Desktop/images/30112025/00/50/image_30112025_00_51_05_9773.jpg
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_15_9812.jpg
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_24_9527.jpg
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_35_10721.jpg
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_45_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397000843","1397000884","1397000801","1397000680","1397000760","1397000721"],"photo_ids_order":["1397000680","1397000721","1397000760","1397000801","1397000843","1397000884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b5cf56cf743702c5c568a3ae509e078.jpg","text":"TemporaryFile(/tmp/multipartBody5936260593947145689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_51_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b3c3dca3c535314444ba543293b5004.jpg","text":"TemporaryFile(/tmp/multipartBody7099844687849053097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_51_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cef6997ad4a7b7026edc093011663cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7181499774826973419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_51_24_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b03dbb2779999e762ad3a9b5e63cb28.jpg","text":"TemporaryFile(/tmp/multipartBody330594817854757312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_50_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21f0ed238ac2412007d2a5c329c0bc6b.jpg","text":"TemporaryFile(/tmp/multipartBody534137168535202219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_51_15_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1df41c4d6d1c7e2ccb47a77196102cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5472256431863831594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461464746,"filename":"image_30112025_00_51_05_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397000760","file1":"1397000721","file0":"1397000680","file4":"1397000843","file5":"1397000884","file3":"1397000801"},"map_files_photo_id_array":[{"photo_id":"1397000884","filename":"file5"},{"photo_id":"1397000760","filename":"file2"},{"photo_id":"1397000843","filename":"file4"},{"photo_id":"1397000721","filename":"file1"},{"photo_id":"1397000680","filename":"file0"},{"photo_id":"1397000801","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397000843":["hashtag1","hashtag2"]},{"1397000884":["hashtag1","hashtag2"]},{"1397000801":["hashtag1","hashtag2"]},{"1397000680":["hashtag1","hashtag2"]},{"1397000760":["hashtag1","hashtag2"]},{"1397000721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397000843, 1397000884, 1397000801, 1397000680, 1397000760, 1397000721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.930278301239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:11:02.550595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_54_9628.jpg', '/home/pi/Desktop/images/30112025/00/51/image_30112025_00_52_05_10721.jpg', '/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_15_9920.jpg', '/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_25_9796.jpg', '/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_34_9522.jpg', '/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_45_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_51_54_9628.jpg
/home/pi/Desktop/images/30112025/00/51/image_30112025_00_52_05_10721.jpg
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_15_9920.jpg
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_25_9796.jpg
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_34_9522.jpg
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_45_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397001008","1397001046","1397001040","1397001043","1397001035","1397001038"],"photo_ids_order":["1397001008","1397001035","1397001038","1397001040","1397001043","1397001046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fe9a0e1b9ba76ef217139e78c40b766.jpg","text":"TemporaryFile(/tmp/multipartBody9020874838093163958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_51_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eacf0418a1fcd09acf0aa4623abed6c0.jpg","text":"TemporaryFile(/tmp/multipartBody3051868290547253122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_52_45_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b5be80491d0fa488d878a0cae9fd62a.jpg","text":"TemporaryFile(/tmp/multipartBody2417399032026404101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_52_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90ab539f3b1f53b8d4c6c54c6e228f47.jpg","text":"TemporaryFile(/tmp/multipartBody5756298920954109796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_52_34_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2bccd8a5de16bf50f23bda51b874d75.jpg","text":"TemporaryFile(/tmp/multipartBody4953688589305190068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_52_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20aab8a83d1937c479b92106e86e29c6.jpg","text":"TemporaryFile(/tmp/multipartBody9079236595296650295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461523882,"filename":"image_30112025_00_52_15_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001038","file1":"1397001035","file0":"1397001008","file4":"1397001043","file5":"1397001046","file3":"1397001040"},"map_files_photo_id_array":[{"photo_id":"1397001046","filename":"file5"},{"photo_id":"1397001038","filename":"file2"},{"photo_id":"1397001043","filename":"file4"},{"photo_id":"1397001035","filename":"file1"},{"photo_id":"1397001008","filename":"file0"},{"photo_id":"1397001040","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397001008":["hashtag1","hashtag2"]},{"1397001046":["hashtag1","hashtag2"]},{"1397001040":["hashtag1","hashtag2"]},{"1397001043":["hashtag1","hashtag2"]},{"1397001035":["hashtag1","hashtag2"]},{"1397001038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397001008, 1397001046, 1397001040, 1397001043, 1397001035, 1397001038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.075743436813354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:12:02.404883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_54_9675.jpg', '/home/pi/Desktop/images/30112025/00/52/image_30112025_00_53_04_9670.jpg', '/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_15_10572.jpg', '/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_24_9682.jpg', '/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_34_9896.jpg', '/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_45_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_52_54_9675.jpg
/home/pi/Desktop/images/30112025/00/52/image_30112025_00_53_04_9670.jpg
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_15_10572.jpg
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_24_9682.jpg
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_34_9896.jpg
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_45_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397001052","1397001055","1397001060","1397001057","1397001054","1397001053"],"photo_ids_order":["1397001052","1397001053","1397001054","1397001055","1397001057","1397001060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7095b8abbae9e2b6a29ff04201a9eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7633093339135473151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_52_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9dab9d08cac5187144a48f07d1935df3.jpg","text":"TemporaryFile(/tmp/multipartBody8209479936897965450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_53_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3516a46295e32040cd417b3001f0450.jpg","text":"TemporaryFile(/tmp/multipartBody6973198003770409236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_53_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b883bfb754e7fff1fc1e27ae11e3f349.jpg","text":"TemporaryFile(/tmp/multipartBody8918449039823663410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_53_34_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/30/7bed69983ced636dfb6729297cfa4647.jpg","text":"TemporaryFile(/tmp/multipartBody740005488247921703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_53_15_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2efe011faa20dfb69f7cec6ae05abd0f.jpg","text":"TemporaryFile(/tmp/multipartBody7878334325011890670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461583207,"filename":"image_30112025_00_53_04_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001054","file1":"1397001053","file0":"1397001052","file4":"1397001057","file5":"1397001060","file3":"1397001055"},"map_files_photo_id_array":[{"photo_id":"1397001060","filename":"file5"},{"photo_id":"1397001054","filename":"file2"},{"photo_id":"1397001057","filename":"file4"},{"photo_id":"1397001053","filename":"file1"},{"photo_id":"1397001052","filename":"file0"},{"photo_id":"1397001055","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397001052":["hashtag1","hashtag2"]},{"1397001055":["hashtag1","hashtag2"]},{"1397001060":["hashtag1","hashtag2"]},{"1397001057":["hashtag1","hashtag2"]},{"1397001054":["hashtag1","hashtag2"]},{"1397001053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397001052, 1397001055, 1397001060, 1397001057, 1397001054, 1397001053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21541953086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:12:42.112244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/17/image_31102025_11_17_43_3602.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_46_2686.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_49_2865.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_53_3619.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_55_2710.jpg', '/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_58_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_43_3602.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_46_2686.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_49_2865.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_53_3619.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_55_2710.jpg
/home/pi/Desktop/images/31102025/11/17/image_31102025_11_17_58_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397001070","1397001067","1397001069","1397001066","1397001065","1397001068"],"photo_ids_order":["1397001065","1397001066","1397001067","1397001068","1397001069","1397001070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c6d80b2e57d893796856aea5d2f0d07.jpg","text":"TemporaryFile(/tmp/multipartBody6430752799557948785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_58_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/30/d0bd9de9ad116f9c813a0f5d0e1d55da.jpg","text":"TemporaryFile(/tmp/multipartBody4568471806349906115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_49_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/30/b9327620483b8c0a2498e312bb2c5696.jpg","text":"TemporaryFile(/tmp/multipartBody2357930017087149031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c087ed8f92ee79293a91eb2a2c5537bb.jpg","text":"TemporaryFile(/tmp/multipartBody5636371447083747981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_46_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/30/f2aa23417f0f18f1299c032179a0e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8325313306843332717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_43_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/30/26851ae33b651499ad56020cfa1fe8d3.jpg","text":"TemporaryFile(/tmp/multipartBody3448437285100247857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461623020,"filename":"image_31102025_11_17_53_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001067","file1":"1397001066","file0":"1397001065","file4":"1397001069","file5":"1397001070","file3":"1397001068"},"map_files_photo_id_array":[{"photo_id":"1397001070","filename":"file5"},{"photo_id":"1397001067","filename":"file2"},{"photo_id":"1397001069","filename":"file4"},{"photo_id":"1397001066","filename":"file1"},{"photo_id":"1397001065","filename":"file0"},{"photo_id":"1397001068","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397001070":["hashtag1","hashtag2"]},{"1397001067":["hashtag1","hashtag2"]},{"1397001069":["hashtag1","hashtag2"]},{"1397001066":["hashtag1","hashtag2"]},{"1397001065":["hashtag1","hashtag2"]},{"1397001068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397001070, 1397001067, 1397001069, 1397001066, 1397001065, 1397001068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0847749710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:13:22.331871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_55_9705.jpg', '/home/pi/Desktop/images/30112025/00/53/image_30112025_00_54_04_9808.jpg', '/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_15_10262.jpg', '/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_24_9644.jpg', '/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_35_10333.jpg', '/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_53_55_9705.jpg
/home/pi/Desktop/images/30112025/00/53/image_30112025_00_54_04_9808.jpg
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_15_10262.jpg
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_24_9644.jpg
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_35_10333.jpg
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_44_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397001082","1397001076","1397001073","1397001084","1397001083","1397001080"],"photo_ids_order":["1397001073","1397001076","1397001080","1397001082","1397001083","1397001084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ccc58b952f0abb5ca8dc32361f9d052.jpg","text":"TemporaryFile(/tmp/multipartBody9093122399398955347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_54_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdcc63767c7f646eb5bcaa430b292735.jpg","text":"TemporaryFile(/tmp/multipartBody6015797259108745704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_54_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d29f0fc5c46780e85bc4c9dd2ecd5c5.jpg","text":"TemporaryFile(/tmp/multipartBody5908867117369104159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_53_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74684e1dac11f7412d1d64ba3bdc870c.jpg","text":"TemporaryFile(/tmp/multipartBody7609238611048948714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_54_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce5ec3a1f3e704344b99a1fae013d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1514281712848988092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_54_35_10333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9723333306ccf371d3d597c854f8f435.jpg","text":"TemporaryFile(/tmp/multipartBody5767545330700112732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461663040,"filename":"image_30112025_00_54_15_10262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001080","file1":"1397001076","file0":"1397001073","file4":"1397001083","file5":"1397001084","file3":"1397001082"},"map_files_photo_id_array":[{"photo_id":"1397001084","filename":"file5"},{"photo_id":"1397001080","filename":"file2"},{"photo_id":"1397001083","filename":"file4"},{"photo_id":"1397001076","filename":"file1"},{"photo_id":"1397001073","filename":"file0"},{"photo_id":"1397001082","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397001082":["hashtag1","hashtag2"]},{"1397001076":["hashtag1","hashtag2"]},{"1397001073":["hashtag1","hashtag2"]},{"1397001084":["hashtag1","hashtag2"]},{"1397001083":["hashtag1","hashtag2"]},{"1397001080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397001082, 1397001076, 1397001073, 1397001084, 1397001083, 1397001080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.419875383377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:14:03.196874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_55_10684.jpg', '/home/pi/Desktop/images/30112025/00/54/image_30112025_00_55_05_9623.jpg', '/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_14_9590.jpg', '/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_24_9953.jpg', '/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_35_10551.jpg', '/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_44_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_54_55_10684.jpg
/home/pi/Desktop/images/30112025/00/54/image_30112025_00_55_05_9623.jpg
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_14_9590.jpg
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_24_9953.jpg
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_35_10551.jpg
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_44_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397001091","1397001085","1397001087","1397001086","1397001095","1397001089"],"photo_ids_order":["1397001085","1397001086","1397001087","1397001089","1397001091","1397001095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddeadf82971190c3e7f93a9b2a1c700d.jpg","text":"TemporaryFile(/tmp/multipartBody2326449529752647352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_55_35_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a68c1ed37e603f5915aab5186835bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody5160961525583488736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_54_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9237acf539ce2fddccaa252498593e93.jpg","text":"TemporaryFile(/tmp/multipartBody6508148509525739243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_55_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45d6d81bcb6c71bacb18a0d352ad4bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5416612110316547315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_55_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8a0bf3469fc650e253dacfbefd0bd0e.jpg","text":"TemporaryFile(/tmp/multipartBody134075383337154682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_55_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab399e73abfc0a42e4fba06967c8361e.jpg","text":"TemporaryFile(/tmp/multipartBody9040162420938085912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461703928,"filename":"image_30112025_00_55_24_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001087","file1":"1397001086","file0":"1397001085","file4":"1397001091","file5":"1397001095","file3":"1397001089"},"map_files_photo_id_array":[{"photo_id":"1397001095","filename":"file5"},{"photo_id":"1397001087","filename":"file2"},{"photo_id":"1397001091","filename":"file4"},{"photo_id":"1397001086","filename":"file1"},{"photo_id":"1397001085","filename":"file0"},{"photo_id":"1397001089","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397001091":["hashtag1","hashtag2"]},{"1397001085":["hashtag1","hashtag2"]},{"1397001087":["hashtag1","hashtag2"]},{"1397001086":["hashtag1","hashtag2"]},{"1397001095":["hashtag1","hashtag2"]},{"1397001089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397001091, 1397001085, 1397001087, 1397001086, 1397001095, 1397001089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61082339286804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:14:42.459198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/18/image_31102025_11_18_01_2742.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_04_2737.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_07_3729.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_10_2661.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_13_2640.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_16_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_01_2742.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_04_2737.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_07_3729.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_10_2661.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_13_2640.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_16_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":["1397001317","1397001868","1397001435","1397001761","1397001539","1397001647"],"photo_ids_order":["1397001317","1397001435","1397001539","1397001647","1397001761","1397001868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/629222ac214819e226b9f3b05d4b847c.jpg","text":"TemporaryFile(/tmp/multipartBody1946938237008579777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_01_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cccdab7d2bec7fe5780d93230a277903.jpg","text":"TemporaryFile(/tmp/multipartBody63943900625167728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_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/30/bd5214db7186d64107ab65b4431d6dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2567698606537674792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_04_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/30/57430224c148efe6df3d679fd3065297.jpg","text":"TemporaryFile(/tmp/multipartBody6258150446338241793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_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/30/6a3cc83e48d11c038252522d3c5a0b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1024588738204780096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_07_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/30/8ec3e8b559f7c1a5aa6973073766441b.jpg","text":"TemporaryFile(/tmp/multipartBody7958155128614822789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461743456,"filename":"image_31102025_11_18_10_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397001539","file1":"1397001435","file0":"1397001317","file4":"1397001761","file5":"1397001868","file3":"1397001647"},"map_files_photo_id_array":[{"photo_id":"1397001868","filename":"file5"},{"photo_id":"1397001539","filename":"file2"},{"photo_id":"1397001761","filename":"file4"},{"photo_id":"1397001435","filename":"file1"},{"photo_id":"1397001317","filename":"file0"},{"photo_id":"1397001647","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397001317":["hashtag1","hashtag2"]},{"1397001868":["hashtag1","hashtag2"]},{"1397001435":["hashtag1","hashtag2"]},{"1397001761":["hashtag1","hashtag2"]},{"1397001539":["hashtag1","hashtag2"]},{"1397001647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397001317, 1397001868, 1397001435, 1397001761, 1397001539, 1397001647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9677631855011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:15:22.626744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_55_10597.jpg', '/home/pi/Desktop/images/30112025/00/55/image_30112025_00_56_05_9633.jpg', '/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_14_9470.jpg', '/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_24_9937.jpg', '/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_35_10641.jpg', '/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_45_10021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_55_55_10597.jpg
/home/pi/Desktop/images/30112025/00/55/image_30112025_00_56_05_9633.jpg
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_14_9470.jpg
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_24_9937.jpg
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_35_10641.jpg
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_45_10021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002132","1397002126","1397002128","1397002130","1397002133","1397002124"],"photo_ids_order":["1397002124","1397002126","1397002128","1397002130","1397002132","1397002133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2bfbd7171d75e91e6ed7b8c8fe0e4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody548637849253747334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_56_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d5fc83cdba287869a8984719e8e160c.jpg","text":"TemporaryFile(/tmp/multipartBody5901863771107689006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_56_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e06280f05768ac228f1e6b8cedb8785.jpg","text":"TemporaryFile(/tmp/multipartBody1953352151208135216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_56_14_9470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/217327de118e0ca9e519719e39f8ea23.jpg","text":"TemporaryFile(/tmp/multipartBody3379675065872404444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_56_24_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0b4b1637ea613b5975ed289e65e1dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8646314143546504141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_56_45_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0af2817ae9dc36f10f1fd0f281970dd.jpg","text":"TemporaryFile(/tmp/multipartBody906142642833923728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461783304,"filename":"image_30112025_00_55_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002128","file1":"1397002126","file0":"1397002124","file4":"1397002132","file5":"1397002133","file3":"1397002130"},"map_files_photo_id_array":[{"photo_id":"1397002133","filename":"file5"},{"photo_id":"1397002128","filename":"file2"},{"photo_id":"1397002132","filename":"file4"},{"photo_id":"1397002126","filename":"file1"},{"photo_id":"1397002124","filename":"file0"},{"photo_id":"1397002130","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002132":["hashtag1","hashtag2"]},{"1397002126":["hashtag1","hashtag2"]},{"1397002128":["hashtag1","hashtag2"]},{"1397002130":["hashtag1","hashtag2"]},{"1397002133":["hashtag1","hashtag2"]},{"1397002124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002132, 1397002126, 1397002128, 1397002130, 1397002133, 1397002124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.357977867126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:16:03.232823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_55_10098.jpg', '/home/pi/Desktop/images/30112025/00/56/image_30112025_00_57_05_9869.jpg', '/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_14_9618.jpg', '/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_25_10657.jpg', '/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_35_9666.jpg', '/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_56_55_10098.jpg
/home/pi/Desktop/images/30112025/00/56/image_30112025_00_57_05_9869.jpg
/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_14_9618.jpg
/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_25_10657.jpg
/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_35_9666.jpg
/home/pi/Desktop/images/30112025/00/57/image_30112025_00_57_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002141","1397002135","1397002140","1397002134","1397002137","1397002136"],"photo_ids_order":["1397002134","1397002135","1397002136","1397002137","1397002140","1397002141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16694041f317f05958ea3f2c6c9f6819.jpg","text":"TemporaryFile(/tmp/multipartBody3638447969817904500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_57_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aea97503a48b643ae63d7520df146c69.jpg","text":"TemporaryFile(/tmp/multipartBody5074833602535996139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_57_05_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d163668c1a965cebfa2b7cdaada3f495.jpg","text":"TemporaryFile(/tmp/multipartBody1262343699714106343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_57_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02048e3caae59ba67b409d06a7fad3a5.jpg","text":"TemporaryFile(/tmp/multipartBody3185375646193460930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_56_55_10098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54912abb3d4d68113cb9c6fc72a5f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6183646446371112454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_57_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9b6846b6b30de46ecbc73d2fb589274.jpg","text":"TemporaryFile(/tmp/multipartBody278895199532081218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461824363,"filename":"image_30112025_00_57_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002136","file1":"1397002135","file0":"1397002134","file4":"1397002140","file5":"1397002141","file3":"1397002137"},"map_files_photo_id_array":[{"photo_id":"1397002141","filename":"file5"},{"photo_id":"1397002136","filename":"file2"},{"photo_id":"1397002140","filename":"file4"},{"photo_id":"1397002135","filename":"file1"},{"photo_id":"1397002134","filename":"file0"},{"photo_id":"1397002137","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002141":["hashtag1","hashtag2"]},{"1397002135":["hashtag1","hashtag2"]},{"1397002140":["hashtag1","hashtag2"]},{"1397002134":["hashtag1","hashtag2"]},{"1397002137":["hashtag1","hashtag2"]},{"1397002136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002141, 1397002135, 1397002140, 1397002134, 1397002137, 1397002136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00784230232239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:16:42.837605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/18/image_31102025_11_18_19_2744.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_22_2636.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_25_2906.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_28_3687.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_31_2794.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_34_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_19_2744.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_22_2636.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_25_2906.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_28_3687.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_31_2794.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_34_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":["1397002296","1397002581","1397002527","1397002410","1397002580","1397002579"],"photo_ids_order":["1397002296","1397002410","1397002527","1397002579","1397002580","1397002581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/799c9ef2e57b0c6c98d69930bfcfa89f.jpg","text":"TemporaryFile(/tmp/multipartBody606505127821172427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_19_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/30/3ab520aeeebb3a76fab979ab93f9d8a2.jpg","text":"TemporaryFile(/tmp/multipartBody235484809104837505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e07055111f019950ede618aef22b231.jpg","text":"TemporaryFile(/tmp/multipartBody6302418295462756852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_25_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/30/8be835a01e0a78ae286e2cd77616fc6c.jpg","text":"TemporaryFile(/tmp/multipartBody1710794160855348926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_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/30/24757c16ff36177a80c6692f888cee35.jpg","text":"TemporaryFile(/tmp/multipartBody1724784026227825201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_31_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/30/20c88691772880266fb2707e2ee5eb73.jpg","text":"TemporaryFile(/tmp/multipartBody3173971657492828802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461863790,"filename":"image_31102025_11_18_28_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002527","file1":"1397002410","file0":"1397002296","file4":"1397002580","file5":"1397002581","file3":"1397002579"},"map_files_photo_id_array":[{"photo_id":"1397002581","filename":"file5"},{"photo_id":"1397002527","filename":"file2"},{"photo_id":"1397002580","filename":"file4"},{"photo_id":"1397002410","filename":"file1"},{"photo_id":"1397002296","filename":"file0"},{"photo_id":"1397002579","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002296":["hashtag1","hashtag2"]},{"1397002581":["hashtag1","hashtag2"]},{"1397002527":["hashtag1","hashtag2"]},{"1397002410":["hashtag1","hashtag2"]},{"1397002580":["hashtag1","hashtag2"]},{"1397002579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002296, 1397002581, 1397002527, 1397002410, 1397002580, 1397002579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.826225996017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:17:22.000939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/57/image_30112025_00_58_05_9833.jpg', '/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_15_9818.jpg', '/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_24_9579.jpg', '/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_35_10809.jpg', '/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_45_9743.jpg', '/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_54_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/57/image_30112025_00_58_05_9833.jpg
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_15_9818.jpg
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_24_9579.jpg
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_35_10809.jpg
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_45_9743.jpg
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_58_54_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002705","1397002698","1397002702","1397002683","1397002704","1397002707"],"photo_ids_order":["1397002683","1397002698","1397002702","1397002704","1397002705","1397002707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/303d3f4d47f41c067a0d2f2f847a9ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3644509791430007168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/279f908fa375d5ec5dc5cd14439ab278.jpg","text":"TemporaryFile(/tmp/multipartBody440012238159738008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a6f0598f507ebc0156b7b3fb3f2adaa.jpg","text":"TemporaryFile(/tmp/multipartBody9142571698354676049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52143ee348a477a4f2ca0ac6d4fc367b.jpg","text":"TemporaryFile(/tmp/multipartBody2062378280367867825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6caeb7d6b7309ddca6f7c837c2f599f7.jpg","text":"TemporaryFile(/tmp/multipartBody1899322867299121197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_35_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3bbd0fbb931181dfa27b98dc7c562cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1776164230767787575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461902677,"filename":"image_30112025_00_58_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002702","file1":"1397002698","file0":"1397002683","file4":"1397002705","file5":"1397002707","file3":"1397002704"},"map_files_photo_id_array":[{"photo_id":"1397002707","filename":"file5"},{"photo_id":"1397002702","filename":"file2"},{"photo_id":"1397002705","filename":"file4"},{"photo_id":"1397002698","filename":"file1"},{"photo_id":"1397002683","filename":"file0"},{"photo_id":"1397002704","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002705":["hashtag1","hashtag2"]},{"1397002698":["hashtag1","hashtag2"]},{"1397002702":["hashtag1","hashtag2"]},{"1397002683":["hashtag1","hashtag2"]},{"1397002704":["hashtag1","hashtag2"]},{"1397002707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002705, 1397002698, 1397002702, 1397002683, 1397002704, 1397002707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0443856716156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:18:02.639050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/58/image_30112025_00_59_05_10520.jpg', '/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_17_12066.jpg', '/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_25_7873.jpg', '/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_35_9964.jpg', '/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_45_9741.jpg', '/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_54_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/58/image_30112025_00_59_05_10520.jpg
/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_17_12066.jpg
/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_25_7873.jpg
/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_35_9964.jpg
/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_45_9741.jpg
/home/pi/Desktop/images/30112025/00/59/image_30112025_00_59_54_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002711","1397002708","1397002716","1397002710","1397002713","1397002709"],"photo_ids_order":["1397002708","1397002709","1397002710","1397002711","1397002713","1397002716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee371de384851b67ccfe6031c2cf3b43.jpg","text":"TemporaryFile(/tmp/multipartBody3109215520013957011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_35_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5badf51a14399aa3c764b681823a1c3.jpg","text":"TemporaryFile(/tmp/multipartBody7194408612083986639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_05_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5a93074f006b4226e2f7f6093189d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7308827749429317157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_54_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de821ab10c5ffd89224a7282f8ff89ba.jpg","text":"TemporaryFile(/tmp/multipartBody7626975185235726885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_25_7873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76a01bad5e22830bb98c583cad42fdaf.jpg","text":"TemporaryFile(/tmp/multipartBody8641265998543227160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bef6e8bdc6f5de503c7ee117d648bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1863379907012089165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461943334,"filename":"image_30112025_00_59_17_12066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002710","file1":"1397002709","file0":"1397002708","file4":"1397002713","file5":"1397002716","file3":"1397002711"},"map_files_photo_id_array":[{"photo_id":"1397002716","filename":"file5"},{"photo_id":"1397002710","filename":"file2"},{"photo_id":"1397002713","filename":"file4"},{"photo_id":"1397002709","filename":"file1"},{"photo_id":"1397002708","filename":"file0"},{"photo_id":"1397002711","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002711":["hashtag1","hashtag2"]},{"1397002708":["hashtag1","hashtag2"]},{"1397002716":["hashtag1","hashtag2"]},{"1397002710":["hashtag1","hashtag2"]},{"1397002713":["hashtag1","hashtag2"]},{"1397002709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002711, 1397002708, 1397002716, 1397002710, 1397002713, 1397002709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87661290168762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:18:42.145606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/18/image_31102025_11_18_37_3710.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_40_2885.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_43_2656.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_46_2582.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_49_3748.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_52_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_37_3710.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_40_2885.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_43_2656.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_46_2582.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_49_3748.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_52_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002723","1397002726","1397002729","1397002725","1397002727","1397002724"],"photo_ids_order":["1397002723","1397002724","1397002725","1397002726","1397002727","1397002729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed88bc0b100dc6fdc43fcf44726c9985.jpg","text":"TemporaryFile(/tmp/multipartBody8381406644853602792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_37_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/30/a61579ae55fcaa35e7bcd139ca1bd2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3767159405919852019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_46_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69d481727bbab162e8c8bc49b1251f94.jpg","text":"TemporaryFile(/tmp/multipartBody6657693222697950102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_52_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/30/eab7bee5e0e2d324bd2674aed2736d6d.jpg","text":"TemporaryFile(/tmp/multipartBody875742564440303827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/001f7895a5e32e3ab91af04d5c2daf84.jpg","text":"TemporaryFile(/tmp/multipartBody1375931580851060441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_49_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/30/9cd04d572320ebe5faceffe28b0985e6.jpg","text":"TemporaryFile(/tmp/multipartBody5887589122108610147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764461983061,"filename":"image_31102025_11_18_40_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002725","file1":"1397002724","file0":"1397002723","file4":"1397002727","file5":"1397002729","file3":"1397002726"},"map_files_photo_id_array":[{"photo_id":"1397002729","filename":"file5"},{"photo_id":"1397002725","filename":"file2"},{"photo_id":"1397002727","filename":"file4"},{"photo_id":"1397002724","filename":"file1"},{"photo_id":"1397002723","filename":"file0"},{"photo_id":"1397002726","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002723":["hashtag1","hashtag2"]},{"1397002726":["hashtag1","hashtag2"]},{"1397002729":["hashtag1","hashtag2"]},{"1397002725":["hashtag1","hashtag2"]},{"1397002727":["hashtag1","hashtag2"]},{"1397002724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002723, 1397002726, 1397002729, 1397002725, 1397002727, 1397002724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28108239173889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:19:22.336716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/00/59/image_30112025_01_00_05_10722.jpg', '/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_14_9658.jpg', '/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_24_9739.jpg', '/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_35_10793.jpg', '/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_45_9664.jpg', '/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/00/59/image_30112025_01_00_05_10722.jpg
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_14_9658.jpg
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_24_9739.jpg
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_35_10793.jpg
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_45_9664.jpg
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_00_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002744","1397002738","1397002732","1397002735","1397002740","1397002742"],"photo_ids_order":["1397002732","1397002735","1397002738","1397002740","1397002742","1397002744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b3190f618027686da000ddf9dc0c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8658425861049074366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b00a8eee2f81766630d1f630062a722f.jpg","text":"TemporaryFile(/tmp/multipartBody3390421196942863378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28c744d064a6a1ccbac392f68c6bbfa8.jpg","text":"TemporaryFile(/tmp/multipartBody567944061235540975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d09715ceaa9af0fe980fc2a465fe88a.jpg","text":"TemporaryFile(/tmp/multipartBody461120595591509060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1092911ee51276634d0799351f23572c.jpg","text":"TemporaryFile(/tmp/multipartBody7732952620620988431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_35_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f131dba940c57cfc30040b40494f496.jpg","text":"TemporaryFile(/tmp/multipartBody5774382674936960212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462023009,"filename":"image_30112025_01_00_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002738","file1":"1397002735","file0":"1397002732","file4":"1397002742","file5":"1397002744","file3":"1397002740"},"map_files_photo_id_array":[{"photo_id":"1397002744","filename":"file5"},{"photo_id":"1397002738","filename":"file2"},{"photo_id":"1397002742","filename":"file4"},{"photo_id":"1397002735","filename":"file1"},{"photo_id":"1397002732","filename":"file0"},{"photo_id":"1397002740","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002744":["hashtag1","hashtag2"]},{"1397002738":["hashtag1","hashtag2"]},{"1397002732":["hashtag1","hashtag2"]},{"1397002735":["hashtag1","hashtag2"]},{"1397002740":["hashtag1","hashtag2"]},{"1397002742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002744, 1397002738, 1397002732, 1397002735, 1397002740, 1397002742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1379599571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:20:02.862601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/00/image_30112025_01_01_05_10667.jpg', '/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_15_9636.jpg', '/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_24_9614.jpg', '/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_35_10767.jpg', '/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_45_9644.jpg', '/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/00/image_30112025_01_01_05_10667.jpg
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_15_9636.jpg
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_24_9614.jpg
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_35_10767.jpg
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_45_9644.jpg
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_01_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002747","1397002752","1397002755","1397002749","1397002746","1397002745"],"photo_ids_order":["1397002745","1397002746","1397002747","1397002749","1397002752","1397002755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e04b1baf7d35db09f8b8be17a644414.jpg","text":"TemporaryFile(/tmp/multipartBody7285724309896739465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cb1b9b64201185eeca5ed4108e48765.jpg","text":"TemporaryFile(/tmp/multipartBody7729497131650243868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a2e596b2d9a7e52c621e624fb5a9b65.jpg","text":"TemporaryFile(/tmp/multipartBody339804717080699264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f95cf8b0ffa76266b82cc668f13fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody171098432162258445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_35_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95ea374f77c19f20a360060629e7f90c.jpg","text":"TemporaryFile(/tmp/multipartBody6831096456578577355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ddca17b78cc4a94c88627799293a086.jpg","text":"TemporaryFile(/tmp/multipartBody2525674108439856724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462063580,"filename":"image_30112025_01_01_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002747","file1":"1397002746","file0":"1397002745","file4":"1397002752","file5":"1397002755","file3":"1397002749"},"map_files_photo_id_array":[{"photo_id":"1397002755","filename":"file5"},{"photo_id":"1397002747","filename":"file2"},{"photo_id":"1397002752","filename":"file4"},{"photo_id":"1397002746","filename":"file1"},{"photo_id":"1397002745","filename":"file0"},{"photo_id":"1397002749","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002747":["hashtag1","hashtag2"]},{"1397002752":["hashtag1","hashtag2"]},{"1397002755":["hashtag1","hashtag2"]},{"1397002749":["hashtag1","hashtag2"]},{"1397002746":["hashtag1","hashtag2"]},{"1397002745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002747, 1397002752, 1397002755, 1397002749, 1397002746, 1397002745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.312408208847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:21:03.394923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/01/image_30112025_01_02_05_10626.jpg', '/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_15_10142.jpg', '/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_25_9770.jpg', '/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_35_9773.jpg', '/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_44_9574.jpg', '/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_55_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/01/image_30112025_01_02_05_10626.jpg
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_15_10142.jpg
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_25_9770.jpg
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_35_9773.jpg
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_44_9574.jpg
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_02_55_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002770","1397002761","1397002764","1397002763","1397002766","1397002762"],"photo_ids_order":["1397002761","1397002762","1397002763","1397002764","1397002766","1397002770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/506b1c2163f50ac2041b86e97d88e111.jpg","text":"TemporaryFile(/tmp/multipartBody7563417480023357218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03036d7d8e7298ad5b746cb4f79e8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1253295423314319263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe5c595f61d2ac4346dd7ec5456ad873.jpg","text":"TemporaryFile(/tmp/multipartBody3305899972292704470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cd2a1f4bd064244911521c3aefb33e9.jpg","text":"TemporaryFile(/tmp/multipartBody8319137497668401393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5143c7bac476aeb2fc8d6f80e579ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody6128258773950870717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e0d104e1a2c65e6681ad83c9db2ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody3219603964879097672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462124129,"filename":"image_30112025_01_02_15_10142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002763","file1":"1397002762","file0":"1397002761","file4":"1397002766","file5":"1397002770","file3":"1397002764"},"map_files_photo_id_array":[{"photo_id":"1397002770","filename":"file5"},{"photo_id":"1397002763","filename":"file2"},{"photo_id":"1397002766","filename":"file4"},{"photo_id":"1397002762","filename":"file1"},{"photo_id":"1397002761","filename":"file0"},{"photo_id":"1397002764","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002770":["hashtag1","hashtag2"]},{"1397002761":["hashtag1","hashtag2"]},{"1397002764":["hashtag1","hashtag2"]},{"1397002763":["hashtag1","hashtag2"]},{"1397002766":["hashtag1","hashtag2"]},{"1397002762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002770, 1397002761, 1397002764, 1397002763, 1397002766, 1397002762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.235474586486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:21:42.711219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/18/image_31102025_11_18_55_2684.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_58_2729.jpg', '/home/pi/Desktop/images/31102025/11/18/image_31102025_11_19_01_3705.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_07_2632.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_10_3657.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_13_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/11/18/image_31102025_11_18_55_2684.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_18_58_2729.jpg
/home/pi/Desktop/images/31102025/11/18/image_31102025_11_19_01_3705.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_07_2632.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_10_3657.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_13_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":["1397002779","1397002776","1397002775","1397002778","1397002774","1397002777"],"photo_ids_order":["1397002774","1397002775","1397002776","1397002777","1397002778","1397002779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6544baebf641c66fe3021930eae77221.jpg","text":"TemporaryFile(/tmp/multipartBody737737012125627680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_19_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/30/788dfc9ca8bae9a5b9f43587447a595a.jpg","text":"TemporaryFile(/tmp/multipartBody4919703609231183256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_19_01_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/30/cb917b14a1a80f93db15a5735ae8fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody76802281796409053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_18_58_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/30/3c1bd297740b98407d5291d62260a292.jpg","text":"TemporaryFile(/tmp/multipartBody8619374902439615800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_19_10_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/30/c61c3063fd48037b16cc67c3b4688934.jpg","text":"TemporaryFile(/tmp/multipartBody6251597114623510494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_18_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d87f9bd1de78a43e10253f4b27a6605.jpg","text":"TemporaryFile(/tmp/multipartBody6556513224861564135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462163682,"filename":"image_31102025_11_19_07_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002776","file1":"1397002775","file0":"1397002774","file4":"1397002778","file5":"1397002779","file3":"1397002777"},"map_files_photo_id_array":[{"photo_id":"1397002779","filename":"file5"},{"photo_id":"1397002776","filename":"file2"},{"photo_id":"1397002778","filename":"file4"},{"photo_id":"1397002775","filename":"file1"},{"photo_id":"1397002774","filename":"file0"},{"photo_id":"1397002777","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002779":["hashtag1","hashtag2"]},{"1397002776":["hashtag1","hashtag2"]},{"1397002775":["hashtag1","hashtag2"]},{"1397002778":["hashtag1","hashtag2"]},{"1397002774":["hashtag1","hashtag2"]},{"1397002777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002779, 1397002776, 1397002775, 1397002778, 1397002774, 1397002777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01140570640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:22:21.866360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/02/image_30112025_01_03_04_9627.jpg', '/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_14_9671.jpg', '/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_25_10534.jpg', '/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_34_9679.jpg', '/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_45_10649.jpg', '/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_55_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/02/image_30112025_01_03_04_9627.jpg
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_14_9671.jpg
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_25_10534.jpg
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_34_9679.jpg
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_45_10649.jpg
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_03_55_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002788","1397002790","1397002784","1397002792","1397002786","1397002783"],"photo_ids_order":["1397002783","1397002784","1397002786","1397002788","1397002790","1397002792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/665ad4aee22f74d6fb75ac5c07c8ab59.jpg","text":"TemporaryFile(/tmp/multipartBody6795871320548952487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c47baf416495ef23dead6e7f2f046fb.jpg","text":"TemporaryFile(/tmp/multipartBody7221125739671489089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5400bb9f0ec45fef64b4a14365ed23f.jpg","text":"TemporaryFile(/tmp/multipartBody6229123612352872812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a74595916b2574ecc1a1e8498b979cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8150437538032453064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_55_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a59d643e82aa889c40d1dce51ef76da.jpg","text":"TemporaryFile(/tmp/multipartBody1424101101277131282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_25_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31e46da17f71ff520adbfde8eb028997.jpg","text":"TemporaryFile(/tmp/multipartBody2055346717752620560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462202564,"filename":"image_30112025_01_03_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002786","file1":"1397002784","file0":"1397002783","file4":"1397002790","file5":"1397002792","file3":"1397002788"},"map_files_photo_id_array":[{"photo_id":"1397002792","filename":"file5"},{"photo_id":"1397002786","filename":"file2"},{"photo_id":"1397002790","filename":"file4"},{"photo_id":"1397002784","filename":"file1"},{"photo_id":"1397002783","filename":"file0"},{"photo_id":"1397002788","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002788":["hashtag1","hashtag2"]},{"1397002790":["hashtag1","hashtag2"]},{"1397002784":["hashtag1","hashtag2"]},{"1397002792":["hashtag1","hashtag2"]},{"1397002786":["hashtag1","hashtag2"]},{"1397002783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002788, 1397002790, 1397002784, 1397002792, 1397002786, 1397002783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66560626029968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:23:02.840629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/03/image_30112025_01_04_04_9694.jpg', '/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_15_10629.jpg', '/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_25_9810.jpg', '/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_34_9548.jpg', '/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_45_10518.jpg', '/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_55_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/03/image_30112025_01_04_04_9694.jpg
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_15_10629.jpg
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_25_9810.jpg
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_34_9548.jpg
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_45_10518.jpg
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_04_55_10017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002797","1397002794","1397002803","1397002796","1397002799","1397002795"],"photo_ids_order":["1397002794","1397002795","1397002796","1397002797","1397002799","1397002803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e807773f25fd680c7f527e1a14ca8c32.jpg","text":"TemporaryFile(/tmp/multipartBody2971935109208740251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b96177e1e36e180f4d6fd34bdb19cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6897743866614942359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7e1eef096a4fb7e13b3feb1f1f694f6.jpg","text":"TemporaryFile(/tmp/multipartBody4493141965370886768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_55_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bca5b6ce98a2465a3d12f3a18e5fdacf.jpg","text":"TemporaryFile(/tmp/multipartBody8710536386173198210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_25_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40abbfddcefde93084e31c925a7c330b.jpg","text":"TemporaryFile(/tmp/multipartBody3406682500929124669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_45_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfc9d5f0dabdac3604af986adabef324.jpg","text":"TemporaryFile(/tmp/multipartBody2617593396633828915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462243617,"filename":"image_30112025_01_04_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002796","file1":"1397002795","file0":"1397002794","file4":"1397002799","file5":"1397002803","file3":"1397002797"},"map_files_photo_id_array":[{"photo_id":"1397002803","filename":"file5"},{"photo_id":"1397002796","filename":"file2"},{"photo_id":"1397002799","filename":"file4"},{"photo_id":"1397002795","filename":"file1"},{"photo_id":"1397002794","filename":"file0"},{"photo_id":"1397002797","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002797":["hashtag1","hashtag2"]},{"1397002794":["hashtag1","hashtag2"]},{"1397002803":["hashtag1","hashtag2"]},{"1397002796":["hashtag1","hashtag2"]},{"1397002799":["hashtag1","hashtag2"]},{"1397002795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002797, 1397002794, 1397002803, 1397002796, 1397002799, 1397002795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23546576499939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:23:42.143910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/19/image_31102025_11_19_16_2868.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_19_2675.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_22_3770.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_25_2812.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_28_2577.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_31_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_16_2868.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_19_2675.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_22_3770.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_25_2812.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_28_2577.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_31_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002816","1397002815","1397002818","1397002809","1397002814","1397002817"],"photo_ids_order":["1397002809","1397002814","1397002815","1397002816","1397002817","1397002818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2c6503796b09fbf340f637798ce4191.jpg","text":"TemporaryFile(/tmp/multipartBody200187452824126480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_25_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/30/c202cb4f603c1f4f31a8bccb7c46aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody2786871536234059103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_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/30/e5264e4f613cffb13b693ca0798af6a1.jpg","text":"TemporaryFile(/tmp/multipartBody4318246025985635563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_31_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cdfc25042809e14f173d816293995b3.jpg","text":"TemporaryFile(/tmp/multipartBody5815881215895655782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_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/30/9611e52e7b8c5cda17c743bfb2735b55.jpg","text":"TemporaryFile(/tmp/multipartBody5692073119838967047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_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/30/90635ab8e01ac8347a81e3c18c3577d7.jpg","text":"TemporaryFile(/tmp/multipartBody8184937581999206514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462283112,"filename":"image_31102025_11_19_28_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002815","file1":"1397002814","file0":"1397002809","file4":"1397002817","file5":"1397002818","file3":"1397002816"},"map_files_photo_id_array":[{"photo_id":"1397002818","filename":"file5"},{"photo_id":"1397002815","filename":"file2"},{"photo_id":"1397002817","filename":"file4"},{"photo_id":"1397002814","filename":"file1"},{"photo_id":"1397002809","filename":"file0"},{"photo_id":"1397002816","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002816":["hashtag1","hashtag2"]},{"1397002815":["hashtag1","hashtag2"]},{"1397002818":["hashtag1","hashtag2"]},{"1397002809":["hashtag1","hashtag2"]},{"1397002814":["hashtag1","hashtag2"]},{"1397002817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002816, 1397002815, 1397002818, 1397002809, 1397002814, 1397002817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87414789199829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:24:22.337655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/04/image_30112025_01_05_05_9766.jpg', '/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_14_9722.jpg', '/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_25_10471.jpg', '/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_34_9527.jpg', '/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_45_10587.jpg', '/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/04/image_30112025_01_05_05_9766.jpg
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_14_9722.jpg
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_25_10471.jpg
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_34_9527.jpg
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_45_10587.jpg
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_05_55_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002822","1397002831","1397002828","1397002830","1397002824","1397002826"],"photo_ids_order":["1397002822","1397002824","1397002826","1397002828","1397002830","1397002831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab33eac71d9386c9ae3375070174c8df.jpg","text":"TemporaryFile(/tmp/multipartBody3464402796422162633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7e43cfdf95c7f335a0e8bff444fe7dd.jpg","text":"TemporaryFile(/tmp/multipartBody7607457801782743608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/818257a1bf26379ef676208d6e0d5802.jpg","text":"TemporaryFile(/tmp/multipartBody9126936094605410462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30113df01c3e35b92e9168dbdd65c834.jpg","text":"TemporaryFile(/tmp/multipartBody7304872998163339285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8c860c54478e8076748ec7849cf3928.jpg","text":"TemporaryFile(/tmp/multipartBody7621125793919954757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2999bc926fe51130e00e27e0a81247bc.jpg","text":"TemporaryFile(/tmp/multipartBody4747314723565803416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462323041,"filename":"image_30112025_01_05_25_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002826","file1":"1397002824","file0":"1397002822","file4":"1397002830","file5":"1397002831","file3":"1397002828"},"map_files_photo_id_array":[{"photo_id":"1397002831","filename":"file5"},{"photo_id":"1397002826","filename":"file2"},{"photo_id":"1397002830","filename":"file4"},{"photo_id":"1397002824","filename":"file1"},{"photo_id":"1397002822","filename":"file0"},{"photo_id":"1397002828","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002822":["hashtag1","hashtag2"]},{"1397002831":["hashtag1","hashtag2"]},{"1397002828":["hashtag1","hashtag2"]},{"1397002830":["hashtag1","hashtag2"]},{"1397002824":["hashtag1","hashtag2"]},{"1397002826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002822, 1397002831, 1397002828, 1397002830, 1397002824, 1397002826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99281454086304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:25:03.163656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/05/image_30112025_01_06_04_9737.jpg', '/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_14_9581.jpg', '/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_25_10649.jpg', '/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_34_9635.jpg', '/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_45_10667.jpg', '/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/05/image_30112025_01_06_04_9737.jpg
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_14_9581.jpg
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_25_10649.jpg
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_34_9635.jpg
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_45_10667.jpg
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_06_55_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002837","1397002834","1397002833","1397002832","1397002841","1397002835"],"photo_ids_order":["1397002832","1397002833","1397002834","1397002835","1397002837","1397002841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f85edda8d37f98be4126cc3c6180209.jpg","text":"TemporaryFile(/tmp/multipartBody8203578381649283490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b360780bd0d01473acb9571d6e47b28.jpg","text":"TemporaryFile(/tmp/multipartBody7864298805648603369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/633a87d92c13ee89ce38fe357771a02a.jpg","text":"TemporaryFile(/tmp/multipartBody5130856907280688699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fd1ca6c835533f171048d3d10e05ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8588381494272611875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a4bff0a94bc6788f51ffe50fc4dacdd.jpg","text":"TemporaryFile(/tmp/multipartBody496365895705182677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/930c905aaa5a63e608b86fda9bff0417.jpg","text":"TemporaryFile(/tmp/multipartBody5424265612130690899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462363954,"filename":"image_30112025_01_06_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002834","file1":"1397002833","file0":"1397002832","file4":"1397002837","file5":"1397002841","file3":"1397002835"},"map_files_photo_id_array":[{"photo_id":"1397002841","filename":"file5"},{"photo_id":"1397002834","filename":"file2"},{"photo_id":"1397002837","filename":"file4"},{"photo_id":"1397002833","filename":"file1"},{"photo_id":"1397002832","filename":"file0"},{"photo_id":"1397002835","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002837":["hashtag1","hashtag2"]},{"1397002834":["hashtag1","hashtag2"]},{"1397002833":["hashtag1","hashtag2"]},{"1397002832":["hashtag1","hashtag2"]},{"1397002841":["hashtag1","hashtag2"]},{"1397002835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002837, 1397002834, 1397002833, 1397002832, 1397002841, 1397002835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10182785987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:25:42.522636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/19/image_31102025_11_19_34_2828.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_37_2722.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_40_2713.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_43_3773.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_46_2590.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_49_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_34_2828.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_37_2722.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_40_2713.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_43_3773.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_46_2590.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_49_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002852","1397002851","1397002848","1397002850","1397002853","1397002849"],"photo_ids_order":["1397002848","1397002849","1397002850","1397002851","1397002852","1397002853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/341faf7cf3dae9f95e81a65c93c74c14.jpg","text":"TemporaryFile(/tmp/multipartBody9169986424958379378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_19_46_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/30/ff6518d0c7c4eab73ddb15d5ec20f574.jpg","text":"TemporaryFile(/tmp/multipartBody4705697303721580587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_19_43_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/30/fb31676ed3fd9d5df210eee12c65cc16.jpg","text":"TemporaryFile(/tmp/multipartBody7919072377815366230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_19_34_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/30/6489db025bdf424c1b8af3cb05b1d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8342483467249531332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_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/30/3f7c4810aefe58b3a378195738664e65.jpg","text":"TemporaryFile(/tmp/multipartBody4914784314098394430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_19_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/30/5bedf493af6843bec4ece0acf6aba433.jpg","text":"TemporaryFile(/tmp/multipartBody2709308849394299258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462403513,"filename":"image_31102025_11_19_37_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002850","file1":"1397002849","file0":"1397002848","file4":"1397002852","file5":"1397002853","file3":"1397002851"},"map_files_photo_id_array":[{"photo_id":"1397002853","filename":"file5"},{"photo_id":"1397002850","filename":"file2"},{"photo_id":"1397002852","filename":"file4"},{"photo_id":"1397002849","filename":"file1"},{"photo_id":"1397002848","filename":"file0"},{"photo_id":"1397002851","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002852":["hashtag1","hashtag2"]},{"1397002851":["hashtag1","hashtag2"]},{"1397002848":["hashtag1","hashtag2"]},{"1397002850":["hashtag1","hashtag2"]},{"1397002853":["hashtag1","hashtag2"]},{"1397002849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002852, 1397002851, 1397002848, 1397002850, 1397002853, 1397002849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8937783241272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:26:22.712440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/06/image_30112025_01_07_04_9682.jpg', '/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_14_9804.jpg', '/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_24_9853.jpg', '/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_35_10629.jpg', '/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_44_9589.jpg', '/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/06/image_30112025_01_07_04_9682.jpg
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_14_9804.jpg
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_24_9853.jpg
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_35_10629.jpg
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_44_9589.jpg
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_07_55_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002858","1397002869","1397002863","1397002856","1397002865","1397002861"],"photo_ids_order":["1397002856","1397002858","1397002861","1397002863","1397002865","1397002869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6177ee8b88f714bbbdb12361484ac888.jpg","text":"TemporaryFile(/tmp/multipartBody1598768127352313289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db110c8061f8c3703c0ddfa0fcc2f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody5647386634077242328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b3574d8ec60924ec50a90eeade7fac5.jpg","text":"TemporaryFile(/tmp/multipartBody4918985316190764615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2bbefb216bdf5f5b432264b5950af56e.jpg","text":"TemporaryFile(/tmp/multipartBody306620506388628155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a324afc73b515d18e4184f240473448b.jpg","text":"TemporaryFile(/tmp/multipartBody7899217564603406992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e477d7b4edc2626026b3a5b3d7d8aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody6431747083664947574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462443426,"filename":"image_30112025_01_07_24_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002861","file1":"1397002858","file0":"1397002856","file4":"1397002865","file5":"1397002869","file3":"1397002863"},"map_files_photo_id_array":[{"photo_id":"1397002869","filename":"file5"},{"photo_id":"1397002861","filename":"file2"},{"photo_id":"1397002865","filename":"file4"},{"photo_id":"1397002858","filename":"file1"},{"photo_id":"1397002856","filename":"file0"},{"photo_id":"1397002863","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002858":["hashtag1","hashtag2"]},{"1397002869":["hashtag1","hashtag2"]},{"1397002863":["hashtag1","hashtag2"]},{"1397002856":["hashtag1","hashtag2"]},{"1397002865":["hashtag1","hashtag2"]},{"1397002861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002858, 1397002869, 1397002863, 1397002856, 1397002865, 1397002861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31122303009033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:27:02.699627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/07/image_30112025_01_08_05_9596.jpg', '/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_14_9670.jpg', '/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_25_10627.jpg', '/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_35_9800.jpg', '/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_44_9614.jpg', '/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_55_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/07/image_30112025_01_08_05_9596.jpg
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_14_9670.jpg
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_25_10627.jpg
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_35_9800.jpg
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_44_9614.jpg
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_08_55_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002875","1397002880","1397002874","1397002883","1397002877","1397002876"],"photo_ids_order":["1397002874","1397002875","1397002876","1397002877","1397002880","1397002883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6df537b7688003ac64e10409c4d16e5.jpg","text":"TemporaryFile(/tmp/multipartBody8579169833963685213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e85d62b59103b4e200fac7b9a9387db6.jpg","text":"TemporaryFile(/tmp/multipartBody1165042213841831441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f03dcaeec6be39f0841e3fb99a3b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7342369029260192542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f662cf5b255dc9f07a9ea1701517ea9.jpg","text":"TemporaryFile(/tmp/multipartBody4272505289011069320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_55_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88922b7eb13723f7e0758c46ef4592d8.jpg","text":"TemporaryFile(/tmp/multipartBody3252137557958729844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30924ef5105878c97c7634f548c92f28.jpg","text":"TemporaryFile(/tmp/multipartBody3613023311414200432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462483458,"filename":"image_30112025_01_08_25_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002876","file1":"1397002875","file0":"1397002874","file4":"1397002880","file5":"1397002883","file3":"1397002877"},"map_files_photo_id_array":[{"photo_id":"1397002883","filename":"file5"},{"photo_id":"1397002876","filename":"file2"},{"photo_id":"1397002880","filename":"file4"},{"photo_id":"1397002875","filename":"file1"},{"photo_id":"1397002874","filename":"file0"},{"photo_id":"1397002877","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002875":["hashtag1","hashtag2"]},{"1397002880":["hashtag1","hashtag2"]},{"1397002874":["hashtag1","hashtag2"]},{"1397002883":["hashtag1","hashtag2"]},{"1397002877":["hashtag1","hashtag2"]},{"1397002876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002875, 1397002880, 1397002874, 1397002883, 1397002877, 1397002876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.958144426345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:27:41.958358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/19/image_31102025_11_19_52_3653.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_55_2740.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_58_2774.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_08_3012.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_12_3764.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_14_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_52_3653.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_55_2740.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_58_2774.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_08_3012.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_12_3764.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_14_2594.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8324868679046631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:28:02.583254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/08/image_30112025_01_09_04_9582.jpg', '/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_15_10575.jpg', '/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_25_9720.jpg', '/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_34_9700.jpg', '/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_44_9684.jpg', '/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_55_10516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/08/image_30112025_01_09_04_9582.jpg
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_15_10575.jpg
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_25_9720.jpg
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_34_9700.jpg
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_44_9684.jpg
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_09_55_10516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002900","1397002899","1397002902","1397002895","1397002898","1397002897"],"photo_ids_order":["1397002895","1397002897","1397002898","1397002899","1397002900","1397002902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b075e5f4c4cf21d9fdf7a1702e9ee374.jpg","text":"TemporaryFile(/tmp/multipartBody605213953892413618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76290b6cdb1b0fae06eaea754079effb.jpg","text":"TemporaryFile(/tmp/multipartBody7780740062089413336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8e2e2b5ca729726441a34121eb7843b.jpg","text":"TemporaryFile(/tmp/multipartBody4301299586145951468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_55_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c6c2e00a441c25eb308be96f629f22b.jpg","text":"TemporaryFile(/tmp/multipartBody3492106034609972865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06727d954663b9137b82feb74a6427e0.jpg","text":"TemporaryFile(/tmp/multipartBody10015335305454645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88910535930b24e274e39a7fa0600cfd.jpg","text":"TemporaryFile(/tmp/multipartBody5380869438261644030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462543293,"filename":"image_30112025_01_09_15_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002898","file1":"1397002897","file0":"1397002895","file4":"1397002900","file5":"1397002902","file3":"1397002899"},"map_files_photo_id_array":[{"photo_id":"1397002902","filename":"file5"},{"photo_id":"1397002898","filename":"file2"},{"photo_id":"1397002900","filename":"file4"},{"photo_id":"1397002897","filename":"file1"},{"photo_id":"1397002895","filename":"file0"},{"photo_id":"1397002899","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002900":["hashtag1","hashtag2"]},{"1397002899":["hashtag1","hashtag2"]},{"1397002902":["hashtag1","hashtag2"]},{"1397002895":["hashtag1","hashtag2"]},{"1397002898":["hashtag1","hashtag2"]},{"1397002897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002900, 1397002899, 1397002902, 1397002895, 1397002898, 1397002897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17337512969971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:28:42.117270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/19/image_31102025_11_19_52_3653.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_55_2740.jpg', '/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_58_2774.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_08_3012.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_12_3764.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_14_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_52_3653.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_55_2740.jpg
/home/pi/Desktop/images/31102025/11/19/image_31102025_11_19_58_2774.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_08_3012.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_12_3764.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_14_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":["1397002912","1397002909","1397002911","1397002908","1397002910","1397002907"],"photo_ids_order":["1397002907","1397002908","1397002909","1397002910","1397002911","1397002912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/257b30f5c3461124e0492cf1282ad16c.jpg","text":"TemporaryFile(/tmp/multipartBody6772019268213185305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_20_14_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7274b46262c5d51318bd4d51b91e783c.jpg","text":"TemporaryFile(/tmp/multipartBody2423522791531248673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_19_58_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/30/7f2e79228de010e6fa0bed3aba6ee27a.jpg","text":"TemporaryFile(/tmp/multipartBody2512837580908847634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_20_12_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a4003185c508fbac436843fb650297b.jpg","text":"TemporaryFile(/tmp/multipartBody6958253194212223534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_19_55_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3569bfa0713805676be09d8b2828265d.jpg","text":"TemporaryFile(/tmp/multipartBody4078533130499461948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_20_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ada409a227d8a322137ef2fc6596762d.jpg","text":"TemporaryFile(/tmp/multipartBody7251220663658047773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462582987,"filename":"image_31102025_11_19_52_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002909","file1":"1397002908","file0":"1397002907","file4":"1397002911","file5":"1397002912","file3":"1397002910"},"map_files_photo_id_array":[{"photo_id":"1397002912","filename":"file5"},{"photo_id":"1397002909","filename":"file2"},{"photo_id":"1397002911","filename":"file4"},{"photo_id":"1397002908","filename":"file1"},{"photo_id":"1397002907","filename":"file0"},{"photo_id":"1397002910","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002912":["hashtag1","hashtag2"]},{"1397002909":["hashtag1","hashtag2"]},{"1397002911":["hashtag1","hashtag2"]},{"1397002908":["hashtag1","hashtag2"]},{"1397002910":["hashtag1","hashtag2"]},{"1397002907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002912, 1397002909, 1397002911, 1397002908, 1397002910, 1397002907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56167769432068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:29:22.446648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/09/image_30112025_01_10_04_9702.jpg', '/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_14_10006.jpg', '/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_25_10656.jpg', '/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_35_9623.jpg', '/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_55_10645.jpg', '/home/pi/Desktop/images/30112025/01/10/image_30112025_01_11_05_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/09/image_30112025_01_10_04_9702.jpg
/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_14_10006.jpg
/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_25_10656.jpg
/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_35_9623.jpg
/home/pi/Desktop/images/30112025/01/10/image_30112025_01_10_55_10645.jpg
/home/pi/Desktop/images/30112025/01/10/image_30112025_01_11_05_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002924","1397002915","1397002926","1397002925","1397002919","1397002922"],"photo_ids_order":["1397002915","1397002919","1397002922","1397002924","1397002925","1397002926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a99c1b989af7f1ae0de7cc871f2d2693.jpg","text":"TemporaryFile(/tmp/multipartBody3879074383740403983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_10_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7acba7953edafffa23d3940dd946ed2.jpg","text":"TemporaryFile(/tmp/multipartBody732985411555457303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_10_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1796dbaf7483ce186b1d4b7be0249d1.jpg","text":"TemporaryFile(/tmp/multipartBody5751994455747408725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_11_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f1c6611262146cef7deba31949bf9a1.jpg","text":"TemporaryFile(/tmp/multipartBody3860711238177875992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_10_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8c25be648613df1aaed9144e8c6f580.jpg","text":"TemporaryFile(/tmp/multipartBody6624628724066200902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_10_14_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b19c4e422cfb492fde5023439a0b5e62.jpg","text":"TemporaryFile(/tmp/multipartBody1995774344557152520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462623123,"filename":"image_30112025_01_10_25_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002922","file1":"1397002919","file0":"1397002915","file4":"1397002925","file5":"1397002926","file3":"1397002924"},"map_files_photo_id_array":[{"photo_id":"1397002926","filename":"file5"},{"photo_id":"1397002922","filename":"file2"},{"photo_id":"1397002925","filename":"file4"},{"photo_id":"1397002919","filename":"file1"},{"photo_id":"1397002915","filename":"file0"},{"photo_id":"1397002924","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002924":["hashtag1","hashtag2"]},{"1397002915":["hashtag1","hashtag2"]},{"1397002926":["hashtag1","hashtag2"]},{"1397002925":["hashtag1","hashtag2"]},{"1397002919":["hashtag1","hashtag2"]},{"1397002922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002924, 1397002915, 1397002926, 1397002925, 1397002919, 1397002922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.976564168930054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:30:03.127826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_14_9717.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_25_10610.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_34_9567.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_44_9694.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_55_10591.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_12_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_14_9717.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_25_10610.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_34_9567.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_44_9694.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_55_10591.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_12_04_9697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6280794143676758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:30:12.570356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_38_2808.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_40_2587.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_43_2806.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_47_3774.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_52_5285.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_54_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_38_2808.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_40_2587.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_43_2806.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_47_3774.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_52_5285.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_54_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002939","1397002930","1397002933","1397002941","1397002943","1397002937"],"photo_ids_order":["1397002930","1397002933","1397002937","1397002939","1397002941","1397002943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65baf0ccaa4bf840192fc4dad73699bd.jpg","text":"TemporaryFile(/tmp/multipartBody7363093360069888022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_47_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/30/77bdea87387e6d135eb5ff9980729ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3304725571871493443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_38_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/30/446c1b82611566835fa152031cb90c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5582245254369994645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_40_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de9f3a6a69ffac0672372af15b12e5c7.jpg","text":"TemporaryFile(/tmp/multipartBody77115563922664048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_52_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/30/73b70a140e5e8553af1fe1c4b3ad8540.jpg","text":"TemporaryFile(/tmp/multipartBody2806321375824780569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_54_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/30/e30ad147f468df7b74ea8fc0caa3d770.jpg","text":"TemporaryFile(/tmp/multipartBody5858671200962219617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462674424,"filename":"image_25112025_19_29_43_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002937","file1":"1397002933","file0":"1397002930","file4":"1397002941","file5":"1397002943","file3":"1397002939"},"map_files_photo_id_array":[{"photo_id":"1397002943","filename":"file5"},{"photo_id":"1397002937","filename":"file2"},{"photo_id":"1397002941","filename":"file4"},{"photo_id":"1397002933","filename":"file1"},{"photo_id":"1397002930","filename":"file0"},{"photo_id":"1397002939","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397002939":["hashtag1","hashtag2"]},{"1397002930":["hashtag1","hashtag2"]},{"1397002933":["hashtag1","hashtag2"]},{"1397002941":["hashtag1","hashtag2"]},{"1397002943":["hashtag1","hashtag2"]},{"1397002937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397002939, 1397002930, 1397002933, 1397002941, 1397002943, 1397002937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.472482442855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:31:02.643914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_14_9717.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_25_10610.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_34_9567.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_44_9694.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_55_10591.jpg', '/home/pi/Desktop/images/30112025/01/11/image_30112025_01_12_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_14_9717.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_25_10610.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_34_9567.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_44_9694.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_11_55_10591.jpg
/home/pi/Desktop/images/30112025/01/11/image_30112025_01_12_04_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397002945","1397002947","1397002952","1397002946","1397002949","1397002954"],"photo_ids_order":["1397002945","1397002946","1397002947","1397002949","1397002952","1397002954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fc5faa89e3df78689056511ac0c4939.jpg","text":"TemporaryFile(/tmp/multipartBody2649886749803487796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_11_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60b9f2652e6a0fd55be5804dde3721c4.jpg","text":"TemporaryFile(/tmp/multipartBody5630519432704061202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_11_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb335db94b4408daf22306110f747269.jpg","text":"TemporaryFile(/tmp/multipartBody2910479873308222401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_11_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b5445794bc0b249e0ac11641c7ac60c.jpg","text":"TemporaryFile(/tmp/multipartBody3881184757215901408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_11_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6aff20cb62a3bab7e89bb17a8883a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody7884442007496888715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_11_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4a197084124366c73a688637824db49.jpg","text":"TemporaryFile(/tmp/multipartBody861965172423010921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462723777,"filename":"image_30112025_01_12_04_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002947","file1":"1397002946","file0":"1397002945","file4":"1397002952","file5":"1397002954","file3":"1397002949"},"map_files_photo_id_array":[{"photo_id":"1397002954","filename":"file5"},{"photo_id":"1397002947","filename":"file2"},{"photo_id":"1397002952","filename":"file4"},{"photo_id":"1397002946","filename":"file1"},{"photo_id":"1397002945","filename":"file0"},{"photo_id":"1397002949","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002945":["hashtag1","hashtag2"]},{"1397002947":["hashtag1","hashtag2"]},{"1397002952":["hashtag1","hashtag2"]},{"1397002946":["hashtag1","hashtag2"]},{"1397002949":["hashtag1","hashtag2"]},{"1397002954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002945, 1397002947, 1397002952, 1397002946, 1397002949, 1397002954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.63119149208069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:32:02.622670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_14_9726.jpg', '/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_25_10641.jpg', '/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_35_9819.jpg', '/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_44_9854.jpg', '/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_54_9780.jpg', '/home/pi/Desktop/images/30112025/01/12/image_30112025_01_13_05_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_14_9726.jpg
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_25_10641.jpg
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_35_9819.jpg
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_44_9854.jpg
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_12_54_9780.jpg
/home/pi/Desktop/images/30112025/01/12/image_30112025_01_13_05_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002963","1397002957","1397002959","1397002956","1397002961","1397002958"],"photo_ids_order":["1397002956","1397002957","1397002958","1397002959","1397002961","1397002963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b725e5761e163d59394da04506f1f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8209640789126460425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_13_05_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b7084480fdfb1b07d9816ca99f4e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody1893669177258284177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_12_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d5c76534e76280fd49282cbcfcb6234.jpg","text":"TemporaryFile(/tmp/multipartBody8376482200593365557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_12_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea81e4893c0a09055e1d03af185370de.jpg","text":"TemporaryFile(/tmp/multipartBody4406000060627332403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_12_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8150f57f283f1ab8b73c365ca85df99d.jpg","text":"TemporaryFile(/tmp/multipartBody4755822248946983329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_12_54_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/570f0019d615b589e7b36c607b0ce6d5.jpg","text":"TemporaryFile(/tmp/multipartBody1108968022433461321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462783468,"filename":"image_30112025_01_12_35_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002958","file1":"1397002957","file0":"1397002956","file4":"1397002961","file5":"1397002963","file3":"1397002959"},"map_files_photo_id_array":[{"photo_id":"1397002963","filename":"file5"},{"photo_id":"1397002958","filename":"file2"},{"photo_id":"1397002961","filename":"file4"},{"photo_id":"1397002957","filename":"file1"},{"photo_id":"1397002956","filename":"file0"},{"photo_id":"1397002959","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002963":["hashtag1","hashtag2"]},{"1397002957":["hashtag1","hashtag2"]},{"1397002959":["hashtag1","hashtag2"]},{"1397002956":["hashtag1","hashtag2"]},{"1397002961":["hashtag1","hashtag2"]},{"1397002958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002963, 1397002957, 1397002959, 1397002956, 1397002961, 1397002958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41446352005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:32:42.122518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/20/image_31102025_11_20_20_3671.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_23_2699.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_26_2896.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_30_3688.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_32_2097.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_36_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_20_3671.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_23_2699.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_26_2896.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_30_3688.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_32_2097.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_36_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002971","1397002974","1397002968","1397002973","1397002970","1397002972"],"photo_ids_order":["1397002968","1397002970","1397002971","1397002972","1397002973","1397002974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fabcd49ffb3ed6870a4e364ca28642e.jpg","text":"TemporaryFile(/tmp/multipartBody8533713562648956263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_26_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/30/0138a2dd9cd1a0a11074869aa35771de.jpg","text":"TemporaryFile(/tmp/multipartBody1639422517442185945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_36_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/30/31549d9bd289aff509515c81204e0360.jpg","text":"TemporaryFile(/tmp/multipartBody1037650054394486356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_20_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/30/6b26d1516ec3c07092d5c5c56fceb8b3.jpg","text":"TemporaryFile(/tmp/multipartBody1458588028811729615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_32_2097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1270ff73807cb713cbe71a189e5a98d9.jpg","text":"TemporaryFile(/tmp/multipartBody7218620485865781963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_23_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32ddb4efa1148ced4121b6c6333818ab.jpg","text":"TemporaryFile(/tmp/multipartBody3855741736672211926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462823046,"filename":"image_31102025_11_20_30_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002971","file1":"1397002970","file0":"1397002968","file4":"1397002973","file5":"1397002974","file3":"1397002972"},"map_files_photo_id_array":[{"photo_id":"1397002974","filename":"file5"},{"photo_id":"1397002971","filename":"file2"},{"photo_id":"1397002973","filename":"file4"},{"photo_id":"1397002970","filename":"file1"},{"photo_id":"1397002968","filename":"file0"},{"photo_id":"1397002972","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397002971":["hashtag1","hashtag2"]},{"1397002974":["hashtag1","hashtag2"]},{"1397002968":["hashtag1","hashtag2"]},{"1397002973":["hashtag1","hashtag2"]},{"1397002970":["hashtag1","hashtag2"]},{"1397002972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397002971, 1397002974, 1397002968, 1397002973, 1397002970, 1397002972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50521373748779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:33:22.532009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_15_9750.jpg', '/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_24_9724.jpg', '/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_35_10725.jpg', '/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_45_9572.jpg', '/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_54_9565.jpg', '/home/pi/Desktop/images/30112025/01/13/image_30112025_01_14_05_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_15_9750.jpg
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_24_9724.jpg
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_35_10725.jpg
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_45_9572.jpg
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_13_54_9565.jpg
/home/pi/Desktop/images/30112025/01/13/image_30112025_01_14_05_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002978","1397002989","1397002986","1397002988","1397002984","1397002981"],"photo_ids_order":["1397002978","1397002981","1397002984","1397002986","1397002988","1397002989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/802cb32193dbb5a171dc93144886d44c.jpg","text":"TemporaryFile(/tmp/multipartBody6142651046355333355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_13_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a3c9f058adb7d52cbb108e779164a61.jpg","text":"TemporaryFile(/tmp/multipartBody6045334775196474587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_14_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43e01d2c8317fbffbc0107b7f3a9f41a.jpg","text":"TemporaryFile(/tmp/multipartBody3806497655082175387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_13_45_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98ae5efab787ab1923866e4d66599fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5130790457673723604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_13_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/355383dab4c2dde1d87e76ca6d422292.jpg","text":"TemporaryFile(/tmp/multipartBody3251649238880409660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_13_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4565d201877954c484b1017013de05d.jpg","text":"TemporaryFile(/tmp/multipartBody5389470907242619819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462863216,"filename":"image_30112025_01_13_24_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002984","file1":"1397002981","file0":"1397002978","file4":"1397002988","file5":"1397002989","file3":"1397002986"},"map_files_photo_id_array":[{"photo_id":"1397002989","filename":"file5"},{"photo_id":"1397002984","filename":"file2"},{"photo_id":"1397002988","filename":"file4"},{"photo_id":"1397002981","filename":"file1"},{"photo_id":"1397002978","filename":"file0"},{"photo_id":"1397002986","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002978":["hashtag1","hashtag2"]},{"1397002989":["hashtag1","hashtag2"]},{"1397002986":["hashtag1","hashtag2"]},{"1397002988":["hashtag1","hashtag2"]},{"1397002984":["hashtag1","hashtag2"]},{"1397002981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002978, 1397002989, 1397002986, 1397002988, 1397002984, 1397002981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12535285949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:34:03.093573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_15_9940.jpg', '/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_24_9587.jpg', '/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_34_9615.jpg', '/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_45_10851.jpg', '/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_55_9665.jpg', '/home/pi/Desktop/images/30112025/01/14/image_30112025_01_15_04_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_15_9940.jpg
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_24_9587.jpg
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_34_9615.jpg
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_45_10851.jpg
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_14_55_9665.jpg
/home/pi/Desktop/images/30112025/01/14/image_30112025_01_15_04_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397002995","1397002992","1397002991","1397002997","1397002990","1397002993"],"photo_ids_order":["1397002990","1397002991","1397002992","1397002993","1397002995","1397002997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd29b165972ff7e28eb4bf6100a1f09b.jpg","text":"TemporaryFile(/tmp/multipartBody2326972917171458837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_14_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/709b02039e6abec50cbe434d7b828e29.jpg","text":"TemporaryFile(/tmp/multipartBody5712560150245352431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_14_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f85e58f6fedb221c242279df55c4a626.jpg","text":"TemporaryFile(/tmp/multipartBody8402821259739742871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_14_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3041a2347aa22ed70cb9e2ec22adc7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3228705815404904114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_15_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f852b80d7c56f1925ffaa534d148423.jpg","text":"TemporaryFile(/tmp/multipartBody7653166058522698368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_14_15_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d8d1e272b996835f63aed12187ae674.jpg","text":"TemporaryFile(/tmp/multipartBody4497813799815576121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462903834,"filename":"image_30112025_01_14_45_10851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397002992","file1":"1397002991","file0":"1397002990","file4":"1397002995","file5":"1397002997","file3":"1397002993"},"map_files_photo_id_array":[{"photo_id":"1397002997","filename":"file5"},{"photo_id":"1397002992","filename":"file2"},{"photo_id":"1397002995","filename":"file4"},{"photo_id":"1397002991","filename":"file1"},{"photo_id":"1397002990","filename":"file0"},{"photo_id":"1397002993","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397002995":["hashtag1","hashtag2"]},{"1397002992":["hashtag1","hashtag2"]},{"1397002991":["hashtag1","hashtag2"]},{"1397002997":["hashtag1","hashtag2"]},{"1397002990":["hashtag1","hashtag2"]},{"1397002993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397002995, 1397002992, 1397002991, 1397002997, 1397002990, 1397002993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1528115272522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:34:42.485604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/20/image_31102025_11_20_38_2766.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_45_3619.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_47_2645.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_50_2705.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_53_2759.jpg', '/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_56_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_38_2766.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_45_3619.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_47_2645.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_50_2705.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_53_2759.jpg
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_56_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":["1397003008","1397003010","1397003004","1397003007","1397003006","1397003009"],"photo_ids_order":["1397003004","1397003006","1397003007","1397003008","1397003009","1397003010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08104ca3c23cea37bcfda5aec4d0d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8434595188020122463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_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/30/4571d3a6b897c2f3f7468299bf4831d6.jpg","text":"TemporaryFile(/tmp/multipartBody6643486537837127823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_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/30/ceb6a94df4b4866a62d7bab06c3c2b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4955036033420263847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_38_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/30/8f579e7966a70e240da046d9bdd21b4f.jpg","text":"TemporaryFile(/tmp/multipartBody530104263555560975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_47_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/30/f550972c5e7065431c356552ae5e82f4.jpg","text":"TemporaryFile(/tmp/multipartBody6246268577215007696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_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/30/3aec842dd8feae36184675f0447f40a3.jpg","text":"TemporaryFile(/tmp/multipartBody1655634131029235854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462943460,"filename":"image_31102025_11_20_53_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003007","file1":"1397003006","file0":"1397003004","file4":"1397003009","file5":"1397003010","file3":"1397003008"},"map_files_photo_id_array":[{"photo_id":"1397003010","filename":"file5"},{"photo_id":"1397003007","filename":"file2"},{"photo_id":"1397003009","filename":"file4"},{"photo_id":"1397003006","filename":"file1"},{"photo_id":"1397003004","filename":"file0"},{"photo_id":"1397003008","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003008":["hashtag1","hashtag2"]},{"1397003010":["hashtag1","hashtag2"]},{"1397003004":["hashtag1","hashtag2"]},{"1397003007":["hashtag1","hashtag2"]},{"1397003006":["hashtag1","hashtag2"]},{"1397003009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003008, 1397003010, 1397003004, 1397003007, 1397003006, 1397003009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22034573554993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:35:22.675357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_15_10743.jpg', '/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_25_9600.jpg', '/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_34_9736.jpg', '/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_44_9750.jpg', '/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_55_10633.jpg', '/home/pi/Desktop/images/30112025/01/15/image_30112025_01_16_04_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_15_10743.jpg
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_25_9600.jpg
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_34_9736.jpg
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_44_9750.jpg
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_15_55_10633.jpg
/home/pi/Desktop/images/30112025/01/15/image_30112025_01_16_04_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003026","1397003013","1397003018","1397003021","1397003015","1397003023"],"photo_ids_order":["1397003013","1397003015","1397003018","1397003021","1397003023","1397003026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b77742a36ce4a8218b5bc22d1ca4c337.jpg","text":"TemporaryFile(/tmp/multipartBody6873115818740434648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_16_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d300d0ee3f47105fa2d81329d7dc54d1.jpg","text":"TemporaryFile(/tmp/multipartBody2469257991114635898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_15_15_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1dce6d733af47a2ad03d724603a2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody2805740645992745673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_15_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea4347b56a88d6d913991a9700a4cdad.jpg","text":"TemporaryFile(/tmp/multipartBody5297582125462154315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_15_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c728025f62075f7378ba49bc9d7afe8.jpg","text":"TemporaryFile(/tmp/multipartBody9005477386498575218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_15_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/babc2c6cf89709c95c0b3f2ac38e29b8.jpg","text":"TemporaryFile(/tmp/multipartBody8620019934290371668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764462983355,"filename":"image_30112025_01_15_55_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003018","file1":"1397003015","file0":"1397003013","file4":"1397003023","file5":"1397003026","file3":"1397003021"},"map_files_photo_id_array":[{"photo_id":"1397003026","filename":"file5"},{"photo_id":"1397003018","filename":"file2"},{"photo_id":"1397003023","filename":"file4"},{"photo_id":"1397003015","filename":"file1"},{"photo_id":"1397003013","filename":"file0"},{"photo_id":"1397003021","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003026":["hashtag1","hashtag2"]},{"1397003013":["hashtag1","hashtag2"]},{"1397003018":["hashtag1","hashtag2"]},{"1397003021":["hashtag1","hashtag2"]},{"1397003015":["hashtag1","hashtag2"]},{"1397003023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003026, 1397003013, 1397003018, 1397003021, 1397003015, 1397003023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.139225006103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:36:03.309233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_14_9711.jpg', '/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_25_10650.jpg', '/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_34_9669.jpg', '/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_45_10598.jpg', '/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_55_9761.jpg', '/home/pi/Desktop/images/30112025/01/16/image_30112025_01_17_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_14_9711.jpg
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_25_10650.jpg
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_34_9669.jpg
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_45_10598.jpg
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_16_55_9761.jpg
/home/pi/Desktop/images/30112025/01/16/image_30112025_01_17_04_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003032","1397003031","1397003034","1397003036","1397003039","1397003033"],"photo_ids_order":["1397003031","1397003032","1397003033","1397003034","1397003036","1397003039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc84c69d063c634ea536ce454edd57cd.jpg","text":"TemporaryFile(/tmp/multipartBody1501373992070783443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_16_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90eca788bf86853a16e2ce0ae26a0d72.jpg","text":"TemporaryFile(/tmp/multipartBody6484877007241139636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_16_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/590d5e5b6846862c6a7784699343de32.jpg","text":"TemporaryFile(/tmp/multipartBody4378741924480901342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_16_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e283cc7664f66852a8912141539a37.jpg","text":"TemporaryFile(/tmp/multipartBody5454565842551244975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_16_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/740740fa4684ded24fefe6ed5ec55fac.jpg","text":"TemporaryFile(/tmp/multipartBody1532680528251561228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_17_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3be68c4a752b095842c7e09153933009.jpg","text":"TemporaryFile(/tmp/multipartBody6104393091188237780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463024013,"filename":"image_30112025_01_16_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003033","file1":"1397003032","file0":"1397003031","file4":"1397003036","file5":"1397003039","file3":"1397003034"},"map_files_photo_id_array":[{"photo_id":"1397003039","filename":"file5"},{"photo_id":"1397003033","filename":"file2"},{"photo_id":"1397003036","filename":"file4"},{"photo_id":"1397003032","filename":"file1"},{"photo_id":"1397003031","filename":"file0"},{"photo_id":"1397003034","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003032":["hashtag1","hashtag2"]},{"1397003031":["hashtag1","hashtag2"]},{"1397003034":["hashtag1","hashtag2"]},{"1397003036":["hashtag1","hashtag2"]},{"1397003039":["hashtag1","hashtag2"]},{"1397003033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003032, 1397003031, 1397003034, 1397003036, 1397003039, 1397003033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11754894256592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:36:42.807870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/20/image_31102025_11_20_59_2703.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_02_2753.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_05_2899.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_08_3719.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_11_2741.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_14_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_59_2703.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_02_2753.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_05_2899.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_08_3719.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_11_2741.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_14_2692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8204691410064697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:37:02.716071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_14_9713.jpg', '/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_25_10647.jpg', '/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_34_9566.jpg', '/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_45_10529.jpg', '/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_55_9620.jpg', '/home/pi/Desktop/images/30112025/01/17/image_30112025_01_18_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_14_9713.jpg
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_25_10647.jpg
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_34_9566.jpg
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_45_10529.jpg
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_17_55_9620.jpg
/home/pi/Desktop/images/30112025/01/17/image_30112025_01_18_04_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003055","1397003054","1397003057","1397003062","1397003056","1397003059"],"photo_ids_order":["1397003054","1397003055","1397003056","1397003057","1397003059","1397003062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a60ab3b97a21a45d21efd8e012f518b.jpg","text":"TemporaryFile(/tmp/multipartBody834026595570325369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_17_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d8933e274e579f10519e5b9a6279d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1348955267885021425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_17_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61e46a1981d55d6b3a4c560dbb142a1e.jpg","text":"TemporaryFile(/tmp/multipartBody2495537977841062830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_17_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/723cff85193c62f7a23b888fa31b1ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8252801929969797774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_18_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fb8076679b5ea10c9b4d9e3618a68f1.jpg","text":"TemporaryFile(/tmp/multipartBody1887440004609400370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_17_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66664cb919c9e0a8a9e6008203260145.jpg","text":"TemporaryFile(/tmp/multipartBody2447054762437142541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463083464,"filename":"image_30112025_01_17_55_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003056","file1":"1397003055","file0":"1397003054","file4":"1397003059","file5":"1397003062","file3":"1397003057"},"map_files_photo_id_array":[{"photo_id":"1397003062","filename":"file5"},{"photo_id":"1397003056","filename":"file2"},{"photo_id":"1397003059","filename":"file4"},{"photo_id":"1397003055","filename":"file1"},{"photo_id":"1397003054","filename":"file0"},{"photo_id":"1397003057","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003055":["hashtag1","hashtag2"]},{"1397003054":["hashtag1","hashtag2"]},{"1397003057":["hashtag1","hashtag2"]},{"1397003062":["hashtag1","hashtag2"]},{"1397003056":["hashtag1","hashtag2"]},{"1397003059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003055, 1397003054, 1397003057, 1397003062, 1397003056, 1397003059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94217300415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:37:41.975608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/20/image_31102025_11_20_59_2703.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_02_2753.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_05_2899.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_08_3719.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_11_2741.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_14_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/20/image_31102025_11_20_59_2703.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_02_2753.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_05_2899.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_08_3719.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_11_2741.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_14_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":["1397003070","1397003073","1397003072","1397003075","1397003071","1397003074"],"photo_ids_order":["1397003070","1397003071","1397003072","1397003073","1397003074","1397003075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d5eaaaaa89ba73897c362c4ca20b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1396691661032413336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_20_59_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5773e5f27302b27d5f48776916ddf68f.jpg","text":"TemporaryFile(/tmp/multipartBody2715657944825804497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_21_08_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/30/ec066e5f19597222ded612b39622ad83.jpg","text":"TemporaryFile(/tmp/multipartBody1993210714690959941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_21_05_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/30/7fd7d467fcf700fe7947915037e281da.jpg","text":"TemporaryFile(/tmp/multipartBody8968750272066188737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_21_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/30/3e8deeedf2a037385412df6461ea4211.jpg","text":"TemporaryFile(/tmp/multipartBody4852993517717961707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_21_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/30/bb918036fb906a01a8b45411f8832b9c.jpg","text":"TemporaryFile(/tmp/multipartBody5689054195573210855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463122745,"filename":"image_31102025_11_21_11_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003072","file1":"1397003071","file0":"1397003070","file4":"1397003074","file5":"1397003075","file3":"1397003073"},"map_files_photo_id_array":[{"photo_id":"1397003075","filename":"file5"},{"photo_id":"1397003072","filename":"file2"},{"photo_id":"1397003074","filename":"file4"},{"photo_id":"1397003071","filename":"file1"},{"photo_id":"1397003070","filename":"file0"},{"photo_id":"1397003073","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003070":["hashtag1","hashtag2"]},{"1397003073":["hashtag1","hashtag2"]},{"1397003072":["hashtag1","hashtag2"]},{"1397003075":["hashtag1","hashtag2"]},{"1397003071":["hashtag1","hashtag2"]},{"1397003074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003070, 1397003073, 1397003072, 1397003075, 1397003071, 1397003074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.965139389038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:38:22.093139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_15_10540.jpg', '/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_24_9696.jpg', '/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_34_9739.jpg', '/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_45_10691.jpg', '/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_55_9639.jpg', '/home/pi/Desktop/images/30112025/01/18/image_30112025_01_19_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_15_10540.jpg
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_24_9696.jpg
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_34_9739.jpg
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_45_10691.jpg
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_18_55_9639.jpg
/home/pi/Desktop/images/30112025/01/18/image_30112025_01_19_04_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003085","1397003079","1397003087","1397003081","1397003083","1397003077"],"photo_ids_order":["1397003077","1397003079","1397003081","1397003083","1397003085","1397003087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/debb53f430b342ff7135101dfeaa7edf.jpg","text":"TemporaryFile(/tmp/multipartBody8189146865540678799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_18_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1423178aace8f240ae92f71fd39af86.jpg","text":"TemporaryFile(/tmp/multipartBody5000213762938208217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_18_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91ef1e5d48b7a316996951d81ad63dc7.jpg","text":"TemporaryFile(/tmp/multipartBody622541441313875018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_19_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75f1d12a67a10389c1286342e60cd7da.jpg","text":"TemporaryFile(/tmp/multipartBody2316707609411813006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_18_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1616b09cced9aaeb49c4dff3debc3041.jpg","text":"TemporaryFile(/tmp/multipartBody7188327605094924455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_18_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ee23281eac76a13129a2fdcfc629e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4839232934497923058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463162771,"filename":"image_30112025_01_18_15_10540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003081","file1":"1397003079","file0":"1397003077","file4":"1397003085","file5":"1397003087","file3":"1397003083"},"map_files_photo_id_array":[{"photo_id":"1397003087","filename":"file5"},{"photo_id":"1397003081","filename":"file2"},{"photo_id":"1397003085","filename":"file4"},{"photo_id":"1397003079","filename":"file1"},{"photo_id":"1397003077","filename":"file0"},{"photo_id":"1397003083","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003085":["hashtag1","hashtag2"]},{"1397003079":["hashtag1","hashtag2"]},{"1397003087":["hashtag1","hashtag2"]},{"1397003081":["hashtag1","hashtag2"]},{"1397003083":["hashtag1","hashtag2"]},{"1397003077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003085, 1397003079, 1397003087, 1397003081, 1397003083, 1397003077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.079392194747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:39:03.290238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_15_10730.jpg', '/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_24_9532.jpg', '/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_34_9801.jpg', '/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_45_10592.jpg', '/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_55_9763.jpg', '/home/pi/Desktop/images/30112025/01/19/image_30112025_01_20_04_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_15_10730.jpg
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_24_9532.jpg
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_34_9801.jpg
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_45_10592.jpg
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_19_55_9763.jpg
/home/pi/Desktop/images/30112025/01/19/image_30112025_01_20_04_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003088","1397003091","1397003090","1397003093","1397003096","1397003089"],"photo_ids_order":["1397003088","1397003089","1397003090","1397003091","1397003093","1397003096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94c72247d9c924eeaae474f2ab4b95da.jpg","text":"TemporaryFile(/tmp/multipartBody820250730829503490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_19_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7fa0c4fe538401d633c01180d9ee663.jpg","text":"TemporaryFile(/tmp/multipartBody2690622464579602179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_19_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20c83b7d49ebd020c8915f3ac33756af.jpg","text":"TemporaryFile(/tmp/multipartBody4957617975774923283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_19_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87fe7604ffe71ef0a341c7b0386f7d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3226385269409770518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_19_55_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c81274ec5d24849132db6cd14de2672.jpg","text":"TemporaryFile(/tmp/multipartBody6965014462737945076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_20_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef32f3c779f2297b02d143c79520d243.jpg","text":"TemporaryFile(/tmp/multipartBody3172968677977134500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463204182,"filename":"image_30112025_01_19_24_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003090","file1":"1397003089","file0":"1397003088","file4":"1397003093","file5":"1397003096","file3":"1397003091"},"map_files_photo_id_array":[{"photo_id":"1397003096","filename":"file5"},{"photo_id":"1397003090","filename":"file2"},{"photo_id":"1397003093","filename":"file4"},{"photo_id":"1397003089","filename":"file1"},{"photo_id":"1397003088","filename":"file0"},{"photo_id":"1397003091","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003088":["hashtag1","hashtag2"]},{"1397003091":["hashtag1","hashtag2"]},{"1397003090":["hashtag1","hashtag2"]},{"1397003093":["hashtag1","hashtag2"]},{"1397003096":["hashtag1","hashtag2"]},{"1397003089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003088, 1397003091, 1397003090, 1397003093, 1397003096, 1397003089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.917322874069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:39:42.486476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/21/image_31102025_11_21_18_3706.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_20_2583.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_23_2536.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_27_3841.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_29_2757.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_32_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_18_3706.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_20_2583.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_23_2536.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_27_3841.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_29_2757.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_32_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":["1397003107","1397003106","1397003109","1397003103","1397003105","1397003108"],"photo_ids_order":["1397003103","1397003105","1397003106","1397003107","1397003108","1397003109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b18d4b5c3d1c0bbb49764c5d43a7968f.jpg","text":"TemporaryFile(/tmp/multipartBody8258800530590122680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_27_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/015acadb3ccad7015cb440aa5cea9f40.jpg","text":"TemporaryFile(/tmp/multipartBody4892651211515832268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_23_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/30/7a48f06ce8125e3e1c717f6ec04ed2ea.jpg","text":"TemporaryFile(/tmp/multipartBody8497424420129941043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_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/30/540b7359846b239abe746c2bb612bc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1575240146372384148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_18_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/30/42f89c7d035a1e33386dd47dce15169a.jpg","text":"TemporaryFile(/tmp/multipartBody4131200009883945743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_20_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/30/82621b26ca01430d2165b80f3a340abe.jpg","text":"TemporaryFile(/tmp/multipartBody2629793216667146305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463243444,"filename":"image_31102025_11_21_29_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003106","file1":"1397003105","file0":"1397003103","file4":"1397003108","file5":"1397003109","file3":"1397003107"},"map_files_photo_id_array":[{"photo_id":"1397003109","filename":"file5"},{"photo_id":"1397003106","filename":"file2"},{"photo_id":"1397003108","filename":"file4"},{"photo_id":"1397003105","filename":"file1"},{"photo_id":"1397003103","filename":"file0"},{"photo_id":"1397003107","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003107":["hashtag1","hashtag2"]},{"1397003106":["hashtag1","hashtag2"]},{"1397003109":["hashtag1","hashtag2"]},{"1397003103":["hashtag1","hashtag2"]},{"1397003105":["hashtag1","hashtag2"]},{"1397003108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003107, 1397003106, 1397003109, 1397003103, 1397003105, 1397003108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04936218261719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:40:22.716555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_14_10056.jpg', '/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_25_10611.jpg', '/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_35_9729.jpg', '/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_44_9739.jpg', '/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_55_10647.jpg', '/home/pi/Desktop/images/30112025/01/20/image_30112025_01_21_05_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_14_10056.jpg
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_25_10611.jpg
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_35_9729.jpg
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_44_9739.jpg
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_20_55_10647.jpg
/home/pi/Desktop/images/30112025/01/20/image_30112025_01_21_05_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003124","1397003121","1397003115","1397003117","1397003111","1397003128"],"photo_ids_order":["1397003111","1397003115","1397003117","1397003121","1397003124","1397003128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4868b03d37c4116f55434d317f4efd93.jpg","text":"TemporaryFile(/tmp/multipartBody6620613310940214767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_20_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba3db698f675d46d9cb09274dc97dee3.jpg","text":"TemporaryFile(/tmp/multipartBody37041339543881038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_20_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60991547ed7dfb5e1ea3f8e4cd9cc3db.jpg","text":"TemporaryFile(/tmp/multipartBody5899031899762160394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_20_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5091260fb8f08213bbc808e87c67289.jpg","text":"TemporaryFile(/tmp/multipartBody3563433208806094008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_20_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d269e01e5008b139ebc73911f6b775f8.jpg","text":"TemporaryFile(/tmp/multipartBody9090083292107628706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_20_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/886d8d99bdf808394f96d5ee672ebdfb.jpg","text":"TemporaryFile(/tmp/multipartBody9088802798276715590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463283429,"filename":"image_30112025_01_21_05_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003117","file1":"1397003115","file0":"1397003111","file4":"1397003124","file5":"1397003128","file3":"1397003121"},"map_files_photo_id_array":[{"photo_id":"1397003128","filename":"file5"},{"photo_id":"1397003117","filename":"file2"},{"photo_id":"1397003124","filename":"file4"},{"photo_id":"1397003115","filename":"file1"},{"photo_id":"1397003111","filename":"file0"},{"photo_id":"1397003121","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003124":["hashtag1","hashtag2"]},{"1397003121":["hashtag1","hashtag2"]},{"1397003115":["hashtag1","hashtag2"]},{"1397003117":["hashtag1","hashtag2"]},{"1397003111":["hashtag1","hashtag2"]},{"1397003128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003124, 1397003121, 1397003115, 1397003117, 1397003111, 1397003128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73539996147156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:41:02.640494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_14_9570.jpg', '/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_25_10633.jpg', '/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_35_9735.jpg', '/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_44_9592.jpg', '/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_55_10629.jpg', '/home/pi/Desktop/images/30112025/01/21/image_30112025_01_22_04_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_14_9570.jpg
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_25_10633.jpg
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_35_9735.jpg
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_44_9592.jpg
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_21_55_10629.jpg
/home/pi/Desktop/images/30112025/01/21/image_30112025_01_22_04_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003131","1397003130","1397003132","1397003129","1397003134","1397003137"],"photo_ids_order":["1397003129","1397003130","1397003131","1397003132","1397003134","1397003137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f72e6e156d69f933826688aeacec2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3331460439759556662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_21_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef5ba8a2dde69fa27b0077c6b8b4a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8755875463761337134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_21_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c059dce7f642f2f2925a22cee3c59af.jpg","text":"TemporaryFile(/tmp/multipartBody4267870273629278277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_21_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd31ff697c29ef4a689960bc2d05fd82.jpg","text":"TemporaryFile(/tmp/multipartBody5624942814757675368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_21_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6a33cce30b6ed214d68dc2a87324aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8978209975161796212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_21_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea46e35bd7cdd4095a1daede85f114e8.jpg","text":"TemporaryFile(/tmp/multipartBody8505398390123840649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463323386,"filename":"image_30112025_01_22_04_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003131","file1":"1397003130","file0":"1397003129","file4":"1397003134","file5":"1397003137","file3":"1397003132"},"map_files_photo_id_array":[{"photo_id":"1397003137","filename":"file5"},{"photo_id":"1397003131","filename":"file2"},{"photo_id":"1397003134","filename":"file4"},{"photo_id":"1397003130","filename":"file1"},{"photo_id":"1397003129","filename":"file0"},{"photo_id":"1397003132","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003131":["hashtag1","hashtag2"]},{"1397003130":["hashtag1","hashtag2"]},{"1397003132":["hashtag1","hashtag2"]},{"1397003129":["hashtag1","hashtag2"]},{"1397003134":["hashtag1","hashtag2"]},{"1397003137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003131, 1397003130, 1397003132, 1397003129, 1397003134, 1397003137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35446333885193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:41:41.897985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/21/image_31102025_11_21_35_2702.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_38_3659.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_41_2707.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_44_2633.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_47_3705.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_50_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_35_2702.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_38_3659.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_41_2707.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_44_2633.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_47_3705.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_50_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003151","1397003153","1397003144","1397003147","1397003155","1397003149"],"photo_ids_order":["1397003144","1397003147","1397003149","1397003151","1397003153","1397003155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9be233fb63aadce463196f7fa1699c48.jpg","text":"TemporaryFile(/tmp/multipartBody3466599111442875106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_44_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4df494c9add8f4734a4118e0b0dabac2.jpg","text":"TemporaryFile(/tmp/multipartBody8856865423759253628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_47_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/30/6a93d1d99e34f806589acc3104e6d0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8199020355046949210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_35_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/30/260341ab804e62957b586f50a8d47862.jpg","text":"TemporaryFile(/tmp/multipartBody800380918206567542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_38_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/30/8d9dff856b5a0ba86249015dd45a91ab.jpg","text":"TemporaryFile(/tmp/multipartBody6194801884172234109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_50_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/30/354c7f27abfc608ad2a21adaa3b02d01.jpg","text":"TemporaryFile(/tmp/multipartBody6365672974474213636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463362847,"filename":"image_31102025_11_21_41_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003149","file1":"1397003147","file0":"1397003144","file4":"1397003153","file5":"1397003155","file3":"1397003151"},"map_files_photo_id_array":[{"photo_id":"1397003155","filename":"file5"},{"photo_id":"1397003149","filename":"file2"},{"photo_id":"1397003153","filename":"file4"},{"photo_id":"1397003147","filename":"file1"},{"photo_id":"1397003144","filename":"file0"},{"photo_id":"1397003151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003151":["hashtag1","hashtag2"]},{"1397003153":["hashtag1","hashtag2"]},{"1397003144":["hashtag1","hashtag2"]},{"1397003147":["hashtag1","hashtag2"]},{"1397003155":["hashtag1","hashtag2"]},{"1397003149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003151, 1397003153, 1397003144, 1397003147, 1397003155, 1397003149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97124767303467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:42:22.065817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.581428050994873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:42:32.048809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_55_1699.jpg', '/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_58_2684.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_07_3013.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_11_3601.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_13_2545.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_17_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_55_1699.jpg
/home/pi/Desktop/images/25112025/19/29/image_25112025_19_29_58_2684.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_07_3013.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_11_3601.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_13_2545.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_17_3786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003169","1397003172","1397003171","1397003165","1397003170","1397003167"],"photo_ids_order":["1397003165","1397003167","1397003169","1397003170","1397003171","1397003172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7bf8ec09bd9457c27fbe9bf094cbb24.jpg","text":"TemporaryFile(/tmp/multipartBody8132307200924416388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_30_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3828a1bdaf23fc218805e2bee807c43b.jpg","text":"TemporaryFile(/tmp/multipartBody7281563112066584716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_30_17_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/30/1c8573834ca489453accb100eaa99c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2617306685087722289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_30_13_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/30/6a70383b3f95aae6106e7bae74952afd.jpg","text":"TemporaryFile(/tmp/multipartBody8463617315817871726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_29_55_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/30/28bdb1e0cfadef37ecea9eda4ca54d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1068107053238659219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_30_11_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eef8376e09a84563e2e3a9e3bf58740b.jpg","text":"TemporaryFile(/tmp/multipartBody1892820803681844389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463414033,"filename":"image_25112025_19_29_58_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003169","file1":"1397003167","file0":"1397003165","file4":"1397003171","file5":"1397003172","file3":"1397003170"},"map_files_photo_id_array":[{"photo_id":"1397003172","filename":"file5"},{"photo_id":"1397003169","filename":"file2"},{"photo_id":"1397003171","filename":"file4"},{"photo_id":"1397003167","filename":"file1"},{"photo_id":"1397003165","filename":"file0"},{"photo_id":"1397003170","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397003169":["hashtag1","hashtag2"]},{"1397003172":["hashtag1","hashtag2"]},{"1397003171":["hashtag1","hashtag2"]},{"1397003165":["hashtag1","hashtag2"]},{"1397003170":["hashtag1","hashtag2"]},{"1397003167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397003169, 1397003172, 1397003171, 1397003165, 1397003170, 1397003167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541907787323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:43:12.391026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_20_2655.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_22_2688.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_25_2837.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_29_3538.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_31_2693.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_34_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_20_2655.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_22_2688.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_25_2837.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_29_3538.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_31_2693.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_34_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003181","1397003175","1397003184","1397003178","1397003186","1397003173"],"photo_ids_order":["1397003173","1397003175","1397003178","1397003181","1397003184","1397003186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4e972beee6d93ce45b3635876131d43.jpg","text":"TemporaryFile(/tmp/multipartBody6861841395291934111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_29_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2dacba4ac7ccccb1e36cc24532499ff.jpg","text":"TemporaryFile(/tmp/multipartBody3734965434105098758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c547474cd2b672806d863f6152528e23.jpg","text":"TemporaryFile(/tmp/multipartBody6708796402466462198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_31_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a720a356f10a6c3d0f213b1feb2f6c94.jpg","text":"TemporaryFile(/tmp/multipartBody4658453858203203264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_25_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/30/7a0d08d9455c3f552d1b5b18995517ab.jpg","text":"TemporaryFile(/tmp/multipartBody8778542495849554652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_34_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/30/c91755a4267266bc5bc34d1e8feb00b0.jpg","text":"TemporaryFile(/tmp/multipartBody2114525361088622929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463454313,"filename":"image_25112025_19_30_20_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003178","file1":"1397003175","file0":"1397003173","file4":"1397003184","file5":"1397003186","file3":"1397003181"},"map_files_photo_id_array":[{"photo_id":"1397003186","filename":"file5"},{"photo_id":"1397003178","filename":"file2"},{"photo_id":"1397003184","filename":"file4"},{"photo_id":"1397003175","filename":"file1"},{"photo_id":"1397003173","filename":"file0"},{"photo_id":"1397003181","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397003181":["hashtag1","hashtag2"]},{"1397003175":["hashtag1","hashtag2"]},{"1397003184":["hashtag1","hashtag2"]},{"1397003178":["hashtag1","hashtag2"]},{"1397003186":["hashtag1","hashtag2"]},{"1397003173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397003181, 1397003175, 1397003184, 1397003178, 1397003186, 1397003173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.256391286849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:44:03.185908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6640129089355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:44:12.398787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_38_3577.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_40_2668.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_43_2642.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_47_3725.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_50_2852.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_52_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_38_3577.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_40_2668.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_43_2642.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_47_3725.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_50_2852.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_52_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003203","1397003193","1397003206","1397003196","1397003199","1397003209"],"photo_ids_order":["1397003193","1397003196","1397003199","1397003203","1397003206","1397003209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a5b3d5ae3ba33b92293494d8bac442a.jpg","text":"TemporaryFile(/tmp/multipartBody7922130305288156450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_47_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/30/be14679fc56dd4ff0fb1cff82664239a.jpg","text":"TemporaryFile(/tmp/multipartBody313107876331944742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_38_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/30/7a34ea5cb7649e62855ed98306aa6ead.jpg","text":"TemporaryFile(/tmp/multipartBody9142320334603822941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_50_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/30/355897e0cadbc575e62c90c2d0ee22d8.jpg","text":"TemporaryFile(/tmp/multipartBody1999104723589643868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_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/30/d7c7844172f08172b473e424335c3c3b.jpg","text":"TemporaryFile(/tmp/multipartBody756243472990682688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_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/30/fed832c86ddc236049bd2f6d874d08bb.jpg","text":"TemporaryFile(/tmp/multipartBody3880382938144899349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463514287,"filename":"image_25112025_19_30_52_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003199","file1":"1397003196","file0":"1397003193","file4":"1397003206","file5":"1397003209","file3":"1397003203"},"map_files_photo_id_array":[{"photo_id":"1397003209","filename":"file5"},{"photo_id":"1397003199","filename":"file2"},{"photo_id":"1397003206","filename":"file4"},{"photo_id":"1397003196","filename":"file1"},{"photo_id":"1397003193","filename":"file0"},{"photo_id":"1397003203","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397003203":["hashtag1","hashtag2"]},{"1397003193":["hashtag1","hashtag2"]},{"1397003206":["hashtag1","hashtag2"]},{"1397003196":["hashtag1","hashtag2"]},{"1397003199":["hashtag1","hashtag2"]},{"1397003209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397003203, 1397003193, 1397003206, 1397003196, 1397003199, 1397003209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20979189872742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:45:03.594236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg', '/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_14_9577.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_25_10856.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_35_9617.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_44_9744.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_22_55_10558.jpg
/home/pi/Desktop/images/30112025/01/22/image_30112025_01_23_05_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003218","1397003220","1397003214","1397003222","1397003216","1397003213"],"photo_ids_order":["1397003213","1397003214","1397003216","1397003218","1397003220","1397003222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beff812ba2460359e821119963e80f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3624618199763603821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_22_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/294cb2c2ed17c94ed2694f10e47c606f.jpg","text":"TemporaryFile(/tmp/multipartBody5057409764095206656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_22_55_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/282a7692a96e2cbb06144cf8ae758234.jpg","text":"TemporaryFile(/tmp/multipartBody5070377207597077303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_22_25_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/832db53f3a4b37e188eab03a6778c639.jpg","text":"TemporaryFile(/tmp/multipartBody2676030943837864224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_23_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f7e458dbfce7b2560128e9d9080a5ea.jpg","text":"TemporaryFile(/tmp/multipartBody4712543910248081342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_22_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5989f9afe4c77622d642cc33162e38c.jpg","text":"TemporaryFile(/tmp/multipartBody7671427303457093691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463564337,"filename":"image_30112025_01_22_14_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003216","file1":"1397003214","file0":"1397003213","file4":"1397003220","file5":"1397003222","file3":"1397003218"},"map_files_photo_id_array":[{"photo_id":"1397003222","filename":"file5"},{"photo_id":"1397003216","filename":"file2"},{"photo_id":"1397003220","filename":"file4"},{"photo_id":"1397003214","filename":"file1"},{"photo_id":"1397003213","filename":"file0"},{"photo_id":"1397003218","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003218":["hashtag1","hashtag2"]},{"1397003220":["hashtag1","hashtag2"]},{"1397003214":["hashtag1","hashtag2"]},{"1397003222":["hashtag1","hashtag2"]},{"1397003216":["hashtag1","hashtag2"]},{"1397003213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003218, 1397003220, 1397003214, 1397003222, 1397003216, 1397003213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.254958629608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:46:02.389332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_14_9591.jpg', '/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_25_10641.jpg', '/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_35_9745.jpg', '/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_44_9706.jpg', '/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_55_10711.jpg', '/home/pi/Desktop/images/30112025/01/23/image_30112025_01_24_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_14_9591.jpg
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_25_10641.jpg
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_35_9745.jpg
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_44_9706.jpg
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_23_55_10711.jpg
/home/pi/Desktop/images/30112025/01/23/image_30112025_01_24_05_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003230","1397003224","1397003226","1397003228","1397003233","1397003227"],"photo_ids_order":["1397003224","1397003226","1397003227","1397003228","1397003230","1397003233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce76d636117d6b052f223b8176003db9.jpg","text":"TemporaryFile(/tmp/multipartBody4226722876781900464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_23_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1145fa29524091b455956fbd7d299772.jpg","text":"TemporaryFile(/tmp/multipartBody7680830204598231652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_23_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed6f9baca53edec38b8176046bb95d51.jpg","text":"TemporaryFile(/tmp/multipartBody98471467354810800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_23_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a8cb73d9fa634d88d7a976bd18d0f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7571758374181835238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_23_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7e1b732d655149d8b305c2d67bd0467.jpg","text":"TemporaryFile(/tmp/multipartBody7049461923431406364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_24_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dfd3ac9802e4ec7d1d9d6181f4ae341.jpg","text":"TemporaryFile(/tmp/multipartBody8537363226821508908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463623087,"filename":"image_30112025_01_23_35_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003227","file1":"1397003226","file0":"1397003224","file4":"1397003230","file5":"1397003233","file3":"1397003228"},"map_files_photo_id_array":[{"photo_id":"1397003233","filename":"file5"},{"photo_id":"1397003227","filename":"file2"},{"photo_id":"1397003230","filename":"file4"},{"photo_id":"1397003226","filename":"file1"},{"photo_id":"1397003224","filename":"file0"},{"photo_id":"1397003228","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003230":["hashtag1","hashtag2"]},{"1397003224":["hashtag1","hashtag2"]},{"1397003226":["hashtag1","hashtag2"]},{"1397003228":["hashtag1","hashtag2"]},{"1397003233":["hashtag1","hashtag2"]},{"1397003227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003230, 1397003224, 1397003226, 1397003228, 1397003233, 1397003227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70029926300049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:46:41.915252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/21/image_31102025_11_21_53_2664.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_56_2740.jpg', '/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_59_3742.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_02_2724.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_08_2656.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_11_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_53_2664.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_56_2740.jpg
/home/pi/Desktop/images/31102025/11/21/image_31102025_11_21_59_3742.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_02_2724.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_08_2656.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_11_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":["1397003241","1397003244","1397003243","1397003245","1397003239","1397003242"],"photo_ids_order":["1397003239","1397003241","1397003242","1397003243","1397003244","1397003245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92f4b473ffe94691c2ab09542ee9a73a.jpg","text":"TemporaryFile(/tmp/multipartBody6490187237880550623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_21_56_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fee485db3c586040d42eece2529da9d5.jpg","text":"TemporaryFile(/tmp/multipartBody6517633416004533882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_22_08_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acb3a487c14d1dfe501d2c659e033d28.jpg","text":"TemporaryFile(/tmp/multipartBody3590790586601131232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_22_02_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b78e08e8ff4b7c2a5d83a03f09da7e93.jpg","text":"TemporaryFile(/tmp/multipartBody1627699867558000520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_22_11_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87f1949166ff1a59205275625db43b83.jpg","text":"TemporaryFile(/tmp/multipartBody200518297704795319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_21_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/30/7bf50e54a8322463afcfb93bf26b9f71.jpg","text":"TemporaryFile(/tmp/multipartBody7754550242308207380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463662856,"filename":"image_31102025_11_21_59_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003242","file1":"1397003241","file0":"1397003239","file4":"1397003244","file5":"1397003245","file3":"1397003243"},"map_files_photo_id_array":[{"photo_id":"1397003245","filename":"file5"},{"photo_id":"1397003242","filename":"file2"},{"photo_id":"1397003244","filename":"file4"},{"photo_id":"1397003241","filename":"file1"},{"photo_id":"1397003239","filename":"file0"},{"photo_id":"1397003243","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003241":["hashtag1","hashtag2"]},{"1397003244":["hashtag1","hashtag2"]},{"1397003243":["hashtag1","hashtag2"]},{"1397003245":["hashtag1","hashtag2"]},{"1397003239":["hashtag1","hashtag2"]},{"1397003242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003241, 1397003244, 1397003243, 1397003245, 1397003239, 1397003242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40478873252869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:47:22.176440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_14_9701.jpg', '/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_25_10626.jpg', '/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_35_9689.jpg', '/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_45_9843.jpg', '/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_54_9590.jpg', '/home/pi/Desktop/images/30112025/01/24/image_30112025_01_25_05_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_14_9701.jpg
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_25_10626.jpg
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_35_9689.jpg
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_45_9843.jpg
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_24_54_9590.jpg
/home/pi/Desktop/images/30112025/01/24/image_30112025_01_25_05_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003259","1397003261","1397003257","1397003251","1397003254","1397003248"],"photo_ids_order":["1397003248","1397003251","1397003254","1397003257","1397003259","1397003261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ba27a5dbd5ec8e8e4a632d4525d66bf.jpg","text":"TemporaryFile(/tmp/multipartBody1779956108873356409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_24_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37f47017ff0b3280808cdaeae536bf11.jpg","text":"TemporaryFile(/tmp/multipartBody7617799497589614142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_25_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c9c1eff102fe2758a5af19decd1cccb.jpg","text":"TemporaryFile(/tmp/multipartBody193719995468171794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_24_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/252143596a3ecf1d1193c6e3721db755.jpg","text":"TemporaryFile(/tmp/multipartBody6677490125602260338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_24_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c84264075107bc2d14b7651c2814f146.jpg","text":"TemporaryFile(/tmp/multipartBody3254650909951473938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_24_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36d8e0881dc52ca3a6f8a40a9880fc13.jpg","text":"TemporaryFile(/tmp/multipartBody1005524503278810022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463702859,"filename":"image_30112025_01_24_14_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003254","file1":"1397003251","file0":"1397003248","file4":"1397003259","file5":"1397003261","file3":"1397003257"},"map_files_photo_id_array":[{"photo_id":"1397003261","filename":"file5"},{"photo_id":"1397003254","filename":"file2"},{"photo_id":"1397003259","filename":"file4"},{"photo_id":"1397003251","filename":"file1"},{"photo_id":"1397003248","filename":"file0"},{"photo_id":"1397003257","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003259":["hashtag1","hashtag2"]},{"1397003261":["hashtag1","hashtag2"]},{"1397003257":["hashtag1","hashtag2"]},{"1397003251":["hashtag1","hashtag2"]},{"1397003254":["hashtag1","hashtag2"]},{"1397003248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003259, 1397003261, 1397003257, 1397003251, 1397003254, 1397003248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.395283222198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:48:02.756679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_14_9671.jpg', '/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_24_9867.jpg', '/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_34_9823.jpg', '/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_45_10730.jpg', '/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_54_9672.jpg', '/home/pi/Desktop/images/30112025/01/25/image_30112025_01_26_04_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_14_9671.jpg
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_24_9867.jpg
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_34_9823.jpg
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_45_10730.jpg
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_25_54_9672.jpg
/home/pi/Desktop/images/30112025/01/25/image_30112025_01_26_04_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003268","1397003271","1397003265","1397003264","1397003263","1397003266"],"photo_ids_order":["1397003263","1397003264","1397003265","1397003266","1397003268","1397003271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/765dc2517144eb521191d67a31f2dfd2.jpg","text":"TemporaryFile(/tmp/multipartBody8347817195025426269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_25_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4343577c23a2edf17d3ae3007bacb1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3286758282512381930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_26_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e3cc749a8863db69c39621c714b2440.jpg","text":"TemporaryFile(/tmp/multipartBody1090697420544417649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_25_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/729bef5121b5f592101e3ee8017545b7.jpg","text":"TemporaryFile(/tmp/multipartBody1294127964629570931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_25_24_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c36269f2af75dbb4e20d26fb448aa95f.jpg","text":"TemporaryFile(/tmp/multipartBody928682152844679335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_25_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c05d3929774657d24f336abed3109cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8196392228664459693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463743468,"filename":"image_30112025_01_25_45_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003265","file1":"1397003264","file0":"1397003263","file4":"1397003268","file5":"1397003271","file3":"1397003266"},"map_files_photo_id_array":[{"photo_id":"1397003271","filename":"file5"},{"photo_id":"1397003265","filename":"file2"},{"photo_id":"1397003268","filename":"file4"},{"photo_id":"1397003264","filename":"file1"},{"photo_id":"1397003263","filename":"file0"},{"photo_id":"1397003266","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003268":["hashtag1","hashtag2"]},{"1397003271":["hashtag1","hashtag2"]},{"1397003265":["hashtag1","hashtag2"]},{"1397003264":["hashtag1","hashtag2"]},{"1397003263":["hashtag1","hashtag2"]},{"1397003266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003268, 1397003271, 1397003265, 1397003264, 1397003263, 1397003266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97817134857178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:48:42.333445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/22/image_31102025_11_22_14_2756.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_17_2746.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_20_2841.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_23_3756.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_26_2753.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_29_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/11/22/image_31102025_11_22_14_2756.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_17_2746.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_20_2841.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_23_3756.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_26_2753.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_29_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003280","1397003277","1397003279","1397003282","1397003281","1397003278"],"photo_ids_order":["1397003277","1397003278","1397003279","1397003280","1397003281","1397003282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f50be620b92fffb90911a23f62616ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6493720909273314732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_23_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/30/061194ff2fd5feebad1d97af048ecb27.jpg","text":"TemporaryFile(/tmp/multipartBody1191899773518949986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_14_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/30/5f9ba09a5dee72bb1ef2656c40989ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3872491902754251474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_20_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/30/a655298f0e41a7501621c93352e0bb21.jpg","text":"TemporaryFile(/tmp/multipartBody3983830099713440941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_29_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/941d36a667728370650f267c75432e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8196820923002141106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_26_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cccd3577a59dba542b5845c89600f99b.jpg","text":"TemporaryFile(/tmp/multipartBody1498963744790423883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463783290,"filename":"image_31102025_11_22_17_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003279","file1":"1397003278","file0":"1397003277","file4":"1397003281","file5":"1397003282","file3":"1397003280"},"map_files_photo_id_array":[{"photo_id":"1397003282","filename":"file5"},{"photo_id":"1397003279","filename":"file2"},{"photo_id":"1397003281","filename":"file4"},{"photo_id":"1397003278","filename":"file1"},{"photo_id":"1397003277","filename":"file0"},{"photo_id":"1397003280","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003280":["hashtag1","hashtag2"]},{"1397003277":["hashtag1","hashtag2"]},{"1397003279":["hashtag1","hashtag2"]},{"1397003282":["hashtag1","hashtag2"]},{"1397003281":["hashtag1","hashtag2"]},{"1397003278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003280, 1397003277, 1397003279, 1397003282, 1397003281, 1397003278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4876434803009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:49:22.542144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_15_10702.jpg', '/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_24_9664.jpg', '/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_34_9724.jpg', '/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_45_10523.jpg', '/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_54_9538.jpg', '/home/pi/Desktop/images/30112025/01/26/image_30112025_01_27_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_15_10702.jpg
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_24_9664.jpg
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_34_9724.jpg
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_45_10523.jpg
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_26_54_9538.jpg
/home/pi/Desktop/images/30112025/01/26/image_30112025_01_27_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003289","1397003298","1397003285","1397003293","1397003296","1397003287"],"photo_ids_order":["1397003285","1397003287","1397003289","1397003293","1397003296","1397003298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8795238f0cf8051729a7d8a5e1b9ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody2753505437247090128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_26_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/becea25bfff3e465784f51ddada75eab.jpg","text":"TemporaryFile(/tmp/multipartBody805212531513647983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_27_05_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02c02400a280e9cf90fc2663d3937e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8919005349791883305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_26_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a9dcd73adbc4a8e15ce8c2f9ce30b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6150145017593767667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_26_45_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/971bbaf20d64267bf9945d48674fef9b.jpg","text":"TemporaryFile(/tmp/multipartBody6632291675532704581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_26_54_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bc0c19dcd3ce55385fb25f08c84df29.jpg","text":"TemporaryFile(/tmp/multipartBody3990762736986396955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463823225,"filename":"image_30112025_01_26_24_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003289","file1":"1397003287","file0":"1397003285","file4":"1397003296","file5":"1397003298","file3":"1397003293"},"map_files_photo_id_array":[{"photo_id":"1397003298","filename":"file5"},{"photo_id":"1397003289","filename":"file2"},{"photo_id":"1397003296","filename":"file4"},{"photo_id":"1397003287","filename":"file1"},{"photo_id":"1397003285","filename":"file0"},{"photo_id":"1397003293","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003289":["hashtag1","hashtag2"]},{"1397003298":["hashtag1","hashtag2"]},{"1397003285":["hashtag1","hashtag2"]},{"1397003293":["hashtag1","hashtag2"]},{"1397003296":["hashtag1","hashtag2"]},{"1397003287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003289, 1397003298, 1397003285, 1397003293, 1397003296, 1397003287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.99768090248108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:50:12.723504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_56_3777.jpg', '/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_59_2686.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_02_2912.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_04_2643.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_08_3640.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_10_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_56_3777.jpg
/home/pi/Desktop/images/25112025/19/30/image_25112025_19_30_59_2686.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_02_2912.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_04_2643.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_08_3640.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_10_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003328","1397003303","1397003306","1397003300","1397003299","1397003308"],"photo_ids_order":["1397003299","1397003300","1397003303","1397003306","1397003308","1397003328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2ab8897e963420df60a5ae84fda9f78.jpg","text":"TemporaryFile(/tmp/multipartBody513676114851791290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_31_10_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b604a96a935888008ee59003c54fb8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2305242427665137235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_31_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/30/a5c0fb7f5afd8218ff578533e49046d0.jpg","text":"TemporaryFile(/tmp/multipartBody3961284632566982988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_31_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/30/1768de927a6c029f3ffd04dc39eb7030.jpg","text":"TemporaryFile(/tmp/multipartBody4950635018040371115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_30_59_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/30/54dda0b2bc3aa88a55ade5410f994c47.jpg","text":"TemporaryFile(/tmp/multipartBody1394190960609208952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_30_56_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/30/4c4d19d73ca8de19b7ee5d1fc5382d3c.jpg","text":"TemporaryFile(/tmp/multipartBody2998207552399857364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463874615,"filename":"image_25112025_19_31_08_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003303","file1":"1397003300","file0":"1397003299","file4":"1397003308","file5":"1397003328","file3":"1397003306"},"map_files_photo_id_array":[{"photo_id":"1397003328","filename":"file5"},{"photo_id":"1397003303","filename":"file2"},{"photo_id":"1397003308","filename":"file4"},{"photo_id":"1397003300","filename":"file1"},{"photo_id":"1397003299","filename":"file0"},{"photo_id":"1397003306","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397003328":["hashtag1","hashtag2"]},{"1397003303":["hashtag1","hashtag2"]},{"1397003306":["hashtag1","hashtag2"]},{"1397003300":["hashtag1","hashtag2"]},{"1397003299":["hashtag1","hashtag2"]},{"1397003308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397003328, 1397003303, 1397003306, 1397003300, 1397003299, 1397003308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58968758583069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:51:02.646584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_15_9908.jpg', '/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_24_9579.jpg', '/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_35_10597.jpg', '/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_45_9681.jpg', '/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_54_9711.jpg', '/home/pi/Desktop/images/30112025/01/27/image_30112025_01_28_05_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_15_9908.jpg
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_24_9579.jpg
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_35_10597.jpg
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_45_9681.jpg
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_27_54_9711.jpg
/home/pi/Desktop/images/30112025/01/27/image_30112025_01_28_05_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397003667","1397003547","1397003609","1397003578","1397003638","1397003518"],"photo_ids_order":["1397003518","1397003547","1397003578","1397003609","1397003638","1397003667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eec52005b9703e2b19e6ece059ea40e0.jpg","text":"TemporaryFile(/tmp/multipartBody3017823623248122938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_28_05_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0970924b23a785e38df71d48cc435e4.jpg","text":"TemporaryFile(/tmp/multipartBody6904485198439522450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_27_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf6a03b134baa4df2eae15734e84a680.jpg","text":"TemporaryFile(/tmp/multipartBody5164014934324900212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_27_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fca3865ec393447fa8e8106ff31088e7.jpg","text":"TemporaryFile(/tmp/multipartBody6299182194863580003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_27_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75c7471200f501d9573cf654b78f1dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3764202189781967274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_27_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/923ae9749659638f34030652834818c7.jpg","text":"TemporaryFile(/tmp/multipartBody8281492273217047117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463923383,"filename":"image_30112025_01_27_15_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003578","file1":"1397003547","file0":"1397003518","file4":"1397003638","file5":"1397003667","file3":"1397003609"},"map_files_photo_id_array":[{"photo_id":"1397003667","filename":"file5"},{"photo_id":"1397003578","filename":"file2"},{"photo_id":"1397003638","filename":"file4"},{"photo_id":"1397003547","filename":"file1"},{"photo_id":"1397003518","filename":"file0"},{"photo_id":"1397003609","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397003667":["hashtag1","hashtag2"]},{"1397003547":["hashtag1","hashtag2"]},{"1397003609":["hashtag1","hashtag2"]},{"1397003578":["hashtag1","hashtag2"]},{"1397003638":["hashtag1","hashtag2"]},{"1397003518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397003667, 1397003547, 1397003609, 1397003578, 1397003638, 1397003518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36184120178223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:51:41.910862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/22/image_31102025_11_22_32_2705.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_35_3596.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_38_2740.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_44_3652.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_47_2587.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_50_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_32_2705.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_35_3596.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_38_2740.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_44_3652.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_47_2587.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_50_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":["1397003880","1397003955","1397003847","1397003811","1397003921","1397003779"],"photo_ids_order":["1397003779","1397003811","1397003847","1397003880","1397003921","1397003955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e70f98951ae67a8d99808aef17839ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2165193687087190097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_44_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd479f180b2098c7334bb6898d816e43.jpg","text":"TemporaryFile(/tmp/multipartBody2574305996705210600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_50_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/849d4dce42bb3ad4b68a443a5d402781.jpg","text":"TemporaryFile(/tmp/multipartBody2586902495401318004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_38_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/084ef9dfcc4ce347a4d4673fd56f3108.jpg","text":"TemporaryFile(/tmp/multipartBody852529933540968737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_35_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/30/035a60567f18d79100fa2f4888d18bb2.jpg","text":"TemporaryFile(/tmp/multipartBody2968643972788911155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_47_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/30/15c1273aff4278730cec7f36678f3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4295871646686307903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764463962825,"filename":"image_31102025_11_22_32_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397003847","file1":"1397003811","file0":"1397003779","file4":"1397003921","file5":"1397003955","file3":"1397003880"},"map_files_photo_id_array":[{"photo_id":"1397003955","filename":"file5"},{"photo_id":"1397003847","filename":"file2"},{"photo_id":"1397003921","filename":"file4"},{"photo_id":"1397003811","filename":"file1"},{"photo_id":"1397003779","filename":"file0"},{"photo_id":"1397003880","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397003880":["hashtag1","hashtag2"]},{"1397003955":["hashtag1","hashtag2"]},{"1397003847":["hashtag1","hashtag2"]},{"1397003811":["hashtag1","hashtag2"]},{"1397003921":["hashtag1","hashtag2"]},{"1397003779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397003880, 1397003955, 1397003847, 1397003811, 1397003921, 1397003779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.191139221191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:52:22.020906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_15_9681.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_24_9641.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_35_10692.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_45_9674.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_54_9547.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_29_05_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_15_9681.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_24_9641.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_35_10692.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_45_9674.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_54_9547.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_29_05_10647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5518438816070557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:52:32.107089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_13_2587.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_17_3668.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_19_2658.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_22_2662.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_26_3681.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_31_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_13_2587.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_17_3668.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_19_2658.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_22_2662.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_26_3681.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_31_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004114","1397004221","1397004143","1397004112","1397004109","1397004180"],"photo_ids_order":["1397004109","1397004112","1397004114","1397004143","1397004180","1397004221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d1ec9b5892ec2218a79690dc825f140.jpg","text":"TemporaryFile(/tmp/multipartBody3809337939679254274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_31_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/30/d44db1216c2a6f6e2e3dfb834d6eb3dd.jpg","text":"TemporaryFile(/tmp/multipartBody4249301286034287668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_31_31_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06404b0e48aa176b0e3404c786f68446.jpg","text":"TemporaryFile(/tmp/multipartBody5260145454713249254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_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/30/25dd7708d8e0157fc1a689dc8e0661d6.jpg","text":"TemporaryFile(/tmp/multipartBody3877730495354346997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_31_17_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad5452c467f4495f87ab7ce92df0d3c5.jpg","text":"TemporaryFile(/tmp/multipartBody1873623727696219930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_31_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f681381f10609a47e6da6a02e5bb7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2481541388394938350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464013985,"filename":"image_25112025_19_31_26_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004114","file1":"1397004112","file0":"1397004109","file4":"1397004180","file5":"1397004221","file3":"1397004143"},"map_files_photo_id_array":[{"photo_id":"1397004221","filename":"file5"},{"photo_id":"1397004114","filename":"file2"},{"photo_id":"1397004180","filename":"file4"},{"photo_id":"1397004112","filename":"file1"},{"photo_id":"1397004109","filename":"file0"},{"photo_id":"1397004143","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397004114":["hashtag1","hashtag2"]},{"1397004221":["hashtag1","hashtag2"]},{"1397004143":["hashtag1","hashtag2"]},{"1397004112":["hashtag1","hashtag2"]},{"1397004109":["hashtag1","hashtag2"]},{"1397004180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397004114, 1397004221, 1397004143, 1397004112, 1397004109, 1397004180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951263666152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 01:53:12.281595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_35_3629.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_37_2691.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_41_3564.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_43_2491.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_46_2647.jpg', '/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_49_3396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_35_3629.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_37_2691.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_41_3564.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_43_2491.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_46_2647.jpg
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_49_3396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004293","1397004296","1397004299","1397004302","1397004277","1397004253"],"photo_ids_order":["1397004253","1397004277","1397004293","1397004296","1397004299","1397004302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bacd41590c0fa675cb0e90b36d443379.jpg","text":"TemporaryFile(/tmp/multipartBody898119092983110708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_41_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/30/675dac93e366fa5485ca843f09e67f35.jpg","text":"TemporaryFile(/tmp/multipartBody4436881638100001644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_43_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/30/5b5822c1b629e238190407f9692d843c.jpg","text":"TemporaryFile(/tmp/multipartBody395723978582799109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_46_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/30/da80cfd3b1275841abe1e2ff1980cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2669999540136378952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_49_3396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a20daa1a70168a64530759d7901a7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8743681569211862523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_37_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b4c90ec3d5beb60d7dd6da8959369d0.jpg","text":"TemporaryFile(/tmp/multipartBody4621096014947874206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464054150,"filename":"image_25112025_19_31_35_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004293","file1":"1397004277","file0":"1397004253","file4":"1397004299","file5":"1397004302","file3":"1397004296"},"map_files_photo_id_array":[{"photo_id":"1397004302","filename":"file5"},{"photo_id":"1397004293","filename":"file2"},{"photo_id":"1397004299","filename":"file4"},{"photo_id":"1397004277","filename":"file1"},{"photo_id":"1397004253","filename":"file0"},{"photo_id":"1397004296","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397004293":["hashtag1","hashtag2"]},{"1397004296":["hashtag1","hashtag2"]},{"1397004299":["hashtag1","hashtag2"]},{"1397004302":["hashtag1","hashtag2"]},{"1397004277":["hashtag1","hashtag2"]},{"1397004253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397004293, 1397004296, 1397004299, 1397004302, 1397004277, 1397004253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3744535446167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:54:03.063784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_15_9681.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_24_9641.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_35_10692.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_45_9674.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_54_9547.jpg', '/home/pi/Desktop/images/30112025/01/28/image_30112025_01_29_05_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_15_9681.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_24_9641.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_35_10692.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_45_9674.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_28_54_9547.jpg
/home/pi/Desktop/images/30112025/01/28/image_30112025_01_29_05_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004306","1397004308","1397004305","1397004310","1397004313","1397004307"],"photo_ids_order":["1397004305","1397004306","1397004307","1397004308","1397004310","1397004313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de5982b05e527d3600178380b011ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody7606675957146243364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_28_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/393c8e1b4ba9467d949f598e1867ac84.jpg","text":"TemporaryFile(/tmp/multipartBody1073932376203848885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_28_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4083f609e0109ad16cc7f5e516b011c.jpg","text":"TemporaryFile(/tmp/multipartBody5876820499667481055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_28_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc0647742f82078a8871ed7461d70d42.jpg","text":"TemporaryFile(/tmp/multipartBody6431575396872904200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_28_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1eb7eef9945a4d2dc1a67beba1672362.jpg","text":"TemporaryFile(/tmp/multipartBody7502539348720209201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_29_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/112f7cef90a8efdd3917d06cdfbe8f02.jpg","text":"TemporaryFile(/tmp/multipartBody3867938465155820008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464103808,"filename":"image_30112025_01_28_35_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004307","file1":"1397004306","file0":"1397004305","file4":"1397004310","file5":"1397004313","file3":"1397004308"},"map_files_photo_id_array":[{"photo_id":"1397004313","filename":"file5"},{"photo_id":"1397004307","filename":"file2"},{"photo_id":"1397004310","filename":"file4"},{"photo_id":"1397004306","filename":"file1"},{"photo_id":"1397004305","filename":"file0"},{"photo_id":"1397004308","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397004306":["hashtag1","hashtag2"]},{"1397004308":["hashtag1","hashtag2"]},{"1397004305":["hashtag1","hashtag2"]},{"1397004310":["hashtag1","hashtag2"]},{"1397004313":["hashtag1","hashtag2"]},{"1397004307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397004306, 1397004308, 1397004305, 1397004310, 1397004313, 1397004307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11584162712097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:54:42.319571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/22/image_31102025_11_22_53_2573.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_56_2793.jpg', '/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_59_3591.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_02_2927.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_05_2600.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_11_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_53_2573.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_56_2793.jpg
/home/pi/Desktop/images/31102025/11/22/image_31102025_11_22_59_3591.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_02_2927.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_05_2600.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_11_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004321","1397004318","1397004320","1397004323","1397004322","1397004319"],"photo_ids_order":["1397004318","1397004319","1397004320","1397004321","1397004322","1397004323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08803eea2cbd44f6b7e0b4e7bceb67c6.jpg","text":"TemporaryFile(/tmp/multipartBody7730406507899701751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_23_02_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/30/ca1661b56e69dbcd81f5773fc0206a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3038513507330171581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_22_53_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/30/59a7c62783f4c371c48596fce90c44eb.jpg","text":"TemporaryFile(/tmp/multipartBody209779299660694635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_22_59_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/30/4694c9c00b723cfc5d512f7e6b2db3bc.jpg","text":"TemporaryFile(/tmp/multipartBody2641477432779955188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_23_11_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64a6be93914fadfe81736cd5b3a92154.jpg","text":"TemporaryFile(/tmp/multipartBody1265626105772082713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_23_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/30/68ce5b1d5f433eddab396d6e492df54f.jpg","text":"TemporaryFile(/tmp/multipartBody1210167036351348023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464143221,"filename":"image_31102025_11_22_56_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004320","file1":"1397004319","file0":"1397004318","file4":"1397004322","file5":"1397004323","file3":"1397004321"},"map_files_photo_id_array":[{"photo_id":"1397004323","filename":"file5"},{"photo_id":"1397004320","filename":"file2"},{"photo_id":"1397004322","filename":"file4"},{"photo_id":"1397004319","filename":"file1"},{"photo_id":"1397004318","filename":"file0"},{"photo_id":"1397004321","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397004321":["hashtag1","hashtag2"]},{"1397004318":["hashtag1","hashtag2"]},{"1397004320":["hashtag1","hashtag2"]},{"1397004323":["hashtag1","hashtag2"]},{"1397004322":["hashtag1","hashtag2"]},{"1397004319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397004321, 1397004318, 1397004320, 1397004323, 1397004322, 1397004319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963543176651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:55:22.477224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_15_9780.jpg', '/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_24_9676.jpg', '/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_35_10597.jpg', '/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_54_9669.jpg', '/home/pi/Desktop/images/30112025/01/29/image_30112025_01_30_05_10653.jpg', '/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_15_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_15_9780.jpg
/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_24_9676.jpg
/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_35_10597.jpg
/home/pi/Desktop/images/30112025/01/29/image_30112025_01_29_54_9669.jpg
/home/pi/Desktop/images/30112025/01/29/image_30112025_01_30_05_10653.jpg
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_15_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004339","1397004332","1397004326","1397004335","1397004329","1397004337"],"photo_ids_order":["1397004326","1397004329","1397004332","1397004335","1397004337","1397004339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c51e40d7a6b4378a46a3d53eca5690c8.jpg","text":"TemporaryFile(/tmp/multipartBody4965326845392630584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_30_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c66e0091a4e457cabb01138588f0c627.jpg","text":"TemporaryFile(/tmp/multipartBody2959489885233715754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_29_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af31a1bd3e94d410d488a6d8ee804593.jpg","text":"TemporaryFile(/tmp/multipartBody4332902951712507997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_29_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a06f871503379478a779bc7d9e472942.jpg","text":"TemporaryFile(/tmp/multipartBody4780079748580217993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_29_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30d1a1e53581a313681f1ffeea6d7dfd.jpg","text":"TemporaryFile(/tmp/multipartBody500478360892619238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_29_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9692d0b9a045f3833428eaabed9a5c84.jpg","text":"TemporaryFile(/tmp/multipartBody8063952522886126474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464183189,"filename":"image_30112025_01_30_05_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004332","file1":"1397004329","file0":"1397004326","file4":"1397004337","file5":"1397004339","file3":"1397004335"},"map_files_photo_id_array":[{"photo_id":"1397004339","filename":"file5"},{"photo_id":"1397004332","filename":"file2"},{"photo_id":"1397004337","filename":"file4"},{"photo_id":"1397004329","filename":"file1"},{"photo_id":"1397004326","filename":"file0"},{"photo_id":"1397004335","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397004339":["hashtag1","hashtag2"]},{"1397004332":["hashtag1","hashtag2"]},{"1397004326":["hashtag1","hashtag2"]},{"1397004335":["hashtag1","hashtag2"]},{"1397004329":["hashtag1","hashtag2"]},{"1397004337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397004339, 1397004332, 1397004326, 1397004335, 1397004329, 1397004337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.067166566848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:56:03.126836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_24_9678.jpg', '/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_34_9787.jpg', '/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_45_10580.jpg', '/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_54_9618.jpg', '/home/pi/Desktop/images/30112025/01/30/image_30112025_01_31_05_10651.jpg', '/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_14_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_24_9678.jpg
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_34_9787.jpg
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_45_10580.jpg
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_30_54_9618.jpg
/home/pi/Desktop/images/30112025/01/30/image_30112025_01_31_05_10651.jpg
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_14_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004342","1397004344","1397004341","1397004349","1397004343","1397004346"],"photo_ids_order":["1397004341","1397004342","1397004343","1397004344","1397004346","1397004349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ab9a4549cc7c3bc671d99fc5060f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody649131016670437851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_30_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/043a48b628b1a08c2e3a535d98b26e59.jpg","text":"TemporaryFile(/tmp/multipartBody5496755996088884307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_30_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79dc43f627ec905912c0a4d79888312c.jpg","text":"TemporaryFile(/tmp/multipartBody7505271217101963711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_30_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b3572350fac5a889df8b6ca4b2f2867.jpg","text":"TemporaryFile(/tmp/multipartBody6860502022526036657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_31_14_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0134c69ff8977f96d345deea532d83de.jpg","text":"TemporaryFile(/tmp/multipartBody6791333393883413421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_30_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2e0536ca4fb7a622455f9e447d8d888.jpg","text":"TemporaryFile(/tmp/multipartBody7319316164918934766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464223830,"filename":"image_30112025_01_31_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004343","file1":"1397004342","file0":"1397004341","file4":"1397004346","file5":"1397004349","file3":"1397004344"},"map_files_photo_id_array":[{"photo_id":"1397004349","filename":"file5"},{"photo_id":"1397004343","filename":"file2"},{"photo_id":"1397004346","filename":"file4"},{"photo_id":"1397004342","filename":"file1"},{"photo_id":"1397004341","filename":"file0"},{"photo_id":"1397004344","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397004342":["hashtag1","hashtag2"]},{"1397004344":["hashtag1","hashtag2"]},{"1397004341":["hashtag1","hashtag2"]},{"1397004349":["hashtag1","hashtag2"]},{"1397004343":["hashtag1","hashtag2"]},{"1397004346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397004342, 1397004344, 1397004341, 1397004349, 1397004343, 1397004346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09675049781799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:56:42.614938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/23/image_31102025_11_23_17_3509.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_20_2859.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_23_2566.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_26_3648.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_29_2709.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_32_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_17_3509.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_20_2859.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_23_2566.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_26_3648.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_29_2709.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_32_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":["1397004360","1397004357","1397004362","1397004359","1397004361","1397004358"],"photo_ids_order":["1397004357","1397004358","1397004359","1397004360","1397004361","1397004362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93a1e819169acfef077d40855a806932.jpg","text":"TemporaryFile(/tmp/multipartBody5796959579164950314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_26_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/30/a93c68718fff340b4d5b618355672f25.jpg","text":"TemporaryFile(/tmp/multipartBody1942959503946002084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_17_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6863fe5f330c66bc4149432c6965b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5273705879067604637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_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/30/76b4fad0a544e43b550756468136c536.jpg","text":"TemporaryFile(/tmp/multipartBody6552310893239328981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_23_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/30/d6db6162aaf7fafb048354dbf76457fc.jpg","text":"TemporaryFile(/tmp/multipartBody2896496104890282319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_29_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/945238ceaa0c527659d4194c1e9721f0.jpg","text":"TemporaryFile(/tmp/multipartBody1929050379318147906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464263509,"filename":"image_31102025_11_23_20_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004359","file1":"1397004358","file0":"1397004357","file4":"1397004361","file5":"1397004362","file3":"1397004360"},"map_files_photo_id_array":[{"photo_id":"1397004362","filename":"file5"},{"photo_id":"1397004359","filename":"file2"},{"photo_id":"1397004361","filename":"file4"},{"photo_id":"1397004358","filename":"file1"},{"photo_id":"1397004357","filename":"file0"},{"photo_id":"1397004360","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397004360":["hashtag1","hashtag2"]},{"1397004357":["hashtag1","hashtag2"]},{"1397004362":["hashtag1","hashtag2"]},{"1397004359":["hashtag1","hashtag2"]},{"1397004361":["hashtag1","hashtag2"]},{"1397004358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397004360, 1397004357, 1397004362, 1397004359, 1397004361, 1397004358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61289024353027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 01:57:22.808180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_24_9675.jpg', '/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_35_10882.jpg', '/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_45_9736.jpg', '/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_54_9690.jpg', '/home/pi/Desktop/images/30112025/01/31/image_30112025_01_32_04_9726.jpg', '/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_15_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_24_9675.jpg
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_35_10882.jpg
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_45_9736.jpg
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_31_54_9690.jpg
/home/pi/Desktop/images/30112025/01/31/image_30112025_01_32_04_9726.jpg
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_15_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004447","1397004369","1397004371","1397004410","1397004376","1397004366"],"photo_ids_order":["1397004366","1397004369","1397004371","1397004376","1397004410","1397004447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc4579c3a609c707e74d1bee6380bd1c.jpg","text":"TemporaryFile(/tmp/multipartBody13545320506435068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_32_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cb9b2edd9f8bef555bce560013b6f16.jpg","text":"TemporaryFile(/tmp/multipartBody8720603398739048279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_31_35_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/163d79966620e5eb4f46e3062263b8b0.jpg","text":"TemporaryFile(/tmp/multipartBody5954703914955582034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_31_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe8036ffa875adf7a1c5f801ff8b6243.jpg","text":"TemporaryFile(/tmp/multipartBody2900779385343800522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_32_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/058eca61f8e21dc15f25d44d7f0e4dab.jpg","text":"TemporaryFile(/tmp/multipartBody8935962004138199814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_31_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b09988ea660b6a2f2ed6ab8193811c3.jpg","text":"TemporaryFile(/tmp/multipartBody3277974013517986324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464303498,"filename":"image_30112025_01_31_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004371","file1":"1397004369","file0":"1397004366","file4":"1397004410","file5":"1397004447","file3":"1397004376"},"map_files_photo_id_array":[{"photo_id":"1397004447","filename":"file5"},{"photo_id":"1397004371","filename":"file2"},{"photo_id":"1397004410","filename":"file4"},{"photo_id":"1397004369","filename":"file1"},{"photo_id":"1397004366","filename":"file0"},{"photo_id":"1397004376","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397004447":["hashtag1","hashtag2"]},{"1397004369":["hashtag1","hashtag2"]},{"1397004371":["hashtag1","hashtag2"]},{"1397004410":["hashtag1","hashtag2"]},{"1397004376":["hashtag1","hashtag2"]},{"1397004366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397004447, 1397004369, 1397004371, 1397004410, 1397004376, 1397004366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43302941322327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 01:59:03.063610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_25_9656.jpg', '/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_34_9569.jpg', '/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_45_10620.jpg', '/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_55_10251.jpg', '/home/pi/Desktop/images/30112025/01/32/image_30112025_01_33_05_9661.jpg', '/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_14_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_25_9656.jpg
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_34_9569.jpg
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_45_10620.jpg
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_32_55_10251.jpg
/home/pi/Desktop/images/30112025/01/32/image_30112025_01_33_05_9661.jpg
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_14_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397004858","1397004974","1397004937","1397004838","1397004897","1397004835"],"photo_ids_order":["1397004835","1397004838","1397004858","1397004897","1397004937","1397004974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a381df3ccf5e079e39086cbf0a044b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4701626016009716101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_32_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4110566f9d4b01971ed4a381903eb4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6821391466491904804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_33_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/306ac36905bdabcc33771b6405d16428.jpg","text":"TemporaryFile(/tmp/multipartBody9210232282860837951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_33_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eece31496d20e4b0980015e40cc39139.jpg","text":"TemporaryFile(/tmp/multipartBody5702204559538077265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_32_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bba2bc0bf6c8a615e2c476996fa2bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5811589104987675479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_32_55_10251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6c3dca64e30b8b6f78d5c3f484b748f.jpg","text":"TemporaryFile(/tmp/multipartBody8935954924434556384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464403926,"filename":"image_30112025_01_32_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397004858","file1":"1397004838","file0":"1397004835","file4":"1397004937","file5":"1397004974","file3":"1397004897"},"map_files_photo_id_array":[{"photo_id":"1397004974","filename":"file5"},{"photo_id":"1397004858","filename":"file2"},{"photo_id":"1397004937","filename":"file4"},{"photo_id":"1397004838","filename":"file1"},{"photo_id":"1397004835","filename":"file0"},{"photo_id":"1397004897","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397004858":["hashtag1","hashtag2"]},{"1397004974":["hashtag1","hashtag2"]},{"1397004937":["hashtag1","hashtag2"]},{"1397004838":["hashtag1","hashtag2"]},{"1397004897":["hashtag1","hashtag2"]},{"1397004835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397004858, 1397004974, 1397004937, 1397004838, 1397004897, 1397004835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81345248222351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 01:59:42.043808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/23/image_31102025_11_23_35_3599.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_38_2577.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_41_2632.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_44_3629.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_47_2635.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_50_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_35_3599.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_38_2577.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_41_2632.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_44_3629.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_47_2635.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_50_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397005181","1397005118","1397005069","1397005084","1397005251","1397005035"],"photo_ids_order":["1397005035","1397005069","1397005084","1397005118","1397005181","1397005251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/938ead7a197c898fb839f866e177578a.jpg","text":"TemporaryFile(/tmp/multipartBody1668584699046400904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_47_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95050470806d07420236ae58e6a15b35.jpg","text":"TemporaryFile(/tmp/multipartBody1150766682859540383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_44_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4719bc97cbd58c408a7abe5d7186538e.jpg","text":"TemporaryFile(/tmp/multipartBody7366831683774159708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_38_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/30/ecc192d0ce1e5d9ab93343012858078a.jpg","text":"TemporaryFile(/tmp/multipartBody7046834707982404194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_41_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/30/d941645370662d0224c2ce414a4ebea3.jpg","text":"TemporaryFile(/tmp/multipartBody5031632092237910101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_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/30/0321d9d18ed5c617cd0e2e58cac4e3f1.jpg","text":"TemporaryFile(/tmp/multipartBody8866146484032587654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464442981,"filename":"image_31102025_11_23_35_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397005084","file1":"1397005069","file0":"1397005035","file4":"1397005181","file5":"1397005251","file3":"1397005118"},"map_files_photo_id_array":[{"photo_id":"1397005251","filename":"file5"},{"photo_id":"1397005084","filename":"file2"},{"photo_id":"1397005181","filename":"file4"},{"photo_id":"1397005069","filename":"file1"},{"photo_id":"1397005035","filename":"file0"},{"photo_id":"1397005118","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397005181":["hashtag1","hashtag2"]},{"1397005118":["hashtag1","hashtag2"]},{"1397005069":["hashtag1","hashtag2"]},{"1397005084":["hashtag1","hashtag2"]},{"1397005251":["hashtag1","hashtag2"]},{"1397005035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397005181, 1397005118, 1397005069, 1397005084, 1397005251, 1397005035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.478821754455566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:00:22.209294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_25_10588.jpg', '/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_34_9619.jpg', '/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_44_9833.jpg', '/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_55_10665.jpg', '/home/pi/Desktop/images/30112025/01/33/image_30112025_01_34_05_9563.jpg', '/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_14_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_25_10588.jpg
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_34_9619.jpg
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_44_9833.jpg
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_33_55_10665.jpg
/home/pi/Desktop/images/30112025/01/33/image_30112025_01_34_05_9563.jpg
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_14_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397006050","1397005619","1397005837","1397005945","1397005732","1397005522"],"photo_ids_order":["1397005522","1397005619","1397005732","1397005837","1397005945","1397006050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb68b4dc3aac64e14a53ebd6d23574fc.jpg","text":"TemporaryFile(/tmp/multipartBody6423316322568295121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_34_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18f7d592ff3403aafffcd63995c8f081.jpg","text":"TemporaryFile(/tmp/multipartBody1706920662677907266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_33_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64c7147b8691094d57e326f7b5c349ac.jpg","text":"TemporaryFile(/tmp/multipartBody4408428785564848530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_33_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6582b8d89103600efae434e1fc72318.jpg","text":"TemporaryFile(/tmp/multipartBody5081090389607371380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_34_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f68a4b897f85d3ec1f3ca75f319b8431.jpg","text":"TemporaryFile(/tmp/multipartBody8548418804616618983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_33_44_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d35f2454aa8a703ba469e3d301333f45.jpg","text":"TemporaryFile(/tmp/multipartBody7695524244899980481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464482924,"filename":"image_30112025_01_33_25_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397005732","file1":"1397005619","file0":"1397005522","file4":"1397005945","file5":"1397006050","file3":"1397005837"},"map_files_photo_id_array":[{"photo_id":"1397006050","filename":"file5"},{"photo_id":"1397005732","filename":"file2"},{"photo_id":"1397005945","filename":"file4"},{"photo_id":"1397005619","filename":"file1"},{"photo_id":"1397005522","filename":"file0"},{"photo_id":"1397005837","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397006050":["hashtag1","hashtag2"]},{"1397005619":["hashtag1","hashtag2"]},{"1397005837":["hashtag1","hashtag2"]},{"1397005945":["hashtag1","hashtag2"]},{"1397005732":["hashtag1","hashtag2"]},{"1397005522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397006050, 1397005619, 1397005837, 1397005945, 1397005732, 1397005522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61504030227661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:01:03.186202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_25_10539.jpg', '/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_35_9668.jpg', '/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_44_9512.jpg', '/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_55_10813.jpg', '/home/pi/Desktop/images/30112025/01/34/image_30112025_01_35_04_9579.jpg', '/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_15_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_25_10539.jpg
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_35_9668.jpg
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_44_9512.jpg
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_34_55_10813.jpg
/home/pi/Desktop/images/30112025/01/34/image_30112025_01_35_04_9579.jpg
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_15_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397006930","1397006590","1397006694","1397006490","1397006838","1397006766"],"photo_ids_order":["1397006490","1397006590","1397006694","1397006766","1397006838","1397006930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3d1929c6fd8d5b4bb26b23463e1bbd8.jpg","text":"TemporaryFile(/tmp/multipartBody75687510660115521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_35_15_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25a3837181091273728bbb8c658edf97.jpg","text":"TemporaryFile(/tmp/multipartBody2420735002627053550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_34_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7028e451a3fa0d97ffb86f9146759f8.jpg","text":"TemporaryFile(/tmp/multipartBody6820555557321570482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_34_44_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25173d7f8d46708400040f7be6096b70.jpg","text":"TemporaryFile(/tmp/multipartBody4402141414071403124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_34_25_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d31a853ca9eabf4687ec5e133d7e5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7141727131887234486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_35_04_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f108cf2faaced4216f2af332543ead6.jpg","text":"TemporaryFile(/tmp/multipartBody1594889743943376745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464523925,"filename":"image_30112025_01_34_55_10813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397006694","file1":"1397006590","file0":"1397006490","file4":"1397006838","file5":"1397006930","file3":"1397006766"},"map_files_photo_id_array":[{"photo_id":"1397006930","filename":"file5"},{"photo_id":"1397006694","filename":"file2"},{"photo_id":"1397006838","filename":"file4"},{"photo_id":"1397006590","filename":"file1"},{"photo_id":"1397006490","filename":"file0"},{"photo_id":"1397006766","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397006930":["hashtag1","hashtag2"]},{"1397006590":["hashtag1","hashtag2"]},{"1397006694":["hashtag1","hashtag2"]},{"1397006490":["hashtag1","hashtag2"]},{"1397006838":["hashtag1","hashtag2"]},{"1397006766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397006930, 1397006590, 1397006694, 1397006490, 1397006838, 1397006766)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.12061667442322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:02:03.126229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_25_9630.jpg', '/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_34_9715.jpg', '/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_45_10646.jpg', '/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_55_9644.jpg', '/home/pi/Desktop/images/30112025/01/35/image_30112025_01_36_04_9771.jpg', '/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_14_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_25_9630.jpg
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_34_9715.jpg
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_45_10646.jpg
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_35_55_9644.jpg
/home/pi/Desktop/images/30112025/01/35/image_30112025_01_36_04_9771.jpg
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_14_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397007256","1397007319","1397007426","1397007441","1397007386","1397007470"],"photo_ids_order":["1397007256","1397007319","1397007386","1397007426","1397007441","1397007470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92f9464a1cb28d9c070391d5ed8448fe.jpg","text":"TemporaryFile(/tmp/multipartBody9114116007029055184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_35_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dba52837ba2eaff2ca56d8a4ff12562a.jpg","text":"TemporaryFile(/tmp/multipartBody5118168166912238698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_35_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a91e6e18101cfbba3a4a50e108971725.jpg","text":"TemporaryFile(/tmp/multipartBody8214050079656919764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_35_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/945b6acd135ca1419cd4e65a91c201b0.jpg","text":"TemporaryFile(/tmp/multipartBody2878522466286034746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_36_04_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24f6668275d399ee590026667f82e41b.jpg","text":"TemporaryFile(/tmp/multipartBody7278978811028857431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_35_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e15968296d89460962520604aaa156ee.jpg","text":"TemporaryFile(/tmp/multipartBody4284898178519581992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464583831,"filename":"image_30112025_01_36_14_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397007386","file1":"1397007319","file0":"1397007256","file4":"1397007441","file5":"1397007470","file3":"1397007426"},"map_files_photo_id_array":[{"photo_id":"1397007470","filename":"file5"},{"photo_id":"1397007386","filename":"file2"},{"photo_id":"1397007441","filename":"file4"},{"photo_id":"1397007319","filename":"file1"},{"photo_id":"1397007256","filename":"file0"},{"photo_id":"1397007426","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397007256":["hashtag1","hashtag2"]},{"1397007319":["hashtag1","hashtag2"]},{"1397007426":["hashtag1","hashtag2"]},{"1397007441":["hashtag1","hashtag2"]},{"1397007386":["hashtag1","hashtag2"]},{"1397007470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397007256, 1397007319, 1397007426, 1397007441, 1397007386, 1397007470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06951880455017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:02:42.653703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/23/image_31102025_11_23_53_3689.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_56_2605.jpg', '/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_59_2827.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_02_3590.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_08_2752.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_10_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_53_3689.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_56_2605.jpg
/home/pi/Desktop/images/31102025/11/23/image_31102025_11_23_59_2827.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_02_3590.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_08_2752.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_10_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397007763","1397007658","1397007571","1397007693","1397007621","1397007728"],"photo_ids_order":["1397007571","1397007621","1397007658","1397007693","1397007728","1397007763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e10d377215c6e57c071569af6191f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2249090836582277680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_24_10_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/30/42145fd2b57273f5d64354237ddecd0e.jpg","text":"TemporaryFile(/tmp/multipartBody5674610850838349590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_23_59_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/30/75e1c19756ee4b6c276a5e08887152bc.jpg","text":"TemporaryFile(/tmp/multipartBody1347961704669301453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_23_53_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/30/29f10ae5132dedaa82c5426f2ec06571.jpg","text":"TemporaryFile(/tmp/multipartBody2416621312581308540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_24_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/30/04da82feab22be2036920f72235683bb.jpg","text":"TemporaryFile(/tmp/multipartBody9186799179194317705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_23_56_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95f9c32ab46722adaf2017f59913cc99.jpg","text":"TemporaryFile(/tmp/multipartBody695288611993959483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464623564,"filename":"image_31102025_11_24_08_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397007658","file1":"1397007621","file0":"1397007571","file4":"1397007728","file5":"1397007763","file3":"1397007693"},"map_files_photo_id_array":[{"photo_id":"1397007763","filename":"file5"},{"photo_id":"1397007658","filename":"file2"},{"photo_id":"1397007728","filename":"file4"},{"photo_id":"1397007621","filename":"file1"},{"photo_id":"1397007571","filename":"file0"},{"photo_id":"1397007693","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397007763":["hashtag1","hashtag2"]},{"1397007658":["hashtag1","hashtag2"]},{"1397007571":["hashtag1","hashtag2"]},{"1397007693":["hashtag1","hashtag2"]},{"1397007621":["hashtag1","hashtag2"]},{"1397007728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397007763, 1397007658, 1397007571, 1397007693, 1397007621, 1397007728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.044926404953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:03:22.864570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_25_10675.jpg', '/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_35_9759.jpg', '/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_44_9569.jpg', '/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_55_10679.jpg', '/home/pi/Desktop/images/30112025/01/36/image_30112025_01_37_05_9682.jpg', '/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_14_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_25_10675.jpg
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_35_9759.jpg
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_44_9569.jpg
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_36_55_10679.jpg
/home/pi/Desktop/images/30112025/01/36/image_30112025_01_37_05_9682.jpg
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_14_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397007961","1397007957","1397007903","1397007998","1397007959","1397007938"],"photo_ids_order":["1397007903","1397007938","1397007957","1397007959","1397007961","1397007998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74ba8fec4acc5ec9fd240c1ac690d2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5916945505546595575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_37_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef5091381bc98f1e3764de2306db0236.jpg","text":"TemporaryFile(/tmp/multipartBody7464313618117958440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_36_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23bd8cac10073dc6645f461bca7ac629.jpg","text":"TemporaryFile(/tmp/multipartBody3693155193482444131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_36_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c3f9eb7d4f79792368b0d7e1a227b33.jpg","text":"TemporaryFile(/tmp/multipartBody2513816009105909479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_37_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b2111c6355d6293f3d4a3f17a4fc02b.jpg","text":"TemporaryFile(/tmp/multipartBody6153259877528619154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_36_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55db5baa69f9dbf853c87ddb027a0253.jpg","text":"TemporaryFile(/tmp/multipartBody6347176950112391431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464663550,"filename":"image_30112025_01_36_35_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397007957","file1":"1397007938","file0":"1397007903","file4":"1397007961","file5":"1397007998","file3":"1397007959"},"map_files_photo_id_array":[{"photo_id":"1397007998","filename":"file5"},{"photo_id":"1397007957","filename":"file2"},{"photo_id":"1397007961","filename":"file4"},{"photo_id":"1397007938","filename":"file1"},{"photo_id":"1397007903","filename":"file0"},{"photo_id":"1397007959","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397007961":["hashtag1","hashtag2"]},{"1397007957":["hashtag1","hashtag2"]},{"1397007903":["hashtag1","hashtag2"]},{"1397007998":["hashtag1","hashtag2"]},{"1397007959":["hashtag1","hashtag2"]},{"1397007938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397007961, 1397007957, 1397007903, 1397007998, 1397007959, 1397007938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02079391479492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:04:02.684398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_24_9706.jpg', '/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_35_10640.jpg', '/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_45_9813.jpg', '/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_54_9688.jpg', '/home/pi/Desktop/images/30112025/01/37/image_30112025_01_38_05_10624.jpg', '/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_15_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_24_9706.jpg
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_35_10640.jpg
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_45_9813.jpg
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_37_54_9688.jpg
/home/pi/Desktop/images/30112025/01/37/image_30112025_01_38_05_10624.jpg
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_15_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008057","1397008051","1397008050","1397008052","1397008049","1397008054"],"photo_ids_order":["1397008049","1397008050","1397008051","1397008052","1397008054","1397008057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0c95e217b4373d536a8d4cb45e6441a.jpg","text":"TemporaryFile(/tmp/multipartBody3439587174027522323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_38_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee37df2c0f67d95cee58c47003482c01.jpg","text":"TemporaryFile(/tmp/multipartBody5447429271235782581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_37_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53d10029f6a4b57c2b33a340c8f35692.jpg","text":"TemporaryFile(/tmp/multipartBody3167752500407880352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_37_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/693556e882a4477d61c8de2108c3ee0b.jpg","text":"TemporaryFile(/tmp/multipartBody4437785157478489881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_37_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7678324e9b28e99975746d6b252c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5037069974772831610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_37_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29cff19dea695013219a68da87bc172b.jpg","text":"TemporaryFile(/tmp/multipartBody1483839901589815752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464703470,"filename":"image_30112025_01_38_05_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008051","file1":"1397008050","file0":"1397008049","file4":"1397008054","file5":"1397008057","file3":"1397008052"},"map_files_photo_id_array":[{"photo_id":"1397008057","filename":"file5"},{"photo_id":"1397008051","filename":"file2"},{"photo_id":"1397008054","filename":"file4"},{"photo_id":"1397008050","filename":"file1"},{"photo_id":"1397008049","filename":"file0"},{"photo_id":"1397008052","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008057":["hashtag1","hashtag2"]},{"1397008051":["hashtag1","hashtag2"]},{"1397008050":["hashtag1","hashtag2"]},{"1397008052":["hashtag1","hashtag2"]},{"1397008049":["hashtag1","hashtag2"]},{"1397008054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008057, 1397008051, 1397008050, 1397008052, 1397008049, 1397008054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23226571083069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:04:42.022088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/24/image_31102025_11_24_14_3806.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_17_2711.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_22_2847.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_26_3742.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_29_2823.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_32_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_14_3806.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_17_2711.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_22_2847.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_26_3742.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_29_2823.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_32_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008071","1397008065","1397008068","1397008070","1397008067","1397008069"],"photo_ids_order":["1397008065","1397008067","1397008068","1397008069","1397008070","1397008071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62ff12b41d4a27e1eb5ed674b969e079.jpg","text":"TemporaryFile(/tmp/multipartBody6544429421205353563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_32_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b4f77067a5126ab568e6f2e660ab288.jpg","text":"TemporaryFile(/tmp/multipartBody5614913338023767897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_14_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/30/69a1455cf0b6567c0d9b01e4f46608ae.jpg","text":"TemporaryFile(/tmp/multipartBody5368009050967689455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_22_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/30/60b4bcfce1ab228b8ea763f8e6068181.jpg","text":"TemporaryFile(/tmp/multipartBody7821932267649794117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_29_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/30/4c0ec1d0b305564c9881e8e03a114f31.jpg","text":"TemporaryFile(/tmp/multipartBody5562960848952154247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_17_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/30/e544e58c80735823a3c5a014c9b01b05.jpg","text":"TemporaryFile(/tmp/multipartBody4186339619583216272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464742914,"filename":"image_31102025_11_24_26_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008068","file1":"1397008067","file0":"1397008065","file4":"1397008070","file5":"1397008071","file3":"1397008069"},"map_files_photo_id_array":[{"photo_id":"1397008071","filename":"file5"},{"photo_id":"1397008068","filename":"file2"},{"photo_id":"1397008070","filename":"file4"},{"photo_id":"1397008067","filename":"file1"},{"photo_id":"1397008065","filename":"file0"},{"photo_id":"1397008069","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008071":["hashtag1","hashtag2"]},{"1397008065":["hashtag1","hashtag2"]},{"1397008068":["hashtag1","hashtag2"]},{"1397008070":["hashtag1","hashtag2"]},{"1397008067":["hashtag1","hashtag2"]},{"1397008069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008071, 1397008065, 1397008068, 1397008070, 1397008067, 1397008069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95211958885193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:05:22.214115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_24_9715.jpg', '/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_35_10612.jpg', '/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_45_9693.jpg', '/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_54_9622.jpg', '/home/pi/Desktop/images/30112025/01/38/image_30112025_01_39_05_10590.jpg', '/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_24_9715.jpg
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_35_10612.jpg
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_45_9693.jpg
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_38_54_9622.jpg
/home/pi/Desktop/images/30112025/01/38/image_30112025_01_39_05_10590.jpg
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_14_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008078","1397008083","1397008097","1397008085","1397008081","1397008075"],"photo_ids_order":["1397008075","1397008078","1397008081","1397008083","1397008085","1397008097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53205b001941f30ac2e62d36d971ba7f.jpg","text":"TemporaryFile(/tmp/multipartBody6452370475719070577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_38_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8c16acd5bb7489092d67b8adcd229a0.jpg","text":"TemporaryFile(/tmp/multipartBody2133785746795016553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_38_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5372a189fcce26ce0a03c47dd0de489e.jpg","text":"TemporaryFile(/tmp/multipartBody8786042584002768193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_39_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9d3d49ad47c78d9bc8677eb5ebdf4a9.jpg","text":"TemporaryFile(/tmp/multipartBody5121522077860610152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_39_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50953c2f4f0b0f1080c24f83c92370f0.jpg","text":"TemporaryFile(/tmp/multipartBody4245126290376675327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_38_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f48fc033227fcdc0028c5a795aa68e3e.jpg","text":"TemporaryFile(/tmp/multipartBody4407804038899744794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464785460,"filename":"image_30112025_01_38_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008081","file1":"1397008078","file0":"1397008075","file4":"1397008085","file5":"1397008097","file3":"1397008083"},"map_files_photo_id_array":[{"photo_id":"1397008097","filename":"file5"},{"photo_id":"1397008081","filename":"file2"},{"photo_id":"1397008085","filename":"file4"},{"photo_id":"1397008078","filename":"file1"},{"photo_id":"1397008075","filename":"file0"},{"photo_id":"1397008083","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008078":["hashtag1","hashtag2"]},{"1397008083":["hashtag1","hashtag2"]},{"1397008097":["hashtag1","hashtag2"]},{"1397008085":["hashtag1","hashtag2"]},{"1397008081":["hashtag1","hashtag2"]},{"1397008075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008078, 1397008083, 1397008097, 1397008085, 1397008081, 1397008075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83234429359436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:06:02.871569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_24_9901.jpg', '/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_35_10631.jpg', '/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_45_9777.jpg', '/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_55_9765.jpg', '/home/pi/Desktop/images/30112025/01/39/image_30112025_01_40_04_9565.jpg', '/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_15_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_24_9901.jpg
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_35_10631.jpg
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_45_9777.jpg
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_39_55_9765.jpg
/home/pi/Desktop/images/30112025/01/39/image_30112025_01_40_04_9565.jpg
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_15_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008105","1397008098","1397008101","1397008100","1397008099","1397008103"],"photo_ids_order":["1397008098","1397008099","1397008100","1397008101","1397008103","1397008105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cec57a35880d7b9f7720beb8c3cfac6.jpg","text":"TemporaryFile(/tmp/multipartBody8288142859882776991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_40_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5754c1967f2748f4e928f226a4cd614.jpg","text":"TemporaryFile(/tmp/multipartBody8201825379326604269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_39_24_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7b02c49e31c25548d0f409e3c55bdd9.jpg","text":"TemporaryFile(/tmp/multipartBody2158468949515794104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_39_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9739890c981fdcf5c36886a372c3997b.jpg","text":"TemporaryFile(/tmp/multipartBody5874936064699911679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_39_45_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c033626218163d81d803f6921033e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8197157780252364860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_39_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/225482882142c9e29f6bd728414d4aec.jpg","text":"TemporaryFile(/tmp/multipartBody8545402581713207323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464823618,"filename":"image_30112025_01_40_04_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008100","file1":"1397008099","file0":"1397008098","file4":"1397008103","file5":"1397008105","file3":"1397008101"},"map_files_photo_id_array":[{"photo_id":"1397008105","filename":"file5"},{"photo_id":"1397008100","filename":"file2"},{"photo_id":"1397008103","filename":"file4"},{"photo_id":"1397008099","filename":"file1"},{"photo_id":"1397008098","filename":"file0"},{"photo_id":"1397008101","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008105":["hashtag1","hashtag2"]},{"1397008098":["hashtag1","hashtag2"]},{"1397008101":["hashtag1","hashtag2"]},{"1397008100":["hashtag1","hashtag2"]},{"1397008099":["hashtag1","hashtag2"]},{"1397008103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008105, 1397008098, 1397008101, 1397008100, 1397008099, 1397008103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40804743766785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:06:42.470790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/24/image_31102025_11_24_35_3618.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_38_2629.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_44_3523.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_47_2796.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_50_2870.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_53_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_35_3618.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_38_2629.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_44_3523.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_47_2796.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_50_2870.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_53_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008120","1397008114","1397008116","1397008119","1397008118","1397008112"],"photo_ids_order":["1397008112","1397008114","1397008116","1397008118","1397008119","1397008120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f6b0cb21e0457deaca63c0443fb1c71.jpg","text":"TemporaryFile(/tmp/multipartBody921019559812746400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_53_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/30/68a03d21039e3fe373b4eac16a2ce768.jpg","text":"TemporaryFile(/tmp/multipartBody4729073644979376079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_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/30/5f804a2a64479f92dbb6f3bc0d220d69.jpg","text":"TemporaryFile(/tmp/multipartBody6264311046632160489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_44_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/30/4eb0c8b57b970c17be27dde51c35d14e.jpg","text":"TemporaryFile(/tmp/multipartBody1181488843678566766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_50_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/30/aef68ff5e12c5dc4e5401fe18133f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2803980500842864738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_47_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a49a13484572594909acd822226a679d.jpg","text":"TemporaryFile(/tmp/multipartBody3398301710233006240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464863378,"filename":"image_31102025_11_24_35_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008116","file1":"1397008114","file0":"1397008112","file4":"1397008119","file5":"1397008120","file3":"1397008118"},"map_files_photo_id_array":[{"photo_id":"1397008120","filename":"file5"},{"photo_id":"1397008116","filename":"file2"},{"photo_id":"1397008119","filename":"file4"},{"photo_id":"1397008114","filename":"file1"},{"photo_id":"1397008112","filename":"file0"},{"photo_id":"1397008118","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008120":["hashtag1","hashtag2"]},{"1397008114":["hashtag1","hashtag2"]},{"1397008116":["hashtag1","hashtag2"]},{"1397008119":["hashtag1","hashtag2"]},{"1397008118":["hashtag1","hashtag2"]},{"1397008112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008120, 1397008114, 1397008116, 1397008119, 1397008118, 1397008112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22643685340881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:07:22.640152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_24_9693.jpg', '/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_35_10613.jpg', '/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_45_9762.jpg', '/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_55_9829.jpg', '/home/pi/Desktop/images/30112025/01/40/image_30112025_01_41_04_9824.jpg', '/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_14_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_24_9693.jpg
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_35_10613.jpg
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_45_9762.jpg
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_40_55_9829.jpg
/home/pi/Desktop/images/30112025/01/40/image_30112025_01_41_04_9824.jpg
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_14_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008137","1397008136","1397008130","1397008124","1397008133","1397008127"],"photo_ids_order":["1397008124","1397008127","1397008130","1397008133","1397008136","1397008137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cc46959048643a3c2d86293679d1b50.jpg","text":"TemporaryFile(/tmp/multipartBody7237145866506395708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_41_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b2f09234728154021587da20396e441.jpg","text":"TemporaryFile(/tmp/multipartBody6536514672970478114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_41_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb22d559157cd7d476e6d01e91aec1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2727626677509945123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_40_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27e2e17003411ef7c5243bea4f886453.jpg","text":"TemporaryFile(/tmp/multipartBody3163732716115485826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_40_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb5f953828495662e02ca36da7785711.jpg","text":"TemporaryFile(/tmp/multipartBody8783444208839680894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_40_55_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/704fe641efae106a28bbb9cf441138cb.jpg","text":"TemporaryFile(/tmp/multipartBody4596984022970803674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464903349,"filename":"image_30112025_01_40_35_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008130","file1":"1397008127","file0":"1397008124","file4":"1397008136","file5":"1397008137","file3":"1397008133"},"map_files_photo_id_array":[{"photo_id":"1397008137","filename":"file5"},{"photo_id":"1397008130","filename":"file2"},{"photo_id":"1397008136","filename":"file4"},{"photo_id":"1397008127","filename":"file1"},{"photo_id":"1397008124","filename":"file0"},{"photo_id":"1397008133","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008137":["hashtag1","hashtag2"]},{"1397008136":["hashtag1","hashtag2"]},{"1397008130":["hashtag1","hashtag2"]},{"1397008124":["hashtag1","hashtag2"]},{"1397008133":["hashtag1","hashtag2"]},{"1397008127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008137, 1397008136, 1397008130, 1397008124, 1397008133, 1397008127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24332904815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:08:02.326904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_25_10597.jpg', '/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_34_9807.jpg', '/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_44_9674.jpg', '/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_55_10791.jpg', '/home/pi/Desktop/images/30112025/01/41/image_30112025_01_42_05_9755.jpg', '/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_14_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_25_10597.jpg
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_34_9807.jpg
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_44_9674.jpg
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_41_55_10791.jpg
/home/pi/Desktop/images/30112025/01/41/image_30112025_01_42_05_9755.jpg
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_14_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008138","1397008140","1397008142","1397008145","1397008139","1397008148"],"photo_ids_order":["1397008138","1397008139","1397008140","1397008142","1397008145","1397008148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b677d56fb65d0057ab5740df261ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody1358645448002810048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_41_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9269f30a16c94895dd055fc2f14ce4f4.jpg","text":"TemporaryFile(/tmp/multipartBody4346753832450066940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_41_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3a6af612dc1422b3df4a329bab1f62f.jpg","text":"TemporaryFile(/tmp/multipartBody2187516018316278461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_41_55_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a582f9173827b5f8cf121c317d8747ef.jpg","text":"TemporaryFile(/tmp/multipartBody7789172409183628602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_42_05_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbecc09ec38ad25b3a3b30da723fa022.jpg","text":"TemporaryFile(/tmp/multipartBody7597127677341689703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_41_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33ace0b71a5d09bd3eacc1868466a834.jpg","text":"TemporaryFile(/tmp/multipartBody8708316916876896821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764464947967,"filename":"image_30112025_01_42_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008140","file1":"1397008139","file0":"1397008138","file4":"1397008145","file5":"1397008148","file3":"1397008142"},"map_files_photo_id_array":[{"photo_id":"1397008148","filename":"file5"},{"photo_id":"1397008140","filename":"file2"},{"photo_id":"1397008145","filename":"file4"},{"photo_id":"1397008139","filename":"file1"},{"photo_id":"1397008138","filename":"file0"},{"photo_id":"1397008142","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008138":["hashtag1","hashtag2"]},{"1397008140":["hashtag1","hashtag2"]},{"1397008142":["hashtag1","hashtag2"]},{"1397008145":["hashtag1","hashtag2"]},{"1397008139":["hashtag1","hashtag2"]},{"1397008148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008138, 1397008140, 1397008142, 1397008145, 1397008139, 1397008148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.631149768829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:09:02.925892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:09:12.002823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_52_2551.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_05_13148.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_11_5928.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_13_1663.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_14_1640.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_16_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/31/image_25112025_19_31_52_2551.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_05_13148.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_11_5928.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_13_1663.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_14_1640.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_16_1606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008164","1397008172","1397008175","1397008169","1397008178","1397008165"],"photo_ids_order":["1397008164","1397008165","1397008169","1397008172","1397008175","1397008178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40536f412be918c8c6bace55a6060dba.jpg","text":"TemporaryFile(/tmp/multipartBody3359381725088438184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_31_52_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/30/c265f20087a8f74caa9efebf3ff0558e.jpg","text":"TemporaryFile(/tmp/multipartBody9197148536612876012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_32_13_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/30/032e7b929424c559963d288196b7912f.jpg","text":"TemporaryFile(/tmp/multipartBody865049735144602042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_32_14_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/30/772b362b62b08bccd8003b2bbb1ef0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1377490132664000372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_32_11_5928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca54a52a8095cf727fe23c0aa35eb9aa.jpg","text":"TemporaryFile(/tmp/multipartBody3901455593398606880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_32_16_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/30/0b987d4be95b95eea7d55941f05db584.jpg","text":"TemporaryFile(/tmp/multipartBody7511561221207148708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465014763,"filename":"image_25112025_19_32_05_13148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008169","file1":"1397008165","file0":"1397008164","file4":"1397008175","file5":"1397008178","file3":"1397008172"},"map_files_photo_id_array":[{"photo_id":"1397008178","filename":"file5"},{"photo_id":"1397008169","filename":"file2"},{"photo_id":"1397008175","filename":"file4"},{"photo_id":"1397008165","filename":"file1"},{"photo_id":"1397008164","filename":"file0"},{"photo_id":"1397008172","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008164":["hashtag1","hashtag2"]},{"1397008172":["hashtag1","hashtag2"]},{"1397008175":["hashtag1","hashtag2"]},{"1397008169":["hashtag1","hashtag2"]},{"1397008178":["hashtag1","hashtag2"]},{"1397008165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008164, 1397008172, 1397008175, 1397008169, 1397008178, 1397008165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.540353298187256 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 --only_old 1
2025-11-30 02:10:12.170300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_18_1623.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_19_1583.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_21_1721.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_23_1620.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_24_1639.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_26_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_18_1623.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_19_1583.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_21_1721.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_23_1620.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_24_1639.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_26_1627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008188","1397008185","1397008187","1397008181","1397008183","1397008180"],"photo_ids_order":["1397008180","1397008181","1397008183","1397008185","1397008187","1397008188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e4145a6d93f9ccee52b857fa71458ad.jpg","text":"TemporaryFile(/tmp/multipartBody5813509624630037441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_26_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/30/16b6419896f41dbfac16c503eb8b6934.jpg","text":"TemporaryFile(/tmp/multipartBody3501714198176428334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_23_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/30/bef9303a8ae5f38904ebf6e28e9b6756.jpg","text":"TemporaryFile(/tmp/multipartBody5645011006533983732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_24_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/30/667885d788484e1e84a36ae919501113.jpg","text":"TemporaryFile(/tmp/multipartBody8593689195847883861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_19_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/30/698fa2d36ef73087751f017b288a5fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3090320985095552944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_21_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/30/591059be4c12de7ac18ce99c6bc22c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5571377141400720460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465074623,"filename":"image_25112025_19_32_18_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008183","file1":"1397008181","file0":"1397008180","file4":"1397008187","file5":"1397008188","file3":"1397008185"},"map_files_photo_id_array":[{"photo_id":"1397008188","filename":"file5"},{"photo_id":"1397008183","filename":"file2"},{"photo_id":"1397008187","filename":"file4"},{"photo_id":"1397008181","filename":"file1"},{"photo_id":"1397008180","filename":"file0"},{"photo_id":"1397008185","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008188":["hashtag1","hashtag2"]},{"1397008185":["hashtag1","hashtag2"]},{"1397008187":["hashtag1","hashtag2"]},{"1397008181":["hashtag1","hashtag2"]},{"1397008183":["hashtag1","hashtag2"]},{"1397008180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008188, 1397008185, 1397008187, 1397008181, 1397008183, 1397008180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.822094440460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:11:03.040141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_24_9669.jpg', '/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_35_10589.jpg', '/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_44_9703.jpg', '/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_54_9710.jpg', '/home/pi/Desktop/images/30112025/01/42/image_30112025_01_43_05_10549.jpg', '/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_14_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_24_9669.jpg
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_35_10589.jpg
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_44_9703.jpg
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_42_54_9710.jpg
/home/pi/Desktop/images/30112025/01/42/image_30112025_01_43_05_10549.jpg
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_14_9869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008194","1397008197","1397008191","1397008190","1397008192","1397008189"],"photo_ids_order":["1397008189","1397008190","1397008191","1397008192","1397008194","1397008197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c5e05cb140ebec5df00ab165d04c91d.jpg","text":"TemporaryFile(/tmp/multipartBody6185558564006029821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_43_05_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e00ef6c031d54c0ace2bb79cd35d5715.jpg","text":"TemporaryFile(/tmp/multipartBody7048188420931747656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_43_14_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d44db84e3cdb18634250a44099b271ef.jpg","text":"TemporaryFile(/tmp/multipartBody3463301026681220497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_42_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23acfa1545a0805cc953ac0f508a9919.jpg","text":"TemporaryFile(/tmp/multipartBody5755846320431097996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_42_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0220097cf389630a49697cb876a0e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3781044613364474629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_42_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc233425ad6fd7da17a2edddee73cd67.jpg","text":"TemporaryFile(/tmp/multipartBody5665083973880177526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465123799,"filename":"image_30112025_01_42_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008191","file1":"1397008190","file0":"1397008189","file4":"1397008194","file5":"1397008197","file3":"1397008192"},"map_files_photo_id_array":[{"photo_id":"1397008197","filename":"file5"},{"photo_id":"1397008191","filename":"file2"},{"photo_id":"1397008194","filename":"file4"},{"photo_id":"1397008190","filename":"file1"},{"photo_id":"1397008189","filename":"file0"},{"photo_id":"1397008192","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008194":["hashtag1","hashtag2"]},{"1397008197":["hashtag1","hashtag2"]},{"1397008191":["hashtag1","hashtag2"]},{"1397008190":["hashtag1","hashtag2"]},{"1397008192":["hashtag1","hashtag2"]},{"1397008189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008194, 1397008197, 1397008191, 1397008190, 1397008192, 1397008189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.400784730911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:11:42.318715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/24/image_31102025_11_24_56_3730.jpg', '/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_59_2664.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_07_3015.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_10_3618.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_13_2679.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_17_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_56_3730.jpg
/home/pi/Desktop/images/31102025/11/24/image_31102025_11_24_59_2664.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_07_3015.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_10_3618.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_13_2679.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_17_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008222","1397008225","1397008207","1397008224","1397008203","1397008223"],"photo_ids_order":["1397008203","1397008207","1397008222","1397008223","1397008224","1397008225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e5f52358e2929b0578837d06a6e5c12.jpg","text":"TemporaryFile(/tmp/multipartBody7938629119777788514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_26_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/30/5978ee1efb25503738c4353f985368a7.jpg","text":"TemporaryFile(/tmp/multipartBody2888318729973063021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_26_17_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/30/26626d98d91010019c17f403f141a335.jpg","text":"TemporaryFile(/tmp/multipartBody7005212379288368936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_24_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/30/557cc56c09fcd3003466659dbecddef2.jpg","text":"TemporaryFile(/tmp/multipartBody5965001384114263031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_26_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/30/f39b9795ac78a88a5e2ab9f29f8df4bb.jpg","text":"TemporaryFile(/tmp/multipartBody1664086003986400263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_24_56_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/30/9ef10bc18d4c0344986b874dc187fab4.jpg","text":"TemporaryFile(/tmp/multipartBody5428059034255497504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465163228,"filename":"image_31102025_11_26_10_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008222","file1":"1397008207","file0":"1397008203","file4":"1397008224","file5":"1397008225","file3":"1397008223"},"map_files_photo_id_array":[{"photo_id":"1397008225","filename":"file5"},{"photo_id":"1397008222","filename":"file2"},{"photo_id":"1397008224","filename":"file4"},{"photo_id":"1397008207","filename":"file1"},{"photo_id":"1397008203","filename":"file0"},{"photo_id":"1397008223","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008222":["hashtag1","hashtag2"]},{"1397008225":["hashtag1","hashtag2"]},{"1397008207":["hashtag1","hashtag2"]},{"1397008224":["hashtag1","hashtag2"]},{"1397008203":["hashtag1","hashtag2"]},{"1397008223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008222, 1397008225, 1397008207, 1397008224, 1397008203, 1397008223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08808398246765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:12:22.511556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_24_9706.jpg', '/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_35_10771.jpg', '/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_45_9620.jpg', '/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_54_9670.jpg', '/home/pi/Desktop/images/30112025/01/43/image_30112025_01_44_04_9824.jpg', '/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_15_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_24_9706.jpg
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_35_10771.jpg
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_45_9620.jpg
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_43_54_9670.jpg
/home/pi/Desktop/images/30112025/01/43/image_30112025_01_44_04_9824.jpg
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_15_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008240","1397008228","1397008237","1397008230","1397008233","1397008235"],"photo_ids_order":["1397008228","1397008230","1397008233","1397008235","1397008237","1397008240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c30a9c9641720f0c2d16fb29de702db2.jpg","text":"TemporaryFile(/tmp/multipartBody8962845021841720258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_44_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8afe06e6f5271c93986a7f461bc90ac.jpg","text":"TemporaryFile(/tmp/multipartBody7323358618919403705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_43_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7acb36fafe88151b9455fc1371f46db.jpg","text":"TemporaryFile(/tmp/multipartBody902418199374216053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_44_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5515a4463d734107001503c9735143d8.jpg","text":"TemporaryFile(/tmp/multipartBody7970111635393660964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_43_35_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d9c5673e6cdb0c6952c62c28dcec26d.jpg","text":"TemporaryFile(/tmp/multipartBody2003344923170803825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_43_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b5d79e6e057748660c13e0bccab71c1.jpg","text":"TemporaryFile(/tmp/multipartBody8279094553683795511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465203233,"filename":"image_30112025_01_43_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008233","file1":"1397008230","file0":"1397008228","file4":"1397008237","file5":"1397008240","file3":"1397008235"},"map_files_photo_id_array":[{"photo_id":"1397008240","filename":"file5"},{"photo_id":"1397008233","filename":"file2"},{"photo_id":"1397008237","filename":"file4"},{"photo_id":"1397008230","filename":"file1"},{"photo_id":"1397008228","filename":"file0"},{"photo_id":"1397008235","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008240":["hashtag1","hashtag2"]},{"1397008228":["hashtag1","hashtag2"]},{"1397008237":["hashtag1","hashtag2"]},{"1397008230":["hashtag1","hashtag2"]},{"1397008233":["hashtag1","hashtag2"]},{"1397008235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008240, 1397008228, 1397008237, 1397008230, 1397008233, 1397008235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82266187667847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:13:03.437896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_24_9719.jpg', '/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_35_10612.jpg', '/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_45_9597.jpg', '/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_54_9567.jpg', '/home/pi/Desktop/images/30112025/01/44/image_30112025_01_45_05_10769.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_15_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_24_9719.jpg
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_35_10612.jpg
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_45_9597.jpg
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_44_54_9567.jpg
/home/pi/Desktop/images/30112025/01/44/image_30112025_01_45_05_10769.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_15_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397008245","1397008248","1397008253","1397008250","1397008247","1397008246"],"photo_ids_order":["1397008245","1397008246","1397008247","1397008248","1397008250","1397008253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2edb1540381d545c283599b8919d0110.jpg","text":"TemporaryFile(/tmp/multipartBody292272850329848564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_44_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a11c24a203b6d024e227bd93c10b155a.jpg","text":"TemporaryFile(/tmp/multipartBody4279676375404988331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_44_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f08625bbe4c35685048da0f33295d206.jpg","text":"TemporaryFile(/tmp/multipartBody6547413101767029949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_45_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67c4ed5e78bef3285a0ab5c4336b7fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4917166409629195661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_45_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3734126977f61bcb6cefe67ec5dbff59.jpg","text":"TemporaryFile(/tmp/multipartBody8852171882016868881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_44_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cef18b7307c0a221d61a7b25e9011f1.jpg","text":"TemporaryFile(/tmp/multipartBody4252507370605973678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465244181,"filename":"image_30112025_01_44_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008247","file1":"1397008246","file0":"1397008245","file4":"1397008250","file5":"1397008253","file3":"1397008248"},"map_files_photo_id_array":[{"photo_id":"1397008253","filename":"file5"},{"photo_id":"1397008247","filename":"file2"},{"photo_id":"1397008250","filename":"file4"},{"photo_id":"1397008246","filename":"file1"},{"photo_id":"1397008245","filename":"file0"},{"photo_id":"1397008248","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008245":["hashtag1","hashtag2"]},{"1397008248":["hashtag1","hashtag2"]},{"1397008253":["hashtag1","hashtag2"]},{"1397008250":["hashtag1","hashtag2"]},{"1397008247":["hashtag1","hashtag2"]},{"1397008246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008245, 1397008248, 1397008253, 1397008250, 1397008247, 1397008246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.23305916786194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:14:03.139287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_24_9705.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_34_9651.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_45_10600.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_54_9618.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_46_04_9841.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_15_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_24_9705.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_34_9651.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_45_10600.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_54_9618.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_46_04_9841.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_15_10611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6400821208953857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:14:12.339315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_28_2617.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_31_2596.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_37_2688.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_42_4741.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_44_1551.jpg', '/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_46_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_28_2617.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_31_2596.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_37_2688.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_42_4741.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_44_1551.jpg
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_46_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008281","1397008271","1397008268","1397008265","1397008276","1397008279"],"photo_ids_order":["1397008265","1397008268","1397008271","1397008276","1397008279","1397008281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/708722649c6dab57e01a285a1b2d8b88.jpg","text":"TemporaryFile(/tmp/multipartBody1442151551890753563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_46_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/30/83fff035b5390dc25211a2e9c2481745.jpg","text":"TemporaryFile(/tmp/multipartBody5379131321908994462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_37_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f333281e8ef98fb106ae4f309895d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody64516632670249888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_31_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/30/846800b272717afcb64ae1e075ef5fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2444402855537249930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_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/30/3ffbd577775933b855c7046e32ca9433.jpg","text":"TemporaryFile(/tmp/multipartBody4146025583278069148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_42_4741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4122df2aa4eaee2636acf3e1b7ffaa9.jpg","text":"TemporaryFile(/tmp/multipartBody4935078255333599434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465314221,"filename":"image_25112025_19_32_44_1551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008271","file1":"1397008268","file0":"1397008265","file4":"1397008279","file5":"1397008281","file3":"1397008276"},"map_files_photo_id_array":[{"photo_id":"1397008281","filename":"file5"},{"photo_id":"1397008271","filename":"file2"},{"photo_id":"1397008279","filename":"file4"},{"photo_id":"1397008268","filename":"file1"},{"photo_id":"1397008265","filename":"file0"},{"photo_id":"1397008276","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008281":["hashtag1","hashtag2"]},{"1397008271":["hashtag1","hashtag2"]},{"1397008268":["hashtag1","hashtag2"]},{"1397008265":["hashtag1","hashtag2"]},{"1397008276":["hashtag1","hashtag2"]},{"1397008279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008281, 1397008271, 1397008268, 1397008265, 1397008276, 1397008279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03613901138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:15:03.095306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_24_9705.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_34_9651.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_45_10600.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_54_9618.jpg', '/home/pi/Desktop/images/30112025/01/45/image_30112025_01_46_04_9841.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_15_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_24_9705.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_34_9651.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_45_10600.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_45_54_9618.jpg
/home/pi/Desktop/images/30112025/01/45/image_30112025_01_46_04_9841.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_15_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008309","1397008311","1397008316","1397008319","1397008310","1397008313"],"photo_ids_order":["1397008309","1397008310","1397008311","1397008313","1397008316","1397008319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/959fe935b9e75809ee72cb66cecc107c.jpg","text":"TemporaryFile(/tmp/multipartBody5040229255721522493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_45_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3049272d3f451549df3dc3ea7b61ea8a.jpg","text":"TemporaryFile(/tmp/multipartBody9020378339359961743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_45_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3279f6de5f688a5b62ae184ef459344d.jpg","text":"TemporaryFile(/tmp/multipartBody3433923273478269278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_46_04_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d62baa05980667881a2fa7a471c3c05.jpg","text":"TemporaryFile(/tmp/multipartBody1936960069580755670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_46_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3d2531ab490e4a2e3289b3889f545a5.jpg","text":"TemporaryFile(/tmp/multipartBody886019059729190656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_45_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab6c87c88b309ac2cd55884a0998ee2b.jpg","text":"TemporaryFile(/tmp/multipartBody8734530355636783431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465365958,"filename":"image_30112025_01_45_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008311","file1":"1397008310","file0":"1397008309","file4":"1397008316","file5":"1397008319","file3":"1397008313"},"map_files_photo_id_array":[{"photo_id":"1397008319","filename":"file5"},{"photo_id":"1397008311","filename":"file2"},{"photo_id":"1397008316","filename":"file4"},{"photo_id":"1397008310","filename":"file1"},{"photo_id":"1397008309","filename":"file0"},{"photo_id":"1397008313","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008309":["hashtag1","hashtag2"]},{"1397008311":["hashtag1","hashtag2"]},{"1397008316":["hashtag1","hashtag2"]},{"1397008319":["hashtag1","hashtag2"]},{"1397008310":["hashtag1","hashtag2"]},{"1397008313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008309, 1397008311, 1397008316, 1397008319, 1397008310, 1397008313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.115673303604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:15:42.525520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/26/image_31102025_11_26_19_2567.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_22_2619.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_26_3792.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_28_2601.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_31_2816.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_34_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_19_2567.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_22_2619.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_26_3792.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_28_2601.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_31_2816.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_34_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008327","1397008330","1397008324","1397008326","1397008329","1397008328"],"photo_ids_order":["1397008324","1397008326","1397008327","1397008328","1397008329","1397008330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8f669d842fdb5f45002e8c4c0aa83d9.jpg","text":"TemporaryFile(/tmp/multipartBody1403454676746094678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_26_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/30/5dd756e916a172e85f0f87d2c797e9e0.jpg","text":"TemporaryFile(/tmp/multipartBody1143527172170249563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_34_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/30/ca93e1ddd56a1a76c551b3bbadd8dfcd.jpg","text":"TemporaryFile(/tmp/multipartBody3964269158065189858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_19_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/30/40dac3bae1f050260e3770b16ba55885.jpg","text":"TemporaryFile(/tmp/multipartBody2460435008446789440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_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/30/e9a8e9427cd0c08a6e2e4fc7fe325750.jpg","text":"TemporaryFile(/tmp/multipartBody6029409343061054912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_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/30/40b27055e8817551faabc7fc9c9c3f46.jpg","text":"TemporaryFile(/tmp/multipartBody5444235334234403309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465403489,"filename":"image_31102025_11_26_28_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008327","file1":"1397008326","file0":"1397008324","file4":"1397008329","file5":"1397008330","file3":"1397008328"},"map_files_photo_id_array":[{"photo_id":"1397008330","filename":"file5"},{"photo_id":"1397008327","filename":"file2"},{"photo_id":"1397008329","filename":"file4"},{"photo_id":"1397008326","filename":"file1"},{"photo_id":"1397008324","filename":"file0"},{"photo_id":"1397008328","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008327":["hashtag1","hashtag2"]},{"1397008330":["hashtag1","hashtag2"]},{"1397008324":["hashtag1","hashtag2"]},{"1397008326":["hashtag1","hashtag2"]},{"1397008329":["hashtag1","hashtag2"]},{"1397008328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008327, 1397008330, 1397008324, 1397008326, 1397008329, 1397008328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42160201072693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:16:22.721337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_25_9865.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_34_9769.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_44_9731.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_55_10636.jpg', '/home/pi/Desktop/images/30112025/01/46/image_30112025_01_47_04_9703.jpg', '/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_14_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_25_9865.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_34_9769.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_44_9731.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_46_55_10636.jpg
/home/pi/Desktop/images/30112025/01/46/image_30112025_01_47_04_9703.jpg
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_14_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008342","1397008336","1397008341","1397008338","1397008340","1397008334"],"photo_ids_order":["1397008334","1397008336","1397008338","1397008340","1397008341","1397008342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/587995252261d3c12b965ca5d1c7e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1559820443149567103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_47_14_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/189cf8b0fbbf829ca7c35b0a79529495.jpg","text":"TemporaryFile(/tmp/multipartBody2145454123827015226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_46_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49c88262b03be328b471c5dc392cd4de.jpg","text":"TemporaryFile(/tmp/multipartBody6536212073131520135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_47_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2677d50a8c059aeab5e396853aefda9.jpg","text":"TemporaryFile(/tmp/multipartBody2929611631497637850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_46_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c982a3fbadb60d4697220df8a241a99d.jpg","text":"TemporaryFile(/tmp/multipartBody7849846708178152122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_46_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/588aeab8134693da94e9692e7594ec44.jpg","text":"TemporaryFile(/tmp/multipartBody3839264592762473147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465443443,"filename":"image_30112025_01_46_25_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008338","file1":"1397008336","file0":"1397008334","file4":"1397008341","file5":"1397008342","file3":"1397008340"},"map_files_photo_id_array":[{"photo_id":"1397008342","filename":"file5"},{"photo_id":"1397008338","filename":"file2"},{"photo_id":"1397008341","filename":"file4"},{"photo_id":"1397008336","filename":"file1"},{"photo_id":"1397008334","filename":"file0"},{"photo_id":"1397008340","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008342":["hashtag1","hashtag2"]},{"1397008336":["hashtag1","hashtag2"]},{"1397008341":["hashtag1","hashtag2"]},{"1397008338":["hashtag1","hashtag2"]},{"1397008340":["hashtag1","hashtag2"]},{"1397008334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008342, 1397008336, 1397008341, 1397008338, 1397008340, 1397008334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72115993499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:17:02.459789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_25_10637.jpg', '/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_35_9675.jpg', '/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_44_9681.jpg', '/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_54_9659.jpg', '/home/pi/Desktop/images/30112025/01/47/image_30112025_01_48_05_10670.jpg', '/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_25_10637.jpg
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_35_9675.jpg
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_44_9681.jpg
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_47_54_9659.jpg
/home/pi/Desktop/images/30112025/01/47/image_30112025_01_48_05_10670.jpg
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_14_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008348","1397008344","1397008343","1397008346","1397008351","1397008345"],"photo_ids_order":["1397008343","1397008344","1397008345","1397008346","1397008348","1397008351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd7cbeaf8673bb4ba636a8db040a2e68.jpg","text":"TemporaryFile(/tmp/multipartBody8282707654467864754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_48_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f879836e5e0629e113ba93d94ded988.jpg","text":"TemporaryFile(/tmp/multipartBody4570837445283160489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_47_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40a061988ab51109cccf8ee23d31aad3.jpg","text":"TemporaryFile(/tmp/multipartBody1800050428056531324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_47_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/761c13917f066111fb0756a471c3b298.jpg","text":"TemporaryFile(/tmp/multipartBody8306704866354492934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_47_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9db64b56d4c73ec6349ce72a5e185afd.jpg","text":"TemporaryFile(/tmp/multipartBody8951112952369722536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_48_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b3e045823026a1aa591db3b5bcdc494.jpg","text":"TemporaryFile(/tmp/multipartBody7345493153323267034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465483244,"filename":"image_30112025_01_47_44_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008345","file1":"1397008344","file0":"1397008343","file4":"1397008348","file5":"1397008351","file3":"1397008346"},"map_files_photo_id_array":[{"photo_id":"1397008351","filename":"file5"},{"photo_id":"1397008345","filename":"file2"},{"photo_id":"1397008348","filename":"file4"},{"photo_id":"1397008344","filename":"file1"},{"photo_id":"1397008343","filename":"file0"},{"photo_id":"1397008346","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008348":["hashtag1","hashtag2"]},{"1397008344":["hashtag1","hashtag2"]},{"1397008343":["hashtag1","hashtag2"]},{"1397008346":["hashtag1","hashtag2"]},{"1397008351":["hashtag1","hashtag2"]},{"1397008345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008348, 1397008344, 1397008343, 1397008346, 1397008351, 1397008345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0354642868042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:17:41.942662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/26/image_31102025_11_26_38_3827.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_40_2718.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_43_2603.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_47_3665.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_49_2638.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_52_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_38_3827.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_40_2718.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_43_2603.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_47_3665.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_49_2638.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_52_2856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008360","1397008392","1397008359","1397008391","1397008393","1397008387"],"photo_ids_order":["1397008359","1397008360","1397008387","1397008391","1397008392","1397008393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/190729f95fec83121eebdc2862d58e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7617780312148758899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_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/30/e4fc3c70ab4d88da594d4d299ac8851b.jpg","text":"TemporaryFile(/tmp/multipartBody4841961205729628410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_49_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/30/701fbd63ae4a21bc50c04990cbd82ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1542646899048884560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_38_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c18693dc17bcb66ff938db4232b22ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6649667878246809928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_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/30/5e255255f171ab9711996af5f0761c14.jpg","text":"TemporaryFile(/tmp/multipartBody6823436605355669590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_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/30/b2aa007081e008181d541188509175e3.jpg","text":"TemporaryFile(/tmp/multipartBody155559210436968168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465522874,"filename":"image_31102025_11_26_43_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008387","file1":"1397008360","file0":"1397008359","file4":"1397008392","file5":"1397008393","file3":"1397008391"},"map_files_photo_id_array":[{"photo_id":"1397008393","filename":"file5"},{"photo_id":"1397008387","filename":"file2"},{"photo_id":"1397008392","filename":"file4"},{"photo_id":"1397008360","filename":"file1"},{"photo_id":"1397008359","filename":"file0"},{"photo_id":"1397008391","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008360":["hashtag1","hashtag2"]},{"1397008392":["hashtag1","hashtag2"]},{"1397008359":["hashtag1","hashtag2"]},{"1397008391":["hashtag1","hashtag2"]},{"1397008393":["hashtag1","hashtag2"]},{"1397008387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008360, 1397008392, 1397008359, 1397008391, 1397008393, 1397008387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.102001905441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:18:22.113320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_25_10555.jpg', '/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_35_9726.jpg', '/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_44_9637.jpg', '/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_55_10597.jpg', '/home/pi/Desktop/images/30112025/01/48/image_30112025_01_49_05_9842.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_14_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_25_10555.jpg
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_35_9726.jpg
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_44_9637.jpg
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_48_55_10597.jpg
/home/pi/Desktop/images/30112025/01/48/image_30112025_01_49_05_9842.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_14_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008411","1397008398","1397008404","1397008407","1397008401","1397008396"],"photo_ids_order":["1397008396","1397008398","1397008401","1397008404","1397008407","1397008411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a509feb4fb020baf2f1b91b85383f92e.jpg","text":"TemporaryFile(/tmp/multipartBody274097284658434247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_49_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7f7821873d9a91a4f4be69d4c11d823.jpg","text":"TemporaryFile(/tmp/multipartBody2210066869875197415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_48_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9afba8e5ff2a1e6c3855afa81b938ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1633413304612297632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_48_55_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b51b616e7e0a9cec42d6e8f0e6c2e171.jpg","text":"TemporaryFile(/tmp/multipartBody757414734654383531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_49_05_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54ad08d0311cf33632cd5f7c31b4458e.jpg","text":"TemporaryFile(/tmp/multipartBody796979648177451491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_48_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7ef249aec07091196bbf9914650c99c.jpg","text":"TemporaryFile(/tmp/multipartBody6561100736512804039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465562792,"filename":"image_30112025_01_48_25_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008401","file1":"1397008398","file0":"1397008396","file4":"1397008407","file5":"1397008411","file3":"1397008404"},"map_files_photo_id_array":[{"photo_id":"1397008411","filename":"file5"},{"photo_id":"1397008401","filename":"file2"},{"photo_id":"1397008407","filename":"file4"},{"photo_id":"1397008398","filename":"file1"},{"photo_id":"1397008396","filename":"file0"},{"photo_id":"1397008404","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008411":["hashtag1","hashtag2"]},{"1397008398":["hashtag1","hashtag2"]},{"1397008404":["hashtag1","hashtag2"]},{"1397008407":["hashtag1","hashtag2"]},{"1397008401":["hashtag1","hashtag2"]},{"1397008396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008411, 1397008398, 1397008404, 1397008407, 1397008401, 1397008396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.122299671173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:19:02.785277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:19:11.823025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:19:21.834644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.556602954864502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:19:31.861762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_49_2609.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_11_22070.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_13_1589.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_14_1620.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_16_1650.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_19_3421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/32/image_25112025_19_32_49_2609.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_11_22070.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_13_1589.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_14_1620.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_16_1650.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_19_3421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008429","1397008422","1397008431","1397008425","1397008428","1397008430"],"photo_ids_order":["1397008422","1397008425","1397008428","1397008429","1397008430","1397008431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/413c12486d8e9ab2f7d0c8ef044234af.jpg","text":"TemporaryFile(/tmp/multipartBody4654530147439851279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_33_14_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/30/947ef7b11b9fba796be3391b9f8e78c3.jpg","text":"TemporaryFile(/tmp/multipartBody520182670457262915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_32_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/30/00bc7f0495fe4eb686a5f36616a8ae82.jpg","text":"TemporaryFile(/tmp/multipartBody553049718825372823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_33_19_3421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e52355216dbd7e6c1d6deec58943075f.jpg","text":"TemporaryFile(/tmp/multipartBody4676520127424872136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_33_11_22070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02b164543d9a476efc026267d4238733.jpg","text":"TemporaryFile(/tmp/multipartBody8807507695190336320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_33_13_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/30/d0b66c41fb9e1a39c6ed75ac9e650f72.jpg","text":"TemporaryFile(/tmp/multipartBody4618513824915918355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465633738,"filename":"image_25112025_19_33_16_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008428","file1":"1397008425","file0":"1397008422","file4":"1397008430","file5":"1397008431","file3":"1397008429"},"map_files_photo_id_array":[{"photo_id":"1397008431","filename":"file5"},{"photo_id":"1397008428","filename":"file2"},{"photo_id":"1397008430","filename":"file4"},{"photo_id":"1397008425","filename":"file1"},{"photo_id":"1397008422","filename":"file0"},{"photo_id":"1397008429","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008429":["hashtag1","hashtag2"]},{"1397008422":["hashtag1","hashtag2"]},{"1397008431":["hashtag1","hashtag2"]},{"1397008425":["hashtag1","hashtag2"]},{"1397008428":["hashtag1","hashtag2"]},{"1397008430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008429, 1397008422, 1397008431, 1397008425, 1397008428, 1397008430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.196072816848755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:20:22.179315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5417943000793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:20:32.097822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_21_1668.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_22_1553.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_24_1564.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_26_1625.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_27_1735.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_29_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_21_1668.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_22_1553.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_24_1564.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_26_1625.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_27_1735.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_29_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008467","1397008440","1397008443","1397008452","1397008466","1397008445"],"photo_ids_order":["1397008440","1397008443","1397008445","1397008452","1397008466","1397008467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44d55a6c53bead0b9dc5edd2a75619bf.jpg","text":"TemporaryFile(/tmp/multipartBody9040265138429167546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_29_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/30/db26a69d201cbbe28602c6dc45475a55.jpg","text":"TemporaryFile(/tmp/multipartBody7267073174053834537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_21_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/30/6dae0bbb270bb660aaa4d4c8d458d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody1130616776495139065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_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/30/d5d7001838a4bd2dc66d080e242a3a21.jpg","text":"TemporaryFile(/tmp/multipartBody6168487375877211780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_26_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/30/affdbcfd04c4e084a58394b0ee16601d.jpg","text":"TemporaryFile(/tmp/multipartBody918202686158497700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_27_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ad5a2459bd4c1c3e5ee8ac42f6cbe7d.jpg","text":"TemporaryFile(/tmp/multipartBody3846534377967385601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465694082,"filename":"image_25112025_19_33_24_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008445","file1":"1397008443","file0":"1397008440","file4":"1397008466","file5":"1397008467","file3":"1397008452"},"map_files_photo_id_array":[{"photo_id":"1397008467","filename":"file5"},{"photo_id":"1397008445","filename":"file2"},{"photo_id":"1397008466","filename":"file4"},{"photo_id":"1397008443","filename":"file1"},{"photo_id":"1397008440","filename":"file0"},{"photo_id":"1397008452","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008467":["hashtag1","hashtag2"]},{"1397008440":["hashtag1","hashtag2"]},{"1397008443":["hashtag1","hashtag2"]},{"1397008452":["hashtag1","hashtag2"]},{"1397008466":["hashtag1","hashtag2"]},{"1397008445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008467, 1397008440, 1397008443, 1397008452, 1397008466, 1397008445)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.46848130226135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:21:22.103116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg', '/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_24_9688.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_35_10501.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_44_9559.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_49_54_9948.jpg
/home/pi/Desktop/images/30112025/01/49/image_30112025_01_50_05_10710.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_15_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008473","1397008482","1397008476","1397008478","1397008469","1397008480"],"photo_ids_order":["1397008469","1397008473","1397008476","1397008478","1397008480","1397008482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49863baf1a8880461f4e58e3e9bec431.jpg","text":"TemporaryFile(/tmp/multipartBody4792993080341417498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_49_35_10501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/874c9fcbb575ffee5ea84a5f599952fc.jpg","text":"TemporaryFile(/tmp/multipartBody2830668272933608622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_50_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15a189dbe3e90caed77792ad5576dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1372653868107650342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_49_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/684c9dcc10ebe024e6196b766746d010.jpg","text":"TemporaryFile(/tmp/multipartBody528324833912795193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_49_54_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13dda01a25e2d3b273ab6fb9f8c73f72.jpg","text":"TemporaryFile(/tmp/multipartBody47345490428866570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_49_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/091dfb3e9f65ee2d6906a763b81e262a.jpg","text":"TemporaryFile(/tmp/multipartBody8234577479797777758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465742759,"filename":"image_30112025_01_50_05_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008476","file1":"1397008473","file0":"1397008469","file4":"1397008480","file5":"1397008482","file3":"1397008478"},"map_files_photo_id_array":[{"photo_id":"1397008482","filename":"file5"},{"photo_id":"1397008476","filename":"file2"},{"photo_id":"1397008480","filename":"file4"},{"photo_id":"1397008473","filename":"file1"},{"photo_id":"1397008469","filename":"file0"},{"photo_id":"1397008478","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008473":["hashtag1","hashtag2"]},{"1397008482":["hashtag1","hashtag2"]},{"1397008476":["hashtag1","hashtag2"]},{"1397008478":["hashtag1","hashtag2"]},{"1397008469":["hashtag1","hashtag2"]},{"1397008480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008473, 1397008482, 1397008476, 1397008478, 1397008469, 1397008480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.357654094696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:22:02.649576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:22:12.249344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_31_1595.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_32_1634.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_34_1827.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_36_1699.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_37_1669.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_40_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_31_1595.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_32_1634.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_34_1827.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_36_1699.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_37_1669.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_40_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008485","1397008494","1397008488","1397008490","1397008492","1397008483"],"photo_ids_order":["1397008483","1397008485","1397008488","1397008490","1397008492","1397008494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab15c4484244a378ed0312b0cb205c63.jpg","text":"TemporaryFile(/tmp/multipartBody1474173112332793553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_33_32_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/30/f0e4206df8368e0c8edeaae8c65cc855.jpg","text":"TemporaryFile(/tmp/multipartBody2701535836841059044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_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/30/38c848b6b719eb57d38d3707a6fd2f34.jpg","text":"TemporaryFile(/tmp/multipartBody5435705671138497784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_33_34_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/30/ede4da744373767445854b654ad7f77a.jpg","text":"TemporaryFile(/tmp/multipartBody1249954983183920676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_33_36_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/30/03e75f264a906c67aff8b42dd4142485.jpg","text":"TemporaryFile(/tmp/multipartBody8140655312337096811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_33_37_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/30/476bb0b10ab435a7e190c147e56a344b.jpg","text":"TemporaryFile(/tmp/multipartBody6603740482864885740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465795072,"filename":"image_25112025_19_33_31_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008488","file1":"1397008485","file0":"1397008483","file4":"1397008492","file5":"1397008494","file3":"1397008490"},"map_files_photo_id_array":[{"photo_id":"1397008494","filename":"file5"},{"photo_id":"1397008488","filename":"file2"},{"photo_id":"1397008492","filename":"file4"},{"photo_id":"1397008485","filename":"file1"},{"photo_id":"1397008483","filename":"file0"},{"photo_id":"1397008490","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008485":["hashtag1","hashtag2"]},{"1397008494":["hashtag1","hashtag2"]},{"1397008488":["hashtag1","hashtag2"]},{"1397008490":["hashtag1","hashtag2"]},{"1397008492":["hashtag1","hashtag2"]},{"1397008483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008485, 1397008494, 1397008488, 1397008490, 1397008492, 1397008483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.82683706283569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:23:05.427716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:23:14.896693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_43_2609.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_46_3563.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_49_2708.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_53_3694.jpg', '/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_55_2556.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_01_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_43_2609.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_46_3563.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_49_2708.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_53_3694.jpg
/home/pi/Desktop/images/25112025/19/33/image_25112025_19_33_55_2556.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_01_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008510","1397008496","1397008508","1397008502","1397008505","1397008498"],"photo_ids_order":["1397008496","1397008498","1397008502","1397008505","1397008508","1397008510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c981034f46f60fe861b72ec9014f42f6.jpg","text":"TemporaryFile(/tmp/multipartBody2345422951159238413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_34_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b887ea4265802033f66ca435a0e1545d.jpg","text":"TemporaryFile(/tmp/multipartBody6577646563082349552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_33_43_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/30/9e9e101985e5476751d7f2e5ea00774c.jpg","text":"TemporaryFile(/tmp/multipartBody4774625223121035020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_33_55_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a14a750d825cfa49cdc2591f7cd1efd0.jpg","text":"TemporaryFile(/tmp/multipartBody3885699573687413100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_33_49_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91cae4983aeefdd6873aa60e5b0c615f.jpg","text":"TemporaryFile(/tmp/multipartBody1013811899035704863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_33_53_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/30/3f52461969d7b6cdd0b22f903eb012fb.jpg","text":"TemporaryFile(/tmp/multipartBody233913894910707389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465856935,"filename":"image_25112025_19_33_46_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008502","file1":"1397008498","file0":"1397008496","file4":"1397008508","file5":"1397008510","file3":"1397008505"},"map_files_photo_id_array":[{"photo_id":"1397008510","filename":"file5"},{"photo_id":"1397008502","filename":"file2"},{"photo_id":"1397008508","filename":"file4"},{"photo_id":"1397008498","filename":"file1"},{"photo_id":"1397008496","filename":"file0"},{"photo_id":"1397008505","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008510":["hashtag1","hashtag2"]},{"1397008496":["hashtag1","hashtag2"]},{"1397008508":["hashtag1","hashtag2"]},{"1397008502":["hashtag1","hashtag2"]},{"1397008505":["hashtag1","hashtag2"]},{"1397008498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008510, 1397008496, 1397008508, 1397008502, 1397008505, 1397008498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.116437911987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:24:02.567513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_24_9612.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_35_10702.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_45_9683.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_54_9699.jpg', '/home/pi/Desktop/images/30112025/01/50/image_30112025_01_51_05_10652.jpg', '/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_15_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_24_9612.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_35_10702.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_45_9683.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_50_54_9699.jpg
/home/pi/Desktop/images/30112025/01/50/image_30112025_01_51_05_10652.jpg
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_15_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008522","1397008521","1397008524","1397008527","1397008529","1397008523"],"photo_ids_order":["1397008521","1397008522","1397008523","1397008524","1397008527","1397008529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d6061065a9ac5d7243cc93c2a3d26c7.jpg","text":"TemporaryFile(/tmp/multipartBody8441795153577816045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_50_35_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28bf0f59c1709cd0146bb4ea2bcad88d.jpg","text":"TemporaryFile(/tmp/multipartBody6759554772455251123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_50_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/567d0e47cc7a7b40fcc1108fff5ad112.jpg","text":"TemporaryFile(/tmp/multipartBody7557270544105942992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_50_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/928ce8f7519fa67818658b012e5b4f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2338874955826755890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_51_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc3bc069666dd3947955b1baa1275ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5450267877944477495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_51_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e771d6827d0eeaf8900db582404d75c.jpg","text":"TemporaryFile(/tmp/multipartBody7878507628104086632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465903316,"filename":"image_30112025_01_50_45_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008523","file1":"1397008522","file0":"1397008521","file4":"1397008527","file5":"1397008529","file3":"1397008524"},"map_files_photo_id_array":[{"photo_id":"1397008529","filename":"file5"},{"photo_id":"1397008523","filename":"file2"},{"photo_id":"1397008527","filename":"file4"},{"photo_id":"1397008522","filename":"file1"},{"photo_id":"1397008521","filename":"file0"},{"photo_id":"1397008524","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008522":["hashtag1","hashtag2"]},{"1397008521":["hashtag1","hashtag2"]},{"1397008524":["hashtag1","hashtag2"]},{"1397008527":["hashtag1","hashtag2"]},{"1397008529":["hashtag1","hashtag2"]},{"1397008523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008522, 1397008521, 1397008524, 1397008527, 1397008529, 1397008523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.440069913864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:24:42.001321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/26/image_31102025_11_26_56_3557.jpg', '/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_59_2884.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_01_2643.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_04_2673.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_08_3713.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_10_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/11/26/image_31102025_11_26_56_3557.jpg
/home/pi/Desktop/images/31102025/11/26/image_31102025_11_26_59_2884.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_01_2643.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_04_2673.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_08_3713.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_10_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008540","1397008534","1397008536","1397008539","1397008538","1397008537"],"photo_ids_order":["1397008534","1397008536","1397008537","1397008538","1397008539","1397008540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/016155838b7c43b18baa6a6752009554.jpg","text":"TemporaryFile(/tmp/multipartBody6973161420999816067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_27_10_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57405044a986f93d468182ee9c0ba44c.jpg","text":"TemporaryFile(/tmp/multipartBody5908846670581621850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_26_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/30/4d33d31721b2e4a07af83d3fd89797be.jpg","text":"TemporaryFile(/tmp/multipartBody5896780473861940275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_26_59_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/30/f3a134ac4722bf9fc64d7049d80e5557.jpg","text":"TemporaryFile(/tmp/multipartBody6996080353789413002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_27_08_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/30/36ccf1e4da6a47fe13e4464fa283304d.jpg","text":"TemporaryFile(/tmp/multipartBody2014834403386982075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_27_04_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/30/0854e6a34c5bb97e3bcd95db92573bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6351908151468462980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465942973,"filename":"image_31102025_11_27_01_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008537","file1":"1397008536","file0":"1397008534","file4":"1397008539","file5":"1397008540","file3":"1397008538"},"map_files_photo_id_array":[{"photo_id":"1397008540","filename":"file5"},{"photo_id":"1397008537","filename":"file2"},{"photo_id":"1397008539","filename":"file4"},{"photo_id":"1397008536","filename":"file1"},{"photo_id":"1397008534","filename":"file0"},{"photo_id":"1397008538","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008540":["hashtag1","hashtag2"]},{"1397008534":["hashtag1","hashtag2"]},{"1397008536":["hashtag1","hashtag2"]},{"1397008539":["hashtag1","hashtag2"]},{"1397008538":["hashtag1","hashtag2"]},{"1397008537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008540, 1397008534, 1397008536, 1397008539, 1397008538, 1397008537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.139546632766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:25:22.159096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_24_9678.jpg', '/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_35_10691.jpg', '/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_45_9748.jpg', '/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_54_9700.jpg', '/home/pi/Desktop/images/30112025/01/51/image_30112025_01_52_04_9635.jpg', '/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_24_9678.jpg
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_35_10691.jpg
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_45_9748.jpg
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_51_54_9700.jpg
/home/pi/Desktop/images/30112025/01/51/image_30112025_01_52_04_9635.jpg
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_15_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008549","1397008551","1397008545","1397008547","1397008541","1397008543"],"photo_ids_order":["1397008541","1397008543","1397008545","1397008547","1397008549","1397008551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b511ce7e3ef1b15fb3cc10aaa0763f6.jpg","text":"TemporaryFile(/tmp/multipartBody7088554634106197953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_52_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42d318c622ca37dc3c08dec8f57efb66.jpg","text":"TemporaryFile(/tmp/multipartBody8770503739869396341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_52_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/630c0466e125bb3f379860ea4852e669.jpg","text":"TemporaryFile(/tmp/multipartBody6430025975714707864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_51_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4698f1390971d0da78b8859a5151801a.jpg","text":"TemporaryFile(/tmp/multipartBody3345414648211112864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_51_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b734335ee236e58ab71b3bafc88f2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8200140150584390288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_51_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d26c919bcca49de716c186a38efb1da1.jpg","text":"TemporaryFile(/tmp/multipartBody8022465492490668907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764465982856,"filename":"image_30112025_01_51_35_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008545","file1":"1397008543","file0":"1397008541","file4":"1397008549","file5":"1397008551","file3":"1397008547"},"map_files_photo_id_array":[{"photo_id":"1397008551","filename":"file5"},{"photo_id":"1397008545","filename":"file2"},{"photo_id":"1397008549","filename":"file4"},{"photo_id":"1397008543","filename":"file1"},{"photo_id":"1397008541","filename":"file0"},{"photo_id":"1397008547","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008549":["hashtag1","hashtag2"]},{"1397008551":["hashtag1","hashtag2"]},{"1397008545":["hashtag1","hashtag2"]},{"1397008547":["hashtag1","hashtag2"]},{"1397008541":["hashtag1","hashtag2"]},{"1397008543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008549, 1397008551, 1397008545, 1397008547, 1397008541, 1397008543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36219120025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:26:02.756067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_24_9653.jpg', '/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_35_10532.jpg', '/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_45_9636.jpg', '/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_58_13092.jpg', '/home/pi/Desktop/images/30112025/01/52/image_30112025_01_53_04_6695.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_24_9653.jpg
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_35_10532.jpg
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_45_9636.jpg
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_52_58_13092.jpg
/home/pi/Desktop/images/30112025/01/52/image_30112025_01_53_04_6695.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_14_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008560","1397008554","1397008553","1397008556","1397008555","1397008558"],"photo_ids_order":["1397008553","1397008554","1397008555","1397008556","1397008558","1397008560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d2dc8de092ad29ec2281f59cd00c586.jpg","text":"TemporaryFile(/tmp/multipartBody7954722551459007946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_53_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/826d055fea6851d375a8e547a6dfd020.jpg","text":"TemporaryFile(/tmp/multipartBody4343331840907644946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_52_35_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc5fe6118c69114e7d10c9e677784389.jpg","text":"TemporaryFile(/tmp/multipartBody4357163237996417058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_52_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94089e575cfa80fd6f7ba55d4d648593.jpg","text":"TemporaryFile(/tmp/multipartBody2110960926323396643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_52_58_13092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2bbd26962215d29f40c7fba15c834ed.jpg","text":"TemporaryFile(/tmp/multipartBody5699582675182422102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_52_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf87e34512499ccea124b04e086a3c56.jpg","text":"TemporaryFile(/tmp/multipartBody1517085005071142447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466023475,"filename":"image_30112025_01_53_04_6695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008555","file1":"1397008554","file0":"1397008553","file4":"1397008558","file5":"1397008560","file3":"1397008556"},"map_files_photo_id_array":[{"photo_id":"1397008560","filename":"file5"},{"photo_id":"1397008555","filename":"file2"},{"photo_id":"1397008558","filename":"file4"},{"photo_id":"1397008554","filename":"file1"},{"photo_id":"1397008553","filename":"file0"},{"photo_id":"1397008556","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008560":["hashtag1","hashtag2"]},{"1397008554":["hashtag1","hashtag2"]},{"1397008553":["hashtag1","hashtag2"]},{"1397008556":["hashtag1","hashtag2"]},{"1397008555":["hashtag1","hashtag2"]},{"1397008558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008560, 1397008554, 1397008553, 1397008556, 1397008555, 1397008558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01118278503418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:26:42.334945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/27/image_31102025_11_27_13_2679.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_16_2763.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_19_3567.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_22_2609.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_25_2878.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_32_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_13_2679.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_16_2763.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_19_3567.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_22_2609.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_25_2878.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_32_2901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008587","1397008589","1397008580","1397008583","1397008568","1397008585"],"photo_ids_order":["1397008568","1397008580","1397008583","1397008585","1397008587","1397008589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f600b7c874cf0451cf3a0631047ff9bc.jpg","text":"TemporaryFile(/tmp/multipartBody445119990086523882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_25_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/30/0745aa6405231bc9b7f67e1f119a0f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1669356669019901835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_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/30/52fb66e437035129fbd5eb7bda70fa24.jpg","text":"TemporaryFile(/tmp/multipartBody8561025703208135530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_16_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/30/d6472f4b0b2b7912250b6146a69e9a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1640625785125740243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_19_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/30/c3304b07869b071c97055f57949a091e.jpg","text":"TemporaryFile(/tmp/multipartBody8807390248157140874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_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/30/934faa81443e3b3d84019b1f00a8c86a.jpg","text":"TemporaryFile(/tmp/multipartBody2750302805044262666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466063291,"filename":"image_31102025_11_27_22_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008583","file1":"1397008580","file0":"1397008568","file4":"1397008587","file5":"1397008589","file3":"1397008585"},"map_files_photo_id_array":[{"photo_id":"1397008589","filename":"file5"},{"photo_id":"1397008583","filename":"file2"},{"photo_id":"1397008587","filename":"file4"},{"photo_id":"1397008580","filename":"file1"},{"photo_id":"1397008568","filename":"file0"},{"photo_id":"1397008585","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008587":["hashtag1","hashtag2"]},{"1397008589":["hashtag1","hashtag2"]},{"1397008580":["hashtag1","hashtag2"]},{"1397008583":["hashtag1","hashtag2"]},{"1397008568":["hashtag1","hashtag2"]},{"1397008585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008587, 1397008589, 1397008580, 1397008583, 1397008568, 1397008585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.743096590042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:27:22.509584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_25_10646.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_34_9705.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_45_10608.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_55_9598.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_54_04_9795.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_15_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_25_10646.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_34_9705.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_45_10608.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_55_9598.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_54_04_9795.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_15_10610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5846314430236816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:27:32.653497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_05_3667.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_07_2634.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_10_2789.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_13_2847.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_17_3645.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_19_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_05_3667.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_07_2634.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_10_2789.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_13_2847.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_17_3645.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_19_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":["1397008609","1397008608","1397008607","1397008601","1397008610","1397008604"],"photo_ids_order":["1397008601","1397008604","1397008607","1397008608","1397008609","1397008610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/712dbab70ded2f9d19b261b7f065f4aa.jpg","text":"TemporaryFile(/tmp/multipartBody1355566384920952287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_17_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/662e368eeda6051f9e47cc7154cab129.jpg","text":"TemporaryFile(/tmp/multipartBody3162325308556969311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_13_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/30/144bb35e77a19bf7fef5ef5a4fe370c9.jpg","text":"TemporaryFile(/tmp/multipartBody6198962007776516451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_10_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/30/44e5cf6ec764b8fa8405dde0aa4bcc27.jpg","text":"TemporaryFile(/tmp/multipartBody703427705535181833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_05_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c62784de451e9df0622ec62be8d4d22c.jpg","text":"TemporaryFile(/tmp/multipartBody7982290382399035180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_19_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62a45dfec8caf2bbf7715751fea9fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody4964474026852272686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466114683,"filename":"image_25112025_19_34_07_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008607","file1":"1397008604","file0":"1397008601","file4":"1397008609","file5":"1397008610","file3":"1397008608"},"map_files_photo_id_array":[{"photo_id":"1397008610","filename":"file5"},{"photo_id":"1397008607","filename":"file2"},{"photo_id":"1397008609","filename":"file4"},{"photo_id":"1397008604","filename":"file1"},{"photo_id":"1397008601","filename":"file0"},{"photo_id":"1397008608","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008609":["hashtag1","hashtag2"]},{"1397008608":["hashtag1","hashtag2"]},{"1397008607":["hashtag1","hashtag2"]},{"1397008601":["hashtag1","hashtag2"]},{"1397008610":["hashtag1","hashtag2"]},{"1397008604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008609, 1397008608, 1397008607, 1397008601, 1397008610, 1397008604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36467432975769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:28:12.640207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_22_2867.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_25_2756.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_28_2966.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_31_3660.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_37_5994.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_39_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_22_2867.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_25_2756.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_28_2966.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_31_3660.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_37_5994.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_39_1723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008621","1397008623","1397008611","1397008613","1397008616","1397008619"],"photo_ids_order":["1397008611","1397008613","1397008616","1397008619","1397008621","1397008623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/017635a23ad38c0277c58d065ec4d155.jpg","text":"TemporaryFile(/tmp/multipartBody878119812620144352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_37_5994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c367ef4276a735c87c051282c4869ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6599542797173336033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_39_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8ab6fead29a027338af4dd23b2411ce.jpg","text":"TemporaryFile(/tmp/multipartBody2957380910625842086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_22_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/30/b577f2528852e29bf2108ff7c258e504.jpg","text":"TemporaryFile(/tmp/multipartBody8431422702073586426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_25_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e263f41c0205963798e26bd67502dedc.jpg","text":"TemporaryFile(/tmp/multipartBody5412502040526663254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_28_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57b118430d50e9f1ac1f177c9428f212.jpg","text":"TemporaryFile(/tmp/multipartBody1540445670394342070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466154506,"filename":"image_25112025_19_34_31_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008616","file1":"1397008613","file0":"1397008611","file4":"1397008621","file5":"1397008623","file3":"1397008619"},"map_files_photo_id_array":[{"photo_id":"1397008623","filename":"file5"},{"photo_id":"1397008616","filename":"file2"},{"photo_id":"1397008621","filename":"file4"},{"photo_id":"1397008613","filename":"file1"},{"photo_id":"1397008611","filename":"file0"},{"photo_id":"1397008619","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008621":["hashtag1","hashtag2"]},{"1397008623":["hashtag1","hashtag2"]},{"1397008611":["hashtag1","hashtag2"]},{"1397008613":["hashtag1","hashtag2"]},{"1397008616":["hashtag1","hashtag2"]},{"1397008619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008621, 1397008623, 1397008611, 1397008613, 1397008616, 1397008619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53812289237976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:29:02.841726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_25_10646.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_34_9705.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_45_10608.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_55_9598.jpg', '/home/pi/Desktop/images/30112025/01/53/image_30112025_01_54_04_9795.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_15_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_25_10646.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_34_9705.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_45_10608.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_53_55_9598.jpg
/home/pi/Desktop/images/30112025/01/53/image_30112025_01_54_04_9795.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_15_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008627","1397008629","1397008626","1397008631","1397008634","1397008637"],"photo_ids_order":["1397008626","1397008627","1397008629","1397008631","1397008634","1397008637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6482720a43e2d25390a40c323515d3b1.jpg","text":"TemporaryFile(/tmp/multipartBody2143688060173637515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_53_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2fc866a3bd8cb4ccccff6c09e035c19.jpg","text":"TemporaryFile(/tmp/multipartBody8152064022150905762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_53_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a15a248e9dc635ed839cd7b4106c3a84.jpg","text":"TemporaryFile(/tmp/multipartBody6447484632605682008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_53_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3327a95511ffbcd54ff0b4c6662e3681.jpg","text":"TemporaryFile(/tmp/multipartBody4727222392527309920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_53_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce4d4d6af4f5f2bd843d39e3f878ea8a.jpg","text":"TemporaryFile(/tmp/multipartBody7372065923018238881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_54_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd5cd15abcd58e9022b206cd98538663.jpg","text":"TemporaryFile(/tmp/multipartBody7355056680139870809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466206059,"filename":"image_30112025_01_54_15_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008629","file1":"1397008627","file0":"1397008626","file4":"1397008634","file5":"1397008637","file3":"1397008631"},"map_files_photo_id_array":[{"photo_id":"1397008637","filename":"file5"},{"photo_id":"1397008629","filename":"file2"},{"photo_id":"1397008634","filename":"file4"},{"photo_id":"1397008627","filename":"file1"},{"photo_id":"1397008626","filename":"file0"},{"photo_id":"1397008631","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008627":["hashtag1","hashtag2"]},{"1397008629":["hashtag1","hashtag2"]},{"1397008626":["hashtag1","hashtag2"]},{"1397008631":["hashtag1","hashtag2"]},{"1397008634":["hashtag1","hashtag2"]},{"1397008637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008627, 1397008629, 1397008626, 1397008631, 1397008634, 1397008637)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.46394944190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:30:02.219404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:30:11.826250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_41_1623.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_46_2990.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_49_2806.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_53_4175.jpg', '/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_58_2780.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_01_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_41_1623.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_46_2990.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_49_2806.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_53_4175.jpg
/home/pi/Desktop/images/25112025/19/34/image_25112025_19_34_58_2780.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_01_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008653","1397008662","1397008664","1397008658","1397008652","1397008655"],"photo_ids_order":["1397008652","1397008653","1397008655","1397008658","1397008662","1397008664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5e8adeeb4b22836a2007f136cddc64a.jpg","text":"TemporaryFile(/tmp/multipartBody6544895029346838100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_34_46_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce5b4b2bbbf1c7b2b5ab1cdda5e31327.jpg","text":"TemporaryFile(/tmp/multipartBody1672987368471137931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_34_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/30/cd0de0402e2130ff81c9468d21b77d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5866826290812560039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_35_01_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2b68c462ed3292cddcc675dfa59f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2661224047027197026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_34_53_4175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d29791053614392788a42f45ba18526e.jpg","text":"TemporaryFile(/tmp/multipartBody5426827634393980031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_34_41_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/30/88a7b9beb4fc17666453b2c6308222a2.jpg","text":"TemporaryFile(/tmp/multipartBody6898146098956203177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466273883,"filename":"image_25112025_19_34_49_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008655","file1":"1397008653","file0":"1397008652","file4":"1397008662","file5":"1397008664","file3":"1397008658"},"map_files_photo_id_array":[{"photo_id":"1397008664","filename":"file5"},{"photo_id":"1397008655","filename":"file2"},{"photo_id":"1397008662","filename":"file4"},{"photo_id":"1397008653","filename":"file1"},{"photo_id":"1397008652","filename":"file0"},{"photo_id":"1397008658","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008653":["hashtag1","hashtag2"]},{"1397008662":["hashtag1","hashtag2"]},{"1397008664":["hashtag1","hashtag2"]},{"1397008658":["hashtag1","hashtag2"]},{"1397008652":["hashtag1","hashtag2"]},{"1397008655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008653, 1397008662, 1397008664, 1397008658, 1397008652, 1397008655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.705408573150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:31:05.782045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_24_9304.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_35_10683.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_44_9431.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_54_9689.jpg', '/home/pi/Desktop/images/30112025/01/54/image_30112025_01_55_04_9964.jpg', '/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_15_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_24_9304.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_35_10683.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_44_9431.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_54_54_9689.jpg
/home/pi/Desktop/images/30112025/01/54/image_30112025_01_55_04_9964.jpg
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_15_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008674","1397008668","1397008676","1397008670","1397008667","1397008672"],"photo_ids_order":["1397008667","1397008668","1397008670","1397008672","1397008674","1397008676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15525574a658c1e532b6d68869239ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8812341416098036906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_55_04_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa6a14b9a3bb31d01a4da0cde3d65654.jpg","text":"TemporaryFile(/tmp/multipartBody7767478921801741093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_54_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3775ef5cab1e5a067d4a1036dd323d56.jpg","text":"TemporaryFile(/tmp/multipartBody5386349703226186249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_55_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e6debd2ec758bb8f647c9fef2d23fab.jpg","text":"TemporaryFile(/tmp/multipartBody6644389318140772781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_54_44_9431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/248f2271922d5c2e765b8886b9b4a146.jpg","text":"TemporaryFile(/tmp/multipartBody1428741834729494708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_54_24_9304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e212492b67e0900ef4c5ae9c4b95c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody3708698466718278495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466330167,"filename":"image_30112025_01_54_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008670","file1":"1397008668","file0":"1397008667","file4":"1397008674","file5":"1397008676","file3":"1397008672"},"map_files_photo_id_array":[{"photo_id":"1397008676","filename":"file5"},{"photo_id":"1397008670","filename":"file2"},{"photo_id":"1397008674","filename":"file4"},{"photo_id":"1397008668","filename":"file1"},{"photo_id":"1397008667","filename":"file0"},{"photo_id":"1397008672","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008674":["hashtag1","hashtag2"]},{"1397008668":["hashtag1","hashtag2"]},{"1397008676":["hashtag1","hashtag2"]},{"1397008670":["hashtag1","hashtag2"]},{"1397008667":["hashtag1","hashtag2"]},{"1397008672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008674, 1397008668, 1397008676, 1397008670, 1397008667, 1397008672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.04561471939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:32:02.863548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_24_9734.jpg', '/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_35_10574.jpg', '/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_45_9780.jpg', '/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_54_9545.jpg', '/home/pi/Desktop/images/30112025/01/55/image_30112025_01_56_05_10608.jpg', '/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_14_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_24_9734.jpg
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_35_10574.jpg
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_45_9780.jpg
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_55_54_9545.jpg
/home/pi/Desktop/images/30112025/01/55/image_30112025_01_56_05_10608.jpg
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_14_9526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008683","1397008686","1397008689","1397008680","1397008679","1397008681"],"photo_ids_order":["1397008679","1397008680","1397008681","1397008683","1397008686","1397008689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7610d444278cdc48ddb49b72175db8c.jpg","text":"TemporaryFile(/tmp/multipartBody7477985334859970148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_55_54_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/271825637ae26702cff7cd2aa67d5973.jpg","text":"TemporaryFile(/tmp/multipartBody884306758817738328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_56_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e866e57f974dbe426b36b1fc11053e9.jpg","text":"TemporaryFile(/tmp/multipartBody1163521656008804667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_56_14_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed4e386018a09ef0df743ea3a631a470.jpg","text":"TemporaryFile(/tmp/multipartBody5976598352067756601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_55_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a8263bfeb9425dc4de90dea04a9b147.jpg","text":"TemporaryFile(/tmp/multipartBody3214105204530732840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_55_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52d68aca13f881425162d116389984ea.jpg","text":"TemporaryFile(/tmp/multipartBody8243157398879723154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466386347,"filename":"image_30112025_01_55_45_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008681","file1":"1397008680","file0":"1397008679","file4":"1397008686","file5":"1397008689","file3":"1397008683"},"map_files_photo_id_array":[{"photo_id":"1397008689","filename":"file5"},{"photo_id":"1397008681","filename":"file2"},{"photo_id":"1397008686","filename":"file4"},{"photo_id":"1397008680","filename":"file1"},{"photo_id":"1397008679","filename":"file0"},{"photo_id":"1397008683","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008683":["hashtag1","hashtag2"]},{"1397008686":["hashtag1","hashtag2"]},{"1397008689":["hashtag1","hashtag2"]},{"1397008680":["hashtag1","hashtag2"]},{"1397008679":["hashtag1","hashtag2"]},{"1397008681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008683, 1397008686, 1397008689, 1397008680, 1397008679, 1397008681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12691855430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:32:42.363008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/27/image_31102025_11_27_34_2881.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_37_2611.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_40_2768.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_44_3771.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_46_2647.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_49_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_34_2881.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_37_2611.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_40_2768.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_44_3771.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_46_2647.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_49_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008705","1397008702","1397008704","1397008706","1397008703","1397008693"],"photo_ids_order":["1397008693","1397008702","1397008703","1397008704","1397008705","1397008706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aedbce03c93834a46475c9c0b2f56788.jpg","text":"TemporaryFile(/tmp/multipartBody3891445730249173851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_46_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/30/f370dc1ebb1905b12e32732dadd9a8d5.jpg","text":"TemporaryFile(/tmp/multipartBody8572935898694693309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_37_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a65a2988b9286b7d91df9e82a1f4de0d.jpg","text":"TemporaryFile(/tmp/multipartBody3778660843320535988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_44_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/30/ca333006a97bb5abc36ff238d11a1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5047133995361891882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_49_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d777932a8e2c2d5e48c54ab30c6f28b.jpg","text":"TemporaryFile(/tmp/multipartBody7924579540523569339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_40_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/30/853345f5139972526eace8963c6a4cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5835584277804147521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466423252,"filename":"image_31102025_11_27_34_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008703","file1":"1397008702","file0":"1397008693","file4":"1397008705","file5":"1397008706","file3":"1397008704"},"map_files_photo_id_array":[{"photo_id":"1397008706","filename":"file5"},{"photo_id":"1397008703","filename":"file2"},{"photo_id":"1397008705","filename":"file4"},{"photo_id":"1397008702","filename":"file1"},{"photo_id":"1397008693","filename":"file0"},{"photo_id":"1397008704","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008705":["hashtag1","hashtag2"]},{"1397008702":["hashtag1","hashtag2"]},{"1397008704":["hashtag1","hashtag2"]},{"1397008706":["hashtag1","hashtag2"]},{"1397008703":["hashtag1","hashtag2"]},{"1397008693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008705, 1397008702, 1397008704, 1397008706, 1397008703, 1397008693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72366666793823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:33:22.609272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_25_10553.jpg', '/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_35_9568.jpg', '/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_44_9709.jpg', '/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_55_10634.jpg', '/home/pi/Desktop/images/30112025/01/56/image_30112025_01_57_05_9716.jpg', '/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_25_10553.jpg
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_35_9568.jpg
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_44_9709.jpg
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_56_55_10634.jpg
/home/pi/Desktop/images/30112025/01/56/image_30112025_01_57_05_9716.jpg
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_14_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008720","1397008716","1397008719","1397008710","1397008713","1397008721"],"photo_ids_order":["1397008710","1397008713","1397008716","1397008719","1397008720","1397008721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a9bbf4eac35c52acaea7e296b8920df.jpg","text":"TemporaryFile(/tmp/multipartBody1553353339637434097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_57_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e40eeaf852532bb81ceb3d8ee3beb720.jpg","text":"TemporaryFile(/tmp/multipartBody468250175093366212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_56_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/529e31e53d5ab5bab7e814731f961420.jpg","text":"TemporaryFile(/tmp/multipartBody6565529358261193752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_56_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f013c2b8aca193e231917793efa653bc.jpg","text":"TemporaryFile(/tmp/multipartBody210845049437448483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_56_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/874534f8a7f43bd80bad4ffcf41dfa69.jpg","text":"TemporaryFile(/tmp/multipartBody7869473853349911424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_56_35_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e76260bb3ee21e7847b98c2f74c3955.jpg","text":"TemporaryFile(/tmp/multipartBody3186861694833809242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466463311,"filename":"image_30112025_01_57_14_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008716","file1":"1397008713","file0":"1397008710","file4":"1397008720","file5":"1397008721","file3":"1397008719"},"map_files_photo_id_array":[{"photo_id":"1397008721","filename":"file5"},{"photo_id":"1397008716","filename":"file2"},{"photo_id":"1397008720","filename":"file4"},{"photo_id":"1397008713","filename":"file1"},{"photo_id":"1397008710","filename":"file0"},{"photo_id":"1397008719","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008720":["hashtag1","hashtag2"]},{"1397008716":["hashtag1","hashtag2"]},{"1397008719":["hashtag1","hashtag2"]},{"1397008710":["hashtag1","hashtag2"]},{"1397008713":["hashtag1","hashtag2"]},{"1397008721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008720, 1397008716, 1397008719, 1397008710, 1397008713, 1397008721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42513418197632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:34:03.433073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_25_10741.jpg', '/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_35_9743.jpg', '/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_44_9563.jpg', '/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_55_10647.jpg', '/home/pi/Desktop/images/30112025/01/57/image_30112025_01_58_05_9888.jpg', '/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_15_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_25_10741.jpg
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_35_9743.jpg
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_44_9563.jpg
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_57_55_10647.jpg
/home/pi/Desktop/images/30112025/01/57/image_30112025_01_58_05_9888.jpg
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_15_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008723","1397008722","1397008731","1397008725","1397008724","1397008727"],"photo_ids_order":["1397008722","1397008723","1397008724","1397008725","1397008727","1397008731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4db75c7cdecaa02596478347cad1fa41.jpg","text":"TemporaryFile(/tmp/multipartBody7806283879292468317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_57_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c973d5f2c4dbcdf37fde9b172477c9a4.jpg","text":"TemporaryFile(/tmp/multipartBody6869557379704677281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_57_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5b4fa51094d3cbd6d168eb18dff3225.jpg","text":"TemporaryFile(/tmp/multipartBody6592370823285482518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_58_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42c56cc4de9621b4ba70a62cdc3bd502.jpg","text":"TemporaryFile(/tmp/multipartBody6927289964489573308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_57_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3880d8bc4381a446fa6afbd564fcdad6.jpg","text":"TemporaryFile(/tmp/multipartBody5771532790416602912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_57_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2794db253a79fec2fc487dc5ecafb8b.jpg","text":"TemporaryFile(/tmp/multipartBody608158102322683497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466504188,"filename":"image_30112025_01_58_05_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008724","file1":"1397008723","file0":"1397008722","file4":"1397008727","file5":"1397008731","file3":"1397008725"},"map_files_photo_id_array":[{"photo_id":"1397008731","filename":"file5"},{"photo_id":"1397008724","filename":"file2"},{"photo_id":"1397008727","filename":"file4"},{"photo_id":"1397008723","filename":"file1"},{"photo_id":"1397008722","filename":"file0"},{"photo_id":"1397008725","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008723":["hashtag1","hashtag2"]},{"1397008722":["hashtag1","hashtag2"]},{"1397008731":["hashtag1","hashtag2"]},{"1397008725":["hashtag1","hashtag2"]},{"1397008724":["hashtag1","hashtag2"]},{"1397008727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008723, 1397008722, 1397008731, 1397008725, 1397008724, 1397008727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24566411972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:34:42.767867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/27/image_31102025_11_27_53_3655.jpg', '/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_55_2910.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_01_2604.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_04_2881.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_07_3580.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_10_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/11/27/image_31102025_11_27_53_3655.jpg
/home/pi/Desktop/images/31102025/11/27/image_31102025_11_27_55_2910.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_01_2604.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_04_2881.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_07_3580.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_10_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":["1397008744","1397008740","1397008743","1397008742","1397008739","1397008741"],"photo_ids_order":["1397008739","1397008740","1397008741","1397008742","1397008743","1397008744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26b822bfae1858c4e9aeff4642cbbf27.jpg","text":"TemporaryFile(/tmp/multipartBody7590133546356513640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_28_10_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/30/27d65219e866c990d7970e71872487a3.jpg","text":"TemporaryFile(/tmp/multipartBody8834194139832581582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_27_55_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/30/5d1d9424e4bb634f6d969ac8a58ff059.jpg","text":"TemporaryFile(/tmp/multipartBody8840410187550279368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_28_07_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/30/ca223e890c42f1569ec66e2e682a5000.jpg","text":"TemporaryFile(/tmp/multipartBody7254468698302391718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_28_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/30/1cdd9598bb7846172010161b19d61628.jpg","text":"TemporaryFile(/tmp/multipartBody5630183382009517590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_27_53_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/30/ca3c7053c1b1adde1067df0c43f4d845.jpg","text":"TemporaryFile(/tmp/multipartBody2000113725616736411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466543691,"filename":"image_31102025_11_28_01_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008741","file1":"1397008740","file0":"1397008739","file4":"1397008743","file5":"1397008744","file3":"1397008742"},"map_files_photo_id_array":[{"photo_id":"1397008744","filename":"file5"},{"photo_id":"1397008741","filename":"file2"},{"photo_id":"1397008743","filename":"file4"},{"photo_id":"1397008740","filename":"file1"},{"photo_id":"1397008739","filename":"file0"},{"photo_id":"1397008742","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008744":["hashtag1","hashtag2"]},{"1397008740":["hashtag1","hashtag2"]},{"1397008743":["hashtag1","hashtag2"]},{"1397008742":["hashtag1","hashtag2"]},{"1397008739":["hashtag1","hashtag2"]},{"1397008741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008744, 1397008740, 1397008743, 1397008742, 1397008739, 1397008741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74616050720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:35:21.932666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_24_9725.jpg', '/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_35_10695.jpg', '/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_45_9792.jpg', '/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_54_9725.jpg', '/home/pi/Desktop/images/30112025/01/58/image_30112025_01_59_04_9676.jpg', '/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_15_10819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_24_9725.jpg
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_35_10695.jpg
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_45_9792.jpg
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_58_54_9725.jpg
/home/pi/Desktop/images/30112025/01/58/image_30112025_01_59_04_9676.jpg
/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_15_10819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008750","1397008758","1397008752","1397008754","1397008748","1397008756"],"photo_ids_order":["1397008748","1397008750","1397008752","1397008754","1397008756","1397008758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc333bae247eff1c78feefca2772fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8901021712816218671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_58_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/294b85f0c89a1a5734b2b4b47353c989.jpg","text":"TemporaryFile(/tmp/multipartBody3418792088603398922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_59_15_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10990de11259e82baf445302fb26ea69.jpg","text":"TemporaryFile(/tmp/multipartBody7627648348156928027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_58_45_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fafbf96710b1d2c0d65da9fd48bc2f82.jpg","text":"TemporaryFile(/tmp/multipartBody1157789224215376732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_58_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/517a0873ea4c0f8776586a2be273fa6a.jpg","text":"TemporaryFile(/tmp/multipartBody3520954893681027143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_58_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/052022d87ff128be1f343e82f11e1a20.jpg","text":"TemporaryFile(/tmp/multipartBody2569815535865588375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466582625,"filename":"image_30112025_01_59_04_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008752","file1":"1397008750","file0":"1397008748","file4":"1397008756","file5":"1397008758","file3":"1397008754"},"map_files_photo_id_array":[{"photo_id":"1397008758","filename":"file5"},{"photo_id":"1397008752","filename":"file2"},{"photo_id":"1397008756","filename":"file4"},{"photo_id":"1397008750","filename":"file1"},{"photo_id":"1397008748","filename":"file0"},{"photo_id":"1397008754","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008750":["hashtag1","hashtag2"]},{"1397008758":["hashtag1","hashtag2"]},{"1397008752":["hashtag1","hashtag2"]},{"1397008754":["hashtag1","hashtag2"]},{"1397008748":["hashtag1","hashtag2"]},{"1397008756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008750, 1397008758, 1397008752, 1397008754, 1397008748, 1397008756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60625100135803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:36:02.530690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_25_9768.jpg', '/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_34_9624.jpg', '/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_44_9694.jpg', '/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_55_10717.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_15_10067.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_24_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_25_9768.jpg
/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_34_9624.jpg
/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_44_9694.jpg
/home/pi/Desktop/images/30112025/01/59/image_30112025_01_59_55_10717.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_15_10067.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_24_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008770","1397008773","1397008775","1397008769","1397008771","1397008768"],"photo_ids_order":["1397008768","1397008769","1397008770","1397008771","1397008773","1397008775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4ff5acbcdaaeb6a8f2da3b4ee416920.jpg","text":"TemporaryFile(/tmp/multipartBody3950086332543372272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_01_59_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dfeec8a4972033b313baf5678e26ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8243040600256187553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_02_00_15_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b53d183d3a36801e8ee979f8973a047.jpg","text":"TemporaryFile(/tmp/multipartBody9034484276356701999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_02_00_24_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22610d3326269532425bc63e4962cfe3.jpg","text":"TemporaryFile(/tmp/multipartBody6675932266846096322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_01_59_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1aee242e22c40658700ec36116ccc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6869094055490189880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_01_59_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/863644d4a118864a1ac87ab52dc0cb6e.jpg","text":"TemporaryFile(/tmp/multipartBody8692006714784501901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466623285,"filename":"image_30112025_01_59_25_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008770","file1":"1397008769","file0":"1397008768","file4":"1397008773","file5":"1397008775","file3":"1397008771"},"map_files_photo_id_array":[{"photo_id":"1397008775","filename":"file5"},{"photo_id":"1397008770","filename":"file2"},{"photo_id":"1397008773","filename":"file4"},{"photo_id":"1397008769","filename":"file1"},{"photo_id":"1397008768","filename":"file0"},{"photo_id":"1397008771","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008770":["hashtag1","hashtag2"]},{"1397008773":["hashtag1","hashtag2"]},{"1397008775":["hashtag1","hashtag2"]},{"1397008769":["hashtag1","hashtag2"]},{"1397008771":["hashtag1","hashtag2"]},{"1397008768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008770, 1397008773, 1397008775, 1397008769, 1397008771, 1397008768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8666672706604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:36:42.118755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/28/image_31102025_11_28_14_3578.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_16_2817.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_19_2878.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_22_2748.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_25_2661.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_29_3871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_14_3578.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_16_2817.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_19_2878.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_22_2748.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_25_2661.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_29_3871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008791","1397008788","1397008790","1397008784","1397008792","1397008786"],"photo_ids_order":["1397008784","1397008786","1397008788","1397008790","1397008791","1397008792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1278a47d4bdb70a97dacf123a18eff5.jpg","text":"TemporaryFile(/tmp/multipartBody9052781169785538955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_25_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/476c4773f75bbbc5e8d1e13b0bd87ac5.jpg","text":"TemporaryFile(/tmp/multipartBody41042360358029163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_19_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/30/ad233f57d72b373f7712b3cc3df4786b.jpg","text":"TemporaryFile(/tmp/multipartBody8047238390734852628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_22_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/30/c2f730a42fe19ac508e4be0bec35c779.jpg","text":"TemporaryFile(/tmp/multipartBody4151543281630952200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_14_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/30/017c1b0846ca0678152c35c432e551d3.jpg","text":"TemporaryFile(/tmp/multipartBody1227530372025979030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_29_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/30/bbc1ec5fc8542b399a8509266b29e4f8.jpg","text":"TemporaryFile(/tmp/multipartBody855542034569554451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466663056,"filename":"image_31102025_11_28_16_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008788","file1":"1397008786","file0":"1397008784","file4":"1397008791","file5":"1397008792","file3":"1397008790"},"map_files_photo_id_array":[{"photo_id":"1397008792","filename":"file5"},{"photo_id":"1397008788","filename":"file2"},{"photo_id":"1397008791","filename":"file4"},{"photo_id":"1397008786","filename":"file1"},{"photo_id":"1397008784","filename":"file0"},{"photo_id":"1397008790","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008791":["hashtag1","hashtag2"]},{"1397008788":["hashtag1","hashtag2"]},{"1397008790":["hashtag1","hashtag2"]},{"1397008784":["hashtag1","hashtag2"]},{"1397008792":["hashtag1","hashtag2"]},{"1397008786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008791, 1397008788, 1397008790, 1397008784, 1397008792, 1397008786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26401472091675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:37:22.352845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_35_10510.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_44_9543.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_54_9786.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_01_05_10462.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_14_9645.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_35_10510.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_44_9543.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_54_9786.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_01_05_10462.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_14_9645.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_25_10629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5793344974517822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:37:32.331384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_04_2858.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_07_3594.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_11_3974.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_13_1599.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_16_3627.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_19_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_04_2858.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_07_3594.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_11_3974.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_13_1599.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_16_3627.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_19_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008810","1397008804","1397008807","1397008801","1397008809","1397008808"],"photo_ids_order":["1397008801","1397008804","1397008807","1397008808","1397008809","1397008810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c586577598d7db317200a50ad5e9ee18.jpg","text":"TemporaryFile(/tmp/multipartBody2604189833850510936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_19_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/30/18822a598cac1fa7565e37d216b87ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1730261375603770528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_07_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/30/b6711226e542c099961eb693c2badc65.jpg","text":"TemporaryFile(/tmp/multipartBody6098220695194646677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_11_3974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0ae65a3e27f90a81818dad0ec311aae.jpg","text":"TemporaryFile(/tmp/multipartBody4119123115935561740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_04_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24a398ba5dfc751218cc6182a0dadd6d.jpg","text":"TemporaryFile(/tmp/multipartBody2285295813896919652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_16_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb171a0aba2d114d010611b76933359d.jpg","text":"TemporaryFile(/tmp/multipartBody8556281222034478072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466714317,"filename":"image_25112025_19_35_13_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008807","file1":"1397008804","file0":"1397008801","file4":"1397008809","file5":"1397008810","file3":"1397008808"},"map_files_photo_id_array":[{"photo_id":"1397008810","filename":"file5"},{"photo_id":"1397008807","filename":"file2"},{"photo_id":"1397008809","filename":"file4"},{"photo_id":"1397008804","filename":"file1"},{"photo_id":"1397008801","filename":"file0"},{"photo_id":"1397008808","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008810":["hashtag1","hashtag2"]},{"1397008804":["hashtag1","hashtag2"]},{"1397008807":["hashtag1","hashtag2"]},{"1397008801":["hashtag1","hashtag2"]},{"1397008809":["hashtag1","hashtag2"]},{"1397008808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008810, 1397008804, 1397008807, 1397008801, 1397008809, 1397008808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245217084884644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:38:12.545813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_23_4029.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_25_1634.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_28_3650.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_31_2597.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_34_3541.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_37_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_23_4029.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_25_1634.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_28_3650.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_31_2597.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_34_3541.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_37_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008816","1397008819","1397008812","1397008821","1397008824","1397008811"],"photo_ids_order":["1397008811","1397008812","1397008816","1397008819","1397008821","1397008824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d998aed33e521e0954cf3c6fecc0d823.jpg","text":"TemporaryFile(/tmp/multipartBody2193767178052369133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_28_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/30/59327d6d396c98bbfbcd584e910b9dec.jpg","text":"TemporaryFile(/tmp/multipartBody5212878403254715281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_31_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/30/3bac1075433288a934a02d4930425f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3332595035781222262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_25_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/30/6be0380da759680f4124f88c099bbe43.jpg","text":"TemporaryFile(/tmp/multipartBody7521139553768996619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_34_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/30/52d0db031f215c31f7f289848d44215a.jpg","text":"TemporaryFile(/tmp/multipartBody8558250380715318846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_37_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fccade96e04d919a33ed65a7be60fc66.jpg","text":"TemporaryFile(/tmp/multipartBody8570568167114393926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466754469,"filename":"image_25112025_19_35_23_4029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008816","file1":"1397008812","file0":"1397008811","file4":"1397008821","file5":"1397008824","file3":"1397008819"},"map_files_photo_id_array":[{"photo_id":"1397008824","filename":"file5"},{"photo_id":"1397008816","filename":"file2"},{"photo_id":"1397008821","filename":"file4"},{"photo_id":"1397008812","filename":"file1"},{"photo_id":"1397008811","filename":"file0"},{"photo_id":"1397008819","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397008816":["hashtag1","hashtag2"]},{"1397008819":["hashtag1","hashtag2"]},{"1397008812":["hashtag1","hashtag2"]},{"1397008821":["hashtag1","hashtag2"]},{"1397008824":["hashtag1","hashtag2"]},{"1397008811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397008816, 1397008819, 1397008812, 1397008821, 1397008824, 1397008811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873642921447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:39:03.569456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_35_10510.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_44_9543.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_54_9786.jpg', '/home/pi/Desktop/images/30112025/02/00/image_30112025_02_01_05_10462.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_14_9645.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_35_10510.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_44_9543.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_00_54_9786.jpg
/home/pi/Desktop/images/30112025/02/00/image_30112025_02_01_05_10462.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_14_9645.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_25_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008837","1397008839","1397008844","1397008838","1397008846","1397008840"],"photo_ids_order":["1397008837","1397008838","1397008839","1397008840","1397008844","1397008846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3977d878c626f77f291e00aa8118b20d.jpg","text":"TemporaryFile(/tmp/multipartBody7346254488745313543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_00_35_10510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/652d82ef35256b0d996cc53fc423f24b.jpg","text":"TemporaryFile(/tmp/multipartBody1014650903526878828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_00_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b29d80258b271bd46e7c9a05e1b2d315.jpg","text":"TemporaryFile(/tmp/multipartBody4845229539133504294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_01_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/349648a79ae509048499c1038f0974cf.jpg","text":"TemporaryFile(/tmp/multipartBody5970715192129460909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_00_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14075f08a5781281f2061bbfda533139.jpg","text":"TemporaryFile(/tmp/multipartBody1591939289570712036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_01_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65963c69cfb17c3dfccae8f1e227a031.jpg","text":"TemporaryFile(/tmp/multipartBody3995725211728904549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466804453,"filename":"image_30112025_02_01_05_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008839","file1":"1397008838","file0":"1397008837","file4":"1397008844","file5":"1397008846","file3":"1397008840"},"map_files_photo_id_array":[{"photo_id":"1397008846","filename":"file5"},{"photo_id":"1397008839","filename":"file2"},{"photo_id":"1397008844","filename":"file4"},{"photo_id":"1397008838","filename":"file1"},{"photo_id":"1397008837","filename":"file0"},{"photo_id":"1397008840","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008837":["hashtag1","hashtag2"]},{"1397008839":["hashtag1","hashtag2"]},{"1397008844":["hashtag1","hashtag2"]},{"1397008838":["hashtag1","hashtag2"]},{"1397008846":["hashtag1","hashtag2"]},{"1397008840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008837, 1397008839, 1397008844, 1397008838, 1397008846, 1397008840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90605592727661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:39:42.842798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/28/image_31102025_11_28_31_2751.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_34_2785.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_37_2660.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_40_3545.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_43_2705.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_46_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_31_2751.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_34_2785.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_37_2660.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_40_3545.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_43_2705.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_46_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":["1397008851","1397008854","1397008856","1397008853","1397008852","1397008855"],"photo_ids_order":["1397008851","1397008852","1397008853","1397008854","1397008855","1397008856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f416aa83189757ab5070b9d4be95684c.jpg","text":"TemporaryFile(/tmp/multipartBody8934882789097419414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_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/30/4f00928be5621251b6b0a1d5817da3e0.jpg","text":"TemporaryFile(/tmp/multipartBody5690783354623058246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_40_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/30/26571188df52d98c492f7aca5a8bbf91.jpg","text":"TemporaryFile(/tmp/multipartBody3663163494898153100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_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/30/ff1ed959d30db2149f9b50df4a1cbce6.jpg","text":"TemporaryFile(/tmp/multipartBody8171749460804287839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_37_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d7c04b9cacfa8fe685764e174b2725e.jpg","text":"TemporaryFile(/tmp/multipartBody1010756371578248041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_34_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/30/96bcf6dd36c2f5bd868ec47ecb027372.jpg","text":"TemporaryFile(/tmp/multipartBody9147302983615554848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466843801,"filename":"image_31102025_11_28_43_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008853","file1":"1397008852","file0":"1397008851","file4":"1397008855","file5":"1397008856","file3":"1397008854"},"map_files_photo_id_array":[{"photo_id":"1397008856","filename":"file5"},{"photo_id":"1397008853","filename":"file2"},{"photo_id":"1397008855","filename":"file4"},{"photo_id":"1397008852","filename":"file1"},{"photo_id":"1397008851","filename":"file0"},{"photo_id":"1397008854","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008851":["hashtag1","hashtag2"]},{"1397008854":["hashtag1","hashtag2"]},{"1397008856":["hashtag1","hashtag2"]},{"1397008853":["hashtag1","hashtag2"]},{"1397008852":["hashtag1","hashtag2"]},{"1397008855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008851, 1397008854, 1397008856, 1397008853, 1397008852, 1397008855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77130603790283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:40:22.025038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_35_9717.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_44_9737.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_54_9828.jpg', '/home/pi/Desktop/images/30112025/02/01/image_30112025_02_02_05_10667.jpg', '/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_14_9598.jpg', '/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_24_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_35_9717.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_44_9737.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_01_54_9828.jpg
/home/pi/Desktop/images/30112025/02/01/image_30112025_02_02_05_10667.jpg
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_14_9598.jpg
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_24_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008858","1397008869","1397008862","1397008865","1397008870","1397008867"],"photo_ids_order":["1397008858","1397008862","1397008865","1397008867","1397008869","1397008870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8cc5d50fa70c13e20ffa9e6e50abce9.jpg","text":"TemporaryFile(/tmp/multipartBody123506622101919875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_01_35_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e41474c5e7d1658f4196ebb5bbda05f.jpg","text":"TemporaryFile(/tmp/multipartBody3426350296394871833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_02_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c4c4a698cb47351ddb4e2ee0602040b.jpg","text":"TemporaryFile(/tmp/multipartBody8277906538000138214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_01_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/127d3b8a991ef2c7fb51f82f9da00bf7.jpg","text":"TemporaryFile(/tmp/multipartBody7781631611524801504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_01_54_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55bb10c3b0fa5c400749a6aea4229308.jpg","text":"TemporaryFile(/tmp/multipartBody4040356310127220013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_02_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a1acd56474adfc9b5d9a9c8fe9dc51c.jpg","text":"TemporaryFile(/tmp/multipartBody88807051121860750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466882723,"filename":"image_30112025_02_02_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008865","file1":"1397008862","file0":"1397008858","file4":"1397008869","file5":"1397008870","file3":"1397008867"},"map_files_photo_id_array":[{"photo_id":"1397008870","filename":"file5"},{"photo_id":"1397008865","filename":"file2"},{"photo_id":"1397008869","filename":"file4"},{"photo_id":"1397008862","filename":"file1"},{"photo_id":"1397008858","filename":"file0"},{"photo_id":"1397008867","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008858":["hashtag1","hashtag2"]},{"1397008869":["hashtag1","hashtag2"]},{"1397008862":["hashtag1","hashtag2"]},{"1397008865":["hashtag1","hashtag2"]},{"1397008870":["hashtag1","hashtag2"]},{"1397008867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008858, 1397008869, 1397008862, 1397008865, 1397008870, 1397008867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06424617767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:41:02.785010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_34_9816.jpg', '/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_45_10661.jpg', '/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_54_9586.jpg', '/home/pi/Desktop/images/30112025/02/02/image_30112025_02_03_04_9815.jpg', '/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_15_10806.jpg', '/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_25_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_34_9816.jpg
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_45_10661.jpg
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_02_54_9586.jpg
/home/pi/Desktop/images/30112025/02/02/image_30112025_02_03_04_9815.jpg
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_15_10806.jpg
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_25_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008872","1397008880","1397008874","1397008871","1397008873","1397008876"],"photo_ids_order":["1397008871","1397008872","1397008873","1397008874","1397008876","1397008880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b9e942e84742079e570295310c22696.jpg","text":"TemporaryFile(/tmp/multipartBody8266526252743355713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_02_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42104a1f468f3a0f23d2eca67ce6c786.jpg","text":"TemporaryFile(/tmp/multipartBody6116962660564420916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_03_25_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/575e59c82071d7024a2879331f0d6f27.jpg","text":"TemporaryFile(/tmp/multipartBody2873614451870968585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_03_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2ce451add980bd466382fe5a324620d.jpg","text":"TemporaryFile(/tmp/multipartBody4651869513057924699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_02_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0edcd1c5b3e44bc18efc7ce08f383786.jpg","text":"TemporaryFile(/tmp/multipartBody4188725044504062787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_02_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b91f0bfab1191dec42d2062efac5015.jpg","text":"TemporaryFile(/tmp/multipartBody6481683108376276156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466923583,"filename":"image_30112025_02_03_15_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008873","file1":"1397008872","file0":"1397008871","file4":"1397008876","file5":"1397008880","file3":"1397008874"},"map_files_photo_id_array":[{"photo_id":"1397008880","filename":"file5"},{"photo_id":"1397008873","filename":"file2"},{"photo_id":"1397008876","filename":"file4"},{"photo_id":"1397008872","filename":"file1"},{"photo_id":"1397008871","filename":"file0"},{"photo_id":"1397008874","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008872":["hashtag1","hashtag2"]},{"1397008880":["hashtag1","hashtag2"]},{"1397008874":["hashtag1","hashtag2"]},{"1397008871":["hashtag1","hashtag2"]},{"1397008873":["hashtag1","hashtag2"]},{"1397008876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008872, 1397008880, 1397008874, 1397008871, 1397008873, 1397008876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7972092628479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:41:42.288362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/28/image_31102025_11_28_49_3678.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_52_2893.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_55_2671.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_58_2647.jpg', '/home/pi/Desktop/images/31102025/11/28/image_31102025_11_29_01_3619.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_04_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/11/28/image_31102025_11_28_49_3678.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_52_2893.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_55_2671.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_28_58_2647.jpg
/home/pi/Desktop/images/31102025/11/28/image_31102025_11_29_01_3619.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_04_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008896","1397008900","1397008899","1397008898","1397008897","1397008885"],"photo_ids_order":["1397008885","1397008896","1397008897","1397008898","1397008899","1397008900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7af6bcf9bc52f960d52ef852f04063e.jpg","text":"TemporaryFile(/tmp/multipartBody2818738703956963348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_28_52_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/30/ce48d2259ca9e1df71d20b3285255d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1400141631454194072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_29_04_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/30/13e0c898f4daa23ae6139a2d0d4c2151.jpg","text":"TemporaryFile(/tmp/multipartBody7951051349842135661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_29_01_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4a08188ed050205a9ca5a161de40548.jpg","text":"TemporaryFile(/tmp/multipartBody4391889669876611732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_28_58_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/30/719976b3ed62ca29e525ca2d3ce17e96.jpg","text":"TemporaryFile(/tmp/multipartBody6780005795297821040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_28_55_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f0d669211b8b53c6ce3d75edce3f0b9.jpg","text":"TemporaryFile(/tmp/multipartBody494092174401745756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764466963268,"filename":"image_31102025_11_28_49_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008897","file1":"1397008896","file0":"1397008885","file4":"1397008899","file5":"1397008900","file3":"1397008898"},"map_files_photo_id_array":[{"photo_id":"1397008900","filename":"file5"},{"photo_id":"1397008897","filename":"file2"},{"photo_id":"1397008899","filename":"file4"},{"photo_id":"1397008896","filename":"file1"},{"photo_id":"1397008885","filename":"file0"},{"photo_id":"1397008898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008896":["hashtag1","hashtag2"]},{"1397008900":["hashtag1","hashtag2"]},{"1397008899":["hashtag1","hashtag2"]},{"1397008898":["hashtag1","hashtag2"]},{"1397008897":["hashtag1","hashtag2"]},{"1397008885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008896, 1397008900, 1397008899, 1397008898, 1397008897, 1397008885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90506982803345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:42:22.473596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_34_9762.jpg', '/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_44_9640.jpg', '/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_55_10702.jpg', '/home/pi/Desktop/images/30112025/02/03/image_30112025_02_04_04_9624.jpg', '/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_15_10646.jpg', '/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_25_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_34_9762.jpg
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_44_9640.jpg
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_03_55_10702.jpg
/home/pi/Desktop/images/30112025/02/03/image_30112025_02_04_04_9624.jpg
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_15_10646.jpg
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_25_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008915","1397008903","1397008910","1397008913","1397008907","1397008916"],"photo_ids_order":["1397008903","1397008907","1397008910","1397008913","1397008915","1397008916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f181a7788a84db41eb76867c9448941c.jpg","text":"TemporaryFile(/tmp/multipartBody427501852974912694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_04_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e24b6c4b2007c40b9109adc368fee126.jpg","text":"TemporaryFile(/tmp/multipartBody2844162184989471779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_03_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e6e2396699f9df4fc6d44ef6c29a111.jpg","text":"TemporaryFile(/tmp/multipartBody5365088091639972231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_03_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6db596b5ce83287039bab3e2ed55e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6229850327926051265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_04_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/265e64e56e841e9a240f8e4835000ffc.jpg","text":"TemporaryFile(/tmp/multipartBody9026318478803938032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_03_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cf0d94dc53515fa94f4e9ea14a3c700.jpg","text":"TemporaryFile(/tmp/multipartBody5966895502968000562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467003170,"filename":"image_30112025_02_04_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008910","file1":"1397008907","file0":"1397008903","file4":"1397008915","file5":"1397008916","file3":"1397008913"},"map_files_photo_id_array":[{"photo_id":"1397008916","filename":"file5"},{"photo_id":"1397008910","filename":"file2"},{"photo_id":"1397008915","filename":"file4"},{"photo_id":"1397008907","filename":"file1"},{"photo_id":"1397008903","filename":"file0"},{"photo_id":"1397008913","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008915":["hashtag1","hashtag2"]},{"1397008903":["hashtag1","hashtag2"]},{"1397008910":["hashtag1","hashtag2"]},{"1397008913":["hashtag1","hashtag2"]},{"1397008907":["hashtag1","hashtag2"]},{"1397008916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008915, 1397008903, 1397008910, 1397008913, 1397008907, 1397008916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35270023345947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:43:03.394743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_34_9711.jpg', '/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_44_9708.jpg', '/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_55_10552.jpg', '/home/pi/Desktop/images/30112025/02/04/image_30112025_02_05_04_9641.jpg', '/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_15_10594.jpg', '/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_25_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_34_9711.jpg
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_44_9708.jpg
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_04_55_10552.jpg
/home/pi/Desktop/images/30112025/02/04/image_30112025_02_05_04_9641.jpg
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_15_10594.jpg
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_25_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008918","1397008926","1397008920","1397008923","1397008917","1397008919"],"photo_ids_order":["1397008917","1397008918","1397008919","1397008920","1397008923","1397008926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45f955a0d22687e34427b648dc9b735a.jpg","text":"TemporaryFile(/tmp/multipartBody8050967449526568271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_04_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7093a3a0991905f37ebad149064706ba.jpg","text":"TemporaryFile(/tmp/multipartBody5933309805422955976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_05_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2217c793153f420992f1dd8544824763.jpg","text":"TemporaryFile(/tmp/multipartBody7956545188731735879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_05_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9c65634939134c1f3b5886b56f53d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1428386004856874277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_05_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8192e2d8816ea1f62d22460abcbfb239.jpg","text":"TemporaryFile(/tmp/multipartBody7049724063623559381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_04_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5602eeac471860c3d3cbb2931794fd06.jpg","text":"TemporaryFile(/tmp/multipartBody8853442929425191224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467044111,"filename":"image_30112025_02_04_55_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008919","file1":"1397008918","file0":"1397008917","file4":"1397008923","file5":"1397008926","file3":"1397008920"},"map_files_photo_id_array":[{"photo_id":"1397008926","filename":"file5"},{"photo_id":"1397008919","filename":"file2"},{"photo_id":"1397008923","filename":"file4"},{"photo_id":"1397008918","filename":"file1"},{"photo_id":"1397008917","filename":"file0"},{"photo_id":"1397008920","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008918":["hashtag1","hashtag2"]},{"1397008926":["hashtag1","hashtag2"]},{"1397008920":["hashtag1","hashtag2"]},{"1397008923":["hashtag1","hashtag2"]},{"1397008917":["hashtag1","hashtag2"]},{"1397008919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008918, 1397008926, 1397008920, 1397008923, 1397008917, 1397008919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81671929359436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:43:42.644038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/29/image_31102025_11_29_07_2744.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_10_2819.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_13_3563.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_16_2725.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_19_2673.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_22_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_07_2744.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_10_2819.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_13_3563.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_16_2725.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_19_2673.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_22_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":["1397008932","1397008935","1397008937","1397008931","1397008934","1397008933"],"photo_ids_order":["1397008931","1397008932","1397008933","1397008934","1397008935","1397008937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2fd4519887c91480186cd69960c2759.jpg","text":"TemporaryFile(/tmp/multipartBody1704006787950358153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_10_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ebbdd36d4f28dfa6d0534181dcd4cc2.jpg","text":"TemporaryFile(/tmp/multipartBody9167371754233081739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_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/30/07106d6317dfacaf49063766d99484b8.jpg","text":"TemporaryFile(/tmp/multipartBody4407566240137203316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_22_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/30/293b60d5c3c26a5e135591273b663428.jpg","text":"TemporaryFile(/tmp/multipartBody8266256381481292266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_07_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/30/906d2cb4eb2dbadef3ed07aa3e4ab79d.jpg","text":"TemporaryFile(/tmp/multipartBody2210934328210704893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_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/30/eb79f05bcc7726e88b9f0a9485dd351e.jpg","text":"TemporaryFile(/tmp/multipartBody751693561585309413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467083638,"filename":"image_31102025_11_29_13_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008933","file1":"1397008932","file0":"1397008931","file4":"1397008935","file5":"1397008937","file3":"1397008934"},"map_files_photo_id_array":[{"photo_id":"1397008937","filename":"file5"},{"photo_id":"1397008933","filename":"file2"},{"photo_id":"1397008935","filename":"file4"},{"photo_id":"1397008932","filename":"file1"},{"photo_id":"1397008931","filename":"file0"},{"photo_id":"1397008934","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008932":["hashtag1","hashtag2"]},{"1397008935":["hashtag1","hashtag2"]},{"1397008937":["hashtag1","hashtag2"]},{"1397008931":["hashtag1","hashtag2"]},{"1397008934":["hashtag1","hashtag2"]},{"1397008933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008932, 1397008935, 1397008937, 1397008931, 1397008934, 1397008933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57465672492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:44:22.822983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_35_10517.jpg', '/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_45_9792.jpg', '/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_54_9641.jpg', '/home/pi/Desktop/images/30112025/02/05/image_30112025_02_06_04_9899.jpg', '/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_15_10641.jpg', '/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_25_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_35_10517.jpg
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_45_9792.jpg
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_05_54_9641.jpg
/home/pi/Desktop/images/30112025/02/05/image_30112025_02_06_04_9899.jpg
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_15_10641.jpg
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_25_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008942","1397008953","1397008947","1397008955","1397008951","1397008945"],"photo_ids_order":["1397008942","1397008945","1397008947","1397008951","1397008953","1397008955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a400518c2ce2d752ce6703a8fde1b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2661488176605353735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_05_35_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16ca8fed04bba2cd5580d25bd363a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody1681106281973362172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_06_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe74279e33b14bd7dd99c32acd4cdd36.jpg","text":"TemporaryFile(/tmp/multipartBody2003819463925348771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_05_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb0ca047d7d93ee7e2f8e349ecd9434b.jpg","text":"TemporaryFile(/tmp/multipartBody1277909563193145185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_06_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a948f699443373e0984a7265da0415ce.jpg","text":"TemporaryFile(/tmp/multipartBody5502201119061423932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_06_04_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/270860c058decb765673b7d6812c8a30.jpg","text":"TemporaryFile(/tmp/multipartBody2918715837501313728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467123551,"filename":"image_30112025_02_05_45_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008947","file1":"1397008945","file0":"1397008942","file4":"1397008953","file5":"1397008955","file3":"1397008951"},"map_files_photo_id_array":[{"photo_id":"1397008955","filename":"file5"},{"photo_id":"1397008947","filename":"file2"},{"photo_id":"1397008953","filename":"file4"},{"photo_id":"1397008945","filename":"file1"},{"photo_id":"1397008942","filename":"file0"},{"photo_id":"1397008951","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008942":["hashtag1","hashtag2"]},{"1397008953":["hashtag1","hashtag2"]},{"1397008947":["hashtag1","hashtag2"]},{"1397008955":["hashtag1","hashtag2"]},{"1397008951":["hashtag1","hashtag2"]},{"1397008945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008942, 1397008953, 1397008947, 1397008955, 1397008951, 1397008945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.525622606277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:45:02.685267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_34_9610.jpg', '/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_45_10575.jpg', '/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_55_9870.jpg', '/home/pi/Desktop/images/30112025/02/06/image_30112025_02_07_04_9617.jpg', '/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_15_10652.jpg', '/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_24_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_34_9610.jpg
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_45_10575.jpg
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_06_55_9870.jpg
/home/pi/Desktop/images/30112025/02/06/image_30112025_02_07_04_9617.jpg
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_15_10652.jpg
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_24_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008965","1397008968","1397008973","1397008967","1397008970","1397008966"],"photo_ids_order":["1397008965","1397008966","1397008967","1397008968","1397008970","1397008973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/081f8d11bcbb3d042602b4c81539f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody1486233307355367999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_06_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/457fa88835abea80794da9aa76fc9aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4582061788001918323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_07_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0989f2480a6d7285347072a7a3ee7236.jpg","text":"TemporaryFile(/tmp/multipartBody3846769942750627468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_07_24_9413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d08bb3a28d8dd754f316fae91a54634f.jpg","text":"TemporaryFile(/tmp/multipartBody8705349797729183947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_06_55_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a09cd78375ff1b0a3629d9ce45017e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5293691277468395949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_07_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5bd3b3b055add699bd493b1f06b9db5.jpg","text":"TemporaryFile(/tmp/multipartBody2258849372102146374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467163406,"filename":"image_30112025_02_06_45_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008967","file1":"1397008966","file0":"1397008965","file4":"1397008970","file5":"1397008973","file3":"1397008968"},"map_files_photo_id_array":[{"photo_id":"1397008973","filename":"file5"},{"photo_id":"1397008967","filename":"file2"},{"photo_id":"1397008970","filename":"file4"},{"photo_id":"1397008966","filename":"file1"},{"photo_id":"1397008965","filename":"file0"},{"photo_id":"1397008968","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008965":["hashtag1","hashtag2"]},{"1397008968":["hashtag1","hashtag2"]},{"1397008973":["hashtag1","hashtag2"]},{"1397008967":["hashtag1","hashtag2"]},{"1397008970":["hashtag1","hashtag2"]},{"1397008966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008965, 1397008968, 1397008973, 1397008967, 1397008970, 1397008966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82997131347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:45:42.001058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/29/image_31102025_11_29_25_2681.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_28_2651.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_31_3665.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_34_2679.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_37_2859.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_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/11/29/image_31102025_11_29_25_2681.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_28_2651.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_31_3665.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_34_2679.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_37_2859.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_40_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008980","1397008983","1397008985","1397008982","1397008981","1397008984"],"photo_ids_order":["1397008980","1397008981","1397008982","1397008983","1397008984","1397008985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ec40db73ecb1225f73ac81744ad58f4.jpg","text":"TemporaryFile(/tmp/multipartBody7547416153957215454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_25_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/30/e40c5bab6f86319d9c2e00a804392889.jpg","text":"TemporaryFile(/tmp/multipartBody1133452244493084952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_34_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a99ee67b356c89007c2444cbafaf370.jpg","text":"TemporaryFile(/tmp/multipartBody6375076155520136497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_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/30/401c5a4bcf567be9c62766fd1d3d8e32.jpg","text":"TemporaryFile(/tmp/multipartBody4237427168276159492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_31_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/30/d39bd688259e5814e3fc28ea92d705cb.jpg","text":"TemporaryFile(/tmp/multipartBody6328166013313966815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_28_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/30/7b2ec3f1a84612832d2bb43f32312c9a.jpg","text":"TemporaryFile(/tmp/multipartBody5661673358324819094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467202921,"filename":"image_31102025_11_29_37_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008982","file1":"1397008981","file0":"1397008980","file4":"1397008984","file5":"1397008985","file3":"1397008983"},"map_files_photo_id_array":[{"photo_id":"1397008985","filename":"file5"},{"photo_id":"1397008982","filename":"file2"},{"photo_id":"1397008984","filename":"file4"},{"photo_id":"1397008981","filename":"file1"},{"photo_id":"1397008980","filename":"file0"},{"photo_id":"1397008983","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397008980":["hashtag1","hashtag2"]},{"1397008983":["hashtag1","hashtag2"]},{"1397008985":["hashtag1","hashtag2"]},{"1397008982":["hashtag1","hashtag2"]},{"1397008981":["hashtag1","hashtag2"]},{"1397008984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397008980, 1397008983, 1397008985, 1397008982, 1397008981, 1397008984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73137187957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:46:22.191295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_35_10590.jpg', '/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_45_9715.jpg', '/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_54_9623.jpg', '/home/pi/Desktop/images/30112025/02/07/image_30112025_02_08_05_10712.jpg', '/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_14_9372.jpg', '/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_25_10283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_35_10590.jpg
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_45_9715.jpg
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_07_54_9623.jpg
/home/pi/Desktop/images/30112025/02/07/image_30112025_02_08_05_10712.jpg
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_14_9372.jpg
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_25_10283.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397008992","1397008998","1397008994","1397008988","1397008996","1397008990"],"photo_ids_order":["1397008988","1397008990","1397008992","1397008994","1397008996","1397008998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73263bb715a6b9549f62e74c3259dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody8555744163309371895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_07_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338d5af58a94bdb943bbb536e6b4531a.jpg","text":"TemporaryFile(/tmp/multipartBody581491938601497105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_08_25_10283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a66350f8a41bfed3cd68c2e3c315694.jpg","text":"TemporaryFile(/tmp/multipartBody4513108685984105269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_08_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc26cec0167d69b5892e334e1cce1590.jpg","text":"TemporaryFile(/tmp/multipartBody8567759109803204811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_07_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d15ca75df7290b954bbf7847874e796d.jpg","text":"TemporaryFile(/tmp/multipartBody6245750532059588555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_08_14_9372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7277ca3ae3e7f2623bdda9bdc3fbf2e6.jpg","text":"TemporaryFile(/tmp/multipartBody2648463695357177860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467242914,"filename":"image_30112025_02_07_45_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397008992","file1":"1397008990","file0":"1397008988","file4":"1397008996","file5":"1397008998","file3":"1397008994"},"map_files_photo_id_array":[{"photo_id":"1397008998","filename":"file5"},{"photo_id":"1397008992","filename":"file2"},{"photo_id":"1397008996","filename":"file4"},{"photo_id":"1397008990","filename":"file1"},{"photo_id":"1397008988","filename":"file0"},{"photo_id":"1397008994","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397008992":["hashtag1","hashtag2"]},{"1397008998":["hashtag1","hashtag2"]},{"1397008994":["hashtag1","hashtag2"]},{"1397008988":["hashtag1","hashtag2"]},{"1397008996":["hashtag1","hashtag2"]},{"1397008990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397008992, 1397008998, 1397008994, 1397008988, 1397008996, 1397008990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10673952102661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:47:03.092276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_34_9607.jpg', '/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_45_10743.jpg', '/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_55_9719.jpg', '/home/pi/Desktop/images/30112025/02/08/image_30112025_02_09_04_9642.jpg', '/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_15_10584.jpg', '/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_25_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_34_9607.jpg
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_45_10743.jpg
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_08_55_9719.jpg
/home/pi/Desktop/images/30112025/02/08/image_30112025_02_09_04_9642.jpg
/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_15_10584.jpg
/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_25_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009005","1397009004","1397009003","1397009012","1397009009","1397009002"],"photo_ids_order":["1397009002","1397009003","1397009004","1397009005","1397009009","1397009012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/151ed347165700aef849f49c6c63ada9.jpg","text":"TemporaryFile(/tmp/multipartBody3249985726843168877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_09_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60b2e092f4934e3ca9304b2546dcee54.jpg","text":"TemporaryFile(/tmp/multipartBody5273487215740818105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_08_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73b7d63ba2633c2d2c475afbe84f7f24.jpg","text":"TemporaryFile(/tmp/multipartBody8219374134360450172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_08_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9332df6ce1f5c79a44cd5755bb3e7d28.jpg","text":"TemporaryFile(/tmp/multipartBody5280701158281132422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_09_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/353538044d3e66d82dafbe4205671442.jpg","text":"TemporaryFile(/tmp/multipartBody2440328864094280282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_09_15_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a785ad24dbe3de8202633731c2cebad.jpg","text":"TemporaryFile(/tmp/multipartBody2542927937606391896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467283805,"filename":"image_30112025_02_08_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009004","file1":"1397009003","file0":"1397009002","file4":"1397009009","file5":"1397009012","file3":"1397009005"},"map_files_photo_id_array":[{"photo_id":"1397009012","filename":"file5"},{"photo_id":"1397009004","filename":"file2"},{"photo_id":"1397009009","filename":"file4"},{"photo_id":"1397009003","filename":"file1"},{"photo_id":"1397009002","filename":"file0"},{"photo_id":"1397009005","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009005":["hashtag1","hashtag2"]},{"1397009004":["hashtag1","hashtag2"]},{"1397009003":["hashtag1","hashtag2"]},{"1397009012":["hashtag1","hashtag2"]},{"1397009009":["hashtag1","hashtag2"]},{"1397009002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009005, 1397009004, 1397009003, 1397009012, 1397009009, 1397009002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44633412361145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:47:42.341053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/29/image_31102025_11_29_43_3697.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_46_2694.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_49_2766.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_52_3575.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_55_2755.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_58_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_43_3697.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_46_2694.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_49_2766.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_52_3575.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_55_2755.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_58_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.8217101097106934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:48:02.904643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_34_9575.jpg', '/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_45_10763.jpg', '/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_55_9700.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_04_9573.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_15_10347.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_24_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_34_9575.jpg
/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_45_10763.jpg
/home/pi/Desktop/images/30112025/02/09/image_30112025_02_09_55_9700.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_04_9573.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_15_10347.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_24_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009046","1397009048","1397009045","1397009050","1397009044","1397009047"],"photo_ids_order":["1397009044","1397009045","1397009046","1397009047","1397009048","1397009050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/188da9f5be03e8c6dcb500af0eeb461c.jpg","text":"TemporaryFile(/tmp/multipartBody121658172095084000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_09_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d04f0988a227fadddc96cd2b7822b12.jpg","text":"TemporaryFile(/tmp/multipartBody6691204135469146273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_10_15_10347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a279607809ccafc4eafad5066185800.jpg","text":"TemporaryFile(/tmp/multipartBody3190529504488024944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_09_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a6bc13072377c423475777521eff682.jpg","text":"TemporaryFile(/tmp/multipartBody5415458926639741059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_10_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7871c80e66d03ceeef57bc3dde40b08.jpg","text":"TemporaryFile(/tmp/multipartBody8449181421463483792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_09_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34d15b2a5f34b8d70500e20d72f10ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8012828335704679458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467343609,"filename":"image_30112025_02_10_04_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009046","file1":"1397009045","file0":"1397009044","file4":"1397009048","file5":"1397009050","file3":"1397009047"},"map_files_photo_id_array":[{"photo_id":"1397009050","filename":"file5"},{"photo_id":"1397009046","filename":"file2"},{"photo_id":"1397009048","filename":"file4"},{"photo_id":"1397009045","filename":"file1"},{"photo_id":"1397009044","filename":"file0"},{"photo_id":"1397009047","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009046":["hashtag1","hashtag2"]},{"1397009048":["hashtag1","hashtag2"]},{"1397009045":["hashtag1","hashtag2"]},{"1397009050":["hashtag1","hashtag2"]},{"1397009044":["hashtag1","hashtag2"]},{"1397009047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009046, 1397009048, 1397009045, 1397009050, 1397009044, 1397009047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48203110694885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:48:42.573836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/29/image_31102025_11_29_43_3697.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_46_2694.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_49_2766.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_52_3575.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_55_2755.jpg', '/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_58_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_43_3697.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_46_2694.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_49_2766.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_52_3575.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_55_2755.jpg
/home/pi/Desktop/images/31102025/11/29/image_31102025_11_29_58_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009061","1397009055","1397009058","1397009060","1397009057","1397009059"],"photo_ids_order":["1397009055","1397009057","1397009058","1397009059","1397009060","1397009061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/997d5933263472dd3421a8cf194a01b3.jpg","text":"TemporaryFile(/tmp/multipartBody594025028670547973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_58_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/30/0aaf7dddcf406c1447953f82db4cb5fc.jpg","text":"TemporaryFile(/tmp/multipartBody3113286055168110792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_43_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/30/830bf6c3e9709eb36fa96f3e07a96dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3523030709593119492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_49_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/30/25f59aee6fa3fb354a9aea0b80be3d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7978225083377542051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_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/30/bb3268b8565cdc3eb02c8cef1c628e27.jpg","text":"TemporaryFile(/tmp/multipartBody2861371497538241875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_46_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7aa3fac2bab513a26b0f5161ae7beda.jpg","text":"TemporaryFile(/tmp/multipartBody3975769916602300609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467383383,"filename":"image_31102025_11_29_52_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009058","file1":"1397009057","file0":"1397009055","file4":"1397009060","file5":"1397009061","file3":"1397009059"},"map_files_photo_id_array":[{"photo_id":"1397009061","filename":"file5"},{"photo_id":"1397009058","filename":"file2"},{"photo_id":"1397009060","filename":"file4"},{"photo_id":"1397009057","filename":"file1"},{"photo_id":"1397009055","filename":"file0"},{"photo_id":"1397009059","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397009061":["hashtag1","hashtag2"]},{"1397009055":["hashtag1","hashtag2"]},{"1397009058":["hashtag1","hashtag2"]},{"1397009060":["hashtag1","hashtag2"]},{"1397009057":["hashtag1","hashtag2"]},{"1397009059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397009061, 1397009055, 1397009058, 1397009060, 1397009057, 1397009059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.792160511016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:49:22.671171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_34_9794.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_45_10634.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_55_9679.jpg', '/home/pi/Desktop/images/30112025/02/10/image_30112025_02_11_04_9650.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_15_10807.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_25_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_34_9794.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_45_10634.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_10_55_9679.jpg
/home/pi/Desktop/images/30112025/02/10/image_30112025_02_11_04_9650.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_15_10807.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_25_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009073","1397009066","1397009075","1397009069","1397009071","1397009065"],"photo_ids_order":["1397009065","1397009066","1397009069","1397009071","1397009073","1397009075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd04bed7b03d9fed62ce48900d9d3d80.jpg","text":"TemporaryFile(/tmp/multipartBody6497920066912364737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_11_15_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc32b4081a29c271262eca7cdfc910a8.jpg","text":"TemporaryFile(/tmp/multipartBody2160547876112880706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_10_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e91a49181e6f316135dea8a08b53dea.jpg","text":"TemporaryFile(/tmp/multipartBody3380742830113677548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_11_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd8d0707831211092599b9005b80751b.jpg","text":"TemporaryFile(/tmp/multipartBody452650030986738488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_10_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a3db7c81d6b69a90f9978002666a191.jpg","text":"TemporaryFile(/tmp/multipartBody64185911779440974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_11_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f39d594a72c99158ec6a893bf537d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody5338766337680768414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467423358,"filename":"image_30112025_02_10_34_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009069","file1":"1397009066","file0":"1397009065","file4":"1397009073","file5":"1397009075","file3":"1397009071"},"map_files_photo_id_array":[{"photo_id":"1397009075","filename":"file5"},{"photo_id":"1397009069","filename":"file2"},{"photo_id":"1397009073","filename":"file4"},{"photo_id":"1397009066","filename":"file1"},{"photo_id":"1397009065","filename":"file0"},{"photo_id":"1397009071","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009073":["hashtag1","hashtag2"]},{"1397009066":["hashtag1","hashtag2"]},{"1397009075":["hashtag1","hashtag2"]},{"1397009069":["hashtag1","hashtag2"]},{"1397009071":["hashtag1","hashtag2"]},{"1397009065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009073, 1397009066, 1397009075, 1397009069, 1397009071, 1397009065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54243278503418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:50:02.420690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_35_9954.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_44_9707.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_54_9775.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_12_05_10790.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_15_9793.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_24_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_35_9954.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_44_9707.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_54_9775.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_12_05_10790.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_15_9793.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_24_9697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6069235801696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 02:50:12.059766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_40_2572.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_46_5702.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_52_6137.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_53_1692.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_55_1589.jpg', '/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_57_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_40_2572.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_46_5702.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_52_6137.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_53_1692.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_55_1589.jpg
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_57_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009088","1397009085","1397009079","1397009090","1397009081","1397009092"],"photo_ids_order":["1397009079","1397009081","1397009085","1397009088","1397009090","1397009092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ccec4ce275ddb9778d2e2a8c3bcef20.jpg","text":"TemporaryFile(/tmp/multipartBody662718226339111965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_53_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/30/db2222cd24c0f4e3fbe755f895408b33.jpg","text":"TemporaryFile(/tmp/multipartBody5811891785034773842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_52_6137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df404c5801ca63338ee700d316544d12.jpg","text":"TemporaryFile(/tmp/multipartBody1730310955967334428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_40_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/30/dc6c697764a1804834d4f2f49fa8c82d.jpg","text":"TemporaryFile(/tmp/multipartBody7963004130320321163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_55_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/30/742f20dc62669f67905b215ea4ffe6b3.jpg","text":"TemporaryFile(/tmp/multipartBody2757279423682616803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_46_5702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/939396d45041b0a36206e6c7629e4e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8223105106161500103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467473781,"filename":"image_25112025_19_35_57_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009085","file1":"1397009081","file0":"1397009079","file4":"1397009090","file5":"1397009092","file3":"1397009088"},"map_files_photo_id_array":[{"photo_id":"1397009092","filename":"file5"},{"photo_id":"1397009085","filename":"file2"},{"photo_id":"1397009090","filename":"file4"},{"photo_id":"1397009081","filename":"file1"},{"photo_id":"1397009079","filename":"file0"},{"photo_id":"1397009088","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397009088":["hashtag1","hashtag2"]},{"1397009085":["hashtag1","hashtag2"]},{"1397009079":["hashtag1","hashtag2"]},{"1397009090":["hashtag1","hashtag2"]},{"1397009081":["hashtag1","hashtag2"]},{"1397009092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397009088, 1397009085, 1397009079, 1397009090, 1397009081, 1397009092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42199683189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:51:02.849445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_35_9954.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_44_9707.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_54_9775.jpg', '/home/pi/Desktop/images/30112025/02/11/image_30112025_02_12_05_10790.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_15_9793.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_24_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_35_9954.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_44_9707.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_11_54_9775.jpg
/home/pi/Desktop/images/30112025/02/11/image_30112025_02_12_05_10790.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_15_9793.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_24_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009130","1397009124","1397009127","1397009123","1397009125","1397009122"],"photo_ids_order":["1397009122","1397009123","1397009124","1397009125","1397009127","1397009130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60a951ec473e964fa1e3e30115f86fa7.jpg","text":"TemporaryFile(/tmp/multipartBody113753434306636588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_12_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18960ae5c1b1e351880e811c27f4ee8c.jpg","text":"TemporaryFile(/tmp/multipartBody1888074227473676352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_11_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4863aacd234b3530fa7d57bf3728339e.jpg","text":"TemporaryFile(/tmp/multipartBody1500707008467146560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_12_15_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83e09ed612898604a486983d908618ab.jpg","text":"TemporaryFile(/tmp/multipartBody5715734926214518387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_11_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc3ecfe271ee3da899da75ad9eedb3d1.jpg","text":"TemporaryFile(/tmp/multipartBody286109122973012955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_12_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8867bb8410d2904ebe10530d7f836ff.jpg","text":"TemporaryFile(/tmp/multipartBody7106590659010142731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467523561,"filename":"image_30112025_02_11_35_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009124","file1":"1397009123","file0":"1397009122","file4":"1397009127","file5":"1397009130","file3":"1397009125"},"map_files_photo_id_array":[{"photo_id":"1397009130","filename":"file5"},{"photo_id":"1397009124","filename":"file2"},{"photo_id":"1397009127","filename":"file4"},{"photo_id":"1397009123","filename":"file1"},{"photo_id":"1397009122","filename":"file0"},{"photo_id":"1397009125","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009130":["hashtag1","hashtag2"]},{"1397009124":["hashtag1","hashtag2"]},{"1397009127":["hashtag1","hashtag2"]},{"1397009123":["hashtag1","hashtag2"]},{"1397009125":["hashtag1","hashtag2"]},{"1397009122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009130, 1397009124, 1397009127, 1397009123, 1397009125, 1397009122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46107244491577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:51:42.354971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/30/image_31102025_11_30_07_3014.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_11_3819.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_14_2771.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_17_2754.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_19_2719.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_23_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_07_3014.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_11_3819.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_14_2771.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_17_2754.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_19_2719.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_23_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009136","1397009133","1397009135","1397009132","1397009134","1397009137"],"photo_ids_order":["1397009132","1397009133","1397009134","1397009135","1397009136","1397009137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80a0ce0d51c7c254833625656ddfa887.jpg","text":"TemporaryFile(/tmp/multipartBody3148905518723072324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_30_19_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2d7bd0a3a01390b31c88e7fec3c7fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2661725854801173277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_30_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/30/554178515615b01530e8c7242bcf4684.jpg","text":"TemporaryFile(/tmp/multipartBody6387402099955316372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_30_17_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/30/e1bf0a4d87659b4386b643506fea0fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8390556759559531878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_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/30/454015ea81d81510d4d7cc1479fc1dde.jpg","text":"TemporaryFile(/tmp/multipartBody4041933419823489023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_30_14_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/30/50fa10f369e57732da397e2f797f0684.jpg","text":"TemporaryFile(/tmp/multipartBody1754574649871592994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467563296,"filename":"image_31102025_11_30_23_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009134","file1":"1397009133","file0":"1397009132","file4":"1397009136","file5":"1397009137","file3":"1397009135"},"map_files_photo_id_array":[{"photo_id":"1397009137","filename":"file5"},{"photo_id":"1397009134","filename":"file2"},{"photo_id":"1397009136","filename":"file4"},{"photo_id":"1397009133","filename":"file1"},{"photo_id":"1397009132","filename":"file0"},{"photo_id":"1397009135","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397009136":["hashtag1","hashtag2"]},{"1397009133":["hashtag1","hashtag2"]},{"1397009135":["hashtag1","hashtag2"]},{"1397009132":["hashtag1","hashtag2"]},{"1397009134":["hashtag1","hashtag2"]},{"1397009137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397009136, 1397009133, 1397009135, 1397009132, 1397009134, 1397009137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.960713386535645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:52:22.527364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_35_10586.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_45_9724.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_54_9667.jpg', '/home/pi/Desktop/images/30112025/02/12/image_30112025_02_13_05_10618.jpg', '/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_15_9670.jpg', '/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_24_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_35_10586.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_45_9724.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_12_54_9667.jpg
/home/pi/Desktop/images/30112025/02/12/image_30112025_02_13_05_10618.jpg
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_15_9670.jpg
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_24_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009148","1397009141","1397009150","1397009144","1397009146","1397009149"],"photo_ids_order":["1397009141","1397009144","1397009146","1397009148","1397009149","1397009150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e876ce9a0a4fca3a4859635f62aff9.jpg","text":"TemporaryFile(/tmp/multipartBody7533689966868999955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_13_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/831d9f97c21b673974cab833c497a92f.jpg","text":"TemporaryFile(/tmp/multipartBody5057625235671608656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_12_35_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/350edd8dcd2896c8d9dac4c7bcc8e92e.jpg","text":"TemporaryFile(/tmp/multipartBody1407337783930156990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_13_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/802d28d96040da4bbe0e3a51ec6f50f7.jpg","text":"TemporaryFile(/tmp/multipartBody5201927003126691508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_12_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e93a2f7439331c43a75cb0007f02f86f.jpg","text":"TemporaryFile(/tmp/multipartBody2960262399339805046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_12_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab539ac15ba714736868ce14c99381f1.jpg","text":"TemporaryFile(/tmp/multipartBody3355044088505020171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467603254,"filename":"image_30112025_02_13_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009146","file1":"1397009144","file0":"1397009141","file4":"1397009149","file5":"1397009150","file3":"1397009148"},"map_files_photo_id_array":[{"photo_id":"1397009150","filename":"file5"},{"photo_id":"1397009146","filename":"file2"},{"photo_id":"1397009149","filename":"file4"},{"photo_id":"1397009144","filename":"file1"},{"photo_id":"1397009141","filename":"file0"},{"photo_id":"1397009148","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009148":["hashtag1","hashtag2"]},{"1397009141":["hashtag1","hashtag2"]},{"1397009150":["hashtag1","hashtag2"]},{"1397009144":["hashtag1","hashtag2"]},{"1397009146":["hashtag1","hashtag2"]},{"1397009149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009148, 1397009141, 1397009150, 1397009144, 1397009146, 1397009149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16514778137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:53:03.347038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_35_10624.jpg', '/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_45_9606.jpg', '/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_54_9676.jpg', '/home/pi/Desktop/images/30112025/02/13/image_30112025_02_14_04_9799.jpg', '/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_15_10609.jpg', '/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_25_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_35_10624.jpg
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_45_9606.jpg
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_13_54_9676.jpg
/home/pi/Desktop/images/30112025/02/13/image_30112025_02_14_04_9799.jpg
/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_15_10609.jpg
/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_25_9908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009160","1397009154","1397009157","1397009151","1397009153","1397009152"],"photo_ids_order":["1397009151","1397009152","1397009153","1397009154","1397009157","1397009160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f09b98ff1184d9dbdc14ab096619f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody6117861271647595237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_14_25_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dc16dfad513ed147c6f8d49c77c2f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8777477656591945155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_14_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64d167fe4e6f14c61601c5e77ebc725d.jpg","text":"TemporaryFile(/tmp/multipartBody3277078227496621862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_14_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6943d55554a6401cec5a40c93ffd1d83.jpg","text":"TemporaryFile(/tmp/multipartBody1363298024464256996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_13_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0828c2dda5c051b308f7d3eca1ca6706.jpg","text":"TemporaryFile(/tmp/multipartBody4742015313522596747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_13_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/219b03333b438f2b182772f794a0fd11.jpg","text":"TemporaryFile(/tmp/multipartBody1917479437564296383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467644071,"filename":"image_30112025_02_13_45_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009153","file1":"1397009152","file0":"1397009151","file4":"1397009157","file5":"1397009160","file3":"1397009154"},"map_files_photo_id_array":[{"photo_id":"1397009160","filename":"file5"},{"photo_id":"1397009153","filename":"file2"},{"photo_id":"1397009157","filename":"file4"},{"photo_id":"1397009152","filename":"file1"},{"photo_id":"1397009151","filename":"file0"},{"photo_id":"1397009154","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009160":["hashtag1","hashtag2"]},{"1397009154":["hashtag1","hashtag2"]},{"1397009157":["hashtag1","hashtag2"]},{"1397009151":["hashtag1","hashtag2"]},{"1397009153":["hashtag1","hashtag2"]},{"1397009152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009160, 1397009154, 1397009157, 1397009151, 1397009153, 1397009152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21980619430542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:53:42.693756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/30/image_31102025_11_30_26_2595.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_28_2869.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_31_2788.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_35_3721.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_38_2953.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_41_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/11/30/image_31102025_11_30_26_2595.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_28_2869.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_31_2788.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_35_3721.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_38_2953.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_41_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009177","1397009202","1397009165","1397009201","1397009164","1397009200"],"photo_ids_order":["1397009164","1397009165","1397009177","1397009200","1397009201","1397009202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3a39fc8793506bc3fb35b80cd8f0a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1644392403170666995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_31_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccf2179e14c8f98d74958e55e33c924b.jpg","text":"TemporaryFile(/tmp/multipartBody8685902008934298585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_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/30/414ae928ec74ea7400754d8f67c682e9.jpg","text":"TemporaryFile(/tmp/multipartBody6449541311000044619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_28_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a75dffb5119af30c8724345377022c9.jpg","text":"TemporaryFile(/tmp/multipartBody508479012249516643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_38_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/30/01017f6237059fbff3a16d19c81e465b.jpg","text":"TemporaryFile(/tmp/multipartBody6318187152506272332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_26_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba5cdcc5fb459c3f7274384d105a5836.jpg","text":"TemporaryFile(/tmp/multipartBody6050675755607131091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467683626,"filename":"image_31102025_11_30_35_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009177","file1":"1397009165","file0":"1397009164","file4":"1397009201","file5":"1397009202","file3":"1397009200"},"map_files_photo_id_array":[{"photo_id":"1397009202","filename":"file5"},{"photo_id":"1397009177","filename":"file2"},{"photo_id":"1397009201","filename":"file4"},{"photo_id":"1397009165","filename":"file1"},{"photo_id":"1397009164","filename":"file0"},{"photo_id":"1397009200","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397009177":["hashtag1","hashtag2"]},{"1397009202":["hashtag1","hashtag2"]},{"1397009165":["hashtag1","hashtag2"]},{"1397009201":["hashtag1","hashtag2"]},{"1397009164":["hashtag1","hashtag2"]},{"1397009200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397009177, 1397009202, 1397009165, 1397009201, 1397009164, 1397009200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.085904121398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:54:21.877406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_34_9648.jpg', '/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_56_21927.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_05_6786.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_14_9708.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_24_9687.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_35_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_34_9648.jpg
/home/pi/Desktop/images/30112025/02/14/image_30112025_02_14_56_21927.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_05_6786.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_14_9708.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_24_9687.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_35_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009217","1397009211","1397009208","1397009213","1397009206","1397009215"],"photo_ids_order":["1397009206","1397009208","1397009211","1397009213","1397009215","1397009217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a2c14398f1c3a42e1a2e441ed20730a.jpg","text":"TemporaryFile(/tmp/multipartBody7487667910347835803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_15_35_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/891e08cba3008fdae5a81a166e61bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody2526399960674105961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_15_05_6786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f290c553d92fec3df58649f4dd1cead.jpg","text":"TemporaryFile(/tmp/multipartBody6809508996448169720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_14_56_21927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fed74937b1b4083e0382939856906b3c.jpg","text":"TemporaryFile(/tmp/multipartBody8872270740293922953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_15_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61320478df96cb267d34cf54a9542dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2423577127961315277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_14_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97b2138d894d1084bb07db95412494c3.jpg","text":"TemporaryFile(/tmp/multipartBody1227594065016960244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467722563,"filename":"image_30112025_02_15_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009211","file1":"1397009208","file0":"1397009206","file4":"1397009215","file5":"1397009217","file3":"1397009213"},"map_files_photo_id_array":[{"photo_id":"1397009217","filename":"file5"},{"photo_id":"1397009211","filename":"file2"},{"photo_id":"1397009215","filename":"file4"},{"photo_id":"1397009208","filename":"file1"},{"photo_id":"1397009206","filename":"file0"},{"photo_id":"1397009213","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009217":["hashtag1","hashtag2"]},{"1397009211":["hashtag1","hashtag2"]},{"1397009208":["hashtag1","hashtag2"]},{"1397009213":["hashtag1","hashtag2"]},{"1397009206":["hashtag1","hashtag2"]},{"1397009215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009217, 1397009211, 1397009208, 1397009213, 1397009206, 1397009215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77699518203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:55:02.566916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_44_9572.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_55_10546.jpg', '/home/pi/Desktop/images/30112025/02/15/image_30112025_02_16_05_9727.jpg', '/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_14_9566.jpg', '/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_25_10649.jpg', '/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_35_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_44_9572.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_15_55_10546.jpg
/home/pi/Desktop/images/30112025/02/15/image_30112025_02_16_05_9727.jpg
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_14_9566.jpg
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_25_10649.jpg
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_35_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009218","1397009223","1397009220","1397009219","1397009227","1397009221"],"photo_ids_order":["1397009218","1397009219","1397009220","1397009221","1397009223","1397009227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75308c1e1cb8554eb1e3385cc3823e50.jpg","text":"TemporaryFile(/tmp/multipartBody3832118957115292511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_15_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/884adcd6f424e8c45716381c031e0b65.jpg","text":"TemporaryFile(/tmp/multipartBody7346905305530724770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_16_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71484fcb5c51231c248b391ace7ce0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6455019783400392179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_16_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5758b1534ef893f55631df67d123bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3718478186788142660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_15_55_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/833aa466871b80c4e3693bc0e7eaa3bf.jpg","text":"TemporaryFile(/tmp/multipartBody6074563323542562576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_16_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f5b81048416852b55781e902de185fd.jpg","text":"TemporaryFile(/tmp/multipartBody3973911460266816656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467763259,"filename":"image_30112025_02_16_14_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009220","file1":"1397009219","file0":"1397009218","file4":"1397009223","file5":"1397009227","file3":"1397009221"},"map_files_photo_id_array":[{"photo_id":"1397009227","filename":"file5"},{"photo_id":"1397009220","filename":"file2"},{"photo_id":"1397009223","filename":"file4"},{"photo_id":"1397009219","filename":"file1"},{"photo_id":"1397009218","filename":"file0"},{"photo_id":"1397009221","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009218":["hashtag1","hashtag2"]},{"1397009223":["hashtag1","hashtag2"]},{"1397009220":["hashtag1","hashtag2"]},{"1397009219":["hashtag1","hashtag2"]},{"1397009227":["hashtag1","hashtag2"]},{"1397009221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009218, 1397009223, 1397009220, 1397009219, 1397009227, 1397009221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23331141471863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:55:42.023518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/30/image_31102025_11_30_47_3780.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_50_2647.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_52_2633.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_56_3690.jpg', '/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_59_2797.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_02_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_47_3780.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_50_2647.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_52_2633.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_56_3690.jpg
/home/pi/Desktop/images/31102025/11/30/image_31102025_11_30_59_2797.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_02_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009235","1397009238","1397009232","1397009234","1397009237","1397009236"],"photo_ids_order":["1397009232","1397009234","1397009235","1397009236","1397009237","1397009238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1162d35ccc5fc9fd73e525b83851d735.jpg","text":"TemporaryFile(/tmp/multipartBody430407970733364958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_30_52_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/30/9029244113f3dc4bc430e8d5deb2a2a1.jpg","text":"TemporaryFile(/tmp/multipartBody5265040064451602905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_31_02_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/30/a50696e27328a4ffd04fb04f9cf11d02.jpg","text":"TemporaryFile(/tmp/multipartBody8556919357713614748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_30_47_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/30/0aa4d97183cf0175e0dbc6259a8c964a.jpg","text":"TemporaryFile(/tmp/multipartBody5290754476577462761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_30_50_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/30/3222dd75738019bb206aa3a39005e439.jpg","text":"TemporaryFile(/tmp/multipartBody5348505818322192828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_30_59_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/30/50cc8dd5ae9dfeeec1418104b641e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4345777867810336020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467802966,"filename":"image_31102025_11_30_56_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009235","file1":"1397009234","file0":"1397009232","file4":"1397009237","file5":"1397009238","file3":"1397009236"},"map_files_photo_id_array":[{"photo_id":"1397009238","filename":"file5"},{"photo_id":"1397009235","filename":"file2"},{"photo_id":"1397009237","filename":"file4"},{"photo_id":"1397009234","filename":"file1"},{"photo_id":"1397009232","filename":"file0"},{"photo_id":"1397009236","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397009235":["hashtag1","hashtag2"]},{"1397009238":["hashtag1","hashtag2"]},{"1397009232":["hashtag1","hashtag2"]},{"1397009234":["hashtag1","hashtag2"]},{"1397009237":["hashtag1","hashtag2"]},{"1397009236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397009235, 1397009238, 1397009232, 1397009234, 1397009237, 1397009236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44153928756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 02:56:22.224701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_44_9622.jpg', '/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_55_10721.jpg', '/home/pi/Desktop/images/30112025/02/16/image_30112025_02_17_05_9961.jpg', '/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_24_9754.jpg', '/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_35_10785.jpg', '/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_44_9622.jpg
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_16_55_10721.jpg
/home/pi/Desktop/images/30112025/02/16/image_30112025_02_17_05_9961.jpg
/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_24_9754.jpg
/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_35_10785.jpg
/home/pi/Desktop/images/30112025/02/17/image_30112025_02_17_45_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009241","1397009244","1397009246","1397009242","1397009251","1397009248"],"photo_ids_order":["1397009241","1397009242","1397009244","1397009246","1397009248","1397009251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99320a028b341c8f286e13ca671facc0.jpg","text":"TemporaryFile(/tmp/multipartBody7002659523133838208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_16_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8385667facce0342da8edf0428c493e.jpg","text":"TemporaryFile(/tmp/multipartBody552366457240050514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_17_05_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a25cc1f9c84b6b2b8f527c957f55303b.jpg","text":"TemporaryFile(/tmp/multipartBody4338357581050797286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_17_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e55b61f42146bb3b1e03c166592b977.jpg","text":"TemporaryFile(/tmp/multipartBody8652951721509247051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_16_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09cb0cb9d15010fc681a7eaeb63a4511.jpg","text":"TemporaryFile(/tmp/multipartBody746366296823469252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_17_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7d8209b288084e722a74232a65185fa.jpg","text":"TemporaryFile(/tmp/multipartBody1757630137223337278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467842914,"filename":"image_30112025_02_17_35_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009244","file1":"1397009242","file0":"1397009241","file4":"1397009248","file5":"1397009251","file3":"1397009246"},"map_files_photo_id_array":[{"photo_id":"1397009251","filename":"file5"},{"photo_id":"1397009244","filename":"file2"},{"photo_id":"1397009248","filename":"file4"},{"photo_id":"1397009242","filename":"file1"},{"photo_id":"1397009241","filename":"file0"},{"photo_id":"1397009246","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009241":["hashtag1","hashtag2"]},{"1397009244":["hashtag1","hashtag2"]},{"1397009246":["hashtag1","hashtag2"]},{"1397009242":["hashtag1","hashtag2"]},{"1397009251":["hashtag1","hashtag2"]},{"1397009248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009241, 1397009244, 1397009246, 1397009242, 1397009251, 1397009248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.799649715423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:57:02.970823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/17/image_30112025_02_18_04_9581.jpg', '/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_15_10557.jpg', '/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_24_9718.jpg', '/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_35_10648.jpg', '/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_45_9609.jpg', '/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/17/image_30112025_02_18_04_9581.jpg
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_15_10557.jpg
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_24_9718.jpg
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_35_10648.jpg
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_45_9609.jpg
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_18_54_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009268","1397009259","1397009261","1397009263","1397009257","1397009266"],"photo_ids_order":["1397009257","1397009259","1397009261","1397009263","1397009266","1397009268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc1cb127d6625ac60f7fa7530307abe4.jpg","text":"TemporaryFile(/tmp/multipartBody720352706882828677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/482041bc03c470924a629a94a520a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody8166539645765936717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1b78b329987c7099826571ace6c79a5.jpg","text":"TemporaryFile(/tmp/multipartBody4959952399011396828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15cb44ae5317f575e8ae3de5cd77c7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5655791795455622364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0912b1fd9aa6a7e5f9a873b34c74d6d7.jpg","text":"TemporaryFile(/tmp/multipartBody2195327410423576968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7797713fb890040918ff25abeab3b621.jpg","text":"TemporaryFile(/tmp/multipartBody8518079116249647540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764467883721,"filename":"image_30112025_02_18_45_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009261","file1":"1397009259","file0":"1397009257","file4":"1397009266","file5":"1397009268","file3":"1397009263"},"map_files_photo_id_array":[{"photo_id":"1397009268","filename":"file5"},{"photo_id":"1397009261","filename":"file2"},{"photo_id":"1397009266","filename":"file4"},{"photo_id":"1397009259","filename":"file1"},{"photo_id":"1397009257","filename":"file0"},{"photo_id":"1397009263","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009268":["hashtag1","hashtag2"]},{"1397009259":["hashtag1","hashtag2"]},{"1397009261":["hashtag1","hashtag2"]},{"1397009263":["hashtag1","hashtag2"]},{"1397009257":["hashtag1","hashtag2"]},{"1397009266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009268, 1397009259, 1397009261, 1397009263, 1397009257, 1397009266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44261431694031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 02:57:42.405054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/31/image_31102025_11_31_04_2745.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_07_2806.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_11_3821.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_14_2671.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_16_2568.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_20_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_04_2745.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_07_2806.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_11_3821.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_14_2671.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_16_2568.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_20_3833.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9225594997406006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 02:59:03.778108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/18/image_30112025_02_19_05_10761.jpg', '/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_15_9735.jpg', '/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_24_9746.jpg', '/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_34_9713.jpg', '/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_45_10602.jpg', '/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_55_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/18/image_30112025_02_19_05_10761.jpg
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_15_9735.jpg
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_24_9746.jpg
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_34_9713.jpg
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_45_10602.jpg
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_19_55_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009289","1397009294","1397009282","1397009291","1397009285","1397009287"],"photo_ids_order":["1397009282","1397009285","1397009287","1397009289","1397009291","1397009294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d43f341a0cbe0f1a3d8c08d507ebfa20.jpg","text":"TemporaryFile(/tmp/multipartBody5955634391076805718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3edfcf386e0d1d981b78426d0395f905.jpg","text":"TemporaryFile(/tmp/multipartBody8332901077047684712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_55_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f231fd35621954e136ca3a9152930f1f.jpg","text":"TemporaryFile(/tmp/multipartBody4170886210438138362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_05_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51a41de7f6911c8c112bc1803423da4e.jpg","text":"TemporaryFile(/tmp/multipartBody2127723863955668443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e29c2cb8e1fc637fd2fb06a3065e74e7.jpg","text":"TemporaryFile(/tmp/multipartBody8423361235325550483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad36facb36331472b8e5820c71fead0c.jpg","text":"TemporaryFile(/tmp/multipartBody6813532054285021750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468004573,"filename":"image_30112025_02_19_24_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009287","file1":"1397009285","file0":"1397009282","file4":"1397009291","file5":"1397009294","file3":"1397009289"},"map_files_photo_id_array":[{"photo_id":"1397009294","filename":"file5"},{"photo_id":"1397009287","filename":"file2"},{"photo_id":"1397009291","filename":"file4"},{"photo_id":"1397009285","filename":"file1"},{"photo_id":"1397009282","filename":"file0"},{"photo_id":"1397009289","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009289":["hashtag1","hashtag2"]},{"1397009294":["hashtag1","hashtag2"]},{"1397009282":["hashtag1","hashtag2"]},{"1397009291":["hashtag1","hashtag2"]},{"1397009285":["hashtag1","hashtag2"]},{"1397009287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009289, 1397009294, 1397009282, 1397009291, 1397009285, 1397009287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5719952583313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:00:03.318967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/19/image_30112025_02_20_04_9663.jpg', '/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_15_10457.jpg', '/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_24_9652.jpg', '/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_35_10268.jpg', '/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_44_9573.jpg', '/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_54_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/19/image_30112025_02_20_04_9663.jpg
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_15_10457.jpg
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_24_9652.jpg
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_35_10268.jpg
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_44_9573.jpg
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_20_54_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397009658","1397009619","1397009549","1397009584","1397009516","1397009473"],"photo_ids_order":["1397009473","1397009516","1397009549","1397009584","1397009619","1397009658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34a29b161ecf8f02459160f1baf8ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody6910674092556103965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_54_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/30/2e7ccbd692f62810dabcbb3ae1af0f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3579944776733579033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76b29f86932118a9ed1534f3206df358.jpg","text":"TemporaryFile(/tmp/multipartBody63863174120748994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e78138080bb679f76ebfbeeeb82788ad.jpg","text":"TemporaryFile(/tmp/multipartBody1364012401456880384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_35_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c5c21c5fdddfb090707559c190783dd.jpg","text":"TemporaryFile(/tmp/multipartBody7876762852954147899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_15_10457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5e281abe6c56dcbc923e28879a4b9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4247476500963511752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468063971,"filename":"image_30112025_02_20_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009549","file1":"1397009516","file0":"1397009473","file4":"1397009619","file5":"1397009658","file3":"1397009584"},"map_files_photo_id_array":[{"photo_id":"1397009658","filename":"file5"},{"photo_id":"1397009549","filename":"file2"},{"photo_id":"1397009619","filename":"file4"},{"photo_id":"1397009516","filename":"file1"},{"photo_id":"1397009473","filename":"file0"},{"photo_id":"1397009584","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397009658":["hashtag1","hashtag2"]},{"1397009619":["hashtag1","hashtag2"]},{"1397009549":["hashtag1","hashtag2"]},{"1397009584":["hashtag1","hashtag2"]},{"1397009516":["hashtag1","hashtag2"]},{"1397009473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397009658, 1397009619, 1397009549, 1397009584, 1397009516, 1397009473)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.0417423248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:01:02.723475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/20/image_30112025_02_21_05_10817.jpg', '/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_15_9570.jpg', '/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_24_9787.jpg', '/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_35_10596.jpg', '/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_44_9154.jpg', '/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/20/image_30112025_02_21_05_10817.jpg
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_15_9570.jpg
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_24_9787.jpg
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_35_10596.jpg
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_44_9154.jpg
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_21_55_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397010073","1397009864","1397009867","1397009930","1397009863","1397010002"],"photo_ids_order":["1397009863","1397009864","1397009867","1397009930","1397010002","1397010073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/491fafb529879169a5b4d8bd290c2edb.jpg","text":"TemporaryFile(/tmp/multipartBody1181858228295512539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/375e21d4cfdac434e46ea338d9602cd3.jpg","text":"TemporaryFile(/tmp/multipartBody39888504746437637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_15_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f1f9a26ab9455e754ac848ca7b67f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5728541432484211603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_24_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dcca15c39af45fe85b7986463f0ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody326548784907219458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33d89f9e2b1317f471a8836af8433b07.jpg","text":"TemporaryFile(/tmp/multipartBody8054794960144620464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_05_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/458ec1480e4db5b8f697b5f142017c25.jpg","text":"TemporaryFile(/tmp/multipartBody5935988141499796587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468123489,"filename":"image_30112025_02_21_44_9154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397009867","file1":"1397009864","file0":"1397009863","file4":"1397010002","file5":"1397010073","file3":"1397009930"},"map_files_photo_id_array":[{"photo_id":"1397010073","filename":"file5"},{"photo_id":"1397009867","filename":"file2"},{"photo_id":"1397010002","filename":"file4"},{"photo_id":"1397009864","filename":"file1"},{"photo_id":"1397009863","filename":"file0"},{"photo_id":"1397009930","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397010073":["hashtag1","hashtag2"]},{"1397009864":["hashtag1","hashtag2"]},{"1397009867":["hashtag1","hashtag2"]},{"1397009930":["hashtag1","hashtag2"]},{"1397009863":["hashtag1","hashtag2"]},{"1397010002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397010073, 1397009864, 1397009867, 1397009930, 1397009863, 1397010002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59629774093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:01:42.221879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/31/image_31102025_11_31_04_2745.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_07_2806.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_11_3821.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_14_2671.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_16_2568.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_20_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_04_2745.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_07_2806.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_11_3821.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_14_2671.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_16_2568.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_20_3833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397010337","1397010409","1397010444","1397010371","1397010302","1397010256"],"photo_ids_order":["1397010256","1397010302","1397010337","1397010371","1397010409","1397010444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e13e53e29bd6f746d22651a57186efe5.jpg","text":"TemporaryFile(/tmp/multipartBody3893767257182605418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_11_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/720e9648cdfe8b2f41c3119fbc05fdd4.jpg","text":"TemporaryFile(/tmp/multipartBody7573816366312466614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_16_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/30/81b100f8c5de1c53e3d6513eb1333004.jpg","text":"TemporaryFile(/tmp/multipartBody6794322320008305154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_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/30/5f8a252d894924a097b6d63982b3452d.jpg","text":"TemporaryFile(/tmp/multipartBody164057509122205347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_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/30/d11a107ac2ebed166960a6f5a7eaf25a.jpg","text":"TemporaryFile(/tmp/multipartBody2104240298482212463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_07_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/30/dd986fea31642f30a2f8d387bf170eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1502106161154226373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468163031,"filename":"image_31102025_11_31_04_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397010337","file1":"1397010302","file0":"1397010256","file4":"1397010409","file5":"1397010444","file3":"1397010371"},"map_files_photo_id_array":[{"photo_id":"1397010444","filename":"file5"},{"photo_id":"1397010337","filename":"file2"},{"photo_id":"1397010409","filename":"file4"},{"photo_id":"1397010302","filename":"file1"},{"photo_id":"1397010256","filename":"file0"},{"photo_id":"1397010371","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397010337":["hashtag1","hashtag2"]},{"1397010409":["hashtag1","hashtag2"]},{"1397010444":["hashtag1","hashtag2"]},{"1397010371":["hashtag1","hashtag2"]},{"1397010302":["hashtag1","hashtag2"]},{"1397010256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397010337, 1397010409, 1397010444, 1397010371, 1397010302, 1397010256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.570446491241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:02:22.447402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/21/image_30112025_02_22_04_9686.jpg', '/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_15_10624.jpg', '/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_25_9672.jpg', '/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_35_10330.jpg', '/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_45_9727.jpg', '/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_54_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/21/image_30112025_02_22_04_9686.jpg
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_15_10624.jpg
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_25_9672.jpg
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_35_10330.jpg
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_45_9727.jpg
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_22_54_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397010654","1397010729","1397010764","1397010692","1397010578","1397010617"],"photo_ids_order":["1397010578","1397010617","1397010654","1397010692","1397010729","1397010764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b1790a2e8395afdbc4637df00ac4d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2260944155626376187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa00df54414b5fdf5a18d4a9e42063d0.jpg","text":"TemporaryFile(/tmp/multipartBody5752951156967219947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c199788b958e282447448a29c765b07c.jpg","text":"TemporaryFile(/tmp/multipartBody2371491039342442975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8103ca3f7f6712b8b22f385bcdf6e95.jpg","text":"TemporaryFile(/tmp/multipartBody1834417902271226156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_35_10330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d73b42deffe045ec6f6849deb869f3a8.jpg","text":"TemporaryFile(/tmp/multipartBody8142941368558356295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bb2ad0aec2f7cfdf37d06dcf0c2cd29.jpg","text":"TemporaryFile(/tmp/multipartBody492234431821447980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468203130,"filename":"image_30112025_02_22_15_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397010654","file1":"1397010617","file0":"1397010578","file4":"1397010729","file5":"1397010764","file3":"1397010692"},"map_files_photo_id_array":[{"photo_id":"1397010764","filename":"file5"},{"photo_id":"1397010654","filename":"file2"},{"photo_id":"1397010729","filename":"file4"},{"photo_id":"1397010617","filename":"file1"},{"photo_id":"1397010578","filename":"file0"},{"photo_id":"1397010692","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397010654":["hashtag1","hashtag2"]},{"1397010729":["hashtag1","hashtag2"]},{"1397010764":["hashtag1","hashtag2"]},{"1397010692":["hashtag1","hashtag2"]},{"1397010578":["hashtag1","hashtag2"]},{"1397010617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397010654, 1397010729, 1397010764, 1397010692, 1397010578, 1397010617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80498671531677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:03:03.173454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/22/image_30112025_02_23_05_10598.jpg', '/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_15_9669.jpg', '/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_24_9665.jpg', '/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_35_10586.jpg', '/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_45_9605.jpg', '/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_54_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/22/image_30112025_02_23_05_10598.jpg
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_15_9669.jpg
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_24_9665.jpg
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_35_10586.jpg
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_45_9605.jpg
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_23_54_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011000","1397011073","1397010900","1397010935","1397011036","1397010967"],"photo_ids_order":["1397010900","1397010935","1397010967","1397011000","1397011036","1397011073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc842057cad8c8e42d336c0a2cc3c91f.jpg","text":"TemporaryFile(/tmp/multipartBody7560289230249895097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_35_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d10112d123f5783e93bc43a52a6b4209.jpg","text":"TemporaryFile(/tmp/multipartBody3270803917298976445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_54_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcd84b258608bb5131118412eebce00a.jpg","text":"TemporaryFile(/tmp/multipartBody6701454373175465835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c6420029771861e8fe7733a8353ff81.jpg","text":"TemporaryFile(/tmp/multipartBody2986193892493240615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1b12c4524b4ef2cc588f3bf45518439.jpg","text":"TemporaryFile(/tmp/multipartBody8586147813923633560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f36457f3391bcb589e671dc11d12860.jpg","text":"TemporaryFile(/tmp/multipartBody2684945905019527272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468243930,"filename":"image_30112025_02_23_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397010967","file1":"1397010935","file0":"1397010900","file4":"1397011036","file5":"1397011073","file3":"1397011000"},"map_files_photo_id_array":[{"photo_id":"1397011073","filename":"file5"},{"photo_id":"1397010967","filename":"file2"},{"photo_id":"1397011036","filename":"file4"},{"photo_id":"1397010935","filename":"file1"},{"photo_id":"1397010900","filename":"file0"},{"photo_id":"1397011000","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011000":["hashtag1","hashtag2"]},{"1397011073":["hashtag1","hashtag2"]},{"1397010900":["hashtag1","hashtag2"]},{"1397010935":["hashtag1","hashtag2"]},{"1397011036":["hashtag1","hashtag2"]},{"1397010967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011000, 1397011073, 1397010900, 1397010935, 1397011036, 1397010967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27635097503662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:03:42.579228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/31/image_31102025_11_31_23_2622.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_25_2672.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_28_2917.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_37_2637.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_40_2899.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_47_3738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_23_2622.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_25_2672.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_28_2917.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_37_2637.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_40_2899.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_47_3738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011116","1397011119","1397011118","1397011115","1397011120","1397011117"],"photo_ids_order":["1397011115","1397011116","1397011117","1397011118","1397011119","1397011120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00ff91aa949119ba20ee666e6f656b50.jpg","text":"TemporaryFile(/tmp/multipartBody889235328563329933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_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/30/e8d3f4276110f7af2e3085564389089b.jpg","text":"TemporaryFile(/tmp/multipartBody6329524084897314430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_40_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/30/6443cdf89a6a73b6c5c07da9994aec36.jpg","text":"TemporaryFile(/tmp/multipartBody3948014193125579940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_37_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9626dd05bff83596afce531a44c4d70b.jpg","text":"TemporaryFile(/tmp/multipartBody9097695357634134244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_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/30/ededcbf60f4dbcae66a0ad1a27a57964.jpg","text":"TemporaryFile(/tmp/multipartBody8384741035706891015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_47_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/332c42a41915a4e529f88f3c9d100007.jpg","text":"TemporaryFile(/tmp/multipartBody235945273028394330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468283524,"filename":"image_31102025_11_31_28_2917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011117","file1":"1397011116","file0":"1397011115","file4":"1397011119","file5":"1397011120","file3":"1397011118"},"map_files_photo_id_array":[{"photo_id":"1397011120","filename":"file5"},{"photo_id":"1397011117","filename":"file2"},{"photo_id":"1397011119","filename":"file4"},{"photo_id":"1397011116","filename":"file1"},{"photo_id":"1397011115","filename":"file0"},{"photo_id":"1397011118","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011116":["hashtag1","hashtag2"]},{"1397011119":["hashtag1","hashtag2"]},{"1397011118":["hashtag1","hashtag2"]},{"1397011115":["hashtag1","hashtag2"]},{"1397011120":["hashtag1","hashtag2"]},{"1397011117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011116, 1397011119, 1397011118, 1397011115, 1397011120, 1397011117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.835546016693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:04:22.758779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/23/image_30112025_02_24_05_10539.jpg', '/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_14_9399.jpg', '/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_24_9716.jpg', '/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_35_10845.jpg', '/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_45_9573.jpg', '/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_54_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/23/image_30112025_02_24_05_10539.jpg
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_14_9399.jpg
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_24_9716.jpg
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_35_10845.jpg
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_45_9573.jpg
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_24_54_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011134","1397011130","1397011124","1397011127","1397011135","1397011132"],"photo_ids_order":["1397011124","1397011127","1397011130","1397011132","1397011134","1397011135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9584b4b293e05ac2685c9dda22380d2.jpg","text":"TemporaryFile(/tmp/multipartBody247303955087660417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_45_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4e0ec761703374aca8e9a5389224757.jpg","text":"TemporaryFile(/tmp/multipartBody4276608765319901668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1be116a59493e8ae4fd8238c7f657e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3639815753922218329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_05_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/205f2f540e703ce745b603c6dd3ad427.jpg","text":"TemporaryFile(/tmp/multipartBody8818782043047355455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_14_9399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81c709274fd80cbf854b4b20f4a97865.jpg","text":"TemporaryFile(/tmp/multipartBody6955441262755897061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2488770a7974251269a14b8563d68b67.jpg","text":"TemporaryFile(/tmp/multipartBody382791961711394895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468323449,"filename":"image_30112025_02_24_35_10845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011130","file1":"1397011127","file0":"1397011124","file4":"1397011134","file5":"1397011135","file3":"1397011132"},"map_files_photo_id_array":[{"photo_id":"1397011135","filename":"file5"},{"photo_id":"1397011130","filename":"file2"},{"photo_id":"1397011134","filename":"file4"},{"photo_id":"1397011127","filename":"file1"},{"photo_id":"1397011124","filename":"file0"},{"photo_id":"1397011132","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011134":["hashtag1","hashtag2"]},{"1397011130":["hashtag1","hashtag2"]},{"1397011124":["hashtag1","hashtag2"]},{"1397011127":["hashtag1","hashtag2"]},{"1397011135":["hashtag1","hashtag2"]},{"1397011132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011134, 1397011130, 1397011124, 1397011127, 1397011135, 1397011132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7838819026947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:05:02.393197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/24/image_30112025_02_25_05_10736.jpg', '/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_15_9752.jpg', '/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_24_9570.jpg', '/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_34_9906.jpg', '/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_45_10589.jpg', '/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_55_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/24/image_30112025_02_25_05_10736.jpg
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_15_9752.jpg
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_24_9570.jpg
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_34_9906.jpg
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_45_10589.jpg
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_25_55_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011257","1397011365","1397011326","1397011401","1397011220","1397011293"],"photo_ids_order":["1397011220","1397011257","1397011293","1397011326","1397011365","1397011401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a09f664216ec883038c86d5dd6907f3.jpg","text":"TemporaryFile(/tmp/multipartBody4271405169462137136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86c279966072037f4ff6a1f8068ed4ff.jpg","text":"TemporaryFile(/tmp/multipartBody872800229811032307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bef7e9c869afe92ea017e8ae5b1ee15e.jpg","text":"TemporaryFile(/tmp/multipartBody1560603605759720370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_34_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d6246147fa36fc7e02ecb813a9d3a2f.jpg","text":"TemporaryFile(/tmp/multipartBody2834150215240703123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e737856f55b1f9ff978ea3b42fb0844a.jpg","text":"TemporaryFile(/tmp/multipartBody5940721783211650966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74eaa9d02414f83764dbd7aacbed9ace.jpg","text":"TemporaryFile(/tmp/multipartBody2290230098280907167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468363164,"filename":"image_30112025_02_25_24_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011293","file1":"1397011257","file0":"1397011220","file4":"1397011365","file5":"1397011401","file3":"1397011326"},"map_files_photo_id_array":[{"photo_id":"1397011401","filename":"file5"},{"photo_id":"1397011293","filename":"file2"},{"photo_id":"1397011365","filename":"file4"},{"photo_id":"1397011257","filename":"file1"},{"photo_id":"1397011220","filename":"file0"},{"photo_id":"1397011326","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011257":["hashtag1","hashtag2"]},{"1397011365":["hashtag1","hashtag2"]},{"1397011326":["hashtag1","hashtag2"]},{"1397011401":["hashtag1","hashtag2"]},{"1397011220":["hashtag1","hashtag2"]},{"1397011293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011257, 1397011365, 1397011326, 1397011401, 1397011220, 1397011293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.253713607788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:05:41.885859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/31/image_31102025_11_31_50_2747.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_52_2591.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_56_3646.jpg', '/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_59_2661.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_01_2767.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_04_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_50_2747.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_52_2591.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_56_3646.jpg
/home/pi/Desktop/images/31102025/11/31/image_31102025_11_31_59_2661.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_01_2767.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_04_2855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011587","1397011572","1397011536","1397011586","1397011585","1397011584"],"photo_ids_order":["1397011536","1397011572","1397011584","1397011585","1397011586","1397011587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d46a1fe13fc4c162041999a1c400e963.jpg","text":"TemporaryFile(/tmp/multipartBody3524950552739522459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_32_04_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/30/52fe3ce3803914b1ab8b357b51db9375.jpg","text":"TemporaryFile(/tmp/multipartBody2311223296678210005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_31_52_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/30/4ddd4cc6e058f1fa71c9df39b5840203.jpg","text":"TemporaryFile(/tmp/multipartBody4330713119426616847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_31_50_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/30/51cd4500d248a90461b9c2552c963847.jpg","text":"TemporaryFile(/tmp/multipartBody5875932663725787737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_32_01_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9b67553c3208bc34e05f4cc92281b44.jpg","text":"TemporaryFile(/tmp/multipartBody6623192212517351086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_31_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/30/d6587b3d47c74566f618adafd47eb889.jpg","text":"TemporaryFile(/tmp/multipartBody2839673421981310540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468402829,"filename":"image_31102025_11_31_56_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011584","file1":"1397011572","file0":"1397011536","file4":"1397011586","file5":"1397011587","file3":"1397011585"},"map_files_photo_id_array":[{"photo_id":"1397011587","filename":"file5"},{"photo_id":"1397011584","filename":"file2"},{"photo_id":"1397011586","filename":"file4"},{"photo_id":"1397011572","filename":"file1"},{"photo_id":"1397011536","filename":"file0"},{"photo_id":"1397011585","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011587":["hashtag1","hashtag2"]},{"1397011572":["hashtag1","hashtag2"]},{"1397011536":["hashtag1","hashtag2"]},{"1397011586":["hashtag1","hashtag2"]},{"1397011585":["hashtag1","hashtag2"]},{"1397011584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011587, 1397011572, 1397011536, 1397011586, 1397011585, 1397011584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25983762741089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:06:22.084691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/25/image_30112025_02_26_04_9648.jpg', '/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_15_10657.jpg', '/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_25_9698.jpg', '/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_34_9810.jpg', '/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_44_9831.jpg', '/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_55_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/25/image_30112025_02_26_04_9648.jpg
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_15_10657.jpg
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_25_9698.jpg
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_34_9810.jpg
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_44_9831.jpg
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_26_55_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011677","1397011719","1397011713","1397011715","1397011717","1397011698"],"photo_ids_order":["1397011677","1397011698","1397011713","1397011715","1397011717","1397011719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/961ee42f535b5f3a983a35771a722bd6.jpg","text":"TemporaryFile(/tmp/multipartBody585706136734044432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91672364f30d7cf235538e8e0494b851.jpg","text":"TemporaryFile(/tmp/multipartBody4288113644084787985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c730070a00e5656f3b5414f5777b19c9.jpg","text":"TemporaryFile(/tmp/multipartBody8744010065509342987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3e5b5e4a5a049a91ffdb556f023749e.jpg","text":"TemporaryFile(/tmp/multipartBody8081976076793075427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_34_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/094849cc8f5238769fa072b0ba9d4b75.jpg","text":"TemporaryFile(/tmp/multipartBody4950885218432446570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_44_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61a91de861dbc5c6e93115f61a4d0449.jpg","text":"TemporaryFile(/tmp/multipartBody2819145464368854020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468442809,"filename":"image_30112025_02_26_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011713","file1":"1397011698","file0":"1397011677","file4":"1397011717","file5":"1397011719","file3":"1397011715"},"map_files_photo_id_array":[{"photo_id":"1397011719","filename":"file5"},{"photo_id":"1397011713","filename":"file2"},{"photo_id":"1397011717","filename":"file4"},{"photo_id":"1397011698","filename":"file1"},{"photo_id":"1397011677","filename":"file0"},{"photo_id":"1397011715","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011677":["hashtag1","hashtag2"]},{"1397011719":["hashtag1","hashtag2"]},{"1397011713":["hashtag1","hashtag2"]},{"1397011715":["hashtag1","hashtag2"]},{"1397011717":["hashtag1","hashtag2"]},{"1397011698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011677, 1397011719, 1397011713, 1397011715, 1397011717, 1397011698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63770318031311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:07:02.943396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/26/image_30112025_02_27_04_9576.jpg', '/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_14_9653.jpg', '/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_25_10685.jpg', '/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_34_9636.jpg', '/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_44_9703.jpg', '/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_55_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/26/image_30112025_02_27_04_9576.jpg
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_14_9653.jpg
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_25_10685.jpg
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_34_9636.jpg
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_44_9703.jpg
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_27_55_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011722","1397011725","1397011724","1397011721","1397011723","1397011726"],"photo_ids_order":["1397011721","1397011722","1397011723","1397011724","1397011725","1397011726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3c13c7af69a2934d0ec7f423bc46f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7102511578350270609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/692e88ffd0a6ca451e28b3525f63358e.jpg","text":"TemporaryFile(/tmp/multipartBody3173669196681982463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f0d28478fdaead3a5285aad8d226df2.jpg","text":"TemporaryFile(/tmp/multipartBody6710940805333547293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2dcd3e35b2c0109c267798474c59e829.jpg","text":"TemporaryFile(/tmp/multipartBody3614020167683795717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b869d3895a0bb875119e51679b862f6.jpg","text":"TemporaryFile(/tmp/multipartBody4888362211450005620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da362ab009f57664aea8667345709bba.jpg","text":"TemporaryFile(/tmp/multipartBody2658193202395397133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468483655,"filename":"image_30112025_02_27_55_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011723","file1":"1397011722","file0":"1397011721","file4":"1397011725","file5":"1397011726","file3":"1397011724"},"map_files_photo_id_array":[{"photo_id":"1397011726","filename":"file5"},{"photo_id":"1397011723","filename":"file2"},{"photo_id":"1397011725","filename":"file4"},{"photo_id":"1397011722","filename":"file1"},{"photo_id":"1397011721","filename":"file0"},{"photo_id":"1397011724","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011722":["hashtag1","hashtag2"]},{"1397011725":["hashtag1","hashtag2"]},{"1397011724":["hashtag1","hashtag2"]},{"1397011721":["hashtag1","hashtag2"]},{"1397011723":["hashtag1","hashtag2"]},{"1397011726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011722, 1397011725, 1397011724, 1397011721, 1397011723, 1397011726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57590174674988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:07:42.207038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/32/image_31102025_11_32_07_2787.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_11_3614.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_14_2944.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_16_2714.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_19_2783.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_23_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_07_2787.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_11_3614.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_14_2944.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_16_2714.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_19_2783.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_23_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":["1397011737","1397011731","1397011739","1397011733","1397011735","1397011738"],"photo_ids_order":["1397011731","1397011733","1397011735","1397011737","1397011738","1397011739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e9966446d3a90146ff78fd534e0dce7.jpg","text":"TemporaryFile(/tmp/multipartBody101839234993511591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/334e149e2d0ca731a840662f99c58f27.jpg","text":"TemporaryFile(/tmp/multipartBody2503463456963891865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_07_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee06c8e640825f3cf5e5997ef6ca2200.jpg","text":"TemporaryFile(/tmp/multipartBody2772659416179289220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_23_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/30/748174453662f32a1ad1f46e1192558b.jpg","text":"TemporaryFile(/tmp/multipartBody4704761166337768209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_11_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9ef52c642f3cc2251ca3e5b3fdbaf5b.jpg","text":"TemporaryFile(/tmp/multipartBody2496729504321436028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_14_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/30/3e55ed90b165a1957d45367f10b66c58.jpg","text":"TemporaryFile(/tmp/multipartBody3067673626740852504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468523178,"filename":"image_31102025_11_32_19_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011735","file1":"1397011733","file0":"1397011731","file4":"1397011738","file5":"1397011739","file3":"1397011737"},"map_files_photo_id_array":[{"photo_id":"1397011739","filename":"file5"},{"photo_id":"1397011735","filename":"file2"},{"photo_id":"1397011738","filename":"file4"},{"photo_id":"1397011733","filename":"file1"},{"photo_id":"1397011731","filename":"file0"},{"photo_id":"1397011737","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011737":["hashtag1","hashtag2"]},{"1397011731":["hashtag1","hashtag2"]},{"1397011739":["hashtag1","hashtag2"]},{"1397011733":["hashtag1","hashtag2"]},{"1397011735":["hashtag1","hashtag2"]},{"1397011738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011737, 1397011731, 1397011739, 1397011733, 1397011735, 1397011738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22775173187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:08:22.396100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/27/image_30112025_02_28_05_9671.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_14_9731.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_25_10585.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_35_9654.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_44_9626.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_28_05_9671.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_14_9731.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_25_10585.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_35_9654.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_44_9626.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_55_10616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5966598987579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:08:32.403927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_58_1728.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_06_7958.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_08_1666.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_09_1564.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_11_1643.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_13_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/35/image_25112025_19_35_58_1728.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_06_7958.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_08_1666.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_09_1564.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_11_1643.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_13_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011755","1397011749","1397011751","1397011754","1397011753","1397011756"],"photo_ids_order":["1397011749","1397011751","1397011753","1397011754","1397011755","1397011756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52c1579a68c15955c5dc4caa1d048d44.jpg","text":"TemporaryFile(/tmp/multipartBody4632703865558357597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_36_11_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/30/9c85944a1add57259236d399a7b3937b.jpg","text":"TemporaryFile(/tmp/multipartBody8595451813425046450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_35_58_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/30/5894e95ff871ecc36bec622826865fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2959326784649603561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_36_06_7958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/483b9c7f9dd2d0d7f03cbfc03b7f3e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7887195167904314392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_36_09_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beeb071b1fe96c66dfeb7f887a678672.jpg","text":"TemporaryFile(/tmp/multipartBody4950565371634512991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_36_08_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/30/31caf2783ebb4df0ce415e95568f1555.jpg","text":"TemporaryFile(/tmp/multipartBody8097710214247307600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468574371,"filename":"image_25112025_19_36_13_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011753","file1":"1397011751","file0":"1397011749","file4":"1397011755","file5":"1397011756","file3":"1397011754"},"map_files_photo_id_array":[{"photo_id":"1397011756","filename":"file5"},{"photo_id":"1397011753","filename":"file2"},{"photo_id":"1397011755","filename":"file4"},{"photo_id":"1397011751","filename":"file1"},{"photo_id":"1397011749","filename":"file0"},{"photo_id":"1397011754","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397011755":["hashtag1","hashtag2"]},{"1397011749":["hashtag1","hashtag2"]},{"1397011751":["hashtag1","hashtag2"]},{"1397011754":["hashtag1","hashtag2"]},{"1397011753":["hashtag1","hashtag2"]},{"1397011756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397011755, 1397011749, 1397011751, 1397011754, 1397011753, 1397011756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81318235397339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:09:12.626921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_16_2694.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_19_3563.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_22_2862.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_25_3508.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_28_2691.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_31_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_16_2694.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_19_3563.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_22_2862.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_25_3508.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_28_2691.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_31_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011757","1397011771","1397011768","1397011762","1397011765","1397011759"],"photo_ids_order":["1397011757","1397011759","1397011762","1397011765","1397011768","1397011771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be9af6c292486833014a29a1f65eb890.jpg","text":"TemporaryFile(/tmp/multipartBody4402609915849997270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_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/30/0b176125e536868793ed580a1545060c.jpg","text":"TemporaryFile(/tmp/multipartBody5060733170230254895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_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/30/930aade43073990899ddac4105301f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7416082344577896918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_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/30/d6c61273fb8c26a132c64dbca0142062.jpg","text":"TemporaryFile(/tmp/multipartBody7594310626964721989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_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/30/8dba51f6ef308b847420e6bd46eada89.jpg","text":"TemporaryFile(/tmp/multipartBody2913615358385045824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_25_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f623b8673e8625d6e8160cf35b7a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3721155090907298813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468614497,"filename":"image_25112025_19_36_19_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011762","file1":"1397011759","file0":"1397011757","file4":"1397011768","file5":"1397011771","file3":"1397011765"},"map_files_photo_id_array":[{"photo_id":"1397011771","filename":"file5"},{"photo_id":"1397011762","filename":"file2"},{"photo_id":"1397011768","filename":"file4"},{"photo_id":"1397011759","filename":"file1"},{"photo_id":"1397011757","filename":"file0"},{"photo_id":"1397011765","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397011757":["hashtag1","hashtag2"]},{"1397011771":["hashtag1","hashtag2"]},{"1397011768":["hashtag1","hashtag2"]},{"1397011762":["hashtag1","hashtag2"]},{"1397011765":["hashtag1","hashtag2"]},{"1397011759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397011757, 1397011771, 1397011768, 1397011762, 1397011765, 1397011759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.817726850509644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:10:03.199752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/27/image_30112025_02_28_05_9671.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_14_9731.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_25_10585.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_35_9654.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_44_9626.jpg', '/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/27/image_30112025_02_28_05_9671.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_14_9731.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_25_10585.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_35_9654.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_44_9626.jpg
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_28_55_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011779","1397011775","1397011774","1397011777","1397011782","1397011776"],"photo_ids_order":["1397011774","1397011775","1397011776","1397011777","1397011779","1397011782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f85bfe69b62e7a63cf25682845b1a279.jpg","text":"TemporaryFile(/tmp/multipartBody443219492273163127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c71f7045ce09f11dc1a2e3b0ddc1fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4366049358436713952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f4d79b8162c3e2847c22eeb2b5bdfd2.jpg","text":"TemporaryFile(/tmp/multipartBody7204569381051580132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d2aacd6100b216d552afdd3fdafea52.jpg","text":"TemporaryFile(/tmp/multipartBody4350688411967485167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce7b93d9ff8f0e91f69d9b2f2b9fba89.jpg","text":"TemporaryFile(/tmp/multipartBody7908718355876610822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1e22dfa7e0549aa0f6b224abc42f916.jpg","text":"TemporaryFile(/tmp/multipartBody7084980533571675187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468663913,"filename":"image_30112025_02_28_25_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011776","file1":"1397011775","file0":"1397011774","file4":"1397011779","file5":"1397011782","file3":"1397011777"},"map_files_photo_id_array":[{"photo_id":"1397011782","filename":"file5"},{"photo_id":"1397011776","filename":"file2"},{"photo_id":"1397011779","filename":"file4"},{"photo_id":"1397011775","filename":"file1"},{"photo_id":"1397011774","filename":"file0"},{"photo_id":"1397011777","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011779":["hashtag1","hashtag2"]},{"1397011775":["hashtag1","hashtag2"]},{"1397011774":["hashtag1","hashtag2"]},{"1397011777":["hashtag1","hashtag2"]},{"1397011782":["hashtag1","hashtag2"]},{"1397011776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011779, 1397011775, 1397011774, 1397011777, 1397011782, 1397011776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.973026752471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:10:42.910167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/32/image_31102025_11_32_28_2809.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_32_3578.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_34_2595.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_37_2724.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_41_3656.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_43_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_28_2809.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_32_3578.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_34_2595.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_37_2724.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_41_3656.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_43_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":["1397011791","1397011788","1397011793","1397011790","1397011792","1397011794"],"photo_ids_order":["1397011788","1397011790","1397011791","1397011792","1397011793","1397011794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/502a94358027606b267faf3ec3ea105f.jpg","text":"TemporaryFile(/tmp/multipartBody6387876781113724632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_34_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/30/aa2582edf69aff3f0e282b3b548b8ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7200707441417116943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_28_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/30/8858c6aa70458c2cb38bd79318ca3cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6062641471262435598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_41_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/30/d27fa05b6a65d07fd09261e60f21bb7a.jpg","text":"TemporaryFile(/tmp/multipartBody4085120142403210750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_32_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dca99a6d8efb476cf0f6acd35d0c2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3122748085122769069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_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/30/7497dd21220dc74dfb91ed33c450d8f4.jpg","text":"TemporaryFile(/tmp/multipartBody3547827338232475301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468703861,"filename":"image_31102025_11_32_43_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011791","file1":"1397011790","file0":"1397011788","file4":"1397011793","file5":"1397011794","file3":"1397011792"},"map_files_photo_id_array":[{"photo_id":"1397011794","filename":"file5"},{"photo_id":"1397011791","filename":"file2"},{"photo_id":"1397011793","filename":"file4"},{"photo_id":"1397011790","filename":"file1"},{"photo_id":"1397011788","filename":"file0"},{"photo_id":"1397011792","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011791":["hashtag1","hashtag2"]},{"1397011788":["hashtag1","hashtag2"]},{"1397011793":["hashtag1","hashtag2"]},{"1397011790":["hashtag1","hashtag2"]},{"1397011792":["hashtag1","hashtag2"]},{"1397011794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011791, 1397011788, 1397011793, 1397011790, 1397011792, 1397011794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.687654972076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:11:22.122759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/28/image_30112025_02_29_04_9591.jpg', '/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_14_9792.jpg', '/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_25_10665.jpg', '/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_35_9674.jpg', '/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_44_9555.jpg', '/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_55_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/28/image_30112025_02_29_04_9591.jpg
/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_14_9792.jpg
/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_25_10665.jpg
/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_35_9674.jpg
/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_44_9555.jpg
/home/pi/Desktop/images/30112025/02/29/image_30112025_02_29_55_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011800","1397011806","1397011796","1397011805","1397011802","1397011804"],"photo_ids_order":["1397011796","1397011800","1397011802","1397011804","1397011805","1397011806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4a5f535c9d8848bdabdb721260801f3.jpg","text":"TemporaryFile(/tmp/multipartBody1107554996828847795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_14_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7888ef2cfbcb75e109e14cf36edb3748.jpg","text":"TemporaryFile(/tmp/multipartBody5224531369691339881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11ad89b98d3abb7a4d2da780d6bd44ff.jpg","text":"TemporaryFile(/tmp/multipartBody8912140188641762459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96d9e14fa066aa00f694a3fc63a45981.jpg","text":"TemporaryFile(/tmp/multipartBody21334848119438820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_44_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f42f32847a2eee1b064666dc507f862.jpg","text":"TemporaryFile(/tmp/multipartBody7392904232850300237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87cf8cac52cb353eb272fcdbdea3259d.jpg","text":"TemporaryFile(/tmp/multipartBody4451435292357425316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468742806,"filename":"image_30112025_02_29_35_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011802","file1":"1397011800","file0":"1397011796","file4":"1397011805","file5":"1397011806","file3":"1397011804"},"map_files_photo_id_array":[{"photo_id":"1397011806","filename":"file5"},{"photo_id":"1397011802","filename":"file2"},{"photo_id":"1397011805","filename":"file4"},{"photo_id":"1397011800","filename":"file1"},{"photo_id":"1397011796","filename":"file0"},{"photo_id":"1397011804","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011800":["hashtag1","hashtag2"]},{"1397011806":["hashtag1","hashtag2"]},{"1397011796":["hashtag1","hashtag2"]},{"1397011805":["hashtag1","hashtag2"]},{"1397011802":["hashtag1","hashtag2"]},{"1397011804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011800, 1397011806, 1397011796, 1397011805, 1397011802, 1397011804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93411612510681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:12:02.648694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_05_9727.jpg', '/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_14_9786.jpg', '/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_24_9880.jpg', '/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_35_10834.jpg', '/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_45_9789.jpg', '/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_55_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_05_9727.jpg
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_14_9786.jpg
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_24_9880.jpg
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_35_10834.jpg
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_45_9789.jpg
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_30_55_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011815","1397011809","1397011812","1397011808","1397011810","1397011807"],"photo_ids_order":["1397011807","1397011808","1397011809","1397011810","1397011812","1397011815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b58d2b50ff0764f116788cad92ad086.jpg","text":"TemporaryFile(/tmp/multipartBody6407128871134187428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96176695de65b83870b64b940b488d40.jpg","text":"TemporaryFile(/tmp/multipartBody9182874405620447387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_24_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7593639e253dda1b7b78f649781af48f.jpg","text":"TemporaryFile(/tmp/multipartBody7853177907302649623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4aea91aa9eac9cf8d1e8ff4cd261662.jpg","text":"TemporaryFile(/tmp/multipartBody5464681122465669149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_14_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f4c0bf7e1afc3fb7faa01200159ece0.jpg","text":"TemporaryFile(/tmp/multipartBody1199906258423925143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_35_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/213675836defe45debd13dcf8a0f964c.jpg","text":"TemporaryFile(/tmp/multipartBody8597974904845557022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468783378,"filename":"image_30112025_02_30_05_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011809","file1":"1397011808","file0":"1397011807","file4":"1397011812","file5":"1397011815","file3":"1397011810"},"map_files_photo_id_array":[{"photo_id":"1397011815","filename":"file5"},{"photo_id":"1397011809","filename":"file2"},{"photo_id":"1397011812","filename":"file4"},{"photo_id":"1397011808","filename":"file1"},{"photo_id":"1397011807","filename":"file0"},{"photo_id":"1397011810","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011815":["hashtag1","hashtag2"]},{"1397011809":["hashtag1","hashtag2"]},{"1397011812":["hashtag1","hashtag2"]},{"1397011808":["hashtag1","hashtag2"]},{"1397011810":["hashtag1","hashtag2"]},{"1397011807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011815, 1397011809, 1397011812, 1397011808, 1397011810, 1397011807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22485280036926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:12:42.252925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/32/image_31102025_11_32_46_2827.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_50_3600.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_53_2667.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_55_2751.jpg', '/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_58_2767.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_02_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_46_2827.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_50_3600.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_53_2667.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_55_2751.jpg
/home/pi/Desktop/images/31102025/11/32/image_31102025_11_32_58_2767.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_02_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011827","1397011824","1397011826","1397011822","1397011825","1397011828"],"photo_ids_order":["1397011822","1397011824","1397011825","1397011826","1397011827","1397011828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f453caf5a45f70b7d5bd5699de139bf.jpg","text":"TemporaryFile(/tmp/multipartBody206410875606544831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_32_58_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98e844f17d0cfdffb51e7386da89b82a.jpg","text":"TemporaryFile(/tmp/multipartBody5199833083795691003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_32_50_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/30/fcba6cd18d775e38ed94e0bc8952e5bd.jpg","text":"TemporaryFile(/tmp/multipartBody3431958553228741907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_32_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/30/7b616a3000e96e11519694664a5e8fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4059887026328936528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_32_46_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/30/d60b4142d774e5749dab223716745156.jpg","text":"TemporaryFile(/tmp/multipartBody7192553893384581594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_32_53_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c620f335f3f30d2675c7c2dae3d22587.jpg","text":"TemporaryFile(/tmp/multipartBody3452053544402344308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468823212,"filename":"image_31102025_11_33_02_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011825","file1":"1397011824","file0":"1397011822","file4":"1397011827","file5":"1397011828","file3":"1397011826"},"map_files_photo_id_array":[{"photo_id":"1397011828","filename":"file5"},{"photo_id":"1397011825","filename":"file2"},{"photo_id":"1397011827","filename":"file4"},{"photo_id":"1397011824","filename":"file1"},{"photo_id":"1397011822","filename":"file0"},{"photo_id":"1397011826","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011827":["hashtag1","hashtag2"]},{"1397011824":["hashtag1","hashtag2"]},{"1397011826":["hashtag1","hashtag2"]},{"1397011822":["hashtag1","hashtag2"]},{"1397011825":["hashtag1","hashtag2"]},{"1397011828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011827, 1397011824, 1397011826, 1397011822, 1397011825, 1397011828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96561598777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:13:22.549521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/30/image_30112025_02_31_04_9648.jpg', '/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_15_10697.jpg', '/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_24_9133.jpg', '/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_35_10608.jpg', '/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_44_9741.jpg', '/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_55_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/30/image_30112025_02_31_04_9648.jpg
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_15_10697.jpg
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_24_9133.jpg
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_35_10608.jpg
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_44_9741.jpg
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_31_55_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011842","1397011838","1397011835","1397011840","1397011843","1397011831"],"photo_ids_order":["1397011831","1397011835","1397011838","1397011840","1397011842","1397011843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c67108863d3f209839f0b1e13d7855c7.jpg","text":"TemporaryFile(/tmp/multipartBody8625917962738805368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07891ca0b0bc2bd67a81866652b7af42.jpg","text":"TemporaryFile(/tmp/multipartBody6033594596304607850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_24_9133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad4a0fd395a3a8b56744d065acdd31aa.jpg","text":"TemporaryFile(/tmp/multipartBody530386252838229031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a61391913929313fe10f31137e8c393e.jpg","text":"TemporaryFile(/tmp/multipartBody7903608609028845376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70468b0669a5ea37de42f8b1d0839072.jpg","text":"TemporaryFile(/tmp/multipartBody6649780455857082079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40cb1a264651191c538a94c524341401.jpg","text":"TemporaryFile(/tmp/multipartBody6512225060127391267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468863233,"filename":"image_30112025_02_31_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011838","file1":"1397011835","file0":"1397011831","file4":"1397011842","file5":"1397011843","file3":"1397011840"},"map_files_photo_id_array":[{"photo_id":"1397011843","filename":"file5"},{"photo_id":"1397011838","filename":"file2"},{"photo_id":"1397011842","filename":"file4"},{"photo_id":"1397011835","filename":"file1"},{"photo_id":"1397011831","filename":"file0"},{"photo_id":"1397011840","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011842":["hashtag1","hashtag2"]},{"1397011838":["hashtag1","hashtag2"]},{"1397011835":["hashtag1","hashtag2"]},{"1397011840":["hashtag1","hashtag2"]},{"1397011843":["hashtag1","hashtag2"]},{"1397011831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011842, 1397011838, 1397011835, 1397011840, 1397011843, 1397011831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.964454650878906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:14:03.578172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/31/image_30112025_02_32_05_9841.jpg', '/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_15_9677.jpg', '/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_24_9713.jpg', '/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_35_10549.jpg', '/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_44_9656.jpg', '/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/31/image_30112025_02_32_05_9841.jpg
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_15_9677.jpg
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_24_9713.jpg
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_35_10549.jpg
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_44_9656.jpg
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_32_55_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011851","1397011848","1397011844","1397011847","1397011855","1397011846"],"photo_ids_order":["1397011844","1397011846","1397011847","1397011848","1397011851","1397011855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/073bfd97c324bd7450322d257a1d5885.jpg","text":"TemporaryFile(/tmp/multipartBody7839772702758206056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33984c34883a474c5541250e069884ec.jpg","text":"TemporaryFile(/tmp/multipartBody4924396066759214197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_35_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b6993c2ffb79d841eb62b533c2f7d1b.jpg","text":"TemporaryFile(/tmp/multipartBody813187948621771080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_05_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/451bf76bdb7a00e2c4a07f26420e91af.jpg","text":"TemporaryFile(/tmp/multipartBody8863255528633058591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dd9c87cb46f7b585eff3ad06416e899.jpg","text":"TemporaryFile(/tmp/multipartBody1406221360881452574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/376e611b41b65c2b21aeb32e42235c1e.jpg","text":"TemporaryFile(/tmp/multipartBody7715451384192569695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468904347,"filename":"image_30112025_02_32_15_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011847","file1":"1397011846","file0":"1397011844","file4":"1397011851","file5":"1397011855","file3":"1397011848"},"map_files_photo_id_array":[{"photo_id":"1397011855","filename":"file5"},{"photo_id":"1397011847","filename":"file2"},{"photo_id":"1397011851","filename":"file4"},{"photo_id":"1397011846","filename":"file1"},{"photo_id":"1397011844","filename":"file0"},{"photo_id":"1397011848","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011851":["hashtag1","hashtag2"]},{"1397011848":["hashtag1","hashtag2"]},{"1397011844":["hashtag1","hashtag2"]},{"1397011847":["hashtag1","hashtag2"]},{"1397011855":["hashtag1","hashtag2"]},{"1397011846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011851, 1397011848, 1397011844, 1397011847, 1397011855, 1397011846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.593562602996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:14:42.890699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/33/image_31102025_11_33_04_2675.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_07_2618.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_11_3802.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_14_2742.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_16_2711.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_20_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/11/33/image_31102025_11_33_04_2675.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_07_2618.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_11_3802.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_14_2742.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_16_2711.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_20_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011866","1397011869","1397011868","1397011865","1397011867","1397011864"],"photo_ids_order":["1397011864","1397011865","1397011866","1397011867","1397011868","1397011869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/339e4bf44efab36d6b0e21df0cfbda68.jpg","text":"TemporaryFile(/tmp/multipartBody7280386464877955550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_11_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/30/1faa255e44f68a9219100eb71299bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody1964707460503041422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_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/30/3d9ee2a5cdf0a0ff2f3e949f83b9e9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1798710628356366796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_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/30/851c5a0f5f0d9f1a1682f46107fe6e97.jpg","text":"TemporaryFile(/tmp/multipartBody47048508933472650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_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/30/d26caea89208ce17a2aa00279cd87d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3090355960216530395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_14_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fca6f111114f5c02693f0f26abaa287.jpg","text":"TemporaryFile(/tmp/multipartBody797163154928585500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468943848,"filename":"image_31102025_11_33_04_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011866","file1":"1397011865","file0":"1397011864","file4":"1397011868","file5":"1397011869","file3":"1397011867"},"map_files_photo_id_array":[{"photo_id":"1397011869","filename":"file5"},{"photo_id":"1397011866","filename":"file2"},{"photo_id":"1397011868","filename":"file4"},{"photo_id":"1397011865","filename":"file1"},{"photo_id":"1397011864","filename":"file0"},{"photo_id":"1397011867","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011866":["hashtag1","hashtag2"]},{"1397011869":["hashtag1","hashtag2"]},{"1397011868":["hashtag1","hashtag2"]},{"1397011865":["hashtag1","hashtag2"]},{"1397011867":["hashtag1","hashtag2"]},{"1397011864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011866, 1397011869, 1397011868, 1397011865, 1397011867, 1397011864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00375175476074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:15:22.054312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/32/image_30112025_02_33_04_9473.jpg', '/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_14_9930.jpg', '/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_24_9780.jpg', '/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_35_10709.jpg', '/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_45_9794.jpg', '/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/32/image_30112025_02_33_04_9473.jpg
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_14_9930.jpg
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_24_9780.jpg
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_35_10709.jpg
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_45_9794.jpg
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_33_54_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011877","1397011879","1397011873","1397011882","1397011881","1397011875"],"photo_ids_order":["1397011873","1397011875","1397011877","1397011879","1397011881","1397011882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b947469574df0ea80422fe5aa504a3df.jpg","text":"TemporaryFile(/tmp/multipartBody6234600387293427064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75d76540d34378f4d5f95ae1476141bd.jpg","text":"TemporaryFile(/tmp/multipartBody3427064481663018873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/667522c6235b541c4a39f5974f3a01fa.jpg","text":"TemporaryFile(/tmp/multipartBody7248357146801634543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_04_9473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf455311e043e06d52f61d329964f4f2.jpg","text":"TemporaryFile(/tmp/multipartBody4159202592086906581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b85c34ecc288d688770b6b0fcccc043d.jpg","text":"TemporaryFile(/tmp/multipartBody4324770540561652711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fadd2a430909809fcc0697c7b885ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6876154555716261952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764468982747,"filename":"image_30112025_02_33_14_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011877","file1":"1397011875","file0":"1397011873","file4":"1397011881","file5":"1397011882","file3":"1397011879"},"map_files_photo_id_array":[{"photo_id":"1397011882","filename":"file5"},{"photo_id":"1397011877","filename":"file2"},{"photo_id":"1397011881","filename":"file4"},{"photo_id":"1397011875","filename":"file1"},{"photo_id":"1397011873","filename":"file0"},{"photo_id":"1397011879","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011877":["hashtag1","hashtag2"]},{"1397011879":["hashtag1","hashtag2"]},{"1397011873":["hashtag1","hashtag2"]},{"1397011882":["hashtag1","hashtag2"]},{"1397011881":["hashtag1","hashtag2"]},{"1397011875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011877, 1397011879, 1397011873, 1397011882, 1397011881, 1397011875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96484303474426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:16:02.896941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/33/image_30112025_02_34_05_10686.jpg', '/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_15_9827.jpg', '/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_24_9623.jpg', '/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_34_9628.jpg', '/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_45_10590.jpg', '/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/33/image_30112025_02_34_05_10686.jpg
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_15_9827.jpg
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_24_9623.jpg
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_34_9628.jpg
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_45_10590.jpg
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_34_54_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011884","1397011887","1397011886","1397011889","1397011883","1397011885"],"photo_ids_order":["1397011883","1397011884","1397011885","1397011886","1397011887","1397011889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d80db4f82b67c0a60248a730054370f.jpg","text":"TemporaryFile(/tmp/multipartBody3072240586981016691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_15_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/170b043d274a223801fcd2937bde2e86.jpg","text":"TemporaryFile(/tmp/multipartBody2142627349927425668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7612f268f0a734aa3f4ea89f4b5e617.jpg","text":"TemporaryFile(/tmp/multipartBody2567452687980699617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5e0b9755d05b0d7eb747808936f4d77.jpg","text":"TemporaryFile(/tmp/multipartBody1095196360094918609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cea8838bfb28deb21d71759771417084.jpg","text":"TemporaryFile(/tmp/multipartBody9108360005614125371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3eb23039a46e08e5b3084cb987035692.jpg","text":"TemporaryFile(/tmp/multipartBody8818005346146096393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469023562,"filename":"image_30112025_02_34_24_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011885","file1":"1397011884","file0":"1397011883","file4":"1397011887","file5":"1397011889","file3":"1397011886"},"map_files_photo_id_array":[{"photo_id":"1397011889","filename":"file5"},{"photo_id":"1397011885","filename":"file2"},{"photo_id":"1397011887","filename":"file4"},{"photo_id":"1397011884","filename":"file1"},{"photo_id":"1397011883","filename":"file0"},{"photo_id":"1397011886","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011884":["hashtag1","hashtag2"]},{"1397011887":["hashtag1","hashtag2"]},{"1397011886":["hashtag1","hashtag2"]},{"1397011889":["hashtag1","hashtag2"]},{"1397011883":["hashtag1","hashtag2"]},{"1397011885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011884, 1397011887, 1397011886, 1397011889, 1397011883, 1397011885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15721130371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:16:42.377191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/33/image_31102025_11_33_23_2899.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_25_2641.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_32_3638.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_34_2669.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_37_2703.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_40_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/11/33/image_31102025_11_33_23_2899.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_25_2641.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_32_3638.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_34_2669.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_37_2703.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_40_2760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8597986698150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:17:03.120067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/34/image_30112025_02_35_05_10678.jpg', '/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_15_9673.jpg', '/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_24_9697.jpg', '/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_35_10627.jpg', '/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_45_9605.jpg', '/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_54_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/34/image_30112025_02_35_05_10678.jpg
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_15_9673.jpg
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_24_9697.jpg
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_35_10627.jpg
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_45_9605.jpg
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_35_54_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011909","1397011900","1397011902","1397011901","1397011903","1397011906"],"photo_ids_order":["1397011900","1397011901","1397011902","1397011903","1397011906","1397011909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d77a54fc101b14bb6a0440c7a77feabd.jpg","text":"TemporaryFile(/tmp/multipartBody7051831379204250631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53b550d7697d9dea7dba7c7914455b70.jpg","text":"TemporaryFile(/tmp/multipartBody2747817417269137415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c33946077254980065648d1828ff685.jpg","text":"TemporaryFile(/tmp/multipartBody4782140899764138634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6becb07a371f422ba50c51e437a97132.jpg","text":"TemporaryFile(/tmp/multipartBody7240575853899517185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17a9ca4d8e0d14ad7beaf0e6fa594676.jpg","text":"TemporaryFile(/tmp/multipartBody9000718529031634921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09a94883515595aa812bd4b102e26f83.jpg","text":"TemporaryFile(/tmp/multipartBody1741968036629359066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469083869,"filename":"image_30112025_02_35_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011902","file1":"1397011901","file0":"1397011900","file4":"1397011906","file5":"1397011909","file3":"1397011903"},"map_files_photo_id_array":[{"photo_id":"1397011909","filename":"file5"},{"photo_id":"1397011902","filename":"file2"},{"photo_id":"1397011906","filename":"file4"},{"photo_id":"1397011901","filename":"file1"},{"photo_id":"1397011900","filename":"file0"},{"photo_id":"1397011903","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011909":["hashtag1","hashtag2"]},{"1397011900":["hashtag1","hashtag2"]},{"1397011902":["hashtag1","hashtag2"]},{"1397011901":["hashtag1","hashtag2"]},{"1397011903":["hashtag1","hashtag2"]},{"1397011906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011909, 1397011900, 1397011902, 1397011901, 1397011903, 1397011906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69244050979614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:17:42.578110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/33/image_31102025_11_33_23_2899.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_25_2641.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_32_3638.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_34_2669.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_37_2703.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_40_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/11/33/image_31102025_11_33_23_2899.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_25_2641.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_32_3638.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_34_2669.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_37_2703.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_40_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":["1397011914","1397011917","1397011919","1397011916","1397011915","1397011918"],"photo_ids_order":["1397011914","1397011915","1397011916","1397011917","1397011918","1397011919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccf91f2431ce4048eeaa9055ea2c31e4.jpg","text":"TemporaryFile(/tmp/multipartBody474190067492940532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_23_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/30/0d57c16f60ad1e4ff46a751a99d41432.jpg","text":"TemporaryFile(/tmp/multipartBody4997199450660859709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_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/30/df5e7af0c05542d4bd51dfa9934c739c.jpg","text":"TemporaryFile(/tmp/multipartBody354478225753663240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_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/30/1f7c3dd609b6c1e2a4e3bc266d22bdec.jpg","text":"TemporaryFile(/tmp/multipartBody8712807494163634633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_32_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/30/fba9dd5fa0305c920301271937ba74cf.jpg","text":"TemporaryFile(/tmp/multipartBody8728266823899247284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_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/30/a21db7e667fce25693674ae2c40297c6.jpg","text":"TemporaryFile(/tmp/multipartBody8132615079895570701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469123395,"filename":"image_31102025_11_33_37_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011916","file1":"1397011915","file0":"1397011914","file4":"1397011918","file5":"1397011919","file3":"1397011917"},"map_files_photo_id_array":[{"photo_id":"1397011919","filename":"file5"},{"photo_id":"1397011916","filename":"file2"},{"photo_id":"1397011918","filename":"file4"},{"photo_id":"1397011915","filename":"file1"},{"photo_id":"1397011914","filename":"file0"},{"photo_id":"1397011917","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011914":["hashtag1","hashtag2"]},{"1397011917":["hashtag1","hashtag2"]},{"1397011919":["hashtag1","hashtag2"]},{"1397011916":["hashtag1","hashtag2"]},{"1397011915":["hashtag1","hashtag2"]},{"1397011918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011914, 1397011917, 1397011919, 1397011916, 1397011915, 1397011918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97190618515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:18:22.761166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/35/image_30112025_02_36_05_10619.jpg', '/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_15_9608.jpg', '/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_24_9655.jpg', '/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_35_10569.jpg', '/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_54_9817.jpg', '/home/pi/Desktop/images/30112025/02/36/image_30112025_02_37_05_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/35/image_30112025_02_36_05_10619.jpg
/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_15_9608.jpg
/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_24_9655.jpg
/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_35_10569.jpg
/home/pi/Desktop/images/30112025/02/36/image_30112025_02_36_54_9817.jpg
/home/pi/Desktop/images/30112025/02/36/image_30112025_02_37_05_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011932","1397011926","1397011929","1397011923","1397011934","1397011936"],"photo_ids_order":["1397011923","1397011926","1397011929","1397011932","1397011934","1397011936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d81e1018adb39d81cf05de1954551a0.jpg","text":"TemporaryFile(/tmp/multipartBody8274720971728512616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_36_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb2a6947de0b85ddaa6fe1699339243d.jpg","text":"TemporaryFile(/tmp/multipartBody3680343689033242175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_36_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/193cd68a153107318a86379f31aa9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8176282997890120176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_36_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cd7d23438c054111c3e31b7ab7eb048.jpg","text":"TemporaryFile(/tmp/multipartBody7443446830793965290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_36_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/210c05c8ae78707b570a909dd706928f.jpg","text":"TemporaryFile(/tmp/multipartBody8816075185787096398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_36_54_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/577c93a6aba6bd19b7a9a9d662f22682.jpg","text":"TemporaryFile(/tmp/multipartBody4204575191511340763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469163451,"filename":"image_30112025_02_37_05_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011929","file1":"1397011926","file0":"1397011923","file4":"1397011934","file5":"1397011936","file3":"1397011932"},"map_files_photo_id_array":[{"photo_id":"1397011936","filename":"file5"},{"photo_id":"1397011929","filename":"file2"},{"photo_id":"1397011934","filename":"file4"},{"photo_id":"1397011926","filename":"file1"},{"photo_id":"1397011923","filename":"file0"},{"photo_id":"1397011932","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011932":["hashtag1","hashtag2"]},{"1397011926":["hashtag1","hashtag2"]},{"1397011929":["hashtag1","hashtag2"]},{"1397011923":["hashtag1","hashtag2"]},{"1397011934":["hashtag1","hashtag2"]},{"1397011936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011932, 1397011926, 1397011929, 1397011923, 1397011934, 1397011936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8552930355072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:19:02.656445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_15_9714.jpg', '/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_25_9824.jpg', '/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_34_9663.jpg', '/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_44_10276.jpg', '/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_54_9652.jpg', '/home/pi/Desktop/images/30112025/02/37/image_30112025_02_38_05_10819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_15_9714.jpg
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_25_9824.jpg
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_34_9663.jpg
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_44_10276.jpg
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_37_54_9652.jpg
/home/pi/Desktop/images/30112025/02/37/image_30112025_02_38_05_10819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011938","1397011940","1397011937","1397011946","1397011942","1397011939"],"photo_ids_order":["1397011937","1397011938","1397011939","1397011940","1397011942","1397011946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27d2c064f82d2fccaa658e87ae114e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6102034906575406179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_37_25_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41f93861976d772ca3cafee509624ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5337997230461226503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_37_44_10276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49ec86a4af960d0ce84cf3a3046733d6.jpg","text":"TemporaryFile(/tmp/multipartBody6375194865899578303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_37_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/309a1bf9b2943a9decbd8cde5d770780.jpg","text":"TemporaryFile(/tmp/multipartBody7579374493226011884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_38_05_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c554ff796506d776184a732ef49ab4ee.jpg","text":"TemporaryFile(/tmp/multipartBody8117593208477438872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_37_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f855f8b19d9eecc3e7597465b99f8e3.jpg","text":"TemporaryFile(/tmp/multipartBody8865223348080994632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469203576,"filename":"image_30112025_02_37_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011939","file1":"1397011938","file0":"1397011937","file4":"1397011942","file5":"1397011946","file3":"1397011940"},"map_files_photo_id_array":[{"photo_id":"1397011946","filename":"file5"},{"photo_id":"1397011939","filename":"file2"},{"photo_id":"1397011942","filename":"file4"},{"photo_id":"1397011938","filename":"file1"},{"photo_id":"1397011937","filename":"file0"},{"photo_id":"1397011940","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011938":["hashtag1","hashtag2"]},{"1397011940":["hashtag1","hashtag2"]},{"1397011937":["hashtag1","hashtag2"]},{"1397011946":["hashtag1","hashtag2"]},{"1397011942":["hashtag1","hashtag2"]},{"1397011939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011938, 1397011940, 1397011937, 1397011946, 1397011942, 1397011939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72079682350159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:19:41.868069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/33/image_31102025_11_33_44_3690.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_46_2666.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_49_2652.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_53_3744.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_55_2709.jpg', '/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_58_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/11/33/image_31102025_11_33_44_3690.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_46_2666.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_49_2652.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_53_3744.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_55_2709.jpg
/home/pi/Desktop/images/31102025/11/33/image_31102025_11_33_58_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":["1397011956","1397011953","1397011955","1397011952","1397011954","1397011957"],"photo_ids_order":["1397011952","1397011953","1397011954","1397011955","1397011956","1397011957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/202b7a24cbfd5ba42e675642b239b5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5818681231931394387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_55_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/30/61136617e3775f2e3525ede31e0ea8d8.jpg","text":"TemporaryFile(/tmp/multipartBody5236919477422773140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_46_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a21dd3dda536651ca187e1e78092637.jpg","text":"TemporaryFile(/tmp/multipartBody309623728165633873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_53_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/30/8f58cbeb33b977d259fe992a0a2f4d47.jpg","text":"TemporaryFile(/tmp/multipartBody6970754731204561906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_44_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/30/62fa7938a9df2feee1ae25d12b04a062.jpg","text":"TemporaryFile(/tmp/multipartBody4114845969106217630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_49_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d5434e5d7245ecb0e15a540ee13e352.jpg","text":"TemporaryFile(/tmp/multipartBody7680092517140238012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469242841,"filename":"image_31102025_11_33_58_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011954","file1":"1397011953","file0":"1397011952","file4":"1397011956","file5":"1397011957","file3":"1397011955"},"map_files_photo_id_array":[{"photo_id":"1397011957","filename":"file5"},{"photo_id":"1397011954","filename":"file2"},{"photo_id":"1397011956","filename":"file4"},{"photo_id":"1397011953","filename":"file1"},{"photo_id":"1397011952","filename":"file0"},{"photo_id":"1397011955","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011956":["hashtag1","hashtag2"]},{"1397011953":["hashtag1","hashtag2"]},{"1397011955":["hashtag1","hashtag2"]},{"1397011952":["hashtag1","hashtag2"]},{"1397011954":["hashtag1","hashtag2"]},{"1397011957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011956, 1397011953, 1397011955, 1397011952, 1397011954, 1397011957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.220186948776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:20:22.016099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_15_9823.jpg', '/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_24_9592.jpg', '/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_35_10559.jpg', '/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_45_9719.jpg', '/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_54_9681.jpg', '/home/pi/Desktop/images/30112025/02/38/image_30112025_02_39_05_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_15_9823.jpg
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_24_9592.jpg
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_35_10559.jpg
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_45_9719.jpg
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_38_54_9681.jpg
/home/pi/Desktop/images/30112025/02/38/image_30112025_02_39_05_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011965","1397011959","1397011967","1397011961","1397011970","1397011963"],"photo_ids_order":["1397011959","1397011961","1397011963","1397011965","1397011967","1397011970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b6d4eef71ade76eab5d3de63be3224.jpg","text":"TemporaryFile(/tmp/multipartBody6313008885821378237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_38_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d33af65118160263bb17ea763aee1c95.jpg","text":"TemporaryFile(/tmp/multipartBody3579775235063765065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_38_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e983e9d2729619ec7066de412b2b3947.jpg","text":"TemporaryFile(/tmp/multipartBody2932579174266116773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_38_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dacf8424c8842c8ef513826b50150ec.jpg","text":"TemporaryFile(/tmp/multipartBody6960026214919788552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_38_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1458321f170f33614ebee93e6a0a49c4.jpg","text":"TemporaryFile(/tmp/multipartBody2912774099657823995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_39_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30f374fcdc2ce77d07afed0269ccd8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3385346074637450553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469282710,"filename":"image_30112025_02_38_35_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011963","file1":"1397011961","file0":"1397011959","file4":"1397011967","file5":"1397011970","file3":"1397011965"},"map_files_photo_id_array":[{"photo_id":"1397011970","filename":"file5"},{"photo_id":"1397011963","filename":"file2"},{"photo_id":"1397011967","filename":"file4"},{"photo_id":"1397011961","filename":"file1"},{"photo_id":"1397011959","filename":"file0"},{"photo_id":"1397011965","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011965":["hashtag1","hashtag2"]},{"1397011959":["hashtag1","hashtag2"]},{"1397011967":["hashtag1","hashtag2"]},{"1397011961":["hashtag1","hashtag2"]},{"1397011970":["hashtag1","hashtag2"]},{"1397011963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011965, 1397011959, 1397011967, 1397011961, 1397011970, 1397011963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98064565658569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:21:02.984380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_15_9678.jpg', '/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_24_9806.jpg', '/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_34_9682.jpg', '/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_45_10756.jpg', '/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_55_9674.jpg', '/home/pi/Desktop/images/30112025/02/39/image_30112025_02_40_04_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_15_9678.jpg
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_24_9806.jpg
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_34_9682.jpg
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_45_10756.jpg
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_39_55_9674.jpg
/home/pi/Desktop/images/30112025/02/39/image_30112025_02_40_04_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011971","1397011973","1397011976","1397011979","1397011972","1397011974"],"photo_ids_order":["1397011971","1397011972","1397011973","1397011974","1397011976","1397011979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/232bfeb24f29f93f1a99cfd2d7464a45.jpg","text":"TemporaryFile(/tmp/multipartBody7185020610288751263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_39_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6f0cc4f626104e1ca365dd1ebfd3dba.jpg","text":"TemporaryFile(/tmp/multipartBody4817098200794579566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_39_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3659388ce07dfa646c4d812bbc5a2e8.jpg","text":"TemporaryFile(/tmp/multipartBody4212303720621148497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_39_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98584c9807e3c26e965df6fa2dc406c8.jpg","text":"TemporaryFile(/tmp/multipartBody7994833974117620266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_40_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01309eedf4430558fe65e5bcb62f7314.jpg","text":"TemporaryFile(/tmp/multipartBody8876976686018074600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_39_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b1be322136cad137187f7e26efe387a.jpg","text":"TemporaryFile(/tmp/multipartBody4477054850381913137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469323753,"filename":"image_30112025_02_39_45_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011973","file1":"1397011972","file0":"1397011971","file4":"1397011976","file5":"1397011979","file3":"1397011974"},"map_files_photo_id_array":[{"photo_id":"1397011979","filename":"file5"},{"photo_id":"1397011973","filename":"file2"},{"photo_id":"1397011976","filename":"file4"},{"photo_id":"1397011972","filename":"file1"},{"photo_id":"1397011971","filename":"file0"},{"photo_id":"1397011974","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397011971":["hashtag1","hashtag2"]},{"1397011973":["hashtag1","hashtag2"]},{"1397011976":["hashtag1","hashtag2"]},{"1397011979":["hashtag1","hashtag2"]},{"1397011972":["hashtag1","hashtag2"]},{"1397011974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397011971, 1397011973, 1397011976, 1397011979, 1397011972, 1397011974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28749442100525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:21:42.302326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/34/image_31102025_11_34_02_3735.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_04_2727.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_07_2613.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_10_2817.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_14_3796.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_16_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_02_3735.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_04_2727.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_07_2613.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_10_2817.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_14_3796.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_16_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397011991","1397011988","1397011990","1397011987","1397011992","1397011989"],"photo_ids_order":["1397011987","1397011988","1397011989","1397011990","1397011991","1397011992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76236d13c20818cf130b189f7527b440.jpg","text":"TemporaryFile(/tmp/multipartBody3230341554439475805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_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/30/68dc41436870feaf79fe880626d578a4.jpg","text":"TemporaryFile(/tmp/multipartBody2359465079042519772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_04_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/30/696802b74647b98baba44ab20602e56e.jpg","text":"TemporaryFile(/tmp/multipartBody120094816778739190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_10_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3f1c07e2508e44f16920efdf6d3628c.jpg","text":"TemporaryFile(/tmp/multipartBody5249874170110322903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_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/30/c2121e347e50d77b4d16125118e0f469.jpg","text":"TemporaryFile(/tmp/multipartBody64562594372242315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_16_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/30/ab6fbc40a2663fbf0b5837cdfe0d8bc5.jpg","text":"TemporaryFile(/tmp/multipartBody2837965118884886078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469363282,"filename":"image_31102025_11_34_07_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397011989","file1":"1397011988","file0":"1397011987","file4":"1397011991","file5":"1397011992","file3":"1397011990"},"map_files_photo_id_array":[{"photo_id":"1397011992","filename":"file5"},{"photo_id":"1397011989","filename":"file2"},{"photo_id":"1397011991","filename":"file4"},{"photo_id":"1397011988","filename":"file1"},{"photo_id":"1397011987","filename":"file0"},{"photo_id":"1397011990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397011991":["hashtag1","hashtag2"]},{"1397011988":["hashtag1","hashtag2"]},{"1397011990":["hashtag1","hashtag2"]},{"1397011987":["hashtag1","hashtag2"]},{"1397011992":["hashtag1","hashtag2"]},{"1397011989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397011991, 1397011988, 1397011990, 1397011987, 1397011992, 1397011989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52277231216431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:22:22.513132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_14_9683.jpg', '/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_25_10793.jpg', '/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_35_9682.jpg', '/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_44_9766.jpg', '/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_55_10643.jpg', '/home/pi/Desktop/images/30112025/02/40/image_30112025_02_41_05_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_14_9683.jpg
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_25_10793.jpg
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_35_9682.jpg
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_44_9766.jpg
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_40_55_10643.jpg
/home/pi/Desktop/images/30112025/02/40/image_30112025_02_41_05_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012004","1397012003","1397012000","1397011999","1397012005","1397011995"],"photo_ids_order":["1397011995","1397011999","1397012000","1397012003","1397012004","1397012005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/903924466c76ca3872d14d4993dffdf6.jpg","text":"TemporaryFile(/tmp/multipartBody882112257060386470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_40_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d30f4a65b3c96a0715e68ce10df5206a.jpg","text":"TemporaryFile(/tmp/multipartBody5942461965383324416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_40_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d0b2c4b72ef345911b16cdf8cfd3e21.jpg","text":"TemporaryFile(/tmp/multipartBody5164513584325240856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_40_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/824d1af55b98d2782d8bdf891c06256e.jpg","text":"TemporaryFile(/tmp/multipartBody5839391780149592240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_40_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f625c5f7abdc96894da79f52b21e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1534365056753420291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_41_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef7ce489619d9afd71197219b434486f.jpg","text":"TemporaryFile(/tmp/multipartBody8140762342702664147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469403212,"filename":"image_30112025_02_40_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012000","file1":"1397011999","file0":"1397011995","file4":"1397012004","file5":"1397012005","file3":"1397012003"},"map_files_photo_id_array":[{"photo_id":"1397012005","filename":"file5"},{"photo_id":"1397012000","filename":"file2"},{"photo_id":"1397012004","filename":"file4"},{"photo_id":"1397011999","filename":"file1"},{"photo_id":"1397011995","filename":"file0"},{"photo_id":"1397012003","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012004":["hashtag1","hashtag2"]},{"1397012003":["hashtag1","hashtag2"]},{"1397012000":["hashtag1","hashtag2"]},{"1397011999":["hashtag1","hashtag2"]},{"1397012005":["hashtag1","hashtag2"]},{"1397011995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012004, 1397012003, 1397012000, 1397011999, 1397012005, 1397011995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57404184341431 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 --only_old 1
2025-11-30 03:23:12.797248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_34_3616.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_37_2544.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_40_2873.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_42_2601.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_46_3556.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_49_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_34_3616.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_37_2544.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_40_2873.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_42_2601.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_46_3556.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_49_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012006","1397012015","1397012014","1397012017","1397012011","1397012008"],"photo_ids_order":["1397012006","1397012008","1397012011","1397012014","1397012015","1397012017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59155de1600854122d73550f8195f133.jpg","text":"TemporaryFile(/tmp/multipartBody1139972307217963993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_34_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/30/8652351fdcca1bf2cf4257fcb45069d5.jpg","text":"TemporaryFile(/tmp/multipartBody4287953045999350368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_46_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1308dec1d4fd00319ef6b6f53d474c44.jpg","text":"TemporaryFile(/tmp/multipartBody5474044996627168566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_42_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6846b04b6faa1bcd41672be139904733.jpg","text":"TemporaryFile(/tmp/multipartBody3204553199464545366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_49_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/30/fd00e0478e24034326508a85ffa68628.jpg","text":"TemporaryFile(/tmp/multipartBody1938615586501091759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_40_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/30/1d3d2ecd8a436a8c2751d614eeba4c81.jpg","text":"TemporaryFile(/tmp/multipartBody1946586493263555144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469454452,"filename":"image_25112025_19_36_37_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012011","file1":"1397012008","file0":"1397012006","file4":"1397012015","file5":"1397012017","file3":"1397012014"},"map_files_photo_id_array":[{"photo_id":"1397012017","filename":"file5"},{"photo_id":"1397012011","filename":"file2"},{"photo_id":"1397012015","filename":"file4"},{"photo_id":"1397012008","filename":"file1"},{"photo_id":"1397012006","filename":"file0"},{"photo_id":"1397012014","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012006":["hashtag1","hashtag2"]},{"1397012015":["hashtag1","hashtag2"]},{"1397012014":["hashtag1","hashtag2"]},{"1397012017":["hashtag1","hashtag2"]},{"1397012011":["hashtag1","hashtag2"]},{"1397012008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012006, 1397012015, 1397012014, 1397012017, 1397012011, 1397012008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29811406135559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:24:02.754611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_14_9803.jpg', '/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_24_9824.jpg', '/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_35_10665.jpg', '/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_45_9698.jpg', '/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_54_9716.jpg', '/home/pi/Desktop/images/30112025/02/41/image_30112025_02_42_05_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_14_9803.jpg
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_24_9824.jpg
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_35_10665.jpg
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_45_9698.jpg
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_41_54_9716.jpg
/home/pi/Desktop/images/30112025/02/41/image_30112025_02_42_05_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012022","1397012021","1397012024","1397012027","1397012029","1397012023"],"photo_ids_order":["1397012021","1397012022","1397012023","1397012024","1397012027","1397012029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba5803aa7099dbbcaecf11ed59ddf014.jpg","text":"TemporaryFile(/tmp/multipartBody9021825056487193094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_41_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f42c687189e7c9ea49425e3fb8366e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8299066909345599650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_41_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b48051da4f0cf5a7df02d840616aea36.jpg","text":"TemporaryFile(/tmp/multipartBody7113081861183221781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_41_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b97daf9df3edd4eebad943c31c1e326f.jpg","text":"TemporaryFile(/tmp/multipartBody3872704005361933243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_41_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c3f569d27946919daec23e47894cb1a.jpg","text":"TemporaryFile(/tmp/multipartBody1716176068363749077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_42_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e54666ace4dd8eeea694de64b2e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3219648919366722189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469503586,"filename":"image_30112025_02_41_35_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012023","file1":"1397012022","file0":"1397012021","file4":"1397012027","file5":"1397012029","file3":"1397012024"},"map_files_photo_id_array":[{"photo_id":"1397012029","filename":"file5"},{"photo_id":"1397012023","filename":"file2"},{"photo_id":"1397012027","filename":"file4"},{"photo_id":"1397012022","filename":"file1"},{"photo_id":"1397012021","filename":"file0"},{"photo_id":"1397012024","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012022":["hashtag1","hashtag2"]},{"1397012021":["hashtag1","hashtag2"]},{"1397012024":["hashtag1","hashtag2"]},{"1397012027":["hashtag1","hashtag2"]},{"1397012029":["hashtag1","hashtag2"]},{"1397012023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012022, 1397012021, 1397012024, 1397012027, 1397012029, 1397012023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26001286506653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:24:42.066097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/34/image_31102025_11_34_19_2650.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_23_3613.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_25_2760.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_28_2733.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_37_2765.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_40_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_19_2650.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_23_3613.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_25_2760.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_28_2733.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_37_2765.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_40_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":["1397012040","1397012042","1397012036","1397012045","1397012044","1397012038"],"photo_ids_order":["1397012036","1397012038","1397012040","1397012042","1397012044","1397012045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/933de4035e9975e3a182a2047fd216e3.jpg","text":"TemporaryFile(/tmp/multipartBody1078694258161147779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_25_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a95978e693346dea26bc46febe360505.jpg","text":"TemporaryFile(/tmp/multipartBody3739645592270340491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_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/30/1e7829efaffd2362a86867569b28a6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2761326203929801123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_19_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/152ba4e2ea1cd439a4e6c45062676b99.jpg","text":"TemporaryFile(/tmp/multipartBody4839858585978575196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_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/30/f6036e5f709515d6720b3a31a78bc58a.jpg","text":"TemporaryFile(/tmp/multipartBody9152600784024670711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_37_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/30/ba8012ae5408e3181a35a106e5c85036.jpg","text":"TemporaryFile(/tmp/multipartBody8562824033058654686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469542999,"filename":"image_31102025_11_34_23_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012040","file1":"1397012038","file0":"1397012036","file4":"1397012044","file5":"1397012045","file3":"1397012042"},"map_files_photo_id_array":[{"photo_id":"1397012045","filename":"file5"},{"photo_id":"1397012040","filename":"file2"},{"photo_id":"1397012044","filename":"file4"},{"photo_id":"1397012038","filename":"file1"},{"photo_id":"1397012036","filename":"file0"},{"photo_id":"1397012042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012040":["hashtag1","hashtag2"]},{"1397012042":["hashtag1","hashtag2"]},{"1397012036":["hashtag1","hashtag2"]},{"1397012045":["hashtag1","hashtag2"]},{"1397012044":["hashtag1","hashtag2"]},{"1397012038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012040, 1397012042, 1397012036, 1397012045, 1397012044, 1397012038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80165243148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:25:22.209019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_15_9705.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_24_9713.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_35_10599.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_45_9663.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_54_9548.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_43_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_15_9705.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_24_9713.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_35_10599.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_45_9663.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_54_9548.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_43_05_10643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5944480895996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:25:32.283529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_52_3581.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_55_2616.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_58_2687.jpg', '/home/pi/Desktop/images/25112025/19/36/image_25112025_19_37_01_3628.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_04_2537.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_07_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_52_3581.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_55_2616.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_36_58_2687.jpg
/home/pi/Desktop/images/25112025/19/36/image_25112025_19_37_01_3628.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_04_2537.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_07_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012060","1397012054","1397012063","1397012057","1397012062","1397012061"],"photo_ids_order":["1397012054","1397012057","1397012060","1397012061","1397012062","1397012063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8df389738936417b170bb4d78c030fad.jpg","text":"TemporaryFile(/tmp/multipartBody7320654088528166053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_36_58_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05a092372b8c64db1e0a4f9fb0038887.jpg","text":"TemporaryFile(/tmp/multipartBody4664144732458481238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_36_52_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/30/7e33520a749304dc9ca21437c3f6a4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1923883709423583007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_37_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/30/af888453c5f1e3c7f48120b210c26be8.jpg","text":"TemporaryFile(/tmp/multipartBody3184111553653157834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_36_55_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/30/34ff86a998fa1ebd5b302ca1b947fa94.jpg","text":"TemporaryFile(/tmp/multipartBody6589198390003041818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_37_04_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/30/036e96450942a382cc1c03fb3ad34097.jpg","text":"TemporaryFile(/tmp/multipartBody8289136017735171964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469594281,"filename":"image_25112025_19_37_01_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012060","file1":"1397012057","file0":"1397012054","file4":"1397012062","file5":"1397012063","file3":"1397012061"},"map_files_photo_id_array":[{"photo_id":"1397012063","filename":"file5"},{"photo_id":"1397012060","filename":"file2"},{"photo_id":"1397012062","filename":"file4"},{"photo_id":"1397012057","filename":"file1"},{"photo_id":"1397012054","filename":"file0"},{"photo_id":"1397012061","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012060":["hashtag1","hashtag2"]},{"1397012054":["hashtag1","hashtag2"]},{"1397012063":["hashtag1","hashtag2"]},{"1397012057":["hashtag1","hashtag2"]},{"1397012062":["hashtag1","hashtag2"]},{"1397012061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012060, 1397012054, 1397012063, 1397012057, 1397012062, 1397012061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.090351819992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:26:12.411064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_10_3799.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_13_2677.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_16_2788.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_18_2683.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_22_3731.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_25_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_10_3799.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_13_2677.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_16_2788.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_18_2683.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_22_3731.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_25_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012067","1397012072","1397012065","1397012074","1397012076","1397012070"],"photo_ids_order":["1397012065","1397012067","1397012070","1397012072","1397012074","1397012076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b471751e70bc4fb52c1527ce4e83a385.jpg","text":"TemporaryFile(/tmp/multipartBody5802792780905545792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_13_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/30/b90c7718985fe99b2ce31e185d5d9484.jpg","text":"TemporaryFile(/tmp/multipartBody329374566408666916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_18_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85ac4326ad213f02cc7ef641a4784746.jpg","text":"TemporaryFile(/tmp/multipartBody8969930584498016979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_10_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc434d5410756ceadb63a1cbd0cc2796.jpg","text":"TemporaryFile(/tmp/multipartBody1355220784916419109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_22_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/30/51f563bd46b86317797d0a472aeea063.jpg","text":"TemporaryFile(/tmp/multipartBody3518434630034301697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_25_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fc57a2a19bfe87af85d1fef80417f84.jpg","text":"TemporaryFile(/tmp/multipartBody23601805560565612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469634274,"filename":"image_25112025_19_37_16_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012070","file1":"1397012067","file0":"1397012065","file4":"1397012074","file5":"1397012076","file3":"1397012072"},"map_files_photo_id_array":[{"photo_id":"1397012076","filename":"file5"},{"photo_id":"1397012070","filename":"file2"},{"photo_id":"1397012074","filename":"file4"},{"photo_id":"1397012067","filename":"file1"},{"photo_id":"1397012065","filename":"file0"},{"photo_id":"1397012072","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012067":["hashtag1","hashtag2"]},{"1397012072":["hashtag1","hashtag2"]},{"1397012065":["hashtag1","hashtag2"]},{"1397012074":["hashtag1","hashtag2"]},{"1397012076":["hashtag1","hashtag2"]},{"1397012070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012067, 1397012072, 1397012065, 1397012074, 1397012076, 1397012070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05290985107422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:27:03.287396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_15_9705.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_24_9713.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_35_10599.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_45_9663.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_54_9548.jpg', '/home/pi/Desktop/images/30112025/02/42/image_30112025_02_43_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_15_9705.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_24_9713.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_35_10599.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_45_9663.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_42_54_9548.jpg
/home/pi/Desktop/images/30112025/02/42/image_30112025_02_43_05_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012084","1397012081","1397012078","1397012080","1397012088","1397012079"],"photo_ids_order":["1397012078","1397012079","1397012080","1397012081","1397012084","1397012088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c03aaa2b55c40ca7b116c27120e6107.jpg","text":"TemporaryFile(/tmp/multipartBody1219631068161913979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_42_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4cdf942763e2f73dadc1819695cd76a.jpg","text":"TemporaryFile(/tmp/multipartBody6481091421764791747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_42_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa4f3c7bd1c191d64a96a835ea3ce54a.jpg","text":"TemporaryFile(/tmp/multipartBody3240145552582532788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_42_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c584bca9a831a757032de04464cc1d5.jpg","text":"TemporaryFile(/tmp/multipartBody1294842913271909058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_42_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b94ecfb6266a2b95238979d89aead16.jpg","text":"TemporaryFile(/tmp/multipartBody5739353460764827416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_43_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e1317354c931f51e4f7171f7e8bc48a.jpg","text":"TemporaryFile(/tmp/multipartBody4065522632725309789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469684110,"filename":"image_30112025_02_42_24_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012080","file1":"1397012079","file0":"1397012078","file4":"1397012084","file5":"1397012088","file3":"1397012081"},"map_files_photo_id_array":[{"photo_id":"1397012088","filename":"file5"},{"photo_id":"1397012080","filename":"file2"},{"photo_id":"1397012084","filename":"file4"},{"photo_id":"1397012079","filename":"file1"},{"photo_id":"1397012078","filename":"file0"},{"photo_id":"1397012081","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012084":["hashtag1","hashtag2"]},{"1397012081":["hashtag1","hashtag2"]},{"1397012078":["hashtag1","hashtag2"]},{"1397012080":["hashtag1","hashtag2"]},{"1397012088":["hashtag1","hashtag2"]},{"1397012079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012084, 1397012081, 1397012078, 1397012080, 1397012088, 1397012079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31768441200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:27:42.725712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/34/image_31102025_11_34_43_2825.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_47_3718.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_49_2694.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_52_2740.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_56_3721.jpg', '/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_58_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/11/34/image_31102025_11_34_43_2825.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_47_3718.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_49_2694.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_52_2740.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_56_3721.jpg
/home/pi/Desktop/images/31102025/11/34/image_31102025_11_34_58_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":["1397012093","1397012096","1397012095","1397012098","1397012094","1397012097"],"photo_ids_order":["1397012093","1397012094","1397012095","1397012096","1397012097","1397012098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3c73f209bfbbe6782914fb718d2665b.jpg","text":"TemporaryFile(/tmp/multipartBody2672332267478519735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_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/30/77b65586dcfe4aedb0036732e33d4308.jpg","text":"TemporaryFile(/tmp/multipartBody7819756731985951655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7791612a6645f8a17af169d3b886a819.jpg","text":"TemporaryFile(/tmp/multipartBody6655952553957867646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a935fa0358eab14357b7cb5e297c595d.jpg","text":"TemporaryFile(/tmp/multipartBody5148551207006666924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_58_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/30/98f78a040d782279d7455ff5c4ba1dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3740118882868677549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_47_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/30/2ede5160f3bb58616f50e03ee01a4a4b.jpg","text":"TemporaryFile(/tmp/multipartBody669430434381168582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469723690,"filename":"image_31102025_11_34_56_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012095","file1":"1397012094","file0":"1397012093","file4":"1397012097","file5":"1397012098","file3":"1397012096"},"map_files_photo_id_array":[{"photo_id":"1397012098","filename":"file5"},{"photo_id":"1397012095","filename":"file2"},{"photo_id":"1397012097","filename":"file4"},{"photo_id":"1397012094","filename":"file1"},{"photo_id":"1397012093","filename":"file0"},{"photo_id":"1397012096","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012093":["hashtag1","hashtag2"]},{"1397012096":["hashtag1","hashtag2"]},{"1397012095":["hashtag1","hashtag2"]},{"1397012098":["hashtag1","hashtag2"]},{"1397012094":["hashtag1","hashtag2"]},{"1397012097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012093, 1397012096, 1397012095, 1397012098, 1397012094, 1397012097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.308680295944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:28:21.926508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_15_9723.jpg', '/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_24_9718.jpg', '/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_35_10667.jpg', '/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_45_9794.jpg', '/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_54_9644.jpg', '/home/pi/Desktop/images/30112025/02/43/image_30112025_02_44_05_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_15_9723.jpg
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_24_9718.jpg
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_35_10667.jpg
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_45_9794.jpg
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_43_54_9644.jpg
/home/pi/Desktop/images/30112025/02/43/image_30112025_02_44_05_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012112","1397012109","1397012113","1397012107","1397012101","1397012104"],"photo_ids_order":["1397012101","1397012104","1397012107","1397012109","1397012112","1397012113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99f057376e1bcf3e70f7ad1ba6ef3361.jpg","text":"TemporaryFile(/tmp/multipartBody523628126269615379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_43_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc111e3bfe4ac19d7aed3c4fa1139a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7796387260921096994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_43_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dac14eb7795784c7c7e749723dcd35c.jpg","text":"TemporaryFile(/tmp/multipartBody6462708848299593799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_44_05_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d50a405fbd268c462930972f04ca7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8520829248933458980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_43_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de0de3a7e5fcdd43cfedb2d5e22bd822.jpg","text":"TemporaryFile(/tmp/multipartBody219636287802040792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_43_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/444f72612df5d6fa58882a38ee1f0b45.jpg","text":"TemporaryFile(/tmp/multipartBody1017400999715499894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469762632,"filename":"image_30112025_02_43_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012107","file1":"1397012104","file0":"1397012101","file4":"1397012112","file5":"1397012113","file3":"1397012109"},"map_files_photo_id_array":[{"photo_id":"1397012113","filename":"file5"},{"photo_id":"1397012107","filename":"file2"},{"photo_id":"1397012112","filename":"file4"},{"photo_id":"1397012104","filename":"file1"},{"photo_id":"1397012101","filename":"file0"},{"photo_id":"1397012109","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012112":["hashtag1","hashtag2"]},{"1397012109":["hashtag1","hashtag2"]},{"1397012113":["hashtag1","hashtag2"]},{"1397012107":["hashtag1","hashtag2"]},{"1397012101":["hashtag1","hashtag2"]},{"1397012104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012112, 1397012109, 1397012113, 1397012107, 1397012101, 1397012104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57710409164429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:29:03.090839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_15_9738.jpg', '/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_24_9695.jpg', '/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_35_10590.jpg', '/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_45_9583.jpg', '/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_54_9589.jpg', '/home/pi/Desktop/images/30112025/02/44/image_30112025_02_45_05_10905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_15_9738.jpg
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_24_9695.jpg
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_35_10590.jpg
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_45_9583.jpg
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_44_54_9589.jpg
/home/pi/Desktop/images/30112025/02/44/image_30112025_02_45_05_10905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012124","1397012118","1397012115","1397012120","1397012114","1397012116"],"photo_ids_order":["1397012114","1397012115","1397012116","1397012118","1397012120","1397012124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b05e4205ab421a7a362313c835891ef.jpg","text":"TemporaryFile(/tmp/multipartBody4546158240021938149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_45_05_10905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c9e0e5a7e45095f688126f7c2658515.jpg","text":"TemporaryFile(/tmp/multipartBody7333841431912628741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_44_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4d0aef76a24026646bc4ae03342b391.jpg","text":"TemporaryFile(/tmp/multipartBody6167588279426255633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_44_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4614756ac463c063ca54943128fcde2.jpg","text":"TemporaryFile(/tmp/multipartBody2634663083752965982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_44_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27175e284124488f0786ee278076424e.jpg","text":"TemporaryFile(/tmp/multipartBody8677051333816219265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_44_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e19343e5d9d626cdc54af592befbbaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2302043808622311965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469804018,"filename":"image_30112025_02_44_35_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012116","file1":"1397012115","file0":"1397012114","file4":"1397012120","file5":"1397012124","file3":"1397012118"},"map_files_photo_id_array":[{"photo_id":"1397012124","filename":"file5"},{"photo_id":"1397012116","filename":"file2"},{"photo_id":"1397012120","filename":"file4"},{"photo_id":"1397012115","filename":"file1"},{"photo_id":"1397012114","filename":"file0"},{"photo_id":"1397012118","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012124":["hashtag1","hashtag2"]},{"1397012118":["hashtag1","hashtag2"]},{"1397012115":["hashtag1","hashtag2"]},{"1397012120":["hashtag1","hashtag2"]},{"1397012114":["hashtag1","hashtag2"]},{"1397012116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012124, 1397012118, 1397012115, 1397012120, 1397012114, 1397012116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9942421913147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:29:42.150068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/35/image_31102025_11_35_07_3013.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_10_3111.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_17_2655.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_19_2581.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_23_3764.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_26_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/11/35/image_31102025_11_35_07_3013.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_10_3111.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_17_2655.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_19_2581.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_23_3764.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_26_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":["1397012133","1397012135","1397012132","1397012134","1397012137","1397012136"],"photo_ids_order":["1397012132","1397012133","1397012134","1397012135","1397012136","1397012137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b97f4719cfbf528141cad3947c5408f.jpg","text":"TemporaryFile(/tmp/multipartBody365666315969852919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_10_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/30/10cde58f3f03a8a349ff207142e840ae.jpg","text":"TemporaryFile(/tmp/multipartBody3263546555976739118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_19_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/30/a9568d90c2c13f165e6e325e24b30a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2196078153796577904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_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/30/e668da2b35be2e2339b6a54b90d5be22.jpg","text":"TemporaryFile(/tmp/multipartBody2576775000252954207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_17_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/30/ef83af8968619884b40801f7df19f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody3473793950863966272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_26_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3bfce5a6a8f563b4e4ea0bd2f83b97e3.jpg","text":"TemporaryFile(/tmp/multipartBody1529177612372452754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469843110,"filename":"image_31102025_11_35_23_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012134","file1":"1397012133","file0":"1397012132","file4":"1397012136","file5":"1397012137","file3":"1397012135"},"map_files_photo_id_array":[{"photo_id":"1397012137","filename":"file5"},{"photo_id":"1397012134","filename":"file2"},{"photo_id":"1397012136","filename":"file4"},{"photo_id":"1397012133","filename":"file1"},{"photo_id":"1397012132","filename":"file0"},{"photo_id":"1397012135","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012133":["hashtag1","hashtag2"]},{"1397012135":["hashtag1","hashtag2"]},{"1397012132":["hashtag1","hashtag2"]},{"1397012134":["hashtag1","hashtag2"]},{"1397012137":["hashtag1","hashtag2"]},{"1397012136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012133, 1397012135, 1397012132, 1397012134, 1397012137, 1397012136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.284647941589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:30:22.375293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_15_9690.jpg', '/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_24_9754.jpg', '/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_35_10541.jpg', '/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_45_9742.jpg', '/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_54_9656.jpg', '/home/pi/Desktop/images/30112025/02/45/image_30112025_02_46_05_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_15_9690.jpg
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_24_9754.jpg
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_35_10541.jpg
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_45_9742.jpg
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_45_54_9656.jpg
/home/pi/Desktop/images/30112025/02/45/image_30112025_02_46_05_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012151","1397012139","1397012153","1397012147","1397012144","1397012142"],"photo_ids_order":["1397012139","1397012142","1397012144","1397012147","1397012151","1397012153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f06299c361104656c5a7183ebc9f269.jpg","text":"TemporaryFile(/tmp/multipartBody3684898910478939610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_45_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/951b7e5804721ca25b5282409058be8d.jpg","text":"TemporaryFile(/tmp/multipartBody1572008482143275173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_45_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95122b0f39a3ff8c42f1e1f62ef9a3e1.jpg","text":"TemporaryFile(/tmp/multipartBody3697691901059865216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_46_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e27143c283ba1d15d50419203b82459.jpg","text":"TemporaryFile(/tmp/multipartBody1856939980922640918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_45_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75657bb294ee0b7904f7313ffb546799.jpg","text":"TemporaryFile(/tmp/multipartBody7250991165104668624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_45_35_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e6526e224d6cfab8e5efa1a281f2545.jpg","text":"TemporaryFile(/tmp/multipartBody2913240701833891048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469883113,"filename":"image_30112025_02_45_24_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012144","file1":"1397012142","file0":"1397012139","file4":"1397012151","file5":"1397012153","file3":"1397012147"},"map_files_photo_id_array":[{"photo_id":"1397012153","filename":"file5"},{"photo_id":"1397012144","filename":"file2"},{"photo_id":"1397012151","filename":"file4"},{"photo_id":"1397012142","filename":"file1"},{"photo_id":"1397012139","filename":"file0"},{"photo_id":"1397012147","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012151":["hashtag1","hashtag2"]},{"1397012139":["hashtag1","hashtag2"]},{"1397012153":["hashtag1","hashtag2"]},{"1397012147":["hashtag1","hashtag2"]},{"1397012144":["hashtag1","hashtag2"]},{"1397012142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012151, 1397012139, 1397012153, 1397012147, 1397012144, 1397012142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02860069274902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:31:03.235692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_15_9601.jpg', '/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_24_9658.jpg', '/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_35_10542.jpg', '/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_44_9540.jpg', '/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_54_9804.jpg', '/home/pi/Desktop/images/30112025/02/46/image_30112025_02_47_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_15_9601.jpg
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_24_9658.jpg
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_35_10542.jpg
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_44_9540.jpg
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_46_54_9804.jpg
/home/pi/Desktop/images/30112025/02/46/image_30112025_02_47_05_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012156","1397012161","1397012164","1397012158","1397012155","1397012154"],"photo_ids_order":["1397012154","1397012155","1397012156","1397012158","1397012161","1397012164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6760fa08faa320ba2f52b3ffc09c9a31.jpg","text":"TemporaryFile(/tmp/multipartBody7236235779385092615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_46_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f2e116dda8c1aa93d58d8027fa865e3.jpg","text":"TemporaryFile(/tmp/multipartBody6185711411272605409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_46_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9482e33fc9e710e72756bef9cb992dff.jpg","text":"TemporaryFile(/tmp/multipartBody3767063405185259456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_47_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae4267fb276cc36f592375153c605e49.jpg","text":"TemporaryFile(/tmp/multipartBody5975535075931122078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_46_44_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d620f1216c6bca07529013e196e71561.jpg","text":"TemporaryFile(/tmp/multipartBody2808042063844442298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_46_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/678a83b616e93913436b33b55cb24bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1344946719740587893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469923995,"filename":"image_30112025_02_46_15_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012156","file1":"1397012155","file0":"1397012154","file4":"1397012161","file5":"1397012164","file3":"1397012158"},"map_files_photo_id_array":[{"photo_id":"1397012164","filename":"file5"},{"photo_id":"1397012156","filename":"file2"},{"photo_id":"1397012161","filename":"file4"},{"photo_id":"1397012155","filename":"file1"},{"photo_id":"1397012154","filename":"file0"},{"photo_id":"1397012158","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012156":["hashtag1","hashtag2"]},{"1397012161":["hashtag1","hashtag2"]},{"1397012164":["hashtag1","hashtag2"]},{"1397012158":["hashtag1","hashtag2"]},{"1397012155":["hashtag1","hashtag2"]},{"1397012154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012156, 1397012161, 1397012164, 1397012158, 1397012155, 1397012154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.356001138687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:32:03.057705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_15_9792.jpg', '/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_24_9659.jpg', '/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_35_10605.jpg', '/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_45_9998.jpg', '/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_55_9730.jpg', '/home/pi/Desktop/images/30112025/02/47/image_30112025_02_48_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_15_9792.jpg
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_24_9659.jpg
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_35_10605.jpg
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_45_9998.jpg
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_47_55_9730.jpg
/home/pi/Desktop/images/30112025/02/47/image_30112025_02_48_04_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012171","1397012174","1397012176","1397012170","1397012173","1397012172"],"photo_ids_order":["1397012170","1397012171","1397012172","1397012173","1397012174","1397012176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07d2dd3702f6b04fe8c7c513b4c1abbd.jpg","text":"TemporaryFile(/tmp/multipartBody3734958537715002802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_47_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccfc99cd4624493a40a8b598c5def480.jpg","text":"TemporaryFile(/tmp/multipartBody7685443888858085271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_47_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7ff1654e7e9b5b20c6b54b2e6b16c10.jpg","text":"TemporaryFile(/tmp/multipartBody1366275858943587846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_48_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d3cc7abeb83d27596ddf295406dfa1c.jpg","text":"TemporaryFile(/tmp/multipartBody6430684770381346947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_47_15_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/568a1d44e5dc2d79c27ca99483c845fe.jpg","text":"TemporaryFile(/tmp/multipartBody3382143910290990842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_47_45_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ceccfc5b88851ec80796bfd4c42b4afa.jpg","text":"TemporaryFile(/tmp/multipartBody341188957963010321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764469983775,"filename":"image_30112025_02_47_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012172","file1":"1397012171","file0":"1397012170","file4":"1397012174","file5":"1397012176","file3":"1397012173"},"map_files_photo_id_array":[{"photo_id":"1397012176","filename":"file5"},{"photo_id":"1397012172","filename":"file2"},{"photo_id":"1397012174","filename":"file4"},{"photo_id":"1397012171","filename":"file1"},{"photo_id":"1397012170","filename":"file0"},{"photo_id":"1397012173","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012171":["hashtag1","hashtag2"]},{"1397012174":["hashtag1","hashtag2"]},{"1397012176":["hashtag1","hashtag2"]},{"1397012170":["hashtag1","hashtag2"]},{"1397012173":["hashtag1","hashtag2"]},{"1397012172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012171, 1397012174, 1397012176, 1397012170, 1397012173, 1397012172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66311955451965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:32:42.690532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/35/image_31102025_11_35_28_2646.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_32_3743.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_35_2751.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_37_2685.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_40_2714.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_44_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_28_2646.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_32_3743.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_35_2751.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_37_2685.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_40_2714.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_44_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":["1397012183","1397012186","1397012182","1397012185","1397012181","1397012184"],"photo_ids_order":["1397012181","1397012182","1397012183","1397012184","1397012185","1397012186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc7d0bd069946d94bb602e899ebe6fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2143764489504254931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_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/30/cee10e75accf698fd5d820addaaea357.jpg","text":"TemporaryFile(/tmp/multipartBody2144747744123630236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_44_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/30/804574478fc493496e61d7f1476bef2b.jpg","text":"TemporaryFile(/tmp/multipartBody1262276622218231449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_32_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f39773333367a698f6795aabc0bbb85.jpg","text":"TemporaryFile(/tmp/multipartBody2283777327482235749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_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/30/ecc4e5f7d442276a7d69973c2b003cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7549833749531195612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_28_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/30/b2a027d96949ede3050756785d43d905.jpg","text":"TemporaryFile(/tmp/multipartBody886507091245078064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470023646,"filename":"image_31102025_11_35_37_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012183","file1":"1397012182","file0":"1397012181","file4":"1397012185","file5":"1397012186","file3":"1397012184"},"map_files_photo_id_array":[{"photo_id":"1397012186","filename":"file5"},{"photo_id":"1397012183","filename":"file2"},{"photo_id":"1397012185","filename":"file4"},{"photo_id":"1397012182","filename":"file1"},{"photo_id":"1397012181","filename":"file0"},{"photo_id":"1397012184","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012183":["hashtag1","hashtag2"]},{"1397012186":["hashtag1","hashtag2"]},{"1397012182":["hashtag1","hashtag2"]},{"1397012185":["hashtag1","hashtag2"]},{"1397012181":["hashtag1","hashtag2"]},{"1397012184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012183, 1397012186, 1397012182, 1397012185, 1397012181, 1397012184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.824156284332275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:33:24.744410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_14_9871.jpg', '/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_25_10700.jpg', '/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_35_9640.jpg', '/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_44_9640.jpg', '/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_55_10588.jpg', '/home/pi/Desktop/images/30112025/02/48/image_30112025_02_49_05_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_14_9871.jpg
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_25_10700.jpg
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_35_9640.jpg
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_44_9640.jpg
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_48_55_10588.jpg
/home/pi/Desktop/images/30112025/02/48/image_30112025_02_49_05_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012198","1397012201","1397012200","1397012190","1397012193","1397012196"],"photo_ids_order":["1397012190","1397012193","1397012196","1397012198","1397012200","1397012201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e751895b438e8bf98b852101565733ef.jpg","text":"TemporaryFile(/tmp/multipartBody1202006560161136845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_48_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0dc51fc9a2fc2bee0c4a3daf23db769.jpg","text":"TemporaryFile(/tmp/multipartBody1790761850454284221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_49_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58a54b7fe79d21533fb50579cb502f55.jpg","text":"TemporaryFile(/tmp/multipartBody7210429882781571847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_48_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bdfcd35738b89fba7b23675e90ee29b.jpg","text":"TemporaryFile(/tmp/multipartBody8562421654419859954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_48_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/295dddca664f8a0f7cbd01e98c322e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2620457871229686155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_48_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e886681609e1d9e1acfd4360b9c9227e.jpg","text":"TemporaryFile(/tmp/multipartBody6961437642574873315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470065453,"filename":"image_30112025_02_48_35_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012196","file1":"1397012193","file0":"1397012190","file4":"1397012200","file5":"1397012201","file3":"1397012198"},"map_files_photo_id_array":[{"photo_id":"1397012201","filename":"file5"},{"photo_id":"1397012196","filename":"file2"},{"photo_id":"1397012200","filename":"file4"},{"photo_id":"1397012193","filename":"file1"},{"photo_id":"1397012190","filename":"file0"},{"photo_id":"1397012198","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012198":["hashtag1","hashtag2"]},{"1397012201":["hashtag1","hashtag2"]},{"1397012200":["hashtag1","hashtag2"]},{"1397012190":["hashtag1","hashtag2"]},{"1397012193":["hashtag1","hashtag2"]},{"1397012196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012198, 1397012201, 1397012200, 1397012190, 1397012193, 1397012196)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.497138023376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:34:12.206206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_28_2704.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_31_3575.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_34_2584.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_36_2653.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_40_3670.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_43_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_28_2704.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_31_3575.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_34_2584.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_36_2653.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_40_3670.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_43_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012208","1397012202","1397012210","1397012204","1397012212","1397012206"],"photo_ids_order":["1397012202","1397012204","1397012206","1397012208","1397012210","1397012212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23d67b2e5d261dd1b33d6379658b2abb.jpg","text":"TemporaryFile(/tmp/multipartBody7578106330169568610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_37_36_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6added97f2d7aa4889525bb22fda2e6.jpg","text":"TemporaryFile(/tmp/multipartBody9087093742272481767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_37_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/30/fb33ccb31b0f444b1cd8a53836215104.jpg","text":"TemporaryFile(/tmp/multipartBody1006040602065087875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_37_40_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d0485699e7a30606ea69c059f636cb.jpg","text":"TemporaryFile(/tmp/multipartBody4412620984866073438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_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/30/1c83f4fcd38a2d09a6c059fba653df44.jpg","text":"TemporaryFile(/tmp/multipartBody6483450688813679475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_37_43_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/30/7eeec14ee4950e86734335a25eb9c0fb.jpg","text":"TemporaryFile(/tmp/multipartBody972491725886289347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470113899,"filename":"image_25112025_19_37_34_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012206","file1":"1397012204","file0":"1397012202","file4":"1397012210","file5":"1397012212","file3":"1397012208"},"map_files_photo_id_array":[{"photo_id":"1397012212","filename":"file5"},{"photo_id":"1397012206","filename":"file2"},{"photo_id":"1397012210","filename":"file4"},{"photo_id":"1397012204","filename":"file1"},{"photo_id":"1397012202","filename":"file0"},{"photo_id":"1397012208","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012208":["hashtag1","hashtag2"]},{"1397012202":["hashtag1","hashtag2"]},{"1397012210":["hashtag1","hashtag2"]},{"1397012204":["hashtag1","hashtag2"]},{"1397012212":["hashtag1","hashtag2"]},{"1397012206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012208, 1397012202, 1397012210, 1397012204, 1397012212, 1397012206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04928660392761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:35:02.728835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_14_9598.jpg', '/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_25_10724.jpg', '/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_35_9763.jpg', '/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_44_9779.jpg', '/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_54_9688.jpg', '/home/pi/Desktop/images/30112025/02/49/image_30112025_02_50_05_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_14_9598.jpg
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_25_10724.jpg
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_35_9763.jpg
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_44_9779.jpg
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_49_54_9688.jpg
/home/pi/Desktop/images/30112025/02/49/image_30112025_02_50_05_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012217","1397012222","1397012216","1397012225","1397012219","1397012215"],"photo_ids_order":["1397012215","1397012216","1397012217","1397012219","1397012222","1397012225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82a2f357ec7d5b84d1366958fda02c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2729899431272382398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_49_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c64702c14abb14cb6fb9d06948b8ea6b.jpg","text":"TemporaryFile(/tmp/multipartBody8334691804472404211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_49_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19ac10ad36957ae3a75dd832f4d7c81a.jpg","text":"TemporaryFile(/tmp/multipartBody7058883669743399402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_49_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2bb166045411bba5afcd39941c848b51.jpg","text":"TemporaryFile(/tmp/multipartBody2371363561365015781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_50_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/428e1cc136689c3ff78649a9ce8e656f.jpg","text":"TemporaryFile(/tmp/multipartBody5020521785068481512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_49_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1afcf2bb2d3533c1bbd3bb233c57dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6040210224253776511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470165107,"filename":"image_30112025_02_49_14_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012217","file1":"1397012216","file0":"1397012215","file4":"1397012222","file5":"1397012225","file3":"1397012219"},"map_files_photo_id_array":[{"photo_id":"1397012225","filename":"file5"},{"photo_id":"1397012217","filename":"file2"},{"photo_id":"1397012222","filename":"file4"},{"photo_id":"1397012216","filename":"file1"},{"photo_id":"1397012215","filename":"file0"},{"photo_id":"1397012219","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012217":["hashtag1","hashtag2"]},{"1397012222":["hashtag1","hashtag2"]},{"1397012216":["hashtag1","hashtag2"]},{"1397012225":["hashtag1","hashtag2"]},{"1397012219":["hashtag1","hashtag2"]},{"1397012215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012217, 1397012222, 1397012216, 1397012225, 1397012219, 1397012215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4494526386261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:35:42.305918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/35/image_31102025_11_35_47_2782.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_49_2798.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_52_2893.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_55_2667.jpg', '/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_59_3570.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_01_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/11/35/image_31102025_11_35_47_2782.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_49_2798.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_52_2893.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_55_2667.jpg
/home/pi/Desktop/images/31102025/11/35/image_31102025_11_35_59_3570.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_01_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012232","1397012234","1397012228","1397012233","1397012236","1397012235"],"photo_ids_order":["1397012228","1397012232","1397012233","1397012234","1397012235","1397012236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e7ce83185fc55326818723773bd3d9e.jpg","text":"TemporaryFile(/tmp/multipartBody5256339953764791065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_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/30/8911bdb4d0113baec6f8a764d5a24430.jpg","text":"TemporaryFile(/tmp/multipartBody1622468697654196250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_35_55_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/30/3fa3adfd9b12bc3032e55cbb5b63676d.jpg","text":"TemporaryFile(/tmp/multipartBody3078004801434188878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_35_47_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/30/f7814566a6b37ec42141752277703774.jpg","text":"TemporaryFile(/tmp/multipartBody5932327033340512633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_35_52_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/30/68547548dd4fe042b99fdb6980b946a0.jpg","text":"TemporaryFile(/tmp/multipartBody8310617285996030054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_36_01_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5bdcc4c241270018aa80fd1af77f7d7.jpg","text":"TemporaryFile(/tmp/multipartBody179022756411814820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470203258,"filename":"image_31102025_11_35_59_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012233","file1":"1397012232","file0":"1397012228","file4":"1397012235","file5":"1397012236","file3":"1397012234"},"map_files_photo_id_array":[{"photo_id":"1397012236","filename":"file5"},{"photo_id":"1397012233","filename":"file2"},{"photo_id":"1397012235","filename":"file4"},{"photo_id":"1397012232","filename":"file1"},{"photo_id":"1397012228","filename":"file0"},{"photo_id":"1397012234","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012232":["hashtag1","hashtag2"]},{"1397012234":["hashtag1","hashtag2"]},{"1397012228":["hashtag1","hashtag2"]},{"1397012233":["hashtag1","hashtag2"]},{"1397012236":["hashtag1","hashtag2"]},{"1397012235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012232, 1397012234, 1397012228, 1397012233, 1397012236, 1397012235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73601150512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:36:22.488927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_15_9807.jpg', '/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_24_9662.jpg', '/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_34_9735.jpg', '/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_45_10604.jpg', '/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_54_9695.jpg', '/home/pi/Desktop/images/30112025/02/50/image_30112025_02_51_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_15_9807.jpg
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_24_9662.jpg
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_34_9735.jpg
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_45_10604.jpg
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_50_54_9695.jpg
/home/pi/Desktop/images/30112025/02/50/image_30112025_02_51_04_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012244","1397012247","1397012242","1397012239","1397012248","1397012241"],"photo_ids_order":["1397012239","1397012241","1397012242","1397012244","1397012247","1397012248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5604f8d9badd0b8691bbd65831edd74a.jpg","text":"TemporaryFile(/tmp/multipartBody6806393868911051923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_50_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35b7f65bdec0a08934a9aed552dd3ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4108094197782006023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_50_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fdc159f65a6046a788fa147e2f637e7.jpg","text":"TemporaryFile(/tmp/multipartBody5546057868718994514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_50_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1553e98b1409ccd2e83ea2fe209031c6.jpg","text":"TemporaryFile(/tmp/multipartBody7663447580025061791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_50_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8d35f75158299ea7cf3c047c9837f86.jpg","text":"TemporaryFile(/tmp/multipartBody2930407603233664945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_51_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c43b533fdedaf096f594fa804dd47be0.jpg","text":"TemporaryFile(/tmp/multipartBody3961111864621208663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470243187,"filename":"image_30112025_02_50_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012242","file1":"1397012241","file0":"1397012239","file4":"1397012247","file5":"1397012248","file3":"1397012244"},"map_files_photo_id_array":[{"photo_id":"1397012248","filename":"file5"},{"photo_id":"1397012242","filename":"file2"},{"photo_id":"1397012247","filename":"file4"},{"photo_id":"1397012241","filename":"file1"},{"photo_id":"1397012239","filename":"file0"},{"photo_id":"1397012244","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012244":["hashtag1","hashtag2"]},{"1397012247":["hashtag1","hashtag2"]},{"1397012242":["hashtag1","hashtag2"]},{"1397012239":["hashtag1","hashtag2"]},{"1397012248":["hashtag1","hashtag2"]},{"1397012241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012244, 1397012247, 1397012242, 1397012239, 1397012248, 1397012241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.988051652908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:37:03.385245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_15_10696.jpg', '/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_24_9672.jpg', '/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_35_10605.jpg', '/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_45_9591.jpg', '/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_54_9651.jpg', '/home/pi/Desktop/images/30112025/02/51/image_30112025_02_52_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_15_10696.jpg
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_24_9672.jpg
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_35_10605.jpg
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_45_9591.jpg
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_51_54_9651.jpg
/home/pi/Desktop/images/30112025/02/51/image_30112025_02_52_05_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012250","1397012258","1397012252","1397012255","1397012249","1397012251"],"photo_ids_order":["1397012249","1397012250","1397012251","1397012252","1397012255","1397012258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dbe3bdf243bff33c024c5dd1ac302ac.jpg","text":"TemporaryFile(/tmp/multipartBody8975053739923714611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_51_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e4bf91653af24ce2674b9fb42a5915b.jpg","text":"TemporaryFile(/tmp/multipartBody2653143146770888601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_52_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c6b5ab4709e45b67b9bfe3d8907f77f.jpg","text":"TemporaryFile(/tmp/multipartBody7631062484468893339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_51_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/918e58f1fd6aa2cc415f1da9cc5db1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3700899354932670329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_51_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e9f1fb090e047a5801f6ebc0c9ab823.jpg","text":"TemporaryFile(/tmp/multipartBody8079018581842064588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_51_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc6847e3acc70a09f5afcdda58176d07.jpg","text":"TemporaryFile(/tmp/multipartBody6302811551778538465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470284202,"filename":"image_30112025_02_51_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012251","file1":"1397012250","file0":"1397012249","file4":"1397012255","file5":"1397012258","file3":"1397012252"},"map_files_photo_id_array":[{"photo_id":"1397012258","filename":"file5"},{"photo_id":"1397012251","filename":"file2"},{"photo_id":"1397012255","filename":"file4"},{"photo_id":"1397012250","filename":"file1"},{"photo_id":"1397012249","filename":"file0"},{"photo_id":"1397012252","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012250":["hashtag1","hashtag2"]},{"1397012258":["hashtag1","hashtag2"]},{"1397012252":["hashtag1","hashtag2"]},{"1397012255":["hashtag1","hashtag2"]},{"1397012249":["hashtag1","hashtag2"]},{"1397012251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012250, 1397012258, 1397012252, 1397012255, 1397012249, 1397012251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.795119524002075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:37:42.664525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/36/image_31102025_11_36_04_2647.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_08_3680.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_10_2773.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_13_2814.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_16_2687.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_20_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_04_2647.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_08_3680.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_10_2773.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_13_2814.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_16_2687.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_20_3886.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8872497081756592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:38:02.318938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_15_9703.jpg', '/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_24_9639.jpg', '/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_35_10611.jpg', '/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_45_10021.jpg', '/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_54_9548.jpg', '/home/pi/Desktop/images/30112025/02/52/image_30112025_02_53_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_15_9703.jpg
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_24_9639.jpg
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_35_10611.jpg
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_45_10021.jpg
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_52_54_9548.jpg
/home/pi/Desktop/images/30112025/02/52/image_30112025_02_53_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012270","1397012269","1397012272","1397012271","1397012274","1397012277"],"photo_ids_order":["1397012269","1397012270","1397012271","1397012272","1397012274","1397012277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eedd102040801c8107848dc985497772.jpg","text":"TemporaryFile(/tmp/multipartBody6336656279848254858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_52_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fadf45a88e7d29a5c308bfd4d5a2bad.jpg","text":"TemporaryFile(/tmp/multipartBody6231236686930468055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_52_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5af548e0fbf64ee7f0753bd1a7687f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5849042053064363087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_52_45_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/598e98ccfdbcd42cf1d2b407396eae4f.jpg","text":"TemporaryFile(/tmp/multipartBody948620858219425886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_52_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57170272df7732679ac5966d400ef3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1544508924088773757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_52_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55f56a225f17ae744efb527aa8216f3e.jpg","text":"TemporaryFile(/tmp/multipartBody450749098548991371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470343031,"filename":"image_30112025_02_53_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012271","file1":"1397012270","file0":"1397012269","file4":"1397012274","file5":"1397012277","file3":"1397012272"},"map_files_photo_id_array":[{"photo_id":"1397012277","filename":"file5"},{"photo_id":"1397012271","filename":"file2"},{"photo_id":"1397012274","filename":"file4"},{"photo_id":"1397012270","filename":"file1"},{"photo_id":"1397012269","filename":"file0"},{"photo_id":"1397012272","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012270":["hashtag1","hashtag2"]},{"1397012269":["hashtag1","hashtag2"]},{"1397012272":["hashtag1","hashtag2"]},{"1397012271":["hashtag1","hashtag2"]},{"1397012274":["hashtag1","hashtag2"]},{"1397012277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012270, 1397012269, 1397012272, 1397012271, 1397012274, 1397012277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32649898529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:38:41.802312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/36/image_31102025_11_36_04_2647.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_08_3680.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_10_2773.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_13_2814.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_16_2687.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_20_3886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_04_2647.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_08_3680.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_10_2773.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_13_2814.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_16_2687.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_20_3886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012291","1397012293","1397012290","1397012284","1397012292","1397012289"],"photo_ids_order":["1397012284","1397012289","1397012290","1397012291","1397012292","1397012293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c77739d53541bfe52cb64852057399e0.jpg","text":"TemporaryFile(/tmp/multipartBody1614900482654800928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_13_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb643f0284c489140b8eae74d7e3825f.jpg","text":"TemporaryFile(/tmp/multipartBody828924399724235186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_20_3886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed0b138402cc316b9180328e14833d48.jpg","text":"TemporaryFile(/tmp/multipartBody4886250795974233695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_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/30/13707c29097187daf15e85028ae536a1.jpg","text":"TemporaryFile(/tmp/multipartBody1454669586774128776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_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/30/683d8005b8a99dd6be0b1f74d01f773d.jpg","text":"TemporaryFile(/tmp/multipartBody8827760633906943495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_16_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/30/1ac3b21b7f6e6638edabb9bd38732ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1523503896624743825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470382641,"filename":"image_31102025_11_36_08_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012290","file1":"1397012289","file0":"1397012284","file4":"1397012292","file5":"1397012293","file3":"1397012291"},"map_files_photo_id_array":[{"photo_id":"1397012293","filename":"file5"},{"photo_id":"1397012290","filename":"file2"},{"photo_id":"1397012292","filename":"file4"},{"photo_id":"1397012289","filename":"file1"},{"photo_id":"1397012284","filename":"file0"},{"photo_id":"1397012291","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012291":["hashtag1","hashtag2"]},{"1397012293":["hashtag1","hashtag2"]},{"1397012290":["hashtag1","hashtag2"]},{"1397012284":["hashtag1","hashtag2"]},{"1397012292":["hashtag1","hashtag2"]},{"1397012289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012291, 1397012293, 1397012290, 1397012284, 1397012292, 1397012289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49105882644653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:39:22.027732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_15_10749.jpg', '/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_24_9605.jpg', '/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_35_10576.jpg', '/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_45_9657.jpg', '/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_54_9553.jpg', '/home/pi/Desktop/images/30112025/02/53/image_30112025_02_54_05_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_15_10749.jpg
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_24_9605.jpg
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_35_10576.jpg
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_45_9657.jpg
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_53_54_9553.jpg
/home/pi/Desktop/images/30112025/02/53/image_30112025_02_54_05_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012307","1397012301","1397012303","1397012296","1397012299","1397012305"],"photo_ids_order":["1397012296","1397012299","1397012301","1397012303","1397012305","1397012307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8cc8410cf5824834ea962f26c47b31c.jpg","text":"TemporaryFile(/tmp/multipartBody3782626346374273597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_54_05_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5af68cf268ea70757216b732e9a21d6d.jpg","text":"TemporaryFile(/tmp/multipartBody1155278787897150356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_53_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45690c30d1ec72bd179a5191f3f6f9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1995841094985524295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_53_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c28d866f4b1181475190c8a18937446.jpg","text":"TemporaryFile(/tmp/multipartBody1881100673725679035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_53_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be95b87ebc3348cb593895e3eb8732a7.jpg","text":"TemporaryFile(/tmp/multipartBody7503462585299596358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_53_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/088bed3d1e59681e6dc5821668012cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2415741184265955106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470422745,"filename":"image_30112025_02_53_54_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012301","file1":"1397012299","file0":"1397012296","file4":"1397012305","file5":"1397012307","file3":"1397012303"},"map_files_photo_id_array":[{"photo_id":"1397012307","filename":"file5"},{"photo_id":"1397012301","filename":"file2"},{"photo_id":"1397012305","filename":"file4"},{"photo_id":"1397012299","filename":"file1"},{"photo_id":"1397012296","filename":"file0"},{"photo_id":"1397012303","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012307":["hashtag1","hashtag2"]},{"1397012301":["hashtag1","hashtag2"]},{"1397012303":["hashtag1","hashtag2"]},{"1397012296":["hashtag1","hashtag2"]},{"1397012299":["hashtag1","hashtag2"]},{"1397012305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012307, 1397012301, 1397012303, 1397012296, 1397012299, 1397012305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72552847862244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:40:02.667039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_15_9930.jpg', '/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_25_9743.jpg', '/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_34_9602.jpg', '/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_44_9816.jpg', '/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_55_10729.jpg', '/home/pi/Desktop/images/30112025/02/54/image_30112025_02_55_05_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_15_9930.jpg
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_25_9743.jpg
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_34_9602.jpg
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_44_9816.jpg
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_54_55_10729.jpg
/home/pi/Desktop/images/30112025/02/54/image_30112025_02_55_05_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012316","1397012310","1397012313","1397012315","1397012309","1397012311"],"photo_ids_order":["1397012309","1397012310","1397012311","1397012313","1397012315","1397012316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/199c782d4ece1f60b928e16b9ab0f0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3248987186094789437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_55_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/844f3fa9307063358b4ed400743a7866.jpg","text":"TemporaryFile(/tmp/multipartBody19040606570673627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_54_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b47aa18b29ef32cb6f66f315e8d29c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2256205401304562558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_54_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/008663ef4aa67b9a2247d69c1488e720.jpg","text":"TemporaryFile(/tmp/multipartBody3475889932769779895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_54_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d42dae036c348924dc75011907eb401e.jpg","text":"TemporaryFile(/tmp/multipartBody4373070806143192645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_54_15_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae7873da7f1ac06791ebf038dc465be9.jpg","text":"TemporaryFile(/tmp/multipartBody1707144412217573274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470465960,"filename":"image_30112025_02_54_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012311","file1":"1397012310","file0":"1397012309","file4":"1397012315","file5":"1397012316","file3":"1397012313"},"map_files_photo_id_array":[{"photo_id":"1397012316","filename":"file5"},{"photo_id":"1397012311","filename":"file2"},{"photo_id":"1397012315","filename":"file4"},{"photo_id":"1397012310","filename":"file1"},{"photo_id":"1397012309","filename":"file0"},{"photo_id":"1397012313","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012316":["hashtag1","hashtag2"]},{"1397012310":["hashtag1","hashtag2"]},{"1397012313":["hashtag1","hashtag2"]},{"1397012315":["hashtag1","hashtag2"]},{"1397012309":["hashtag1","hashtag2"]},{"1397012311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012316, 1397012310, 1397012313, 1397012315, 1397012309, 1397012311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.367023229599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:40:42.284157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/36/image_31102025_11_36_22_2573.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_25_2691.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_29_3632.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_32_2779.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_34_2601.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_37_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_22_2573.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_25_2691.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_29_3632.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_32_2779.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_34_2601.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_37_2838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012325","1397012327","1397012321","1397012324","1397012323","1397012326"],"photo_ids_order":["1397012321","1397012323","1397012324","1397012325","1397012326","1397012327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e95bba3851c115d8de275a462dc702ab.jpg","text":"TemporaryFile(/tmp/multipartBody2620418444915701447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_32_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/30/3515d784f75177c1412caf526412b684.jpg","text":"TemporaryFile(/tmp/multipartBody3959950654744741603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_37_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/30/5e2e46b30fe8fcfe2ae6c9c0b55a8fdb.jpg","text":"TemporaryFile(/tmp/multipartBody6069230923629529193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_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/30/ad9a4124e3e950ae6383abfcb8195133.jpg","text":"TemporaryFile(/tmp/multipartBody61830234773919662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_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/30/26e82d01d11eeabee3093b83eff1c378.jpg","text":"TemporaryFile(/tmp/multipartBody3349661942533605792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_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/30/b4ff01cce87798bb3af8b5939ef5e580.jpg","text":"TemporaryFile(/tmp/multipartBody7193862786639420530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470503279,"filename":"image_31102025_11_36_34_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012324","file1":"1397012323","file0":"1397012321","file4":"1397012326","file5":"1397012327","file3":"1397012325"},"map_files_photo_id_array":[{"photo_id":"1397012327","filename":"file5"},{"photo_id":"1397012324","filename":"file2"},{"photo_id":"1397012326","filename":"file4"},{"photo_id":"1397012323","filename":"file1"},{"photo_id":"1397012321","filename":"file0"},{"photo_id":"1397012325","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012325":["hashtag1","hashtag2"]},{"1397012327":["hashtag1","hashtag2"]},{"1397012321":["hashtag1","hashtag2"]},{"1397012324":["hashtag1","hashtag2"]},{"1397012323":["hashtag1","hashtag2"]},{"1397012326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012325, 1397012327, 1397012321, 1397012324, 1397012323, 1397012326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254180669784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:41:22.463136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_14_9600.jpg', '/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_25_10583.jpg', '/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_35_9769.jpg', '/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_44_9663.jpg', '/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_55_10780.jpg', '/home/pi/Desktop/images/30112025/02/55/image_30112025_02_56_05_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_14_9600.jpg
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_25_10583.jpg
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_35_9769.jpg
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_44_9663.jpg
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_55_55_10780.jpg
/home/pi/Desktop/images/30112025/02/55/image_30112025_02_56_05_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012337","1397012333","1397012330","1397012338","1397012349","1397012340"],"photo_ids_order":["1397012330","1397012333","1397012337","1397012338","1397012340","1397012349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f04202ff8857a0bc7dec3da8697c44c.jpg","text":"TemporaryFile(/tmp/multipartBody4331441454230390323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_55_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10c626e96d15eb814dc770145619f705.jpg","text":"TemporaryFile(/tmp/multipartBody3372220095058873890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_55_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1363d41fbeffd1bcc6c93ac0c2e4eab0.jpg","text":"TemporaryFile(/tmp/multipartBody5459066603659659126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_55_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fefa0158d59c72ee438342217bdbc640.jpg","text":"TemporaryFile(/tmp/multipartBody5845003521242206113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_55_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4409d595903ac1c0d56635b38e9614e4.jpg","text":"TemporaryFile(/tmp/multipartBody6743738053193897132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_56_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2df93f365f325cb4bda1f04f42a4eba.jpg","text":"TemporaryFile(/tmp/multipartBody4269720715086151566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470543155,"filename":"image_30112025_02_55_55_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012337","file1":"1397012333","file0":"1397012330","file4":"1397012340","file5":"1397012349","file3":"1397012338"},"map_files_photo_id_array":[{"photo_id":"1397012349","filename":"file5"},{"photo_id":"1397012337","filename":"file2"},{"photo_id":"1397012340","filename":"file4"},{"photo_id":"1397012333","filename":"file1"},{"photo_id":"1397012330","filename":"file0"},{"photo_id":"1397012338","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012337":["hashtag1","hashtag2"]},{"1397012333":["hashtag1","hashtag2"]},{"1397012330":["hashtag1","hashtag2"]},{"1397012338":["hashtag1","hashtag2"]},{"1397012349":["hashtag1","hashtag2"]},{"1397012340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012337, 1397012333, 1397012330, 1397012338, 1397012349, 1397012340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3398220539093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:42:03.176078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_15_9824.jpg', '/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_24_9931.jpg', '/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_34_9714.jpg', '/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_45_10788.jpg', '/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_55_9596.jpg', '/home/pi/Desktop/images/30112025/02/56/image_30112025_02_57_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_15_9824.jpg
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_24_9931.jpg
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_34_9714.jpg
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_45_10788.jpg
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_56_55_9596.jpg
/home/pi/Desktop/images/30112025/02/56/image_30112025_02_57_04_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012358","1397012351","1397012350","1397012353","1397012352","1397012355"],"photo_ids_order":["1397012350","1397012351","1397012352","1397012353","1397012355","1397012358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8521b1e05f504a9a708cc4e2ecf8ad79.jpg","text":"TemporaryFile(/tmp/multipartBody1425665936341812294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_57_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a49a3a5f2d8fc5adfa75a1ba418d754.jpg","text":"TemporaryFile(/tmp/multipartBody576054730869121015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_56_24_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c7e832d18f07c2385850f5c04b48c23.jpg","text":"TemporaryFile(/tmp/multipartBody5457245706742695861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_56_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6457e0aa4aacbb9f235f731e41679238.jpg","text":"TemporaryFile(/tmp/multipartBody5793977077797584594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_56_45_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4f56543802524e4d67c73fe5305b34f.jpg","text":"TemporaryFile(/tmp/multipartBody1895178296797740281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_56_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d32bc63fd466c73c4ec698d40129674.jpg","text":"TemporaryFile(/tmp/multipartBody2175347823856038677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470583877,"filename":"image_30112025_02_56_55_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012352","file1":"1397012351","file0":"1397012350","file4":"1397012355","file5":"1397012358","file3":"1397012353"},"map_files_photo_id_array":[{"photo_id":"1397012358","filename":"file5"},{"photo_id":"1397012352","filename":"file2"},{"photo_id":"1397012355","filename":"file4"},{"photo_id":"1397012351","filename":"file1"},{"photo_id":"1397012350","filename":"file0"},{"photo_id":"1397012353","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012358":["hashtag1","hashtag2"]},{"1397012351":["hashtag1","hashtag2"]},{"1397012350":["hashtag1","hashtag2"]},{"1397012353":["hashtag1","hashtag2"]},{"1397012352":["hashtag1","hashtag2"]},{"1397012355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012358, 1397012351, 1397012350, 1397012353, 1397012352, 1397012355)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.56709432601929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:43:03.133197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_15_10760.jpg', '/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_25_9654.jpg', '/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_34_9544.jpg', '/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_45_10617.jpg', '/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_54_9699.jpg', '/home/pi/Desktop/images/30112025/02/57/image_30112025_02_58_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_15_10760.jpg
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_25_9654.jpg
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_34_9544.jpg
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_45_10617.jpg
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_57_54_9699.jpg
/home/pi/Desktop/images/30112025/02/57/image_30112025_02_58_04_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012366","1397012374","1397012368","1397012365","1397012370","1397012367"],"photo_ids_order":["1397012365","1397012366","1397012367","1397012368","1397012370","1397012374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32a23b0a0fce02c2261155308becbbe4.jpg","text":"TemporaryFile(/tmp/multipartBody4930320200327220084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_57_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f74f42acf8fc4457309f1136bd9dd401.jpg","text":"TemporaryFile(/tmp/multipartBody6047934517565757579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_58_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e49d804fdca42b39ef83ac4b46011c7.jpg","text":"TemporaryFile(/tmp/multipartBody5110159649734624877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_57_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcf329bdc582330c3880af3380a7b20e.jpg","text":"TemporaryFile(/tmp/multipartBody1540852980775997854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_57_15_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/192a7cea59baf2402d1d78a05c623b96.jpg","text":"TemporaryFile(/tmp/multipartBody7974830904124748793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_57_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60e9c28c868c77c4b2f91a0a2f731442.jpg","text":"TemporaryFile(/tmp/multipartBody3280982678379087824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470643863,"filename":"image_30112025_02_57_34_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012367","file1":"1397012366","file0":"1397012365","file4":"1397012370","file5":"1397012374","file3":"1397012368"},"map_files_photo_id_array":[{"photo_id":"1397012374","filename":"file5"},{"photo_id":"1397012367","filename":"file2"},{"photo_id":"1397012370","filename":"file4"},{"photo_id":"1397012366","filename":"file1"},{"photo_id":"1397012365","filename":"file0"},{"photo_id":"1397012368","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012366":["hashtag1","hashtag2"]},{"1397012374":["hashtag1","hashtag2"]},{"1397012368":["hashtag1","hashtag2"]},{"1397012365":["hashtag1","hashtag2"]},{"1397012370":["hashtag1","hashtag2"]},{"1397012367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012366, 1397012374, 1397012368, 1397012365, 1397012370, 1397012367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12982416152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:43:42.528569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/36/image_31102025_11_36_41_3784.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_43_2686.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_46_2859.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_49_2589.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_53_3772.jpg', '/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_55_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/11/36/image_31102025_11_36_41_3784.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_43_2686.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_46_2859.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_49_2589.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_53_3772.jpg
/home/pi/Desktop/images/31102025/11/36/image_31102025_11_36_55_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":["1397012381","1397012384","1397012386","1397012383","1397012385","1397012382"],"photo_ids_order":["1397012381","1397012382","1397012383","1397012384","1397012385","1397012386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69dee1067f148c6091e6d883695cba17.jpg","text":"TemporaryFile(/tmp/multipartBody7690995361669157099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_41_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/30/bce23e2f5e88d065ea2ee11a8dd8d00a.jpg","text":"TemporaryFile(/tmp/multipartBody916707288500062801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_49_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/832035a3378a3cd2c7bef50379724cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3715282010508762333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_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/30/1868d6067cbe760a541e0109d4cf7698.jpg","text":"TemporaryFile(/tmp/multipartBody3163928755235303839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_46_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/121d34c0cd34e33da1a004acbbe1a3c9.jpg","text":"TemporaryFile(/tmp/multipartBody6634015564298973062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_53_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/30/36daaf79516cf6fbd6a2ede6f0af0bed.jpg","text":"TemporaryFile(/tmp/multipartBody7945426733403225171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470683482,"filename":"image_31102025_11_36_43_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012383","file1":"1397012382","file0":"1397012381","file4":"1397012385","file5":"1397012386","file3":"1397012384"},"map_files_photo_id_array":[{"photo_id":"1397012386","filename":"file5"},{"photo_id":"1397012383","filename":"file2"},{"photo_id":"1397012385","filename":"file4"},{"photo_id":"1397012382","filename":"file1"},{"photo_id":"1397012381","filename":"file0"},{"photo_id":"1397012384","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012381":["hashtag1","hashtag2"]},{"1397012384":["hashtag1","hashtag2"]},{"1397012386":["hashtag1","hashtag2"]},{"1397012383":["hashtag1","hashtag2"]},{"1397012385":["hashtag1","hashtag2"]},{"1397012382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012381, 1397012384, 1397012386, 1397012383, 1397012385, 1397012382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43952965736389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:44:22.817227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_15_10688.jpg', '/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_25_9651.jpg', '/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_34_9664.jpg', '/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_45_10680.jpg', '/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_55_9669.jpg', '/home/pi/Desktop/images/30112025/02/58/image_30112025_02_59_04_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_15_10688.jpg
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_25_9651.jpg
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_34_9664.jpg
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_45_10680.jpg
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_58_55_9669.jpg
/home/pi/Desktop/images/30112025/02/58/image_30112025_02_59_04_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012403","1397012400","1397012395","1397012407","1397012397","1397012391"],"photo_ids_order":["1397012391","1397012395","1397012397","1397012400","1397012403","1397012407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/123c7ee30a935b8ff19997de2702b169.jpg","text":"TemporaryFile(/tmp/multipartBody5151039892346599879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_58_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b2d915e3cd678ee352f0953084dcfeb.jpg","text":"TemporaryFile(/tmp/multipartBody235100809135391297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_58_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65fc6e7b40724b0efacf7ef155b24a32.jpg","text":"TemporaryFile(/tmp/multipartBody6218885033609715854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_58_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f146dab34c3ef6aa96fda16037dd95a6.jpg","text":"TemporaryFile(/tmp/multipartBody8105690370626284073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_59_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8a281599ed7e79694ab2934c3571d01.jpg","text":"TemporaryFile(/tmp/multipartBody3191282192261600786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_58_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/660ec7d43eb3a9760130275cdab36204.jpg","text":"TemporaryFile(/tmp/multipartBody7566083460174924995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470723514,"filename":"image_30112025_02_58_15_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012397","file1":"1397012395","file0":"1397012391","file4":"1397012403","file5":"1397012407","file3":"1397012400"},"map_files_photo_id_array":[{"photo_id":"1397012407","filename":"file5"},{"photo_id":"1397012397","filename":"file2"},{"photo_id":"1397012403","filename":"file4"},{"photo_id":"1397012395","filename":"file1"},{"photo_id":"1397012391","filename":"file0"},{"photo_id":"1397012400","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012403":["hashtag1","hashtag2"]},{"1397012400":["hashtag1","hashtag2"]},{"1397012395":["hashtag1","hashtag2"]},{"1397012407":["hashtag1","hashtag2"]},{"1397012397":["hashtag1","hashtag2"]},{"1397012391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012403, 1397012400, 1397012395, 1397012407, 1397012397, 1397012391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79567265510559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:45:02.639541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_15_10568.jpg', '/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_24_9603.jpg', '/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_34_9663.jpg', '/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_45_10730.jpg', '/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_55_9791.jpg', '/home/pi/Desktop/images/30112025/02/59/image_30112025_03_00_04_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_15_10568.jpg
/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_24_9603.jpg
/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_34_9663.jpg
/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_45_10730.jpg
/home/pi/Desktop/images/30112025/02/59/image_30112025_02_59_55_9791.jpg
/home/pi/Desktop/images/30112025/02/59/image_30112025_03_00_04_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012412","1397012411","1397012414","1397012408","1397012417","1397012410"],"photo_ids_order":["1397012408","1397012410","1397012411","1397012412","1397012414","1397012417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa9c61d456c472b39cb9f2237f8908aa.jpg","text":"TemporaryFile(/tmp/multipartBody2564477960354764757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_02_59_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/627e9a43058599b2f94ca238630e24e3.jpg","text":"TemporaryFile(/tmp/multipartBody1316923280726372173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_02_59_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0d8f92b188966366bdb703e67d31166.jpg","text":"TemporaryFile(/tmp/multipartBody5174337081945165764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_02_59_55_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a535a725314dec449ab26f70936e304.jpg","text":"TemporaryFile(/tmp/multipartBody1569855890544512117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_02_59_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/440f57307d539ca27c73bcca46f0da49.jpg","text":"TemporaryFile(/tmp/multipartBody1797964512786010706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_03_00_04_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9885eeeab90263800c24da327f2c6e68.jpg","text":"TemporaryFile(/tmp/multipartBody4851580775807462428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470763372,"filename":"image_30112025_02_59_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012411","file1":"1397012410","file0":"1397012408","file4":"1397012414","file5":"1397012417","file3":"1397012412"},"map_files_photo_id_array":[{"photo_id":"1397012417","filename":"file5"},{"photo_id":"1397012411","filename":"file2"},{"photo_id":"1397012414","filename":"file4"},{"photo_id":"1397012410","filename":"file1"},{"photo_id":"1397012408","filename":"file0"},{"photo_id":"1397012412","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012412":["hashtag1","hashtag2"]},{"1397012411":["hashtag1","hashtag2"]},{"1397012414":["hashtag1","hashtag2"]},{"1397012408":["hashtag1","hashtag2"]},{"1397012417":["hashtag1","hashtag2"]},{"1397012410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012412, 1397012411, 1397012414, 1397012408, 1397012417, 1397012410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35006809234619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:45:41.989435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/37/image_31102025_11_37_02_3599.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_04_2828.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_08_3106.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_10_2663.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_13_2960.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_22_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/11/37/image_31102025_11_37_02_3599.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_04_2828.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_08_3106.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_10_2663.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_13_2960.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_22_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012424","1397012427","1397012426","1397012429","1397012425","1397012428"],"photo_ids_order":["1397012424","1397012425","1397012426","1397012427","1397012428","1397012429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54f24cb5e378564bec2aab87c365e053.jpg","text":"TemporaryFile(/tmp/multipartBody6654028893232904964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_02_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11b698e797154dbcb6c14692f2eb2005.jpg","text":"TemporaryFile(/tmp/multipartBody8334867346300195529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_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/30/4c6ef4b7213e5618fb4f379cc22efb68.jpg","text":"TemporaryFile(/tmp/multipartBody8122468043691352995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_08_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/30/485c3805a4f909a6ead8c559d83dabc9.jpg","text":"TemporaryFile(/tmp/multipartBody7609026917968987115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_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/30/dc83fde1a1619193e12adcb7bb52cb6c.jpg","text":"TemporaryFile(/tmp/multipartBody805109739155658490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_04_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a9b9e28c9fdb698a6e19c0803f53fce.jpg","text":"TemporaryFile(/tmp/multipartBody8610605755052324970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470803121,"filename":"image_31102025_11_37_13_2960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012426","file1":"1397012425","file0":"1397012424","file4":"1397012428","file5":"1397012429","file3":"1397012427"},"map_files_photo_id_array":[{"photo_id":"1397012429","filename":"file5"},{"photo_id":"1397012426","filename":"file2"},{"photo_id":"1397012428","filename":"file4"},{"photo_id":"1397012425","filename":"file1"},{"photo_id":"1397012424","filename":"file0"},{"photo_id":"1397012427","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012424":["hashtag1","hashtag2"]},{"1397012427":["hashtag1","hashtag2"]},{"1397012426":["hashtag1","hashtag2"]},{"1397012429":["hashtag1","hashtag2"]},{"1397012425":["hashtag1","hashtag2"]},{"1397012428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012424, 1397012427, 1397012426, 1397012429, 1397012425, 1397012428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27789521217346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:46:22.225049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_15_10649.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_25_9913.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_34_9524.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_45_10787.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_55_9668.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_01_04_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_15_10649.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_25_9913.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_34_9524.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_45_10787.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_55_9668.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_01_04_9578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.621356725692749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:46:32.151813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_45_2626.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_49_3869.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_52_2623.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_55_2845.jpg', '/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_57_2719.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_04_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_45_2626.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_49_3869.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_52_2623.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_55_2845.jpg
/home/pi/Desktop/images/25112025/19/37/image_25112025_19_37_57_2719.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_04_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012442","1397012439","1397012447","1397012449","1397012445","1397012448"],"photo_ids_order":["1397012439","1397012442","1397012445","1397012447","1397012448","1397012449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f289acc654e23b3e51f4fc4d435d524.jpg","text":"TemporaryFile(/tmp/multipartBody5751872363847892495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_37_49_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/30/07effb0187dde2b4b045f00361fe4585.jpg","text":"TemporaryFile(/tmp/multipartBody6855394244267729316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_37_45_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72c060847362315358de8e1421faabc9.jpg","text":"TemporaryFile(/tmp/multipartBody1694239756299589943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_37_55_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/30/d1e1e2a769ed710f37a8136ee128e70d.jpg","text":"TemporaryFile(/tmp/multipartBody8304029123073637432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_38_04_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/30/74da77da9e6fb2af9f2f62ffa82fb83f.jpg","text":"TemporaryFile(/tmp/multipartBody1575219635305411853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_37_52_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/30/069dc37341795787e0e17dc89dcc6648.jpg","text":"TemporaryFile(/tmp/multipartBody8287664699073161784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470854143,"filename":"image_25112025_19_37_57_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012445","file1":"1397012442","file0":"1397012439","file4":"1397012448","file5":"1397012449","file3":"1397012447"},"map_files_photo_id_array":[{"photo_id":"1397012449","filename":"file5"},{"photo_id":"1397012445","filename":"file2"},{"photo_id":"1397012448","filename":"file4"},{"photo_id":"1397012442","filename":"file1"},{"photo_id":"1397012439","filename":"file0"},{"photo_id":"1397012447","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012442":["hashtag1","hashtag2"]},{"1397012439":["hashtag1","hashtag2"]},{"1397012447":["hashtag1","hashtag2"]},{"1397012449":["hashtag1","hashtag2"]},{"1397012445":["hashtag1","hashtag2"]},{"1397012448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012442, 1397012439, 1397012447, 1397012449, 1397012445, 1397012448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03800702095032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 03:47:12.249319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_07_3620.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_10_2656.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_12_2512.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_16_3772.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_19_2686.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_21_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_07_3620.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_10_2656.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_12_2512.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_16_3772.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_19_2686.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_21_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":["1397012462","1397012456","1397012459","1397012450","1397012452","1397012454"],"photo_ids_order":["1397012450","1397012452","1397012454","1397012456","1397012459","1397012462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f85df806c53b9ce7b1c32308de8c87d9.jpg","text":"TemporaryFile(/tmp/multipartBody390368157147834374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_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/30/845b2de1a4d73bfb4178010166621813.jpg","text":"TemporaryFile(/tmp/multipartBody7803853971009021106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_16_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/30/682af0600f10b0034da6076e08055d25.jpg","text":"TemporaryFile(/tmp/multipartBody7836065547234511245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85c4eb4d483b223ced604dac952534c8.jpg","text":"TemporaryFile(/tmp/multipartBody8615039629309408397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_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/30/4b81db56837fb0fa325d21c0c2dbe184.jpg","text":"TemporaryFile(/tmp/multipartBody4483345260665078132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_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/30/d3b9953d841907a4355ebc478eb6bc86.jpg","text":"TemporaryFile(/tmp/multipartBody663551099597017517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470894126,"filename":"image_25112025_19_38_12_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012454","file1":"1397012452","file0":"1397012450","file4":"1397012459","file5":"1397012462","file3":"1397012456"},"map_files_photo_id_array":[{"photo_id":"1397012462","filename":"file5"},{"photo_id":"1397012454","filename":"file2"},{"photo_id":"1397012459","filename":"file4"},{"photo_id":"1397012452","filename":"file1"},{"photo_id":"1397012450","filename":"file0"},{"photo_id":"1397012456","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012462":["hashtag1","hashtag2"]},{"1397012456":["hashtag1","hashtag2"]},{"1397012459":["hashtag1","hashtag2"]},{"1397012450":["hashtag1","hashtag2"]},{"1397012452":["hashtag1","hashtag2"]},{"1397012454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012462, 1397012456, 1397012459, 1397012450, 1397012452, 1397012454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.595274448394775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:48:02.950648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_15_10649.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_25_9913.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_34_9524.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_45_10787.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_55_9668.jpg', '/home/pi/Desktop/images/30112025/03/00/image_30112025_03_01_04_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_15_10649.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_25_9913.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_34_9524.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_45_10787.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_00_55_9668.jpg
/home/pi/Desktop/images/30112025/03/00/image_30112025_03_01_04_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012480","1397012474","1397012477","1397012471","1397012473","1397012475"],"photo_ids_order":["1397012471","1397012473","1397012474","1397012475","1397012477","1397012480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abf3d277b5f5a3c04a43cb38932503cd.jpg","text":"TemporaryFile(/tmp/multipartBody2262534864271502513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_01_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a60e23d288b33fc026b7f99ef2417a0.jpg","text":"TemporaryFile(/tmp/multipartBody1930718536751558585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_00_34_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/671feab04307abe0897bfc7f571b0488.jpg","text":"TemporaryFile(/tmp/multipartBody98702592945023388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_00_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1417a21ef74bbb290c66968e9477fd34.jpg","text":"TemporaryFile(/tmp/multipartBody7582622063818118503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_00_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6146dfd903be8a3583d4d6a42451284.jpg","text":"TemporaryFile(/tmp/multipartBody6402315624985425790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_00_25_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bbdd51e7747809045691c20adc738a3.jpg","text":"TemporaryFile(/tmp/multipartBody3240506373826939857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764470943663,"filename":"image_30112025_03_00_45_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012474","file1":"1397012473","file0":"1397012471","file4":"1397012477","file5":"1397012480","file3":"1397012475"},"map_files_photo_id_array":[{"photo_id":"1397012480","filename":"file5"},{"photo_id":"1397012474","filename":"file2"},{"photo_id":"1397012477","filename":"file4"},{"photo_id":"1397012473","filename":"file1"},{"photo_id":"1397012471","filename":"file0"},{"photo_id":"1397012475","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012480":["hashtag1","hashtag2"]},{"1397012474":["hashtag1","hashtag2"]},{"1397012477":["hashtag1","hashtag2"]},{"1397012471":["hashtag1","hashtag2"]},{"1397012473":["hashtag1","hashtag2"]},{"1397012475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012480, 1397012474, 1397012477, 1397012471, 1397012473, 1397012475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22306299209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:48:42.498063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/37/image_31102025_11_37_29_2736.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_32_3208.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_34_2662.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_37_2816.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_40_2698.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_44_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_29_2736.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_32_3208.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_34_2662.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_37_2816.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_40_2698.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_44_3757.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.887540340423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:49:03.616815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_14_9848.jpg', '/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_25_10750.jpg', '/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_35_9692.jpg', '/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_44_9745.jpg', '/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_55_10703.jpg', '/home/pi/Desktop/images/30112025/03/01/image_30112025_03_02_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_14_9848.jpg
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_25_10750.jpg
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_35_9692.jpg
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_44_9745.jpg
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_01_55_10703.jpg
/home/pi/Desktop/images/30112025/03/01/image_30112025_03_02_05_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012492","1397012495","1397012491","1397012499","1397012490","1397012493"],"photo_ids_order":["1397012490","1397012491","1397012492","1397012493","1397012495","1397012499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf9d35ae2bb3e7139fdd48f8897248e1.jpg","text":"TemporaryFile(/tmp/multipartBody4145870500912995112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_01_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fde529b68b5e4132879a6d854d22e256.jpg","text":"TemporaryFile(/tmp/multipartBody3898961268760055323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_01_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d0935bf72d39c1a1a8529ce5efa23b3.jpg","text":"TemporaryFile(/tmp/multipartBody8147163473825251452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_01_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bad1cf6cf500371184b339dcf51c0a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8882191566459970417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_02_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b79c6963be01a4451d60d85490272b05.jpg","text":"TemporaryFile(/tmp/multipartBody3397565821759316939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_01_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf9e1bd6765d8f698c4ef4dc94a7231e.jpg","text":"TemporaryFile(/tmp/multipartBody8112245298060356609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471004419,"filename":"image_30112025_03_01_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012492","file1":"1397012491","file0":"1397012490","file4":"1397012495","file5":"1397012499","file3":"1397012493"},"map_files_photo_id_array":[{"photo_id":"1397012499","filename":"file5"},{"photo_id":"1397012492","filename":"file2"},{"photo_id":"1397012495","filename":"file4"},{"photo_id":"1397012491","filename":"file1"},{"photo_id":"1397012490","filename":"file0"},{"photo_id":"1397012493","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012492":["hashtag1","hashtag2"]},{"1397012495":["hashtag1","hashtag2"]},{"1397012491":["hashtag1","hashtag2"]},{"1397012499":["hashtag1","hashtag2"]},{"1397012490":["hashtag1","hashtag2"]},{"1397012493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012492, 1397012495, 1397012491, 1397012499, 1397012490, 1397012493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94285583496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:49:42.698691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/37/image_31102025_11_37_29_2736.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_32_3208.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_34_2662.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_37_2816.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_40_2698.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_44_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_29_2736.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_32_3208.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_34_2662.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_37_2816.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_40_2698.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_44_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012508","1397012505","1397012507","1397012504","1397012506","1397012509"],"photo_ids_order":["1397012504","1397012505","1397012506","1397012507","1397012508","1397012509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dec716df320a56cfb6fc41239e111bbb.jpg","text":"TemporaryFile(/tmp/multipartBody181895699838059913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6c97bcc7abecb5ce9bd060f31ba9271.jpg","text":"TemporaryFile(/tmp/multipartBody1878620203125995446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_32_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/30/7407635299716edb06a79b7783efad5a.jpg","text":"TemporaryFile(/tmp/multipartBody6301659412014068655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_37_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/30/c432f4d75f9bd3fcec0a294275762956.jpg","text":"TemporaryFile(/tmp/multipartBody4250564921011449280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_29_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/decffd3d0419eddaedc6f0da0c14e537.jpg","text":"TemporaryFile(/tmp/multipartBody527295784063653412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_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/30/9fd4fc59865a3e1fde74cb75c9f045ac.jpg","text":"TemporaryFile(/tmp/multipartBody1913821816644797962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471043503,"filename":"image_31102025_11_37_44_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012506","file1":"1397012505","file0":"1397012504","file4":"1397012508","file5":"1397012509","file3":"1397012507"},"map_files_photo_id_array":[{"photo_id":"1397012509","filename":"file5"},{"photo_id":"1397012506","filename":"file2"},{"photo_id":"1397012508","filename":"file4"},{"photo_id":"1397012505","filename":"file1"},{"photo_id":"1397012504","filename":"file0"},{"photo_id":"1397012507","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012508":["hashtag1","hashtag2"]},{"1397012505":["hashtag1","hashtag2"]},{"1397012507":["hashtag1","hashtag2"]},{"1397012504":["hashtag1","hashtag2"]},{"1397012506":["hashtag1","hashtag2"]},{"1397012509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012508, 1397012505, 1397012507, 1397012504, 1397012506, 1397012509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94736337661743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:50:21.818954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_14_9784.jpg', '/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_25_10614.jpg', '/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_35_9780.jpg', '/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_44_9598.jpg', '/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_54_9689.jpg', '/home/pi/Desktop/images/30112025/03/02/image_30112025_03_03_05_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_14_9784.jpg
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_25_10614.jpg
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_35_9780.jpg
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_44_9598.jpg
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_02_54_9689.jpg
/home/pi/Desktop/images/30112025/03/02/image_30112025_03_03_05_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012520","1397012522","1397012516","1397012524","1397012518","1397012512"],"photo_ids_order":["1397012512","1397012516","1397012518","1397012520","1397012522","1397012524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7eb516dc8614cd88272dec43f4c75731.jpg","text":"TemporaryFile(/tmp/multipartBody6471365675991369915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_02_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/255347662e7cd9903ceaf4fae529e506.jpg","text":"TemporaryFile(/tmp/multipartBody5253083052649085430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_02_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81c06b24be04ff734ccf0eb4cca3d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody7430944208928047845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_02_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60870f108d603dc5ab8695fdf577cbbc.jpg","text":"TemporaryFile(/tmp/multipartBody4524969880959287166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_03_05_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c54a1062a900c4f631240cda09221d3.jpg","text":"TemporaryFile(/tmp/multipartBody1565493652968008963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_02_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8f44a4969024679fbaa78f6d7349bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2359290973897464801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471082543,"filename":"image_30112025_03_02_14_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012518","file1":"1397012516","file0":"1397012512","file4":"1397012522","file5":"1397012524","file3":"1397012520"},"map_files_photo_id_array":[{"photo_id":"1397012524","filename":"file5"},{"photo_id":"1397012518","filename":"file2"},{"photo_id":"1397012522","filename":"file4"},{"photo_id":"1397012516","filename":"file1"},{"photo_id":"1397012512","filename":"file0"},{"photo_id":"1397012520","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012520":["hashtag1","hashtag2"]},{"1397012522":["hashtag1","hashtag2"]},{"1397012516":["hashtag1","hashtag2"]},{"1397012524":["hashtag1","hashtag2"]},{"1397012518":["hashtag1","hashtag2"]},{"1397012512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012520, 1397012522, 1397012516, 1397012524, 1397012518, 1397012512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83669900894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:51:02.793644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_15_9670.jpg', '/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_24_9783.jpg', '/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_35_10536.jpg', '/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_44_9569.jpg', '/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_54_9633.jpg', '/home/pi/Desktop/images/30112025/03/03/image_30112025_03_04_05_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_15_9670.jpg
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_24_9783.jpg
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_35_10536.jpg
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_44_9569.jpg
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_03_54_9633.jpg
/home/pi/Desktop/images/30112025/03/03/image_30112025_03_04_05_10863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012525","1397012528","1397012530","1397012533","1397012527","1397012526"],"photo_ids_order":["1397012525","1397012526","1397012527","1397012528","1397012530","1397012533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd22366d22e7732a8fb85f0d6403fe2d.jpg","text":"TemporaryFile(/tmp/multipartBody7895024811230412394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_03_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d501abf852e7d2c0fed5f665931f5feb.jpg","text":"TemporaryFile(/tmp/multipartBody7201049734913260934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_03_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f01058bf5821b67921c53c4134cad3a2.jpg","text":"TemporaryFile(/tmp/multipartBody3961030108356748409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_03_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41c63104e8766de5d334b0a263ac8206.jpg","text":"TemporaryFile(/tmp/multipartBody5892290349695654311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_04_05_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a25ea6ef712cd4d8903aac031d65fb83.jpg","text":"TemporaryFile(/tmp/multipartBody4161246881127563153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_03_35_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f70c2da527db61cba68ba3d5fc374975.jpg","text":"TemporaryFile(/tmp/multipartBody5629644651550023104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471123557,"filename":"image_30112025_03_03_24_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012527","file1":"1397012526","file0":"1397012525","file4":"1397012530","file5":"1397012533","file3":"1397012528"},"map_files_photo_id_array":[{"photo_id":"1397012533","filename":"file5"},{"photo_id":"1397012527","filename":"file2"},{"photo_id":"1397012530","filename":"file4"},{"photo_id":"1397012526","filename":"file1"},{"photo_id":"1397012525","filename":"file0"},{"photo_id":"1397012528","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012525":["hashtag1","hashtag2"]},{"1397012528":["hashtag1","hashtag2"]},{"1397012530":["hashtag1","hashtag2"]},{"1397012533":["hashtag1","hashtag2"]},{"1397012527":["hashtag1","hashtag2"]},{"1397012526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012525, 1397012528, 1397012530, 1397012533, 1397012527, 1397012526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83876276016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:51:42.092212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/37/image_31102025_11_37_46_2764.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_49_2661.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_52_2833.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_56_3750.jpg', '/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_58_2657.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_01_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_46_2764.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_49_2661.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_52_2833.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_56_3750.jpg
/home/pi/Desktop/images/31102025/11/37/image_31102025_11_37_58_2657.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_01_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":["1397012541","1397012538","1397012543","1397012540","1397012542","1397012539"],"photo_ids_order":["1397012538","1397012539","1397012540","1397012541","1397012542","1397012543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ac947875fb77802c6166ab768a05495.jpg","text":"TemporaryFile(/tmp/multipartBody258702813119357218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_37_56_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/30/3e3dbaac7b656dd7c5d7bc225ec85795.jpg","text":"TemporaryFile(/tmp/multipartBody9076411198739266269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_37_46_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/30/b38a73968b8e27921600b75410b6216b.jpg","text":"TemporaryFile(/tmp/multipartBody7989788097720460973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_38_01_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/30/1291166a65aa3024d9a649c9fd5e2db2.jpg","text":"TemporaryFile(/tmp/multipartBody3914853158223791364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_37_52_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/30/e7c953d8f69725aa4857c92a69ce0f74.jpg","text":"TemporaryFile(/tmp/multipartBody5552086671703866579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_37_58_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af070532286262e607a71aeb8695e401.jpg","text":"TemporaryFile(/tmp/multipartBody1908198110605526232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471163056,"filename":"image_31102025_11_37_49_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012540","file1":"1397012539","file0":"1397012538","file4":"1397012542","file5":"1397012543","file3":"1397012541"},"map_files_photo_id_array":[{"photo_id":"1397012543","filename":"file5"},{"photo_id":"1397012540","filename":"file2"},{"photo_id":"1397012542","filename":"file4"},{"photo_id":"1397012539","filename":"file1"},{"photo_id":"1397012538","filename":"file0"},{"photo_id":"1397012541","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012541":["hashtag1","hashtag2"]},{"1397012538":["hashtag1","hashtag2"]},{"1397012543":["hashtag1","hashtag2"]},{"1397012540":["hashtag1","hashtag2"]},{"1397012542":["hashtag1","hashtag2"]},{"1397012539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012541, 1397012538, 1397012543, 1397012540, 1397012542, 1397012539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00339460372925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:52:22.294929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_15_9722.jpg', '/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_24_9713.jpg', '/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_34_9738.jpg', '/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_45_10701.jpg', '/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_55_9780.jpg', '/home/pi/Desktop/images/30112025/03/04/image_30112025_03_05_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_15_9722.jpg
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_24_9713.jpg
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_34_9738.jpg
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_45_10701.jpg
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_04_55_9780.jpg
/home/pi/Desktop/images/30112025/03/04/image_30112025_03_05_04_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012556","1397012549","1397012554","1397012557","1397012553","1397012547"],"photo_ids_order":["1397012547","1397012549","1397012553","1397012554","1397012556","1397012557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28f14d4292ccde222e3b6c3b5a2e8092.jpg","text":"TemporaryFile(/tmp/multipartBody207592047815389076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_04_55_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dff11303d67f6757ce316895fc93e6c.jpg","text":"TemporaryFile(/tmp/multipartBody965880421674321297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_04_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9dc058870668feea307a1cdc7aeb439.jpg","text":"TemporaryFile(/tmp/multipartBody4082428370633151003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_04_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac0a5fb76f887186319a0803582be03a.jpg","text":"TemporaryFile(/tmp/multipartBody9013123933389060261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_05_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1da2e05f5a67dff763acbf87096a3108.jpg","text":"TemporaryFile(/tmp/multipartBody1216077961459602153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_04_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a48395a1534f316f2e331af282b1258f.jpg","text":"TemporaryFile(/tmp/multipartBody3309548247987453474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471202996,"filename":"image_30112025_03_04_15_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012553","file1":"1397012549","file0":"1397012547","file4":"1397012556","file5":"1397012557","file3":"1397012554"},"map_files_photo_id_array":[{"photo_id":"1397012557","filename":"file5"},{"photo_id":"1397012553","filename":"file2"},{"photo_id":"1397012556","filename":"file4"},{"photo_id":"1397012549","filename":"file1"},{"photo_id":"1397012547","filename":"file0"},{"photo_id":"1397012554","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012556":["hashtag1","hashtag2"]},{"1397012549":["hashtag1","hashtag2"]},{"1397012554":["hashtag1","hashtag2"]},{"1397012557":["hashtag1","hashtag2"]},{"1397012553":["hashtag1","hashtag2"]},{"1397012547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012556, 1397012549, 1397012554, 1397012557, 1397012553, 1397012547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.937766551971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:53:03.075611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_15_10662.jpg', '/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_24_9636.jpg', '/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_34_9549.jpg', '/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_45_10527.jpg', '/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_54_9740.jpg', '/home/pi/Desktop/images/30112025/03/05/image_30112025_03_06_05_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_15_10662.jpg
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_24_9636.jpg
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_34_9549.jpg
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_45_10527.jpg
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_05_54_9740.jpg
/home/pi/Desktop/images/30112025/03/05/image_30112025_03_06_05_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012561","1397012564","1397012558","1397012566","1397012560","1397012559"],"photo_ids_order":["1397012558","1397012559","1397012560","1397012561","1397012564","1397012566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fa9c2583157f1f62be443fe546b1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody699639740338227656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_05_45_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a715e9d9283eeacb2d91dc1509e3cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1810505002081819982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_05_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b3199df4fa9dd241ffcb6ab96c86ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1688408546529362829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_05_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d5c46d41b4a46e177ad1da66ca5b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4737650977183485261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_06_05_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17804529f4ab825db34695494c90dc6c.jpg","text":"TemporaryFile(/tmp/multipartBody6169391619982882831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_05_34_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cd9ba6901afae5f3731ad0859a03fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2118086948602145787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471243930,"filename":"image_30112025_03_05_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012560","file1":"1397012559","file0":"1397012558","file4":"1397012564","file5":"1397012566","file3":"1397012561"},"map_files_photo_id_array":[{"photo_id":"1397012566","filename":"file5"},{"photo_id":"1397012560","filename":"file2"},{"photo_id":"1397012564","filename":"file4"},{"photo_id":"1397012559","filename":"file1"},{"photo_id":"1397012558","filename":"file0"},{"photo_id":"1397012561","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012561":["hashtag1","hashtag2"]},{"1397012564":["hashtag1","hashtag2"]},{"1397012558":["hashtag1","hashtag2"]},{"1397012566":["hashtag1","hashtag2"]},{"1397012560":["hashtag1","hashtag2"]},{"1397012559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012561, 1397012564, 1397012558, 1397012566, 1397012560, 1397012559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25917983055115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:53:42.524906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/38/image_31102025_11_38_04_2851.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_07_3627.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_10_2642.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_14_3656.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_16_2732.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_19_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_04_2851.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_07_3627.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_10_2642.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_14_3656.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_16_2732.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_19_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012573","1397012576","1397012572","1397012575","1397012571","1397012574"],"photo_ids_order":["1397012571","1397012572","1397012573","1397012574","1397012575","1397012576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b4111aa2f8583212e845663cad6b3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1289524582683836504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_10_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed845f7d29e21e1e557f4bc89e1672de.jpg","text":"TemporaryFile(/tmp/multipartBody542840307475113609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_19_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/30/110faac7782cbe13d463e60bc78e2ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3075232456201149395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_07_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/30/e98d62060da800bbc796709c7678130c.jpg","text":"TemporaryFile(/tmp/multipartBody3622159615975604240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_16_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/30/1cb25d13022bb7bf9b2f338f11ebe02a.jpg","text":"TemporaryFile(/tmp/multipartBody8856755929844813668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_04_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/30/834febb7b205b95776d2c788e2eb8493.jpg","text":"TemporaryFile(/tmp/multipartBody3587319348938859971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471283477,"filename":"image_31102025_11_38_14_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012573","file1":"1397012572","file0":"1397012571","file4":"1397012575","file5":"1397012576","file3":"1397012574"},"map_files_photo_id_array":[{"photo_id":"1397012576","filename":"file5"},{"photo_id":"1397012573","filename":"file2"},{"photo_id":"1397012575","filename":"file4"},{"photo_id":"1397012572","filename":"file1"},{"photo_id":"1397012571","filename":"file0"},{"photo_id":"1397012574","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012573":["hashtag1","hashtag2"]},{"1397012576":["hashtag1","hashtag2"]},{"1397012572":["hashtag1","hashtag2"]},{"1397012575":["hashtag1","hashtag2"]},{"1397012571":["hashtag1","hashtag2"]},{"1397012574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012573, 1397012576, 1397012572, 1397012575, 1397012571, 1397012574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70894193649292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:54:22.762186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_15_9923.jpg', '/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_34_9725.jpg', '/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_45_10615.jpg', '/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_55_9764.jpg', '/home/pi/Desktop/images/30112025/03/06/image_30112025_03_07_04_9648.jpg', '/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_14_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_15_9923.jpg
/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_34_9725.jpg
/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_45_10615.jpg
/home/pi/Desktop/images/30112025/03/06/image_30112025_03_06_55_9764.jpg
/home/pi/Desktop/images/30112025/03/06/image_30112025_03_07_04_9648.jpg
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_14_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012591","1397012593","1397012589","1397012580","1397012583","1397012586"],"photo_ids_order":["1397012580","1397012583","1397012586","1397012589","1397012591","1397012593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7cdba97576b258df759035963e901e7.jpg","text":"TemporaryFile(/tmp/multipartBody4740322479399265838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_07_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d165f4242791db0099264061f861ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7918218328090144374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_07_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6be6a43b7453c74c73fa9c64429fa05.jpg","text":"TemporaryFile(/tmp/multipartBody7850639890125850617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_06_55_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18bff52af72ef8a8d400d2777217f013.jpg","text":"TemporaryFile(/tmp/multipartBody2203229618067590445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_06_15_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3d5c9b80ede613a89f809c7bce3ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody5718133845314830129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_06_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82d3802a6cd51cacff04cba655898f83.jpg","text":"TemporaryFile(/tmp/multipartBody451196609964419935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471323459,"filename":"image_30112025_03_06_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012586","file1":"1397012583","file0":"1397012580","file4":"1397012591","file5":"1397012593","file3":"1397012589"},"map_files_photo_id_array":[{"photo_id":"1397012593","filename":"file5"},{"photo_id":"1397012586","filename":"file2"},{"photo_id":"1397012591","filename":"file4"},{"photo_id":"1397012583","filename":"file1"},{"photo_id":"1397012580","filename":"file0"},{"photo_id":"1397012589","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012591":["hashtag1","hashtag2"]},{"1397012593":["hashtag1","hashtag2"]},{"1397012589":["hashtag1","hashtag2"]},{"1397012580":["hashtag1","hashtag2"]},{"1397012583":["hashtag1","hashtag2"]},{"1397012586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012591, 1397012593, 1397012589, 1397012580, 1397012583, 1397012586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55972146987915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:55:02.859657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_25_10712.jpg', '/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_34_9631.jpg', '/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_44_9765.jpg', '/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_55_10750.jpg', '/home/pi/Desktop/images/30112025/03/07/image_30112025_03_08_05_9717.jpg', '/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_14_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_25_10712.jpg
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_34_9631.jpg
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_44_9765.jpg
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_07_55_10750.jpg
/home/pi/Desktop/images/30112025/03/07/image_30112025_03_08_05_9717.jpg
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_14_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012601","1397012594","1397012597","1397012596","1397012599","1397012595"],"photo_ids_order":["1397012594","1397012595","1397012596","1397012597","1397012599","1397012601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44b6f7210cd2fc09abecd322f548b3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5017025365524713595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_08_14_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3240d0d14cb1eb0683bf40a4bd98c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody3166488905628811802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_07_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dcf7d478fc7ac44f4f05b6f7f7e5738.jpg","text":"TemporaryFile(/tmp/multipartBody2598053714964808515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_07_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/416fca81aab8476056779d06fabdbef7.jpg","text":"TemporaryFile(/tmp/multipartBody1093436587385081221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_07_44_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65f6923f5a3048b52cab79ec49980dff.jpg","text":"TemporaryFile(/tmp/multipartBody5313470768270403174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_08_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f70f08672302dc8cd62f10c7d397698.jpg","text":"TemporaryFile(/tmp/multipartBody6189553309043307953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471363576,"filename":"image_30112025_03_07_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012596","file1":"1397012595","file0":"1397012594","file4":"1397012599","file5":"1397012601","file3":"1397012597"},"map_files_photo_id_array":[{"photo_id":"1397012601","filename":"file5"},{"photo_id":"1397012596","filename":"file2"},{"photo_id":"1397012599","filename":"file4"},{"photo_id":"1397012595","filename":"file1"},{"photo_id":"1397012594","filename":"file0"},{"photo_id":"1397012597","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012601":["hashtag1","hashtag2"]},{"1397012594":["hashtag1","hashtag2"]},{"1397012597":["hashtag1","hashtag2"]},{"1397012596":["hashtag1","hashtag2"]},{"1397012599":["hashtag1","hashtag2"]},{"1397012595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012601, 1397012594, 1397012597, 1397012596, 1397012599, 1397012595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.044312715530396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:55:42.047246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/38/image_31102025_11_38_23_3705.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_28_2894.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_31_2689.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_34_2812.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_37_3582.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_40_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_23_3705.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_28_2894.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_31_2689.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_34_2812.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_37_3582.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_40_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012607","1397012610","1397012606","1397012609","1397012611","1397012608"],"photo_ids_order":["1397012606","1397012607","1397012608","1397012609","1397012610","1397012611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0ad9f3c3b1ff1a2fc3ae52bbdb2796e.jpg","text":"TemporaryFile(/tmp/multipartBody6152731696234971335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_28_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/30/4da77bfebbdb0072e66991f5c7d5dc9f.jpg","text":"TemporaryFile(/tmp/multipartBody2769002008410287840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_37_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/30/d6976314c33d23e6d392697eab6e4019.jpg","text":"TemporaryFile(/tmp/multipartBody3716388749439736857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_23_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/30/96be5db462106796a6ae68b57e111624.jpg","text":"TemporaryFile(/tmp/multipartBody559176924617269479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_34_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39a293423f5a987e39271314e65ea56d.jpg","text":"TemporaryFile(/tmp/multipartBody5774149365666992491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_40_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2da801f00a81f3d9eff323516ef72ea1.jpg","text":"TemporaryFile(/tmp/multipartBody5479249904684377510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471403028,"filename":"image_31102025_11_38_31_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012608","file1":"1397012607","file0":"1397012606","file4":"1397012610","file5":"1397012611","file3":"1397012609"},"map_files_photo_id_array":[{"photo_id":"1397012611","filename":"file5"},{"photo_id":"1397012608","filename":"file2"},{"photo_id":"1397012610","filename":"file4"},{"photo_id":"1397012607","filename":"file1"},{"photo_id":"1397012606","filename":"file0"},{"photo_id":"1397012609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012607":["hashtag1","hashtag2"]},{"1397012610":["hashtag1","hashtag2"]},{"1397012606":["hashtag1","hashtag2"]},{"1397012609":["hashtag1","hashtag2"]},{"1397012611":["hashtag1","hashtag2"]},{"1397012608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012607, 1397012610, 1397012606, 1397012609, 1397012611, 1397012608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00234508514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 03:56:22.298483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_25_10832.jpg', '/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_35_9685.jpg', '/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_45_9789.jpg', '/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_54_9593.jpg', '/home/pi/Desktop/images/30112025/03/08/image_30112025_03_09_05_10765.jpg', '/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_14_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_25_10832.jpg
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_35_9685.jpg
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_45_9789.jpg
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_08_54_9593.jpg
/home/pi/Desktop/images/30112025/03/08/image_30112025_03_09_05_10765.jpg
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_14_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012628","1397012613","1397012619","1397012624","1397012621","1397012617"],"photo_ids_order":["1397012613","1397012617","1397012619","1397012621","1397012624","1397012628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52ccda4c3f7066b97953a9adece85f03.jpg","text":"TemporaryFile(/tmp/multipartBody4551992558304058437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_09_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9633f4bc5bc4c9f63d51ee47d1e6eb5.jpg","text":"TemporaryFile(/tmp/multipartBody736488104367540957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_08_25_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/354ab3471c383ceae762184314533a24.jpg","text":"TemporaryFile(/tmp/multipartBody3387455198322022331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_08_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dc039cdd27b38cc757e3591ae8a575e.jpg","text":"TemporaryFile(/tmp/multipartBody4211145099649356218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_09_05_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41b601222f6e2a10e8576a3b236179d1.jpg","text":"TemporaryFile(/tmp/multipartBody4682625118275921617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_08_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a2589f9ac1a9c4ec397fc44e096ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody1733637166198545316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471443028,"filename":"image_30112025_03_08_35_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012619","file1":"1397012617","file0":"1397012613","file4":"1397012624","file5":"1397012628","file3":"1397012621"},"map_files_photo_id_array":[{"photo_id":"1397012628","filename":"file5"},{"photo_id":"1397012619","filename":"file2"},{"photo_id":"1397012624","filename":"file4"},{"photo_id":"1397012617","filename":"file1"},{"photo_id":"1397012613","filename":"file0"},{"photo_id":"1397012621","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012628":["hashtag1","hashtag2"]},{"1397012613":["hashtag1","hashtag2"]},{"1397012619":["hashtag1","hashtag2"]},{"1397012624":["hashtag1","hashtag2"]},{"1397012621":["hashtag1","hashtag2"]},{"1397012617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012628, 1397012613, 1397012619, 1397012624, 1397012621, 1397012617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14397430419922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:57:02.884199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_24_9807.jpg', '/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_34_9786.jpg', '/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_45_10602.jpg', '/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_54_9626.jpg', '/home/pi/Desktop/images/30112025/03/09/image_30112025_03_10_05_10614.jpg', '/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_15_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_24_9807.jpg
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_34_9786.jpg
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_45_10602.jpg
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_09_54_9626.jpg
/home/pi/Desktop/images/30112025/03/09/image_30112025_03_10_05_10614.jpg
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_15_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012634","1397012637","1397012630","1397012629","1397012632","1397012631"],"photo_ids_order":["1397012629","1397012630","1397012631","1397012632","1397012634","1397012637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6aeb0f6530779978adee40c65ad2f20.jpg","text":"TemporaryFile(/tmp/multipartBody7053948633064358105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_10_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07a4469550b60aa0ed54b5f928bd3bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3829645936251781071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_10_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dac5fe2ac2959637efa10f95db150de0.jpg","text":"TemporaryFile(/tmp/multipartBody5803192140322282612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_09_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d48e4800306312f39465e1a7f5f7c020.jpg","text":"TemporaryFile(/tmp/multipartBody4611911621338739969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_09_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/500205c5fd71f0b0399b51df775b8e85.jpg","text":"TemporaryFile(/tmp/multipartBody7576598169859025388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_09_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9c9670f278751fe3b17977e207687fb.jpg","text":"TemporaryFile(/tmp/multipartBody2681435677179398265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471483734,"filename":"image_30112025_03_09_45_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012631","file1":"1397012630","file0":"1397012629","file4":"1397012634","file5":"1397012637","file3":"1397012632"},"map_files_photo_id_array":[{"photo_id":"1397012637","filename":"file5"},{"photo_id":"1397012631","filename":"file2"},{"photo_id":"1397012634","filename":"file4"},{"photo_id":"1397012630","filename":"file1"},{"photo_id":"1397012629","filename":"file0"},{"photo_id":"1397012632","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012634":["hashtag1","hashtag2"]},{"1397012637":["hashtag1","hashtag2"]},{"1397012630":["hashtag1","hashtag2"]},{"1397012629":["hashtag1","hashtag2"]},{"1397012632":["hashtag1","hashtag2"]},{"1397012631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012634, 1397012637, 1397012630, 1397012629, 1397012632, 1397012631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61768960952759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:57:42.456972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/38/image_31102025_11_38_43_2843.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_47_3647.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_49_2738.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_52_2946.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_55_2721.jpg', '/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_59_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_43_2843.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_47_3647.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_49_2738.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_52_2946.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_55_2721.jpg
/home/pi/Desktop/images/31102025/11/38/image_31102025_11_38_59_3562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012649","1397012648","1397012647","1397012650","1397012644","1397012646"],"photo_ids_order":["1397012644","1397012646","1397012647","1397012648","1397012649","1397012650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c963453e4c673952cca8a8732a02e39.jpg","text":"TemporaryFile(/tmp/multipartBody7389083733913688798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_55_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/30/3fc3a2183a728a019ba75a7d429050c3.jpg","text":"TemporaryFile(/tmp/multipartBody7795499099852932601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_52_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a98c97c79039294e476f8efbe76f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8469443561206891644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_49_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/30/5b4a570bd7c8141737ba6eec76e19e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6944316702496540933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_59_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/30/33e99900e6034e45f8c940d11ef8cada.jpg","text":"TemporaryFile(/tmp/multipartBody4045518150918088154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_43_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/30/2e898c977bb407e3eed5232c219aba9b.jpg","text":"TemporaryFile(/tmp/multipartBody2576890958472734372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471523424,"filename":"image_31102025_11_38_47_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012647","file1":"1397012646","file0":"1397012644","file4":"1397012649","file5":"1397012650","file3":"1397012648"},"map_files_photo_id_array":[{"photo_id":"1397012650","filename":"file5"},{"photo_id":"1397012647","filename":"file2"},{"photo_id":"1397012649","filename":"file4"},{"photo_id":"1397012646","filename":"file1"},{"photo_id":"1397012644","filename":"file0"},{"photo_id":"1397012648","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012649":["hashtag1","hashtag2"]},{"1397012648":["hashtag1","hashtag2"]},{"1397012647":["hashtag1","hashtag2"]},{"1397012650":["hashtag1","hashtag2"]},{"1397012644":["hashtag1","hashtag2"]},{"1397012646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012649, 1397012648, 1397012647, 1397012650, 1397012644, 1397012646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32806706428528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 03:59:03.775693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_24_9736.jpg', '/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_34_9743.jpg', '/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_45_10680.jpg', '/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_54_9694.jpg', '/home/pi/Desktop/images/30112025/03/10/image_30112025_03_11_04_9559.jpg', '/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_15_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_24_9736.jpg
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_34_9743.jpg
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_45_10680.jpg
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_10_54_9694.jpg
/home/pi/Desktop/images/30112025/03/10/image_30112025_03_11_04_9559.jpg
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_15_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012660","1397012663","1397012665","1397012653","1397012656","1397012667"],"photo_ids_order":["1397012653","1397012656","1397012660","1397012663","1397012665","1397012667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4330b3359a5e1c97f8cc07361d67866f.jpg","text":"TemporaryFile(/tmp/multipartBody222905329361751777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_10_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d632a055bc07292d9f17960d9a61ed33.jpg","text":"TemporaryFile(/tmp/multipartBody8164576137385066851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_10_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59752f26456fc9be3d6c2dd2974a30cd.jpg","text":"TemporaryFile(/tmp/multipartBody5321981410472602224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_11_04_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4389937ca1d76eeaf685f77dc598bec.jpg","text":"TemporaryFile(/tmp/multipartBody8914216907183789043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_10_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c13b9666b06c34d09c1f384ba8dc1dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6264948677379607790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_10_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db4112639eaf468abc1f10647b8d6b40.jpg","text":"TemporaryFile(/tmp/multipartBody6297625065191193277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471604625,"filename":"image_30112025_03_11_15_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012660","file1":"1397012656","file0":"1397012653","file4":"1397012665","file5":"1397012667","file3":"1397012663"},"map_files_photo_id_array":[{"photo_id":"1397012667","filename":"file5"},{"photo_id":"1397012660","filename":"file2"},{"photo_id":"1397012665","filename":"file4"},{"photo_id":"1397012656","filename":"file1"},{"photo_id":"1397012653","filename":"file0"},{"photo_id":"1397012663","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012660":["hashtag1","hashtag2"]},{"1397012663":["hashtag1","hashtag2"]},{"1397012665":["hashtag1","hashtag2"]},{"1397012653":["hashtag1","hashtag2"]},{"1397012656":["hashtag1","hashtag2"]},{"1397012667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012660, 1397012663, 1397012665, 1397012653, 1397012656, 1397012667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.327210426330566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 03:59:42.919763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/39/image_31102025_11_39_01_2876.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_04_2531.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_08_3623.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_10_2555.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_13_2868.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_16_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/11/39/image_31102025_11_39_01_2876.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_04_2531.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_08_3623.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_10_2555.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_13_2868.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_16_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012681","1397012684","1397012677","1397012674","1397012676","1397012679"],"photo_ids_order":["1397012674","1397012676","1397012677","1397012679","1397012681","1397012684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dff61ea1fd69a31345a01ddc2665db4f.jpg","text":"TemporaryFile(/tmp/multipartBody7216539379909413627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_13_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dff3670f20664dabfc56d4076d9a205a.jpg","text":"TemporaryFile(/tmp/multipartBody3467946046621651948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_16_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/30/79690f43ab8347643c947fc9ac976fd3.jpg","text":"TemporaryFile(/tmp/multipartBody5013396576964430361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_08_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/30/40331e808bbb45e8f28b070aadb5faed.jpg","text":"TemporaryFile(/tmp/multipartBody2408150948562299598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_01_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/30/96c5d13679a95c3b3fcfde5e1262b644.jpg","text":"TemporaryFile(/tmp/multipartBody684244507744538959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_04_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8c3d6aec0508ce20ebb3a60ebd0a86e.jpg","text":"TemporaryFile(/tmp/multipartBody2023896557763119036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471643846,"filename":"image_31102025_11_39_10_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012677","file1":"1397012676","file0":"1397012674","file4":"1397012681","file5":"1397012684","file3":"1397012679"},"map_files_photo_id_array":[{"photo_id":"1397012684","filename":"file5"},{"photo_id":"1397012677","filename":"file2"},{"photo_id":"1397012681","filename":"file4"},{"photo_id":"1397012676","filename":"file1"},{"photo_id":"1397012674","filename":"file0"},{"photo_id":"1397012679","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012681":["hashtag1","hashtag2"]},{"1397012684":["hashtag1","hashtag2"]},{"1397012677":["hashtag1","hashtag2"]},{"1397012674":["hashtag1","hashtag2"]},{"1397012676":["hashtag1","hashtag2"]},{"1397012679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012681, 1397012684, 1397012677, 1397012674, 1397012676, 1397012679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6069860458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:00:22.083139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_24_9636.jpg', '/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_34_9709.jpg', '/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_45_10853.jpg', '/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_55_9587.jpg', '/home/pi/Desktop/images/30112025/03/11/image_30112025_03_12_04_9605.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_15_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_24_9636.jpg
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_34_9709.jpg
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_45_10853.jpg
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_11_55_9587.jpg
/home/pi/Desktop/images/30112025/03/11/image_30112025_03_12_04_9605.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_15_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012700","1397012690","1397012693","1397012698","1397012688","1397012697"],"photo_ids_order":["1397012688","1397012690","1397012693","1397012697","1397012698","1397012700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeb618e4a844b22072b579b76ed5913e.jpg","text":"TemporaryFile(/tmp/multipartBody64697150802678400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_12_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f18d7d6a8c73a207b6a17d46abb7257e.jpg","text":"TemporaryFile(/tmp/multipartBody1075305718064573734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_11_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da6c1a14f3058939950708d45c10f43b.jpg","text":"TemporaryFile(/tmp/multipartBody5473595647967526005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_11_45_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7db38d4adc85eae5670641cbcc297e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7928032051621134138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_12_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5d7fc032f04c0a70fa715247cf574b2.jpg","text":"TemporaryFile(/tmp/multipartBody1404598865716172151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_11_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9586796bcc0986c3e99b72e531fa3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2097567215053873113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471682782,"filename":"image_30112025_03_11_55_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012693","file1":"1397012690","file0":"1397012688","file4":"1397012698","file5":"1397012700","file3":"1397012697"},"map_files_photo_id_array":[{"photo_id":"1397012700","filename":"file5"},{"photo_id":"1397012693","filename":"file2"},{"photo_id":"1397012698","filename":"file4"},{"photo_id":"1397012690","filename":"file1"},{"photo_id":"1397012688","filename":"file0"},{"photo_id":"1397012697","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012700":["hashtag1","hashtag2"]},{"1397012690":["hashtag1","hashtag2"]},{"1397012693":["hashtag1","hashtag2"]},{"1397012698":["hashtag1","hashtag2"]},{"1397012688":["hashtag1","hashtag2"]},{"1397012697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012700, 1397012690, 1397012693, 1397012698, 1397012688, 1397012697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.051865577697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:01:02.843369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_24_9626.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_35_10549.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_45_9685.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_54_9642.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_13_05_10706.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_15_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_24_9626.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_35_10549.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_45_9685.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_54_9642.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_13_05_10706.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_15_9632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6628868579864502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:01:12.200781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_25_3763.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_28_2634.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_31_2779.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_33_2716.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_37_3644.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_39_2261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_25_3763.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_28_2634.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_31_2779.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_33_2716.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_37_3644.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_39_2261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012712","1397012721","1397012709","1397012718","1397012723","1397012716"],"photo_ids_order":["1397012709","1397012712","1397012716","1397012718","1397012721","1397012723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51481a1367a588adaf909f9f9da42442.jpg","text":"TemporaryFile(/tmp/multipartBody3825550518156912112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_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/30/a12f7766dc839b60e5f028cd0cf7e559.jpg","text":"TemporaryFile(/tmp/multipartBody5364834067433449373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_37_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac0d7298801746c50ace88e071717d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8412207679471020924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_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/30/03be2d08e085c25d4e5c630f1de3ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody8766843286409698754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_33_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5663e14e817e5ee050c363ac8125ae74.jpg","text":"TemporaryFile(/tmp/multipartBody6999099187591047494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_39_2261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3da8f1128c59c6b70897cfada80a2c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5166971653226005670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471733868,"filename":"image_25112025_19_38_31_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012716","file1":"1397012712","file0":"1397012709","file4":"1397012721","file5":"1397012723","file3":"1397012718"},"map_files_photo_id_array":[{"photo_id":"1397012723","filename":"file5"},{"photo_id":"1397012716","filename":"file2"},{"photo_id":"1397012721","filename":"file4"},{"photo_id":"1397012712","filename":"file1"},{"photo_id":"1397012709","filename":"file0"},{"photo_id":"1397012718","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012712":["hashtag1","hashtag2"]},{"1397012721":["hashtag1","hashtag2"]},{"1397012709":["hashtag1","hashtag2"]},{"1397012718":["hashtag1","hashtag2"]},{"1397012723":["hashtag1","hashtag2"]},{"1397012716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012712, 1397012721, 1397012709, 1397012718, 1397012723, 1397012716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11774277687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:02:03.013404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_24_9626.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_35_10549.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_45_9685.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_54_9642.jpg', '/home/pi/Desktop/images/30112025/03/12/image_30112025_03_13_05_10706.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_15_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_24_9626.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_35_10549.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_45_9685.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_12_54_9642.jpg
/home/pi/Desktop/images/30112025/03/12/image_30112025_03_13_05_10706.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_15_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012733","1397012741","1397012738","1397012732","1397012734","1397012730"],"photo_ids_order":["1397012730","1397012732","1397012733","1397012734","1397012738","1397012741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cd8e16ac828638bfdec8e61da827f0f.jpg","text":"TemporaryFile(/tmp/multipartBody3361243253440359644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_12_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50e1086d41f4a37ee2820c780a537ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6645742247906820245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_13_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7180d6aad3951ea5e2d3ce5186209cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1025755170185079947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_13_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7d06803bffcf4bd64a9a56118f3aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody5147213779411778301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_12_35_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00afde2c7545ae3e0a3c29e2e1976741.jpg","text":"TemporaryFile(/tmp/multipartBody5346032727072078265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_12_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e253ac3c02b50039cd49eba0d1a8a27.jpg","text":"TemporaryFile(/tmp/multipartBody4123520214590140724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471783730,"filename":"image_30112025_03_12_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012733","file1":"1397012732","file0":"1397012730","file4":"1397012738","file5":"1397012741","file3":"1397012734"},"map_files_photo_id_array":[{"photo_id":"1397012741","filename":"file5"},{"photo_id":"1397012733","filename":"file2"},{"photo_id":"1397012738","filename":"file4"},{"photo_id":"1397012732","filename":"file1"},{"photo_id":"1397012730","filename":"file0"},{"photo_id":"1397012734","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012733":["hashtag1","hashtag2"]},{"1397012741":["hashtag1","hashtag2"]},{"1397012738":["hashtag1","hashtag2"]},{"1397012732":["hashtag1","hashtag2"]},{"1397012734":["hashtag1","hashtag2"]},{"1397012730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012733, 1397012741, 1397012738, 1397012732, 1397012734, 1397012730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96009540557861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:02:42.419977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/39/image_31102025_11_39_19_2900.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_22_3573.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_25_2918.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_28_2678.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_31_3663.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_34_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_19_2900.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_22_3573.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_25_2918.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_28_2678.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_31_3663.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_34_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":["1397012753","1397012755","1397012749","1397012760","1397012757","1397012751"],"photo_ids_order":["1397012749","1397012751","1397012753","1397012755","1397012757","1397012760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f4aa960be8cc717d07300f1aacae790.jpg","text":"TemporaryFile(/tmp/multipartBody4995502839513974529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_25_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/30/ad047a9de09a24bda71dd5ce803e5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody625241074810231999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_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/30/523dfda8ec67ebba06e6b3825226ae18.jpg","text":"TemporaryFile(/tmp/multipartBody8123377043208503702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_19_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/30/0560acd7df64e14a265d3eb506321934.jpg","text":"TemporaryFile(/tmp/multipartBody7126979853107001039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fddba7f739a6f1aa1e8e83eb76acc960.jpg","text":"TemporaryFile(/tmp/multipartBody3676413501853940999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_31_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/30/4163b2db8c696a782dd5f5978d015d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1873430032361373103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471823339,"filename":"image_31102025_11_39_22_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012753","file1":"1397012751","file0":"1397012749","file4":"1397012757","file5":"1397012760","file3":"1397012755"},"map_files_photo_id_array":[{"photo_id":"1397012760","filename":"file5"},{"photo_id":"1397012753","filename":"file2"},{"photo_id":"1397012757","filename":"file4"},{"photo_id":"1397012751","filename":"file1"},{"photo_id":"1397012749","filename":"file0"},{"photo_id":"1397012755","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012753":["hashtag1","hashtag2"]},{"1397012755":["hashtag1","hashtag2"]},{"1397012749":["hashtag1","hashtag2"]},{"1397012760":["hashtag1","hashtag2"]},{"1397012757":["hashtag1","hashtag2"]},{"1397012751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012753, 1397012755, 1397012749, 1397012760, 1397012757, 1397012751)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.824642181396484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:03:32.707702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_43_3605.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_46_2622.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_49_3579.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_52_2580.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_54_2635.jpg', '/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_58_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_43_3605.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_46_2622.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_49_3579.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_52_2580.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_54_2635.jpg
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_38_58_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":["1397012771","1397012780","1397012774","1397012768","1397012776","1397012778"],"photo_ids_order":["1397012768","1397012771","1397012774","1397012776","1397012778","1397012780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18d7d113937fc9742e2e73fe93d0fa17.jpg","text":"TemporaryFile(/tmp/multipartBody5197469224374981345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_46_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/30/55eb7898eec39c1e21e8ddd6e5ef1acc.jpg","text":"TemporaryFile(/tmp/multipartBody1636224776162962595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_58_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/30/5346771e123e7f96c8278ff743321f88.jpg","text":"TemporaryFile(/tmp/multipartBody2508564476595355211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_49_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/30/55634d49765ea249f37d6c58b9dc4d74.jpg","text":"TemporaryFile(/tmp/multipartBody7014683485307254672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_43_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/30/f3fe5072e42f2fdb7a7e79965c0771ad.jpg","text":"TemporaryFile(/tmp/multipartBody8700026430215913424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_52_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/30/e7106ff616151506531f3bd4f0d960c6.jpg","text":"TemporaryFile(/tmp/multipartBody7957580537467179948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471874726,"filename":"image_25112025_19_38_54_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012774","file1":"1397012771","file0":"1397012768","file4":"1397012778","file5":"1397012780","file3":"1397012776"},"map_files_photo_id_array":[{"photo_id":"1397012780","filename":"file5"},{"photo_id":"1397012774","filename":"file2"},{"photo_id":"1397012778","filename":"file4"},{"photo_id":"1397012771","filename":"file1"},{"photo_id":"1397012768","filename":"file0"},{"photo_id":"1397012776","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012771":["hashtag1","hashtag2"]},{"1397012780":["hashtag1","hashtag2"]},{"1397012774":["hashtag1","hashtag2"]},{"1397012768":["hashtag1","hashtag2"]},{"1397012776":["hashtag1","hashtag2"]},{"1397012778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012771, 1397012780, 1397012774, 1397012768, 1397012776, 1397012778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.875126361846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:04:11.868923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/38/image_25112025_19_39_00_2577.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_04_3612.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_07_2846.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_10_2630.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_13_3629.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_16_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/38/image_25112025_19_39_00_2577.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_04_3612.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_07_2846.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_10_2630.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_13_3629.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_16_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012783","1397012794","1397012791","1397012785","1397012788","1397012796"],"photo_ids_order":["1397012783","1397012785","1397012788","1397012791","1397012794","1397012796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ac43525adc6b9968aca2d3d5edabbca.jpg","text":"TemporaryFile(/tmp/multipartBody1037825032937180488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_00_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/30/06786ea3a5f3515ebf1b44c8ba39e77d.jpg","text":"TemporaryFile(/tmp/multipartBody4919777006842277389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_13_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6146d7b0850dfac4ff65e33e7da87800.jpg","text":"TemporaryFile(/tmp/multipartBody6137915820151154483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_10_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/30/e594dd0ae9fe14712c1603f834c2cdb4.jpg","text":"TemporaryFile(/tmp/multipartBody4457781863618932510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_04_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/30/887da4b266c31bc430788ea5b5165feb.jpg","text":"TemporaryFile(/tmp/multipartBody1024916660031334121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_07_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/30/f604b554a9c686364851f898083983b5.jpg","text":"TemporaryFile(/tmp/multipartBody1018029012626859482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471913753,"filename":"image_25112025_19_39_16_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012788","file1":"1397012785","file0":"1397012783","file4":"1397012794","file5":"1397012796","file3":"1397012791"},"map_files_photo_id_array":[{"photo_id":"1397012796","filename":"file5"},{"photo_id":"1397012788","filename":"file2"},{"photo_id":"1397012794","filename":"file4"},{"photo_id":"1397012785","filename":"file1"},{"photo_id":"1397012783","filename":"file0"},{"photo_id":"1397012791","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012783":["hashtag1","hashtag2"]},{"1397012794":["hashtag1","hashtag2"]},{"1397012791":["hashtag1","hashtag2"]},{"1397012785":["hashtag1","hashtag2"]},{"1397012788":["hashtag1","hashtag2"]},{"1397012796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012783, 1397012794, 1397012791, 1397012785, 1397012788, 1397012796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.872406005859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:05:02.735195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_24_9646.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_35_10652.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_45_9636.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_54_9633.jpg', '/home/pi/Desktop/images/30112025/03/13/image_30112025_03_14_05_10722.jpg', '/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_14_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_24_9646.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_35_10652.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_45_9636.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_13_54_9633.jpg
/home/pi/Desktop/images/30112025/03/13/image_30112025_03_14_05_10722.jpg
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_14_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012805","1397012808","1397012810","1397012804","1397012803","1397012806"],"photo_ids_order":["1397012803","1397012804","1397012805","1397012806","1397012808","1397012810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41311f7e92008a8a2166a2902ab79aa8.jpg","text":"TemporaryFile(/tmp/multipartBody5005312940697339546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_13_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78241dd2782c4a6c80e33cb340f433eb.jpg","text":"TemporaryFile(/tmp/multipartBody800007036600058647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_14_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/337850735aa1e80316ae89f251a8aaba.jpg","text":"TemporaryFile(/tmp/multipartBody2721092737353118648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_14_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8514d5f7bbadffcf2ed9fc944a29ec87.jpg","text":"TemporaryFile(/tmp/multipartBody4177763779673316362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_13_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/737aace3d6a8825c3988647792e13946.jpg","text":"TemporaryFile(/tmp/multipartBody2469536092495043156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_13_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7f293d67c9c04d700b4559156e3a032.jpg","text":"TemporaryFile(/tmp/multipartBody7156802977793729072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764471966080,"filename":"image_30112025_03_13_54_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012805","file1":"1397012804","file0":"1397012803","file4":"1397012808","file5":"1397012810","file3":"1397012806"},"map_files_photo_id_array":[{"photo_id":"1397012810","filename":"file5"},{"photo_id":"1397012805","filename":"file2"},{"photo_id":"1397012808","filename":"file4"},{"photo_id":"1397012804","filename":"file1"},{"photo_id":"1397012803","filename":"file0"},{"photo_id":"1397012806","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012805":["hashtag1","hashtag2"]},{"1397012808":["hashtag1","hashtag2"]},{"1397012810":["hashtag1","hashtag2"]},{"1397012804":["hashtag1","hashtag2"]},{"1397012803":["hashtag1","hashtag2"]},{"1397012806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012805, 1397012808, 1397012810, 1397012804, 1397012803, 1397012806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.355324268341064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:05:42.091966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/39/image_31102025_11_39_37_2783.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_40_2764.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_43_3673.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_46_2600.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_49_2667.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_52_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_37_2783.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_40_2764.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_43_3673.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_46_2600.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_49_2667.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_52_3584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012817","1397012825","1397012819","1397012821","1397012815","1397012823"],"photo_ids_order":["1397012815","1397012817","1397012819","1397012821","1397012823","1397012825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75f03b92ad143df8fc7a01ef0d7f7e63.jpg","text":"TemporaryFile(/tmp/multipartBody7869286247086881097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_40_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41a86f01a22ce0deaff81495956f891e.jpg","text":"TemporaryFile(/tmp/multipartBody7277367259441917217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_52_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4708f49bf627fc6fa1275ce6de13711b.jpg","text":"TemporaryFile(/tmp/multipartBody603331382177388537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_43_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/30/4220ffe6c15651b39428069b1275efc6.jpg","text":"TemporaryFile(/tmp/multipartBody8078154659019492431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_46_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc461a308de826db0f21e3105a915c54.jpg","text":"TemporaryFile(/tmp/multipartBody296476212072480761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_37_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70422e3e29f8fbfc6df3d4cf14f907b2.jpg","text":"TemporaryFile(/tmp/multipartBody6424065944240530498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472003022,"filename":"image_31102025_11_39_49_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012819","file1":"1397012817","file0":"1397012815","file4":"1397012823","file5":"1397012825","file3":"1397012821"},"map_files_photo_id_array":[{"photo_id":"1397012825","filename":"file5"},{"photo_id":"1397012819","filename":"file2"},{"photo_id":"1397012823","filename":"file4"},{"photo_id":"1397012817","filename":"file1"},{"photo_id":"1397012815","filename":"file0"},{"photo_id":"1397012821","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012817":["hashtag1","hashtag2"]},{"1397012825":["hashtag1","hashtag2"]},{"1397012819":["hashtag1","hashtag2"]},{"1397012821":["hashtag1","hashtag2"]},{"1397012815":["hashtag1","hashtag2"]},{"1397012823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012817, 1397012825, 1397012819, 1397012821, 1397012815, 1397012823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08163785934448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:06:22.277044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_24_9641.jpg', '/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_35_10758.jpg', '/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_45_9724.jpg', '/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_54_9574.jpg', '/home/pi/Desktop/images/30112025/03/14/image_30112025_03_15_05_10807.jpg', '/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_15_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_24_9641.jpg
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_35_10758.jpg
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_45_9724.jpg
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_14_54_9574.jpg
/home/pi/Desktop/images/30112025/03/14/image_30112025_03_15_05_10807.jpg
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_15_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012840","1397012834","1397012837","1397012831","1397012830","1397012827"],"photo_ids_order":["1397012827","1397012830","1397012831","1397012834","1397012837","1397012840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7200696b3c96c78c779531d790e46206.jpg","text":"TemporaryFile(/tmp/multipartBody1648866853859783288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_15_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a36a3aeffb25760dfd50061f8805731.jpg","text":"TemporaryFile(/tmp/multipartBody6983164663653362455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_14_54_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33e24a443f20541dbdc630a1b775558a.jpg","text":"TemporaryFile(/tmp/multipartBody1884163556728945414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_15_05_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/091f0c26828d07ea347a5eba85fcfb72.jpg","text":"TemporaryFile(/tmp/multipartBody94352387719018631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_14_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f7031f5b51b4a72dc1a921572eadb7a.jpg","text":"TemporaryFile(/tmp/multipartBody2696638768853408146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_14_35_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22bfde044c773b25056b230a880cd79b.jpg","text":"TemporaryFile(/tmp/multipartBody35566274168035868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472042979,"filename":"image_30112025_03_14_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012831","file1":"1397012830","file0":"1397012827","file4":"1397012837","file5":"1397012840","file3":"1397012834"},"map_files_photo_id_array":[{"photo_id":"1397012840","filename":"file5"},{"photo_id":"1397012831","filename":"file2"},{"photo_id":"1397012837","filename":"file4"},{"photo_id":"1397012830","filename":"file1"},{"photo_id":"1397012827","filename":"file0"},{"photo_id":"1397012834","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012840":["hashtag1","hashtag2"]},{"1397012834":["hashtag1","hashtag2"]},{"1397012837":["hashtag1","hashtag2"]},{"1397012831":["hashtag1","hashtag2"]},{"1397012830":["hashtag1","hashtag2"]},{"1397012827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012840, 1397012834, 1397012837, 1397012831, 1397012830, 1397012827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19114923477173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:07:03.057093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_24_9602.jpg', '/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_35_10590.jpg', '/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_45_9677.jpg', '/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_54_9734.jpg', '/home/pi/Desktop/images/30112025/03/15/image_30112025_03_16_05_10697.jpg', '/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_24_9602.jpg
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_35_10590.jpg
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_45_9677.jpg
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_15_54_9734.jpg
/home/pi/Desktop/images/30112025/03/15/image_30112025_03_16_05_10697.jpg
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_15_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012847","1397012849","1397012851","1397012845","1397012854","1397012848"],"photo_ids_order":["1397012845","1397012847","1397012848","1397012849","1397012851","1397012854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30645475d70b8d0cc6c4c1a1f6005a32.jpg","text":"TemporaryFile(/tmp/multipartBody4023783574307135792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_15_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6843f087f2e6ae159ef28fe33ffc4df.jpg","text":"TemporaryFile(/tmp/multipartBody5185238031844416410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_15_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4631039c76e9a874918a6ca5c1fcdd26.jpg","text":"TemporaryFile(/tmp/multipartBody7937334483461664401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_16_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d3f1d17a4850ecece2ffb0fa7f3de20.jpg","text":"TemporaryFile(/tmp/multipartBody7700891808399096695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_15_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa211ae3313bf165d135a5b999f7ab68.jpg","text":"TemporaryFile(/tmp/multipartBody5273155569553752263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_16_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43ef34df4f5f16a7fbf048a5154720dd.jpg","text":"TemporaryFile(/tmp/multipartBody4493550485530703524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472083831,"filename":"image_30112025_03_15_45_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012848","file1":"1397012847","file0":"1397012845","file4":"1397012851","file5":"1397012854","file3":"1397012849"},"map_files_photo_id_array":[{"photo_id":"1397012854","filename":"file5"},{"photo_id":"1397012848","filename":"file2"},{"photo_id":"1397012851","filename":"file4"},{"photo_id":"1397012847","filename":"file1"},{"photo_id":"1397012845","filename":"file0"},{"photo_id":"1397012849","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012847":["hashtag1","hashtag2"]},{"1397012849":["hashtag1","hashtag2"]},{"1397012851":["hashtag1","hashtag2"]},{"1397012845":["hashtag1","hashtag2"]},{"1397012854":["hashtag1","hashtag2"]},{"1397012848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012847, 1397012849, 1397012851, 1397012845, 1397012854, 1397012848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.993504762649536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:07:42.454499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/39/image_31102025_11_39_55_2713.jpg', '/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_58_2799.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_07_3015.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_11_3869.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_14_2626.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_17_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_55_2713.jpg
/home/pi/Desktop/images/31102025/11/39/image_31102025_11_39_58_2799.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_07_3015.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_11_3869.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_14_2626.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_17_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":["1397012867","1397012861","1397012863","1397012869","1397012865","1397012859"],"photo_ids_order":["1397012859","1397012861","1397012863","1397012865","1397012867","1397012869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cafb209d545a09bc0869336f7814a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4674379363758226716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_40_14_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1a368b5f33881a3c12692bb965d9d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5610720926183100640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_39_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/30/c4f7009fc8f3f3c4b8d20c0a7cb1d9d4.jpg","text":"TemporaryFile(/tmp/multipartBody2013455940776673571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_40_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/30/cfcce6eca75384bc2fe7f07df04c9a75.jpg","text":"TemporaryFile(/tmp/multipartBody5084173817198921873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_40_17_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/30/b164d790cffa2fbfbb66757a446a500b.jpg","text":"TemporaryFile(/tmp/multipartBody1068969491618551108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_40_11_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/30/60938f5596169327f393c1f5273a1ee8.jpg","text":"TemporaryFile(/tmp/multipartBody743588248092719546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472123412,"filename":"image_31102025_11_39_55_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012863","file1":"1397012861","file0":"1397012859","file4":"1397012867","file5":"1397012869","file3":"1397012865"},"map_files_photo_id_array":[{"photo_id":"1397012869","filename":"file5"},{"photo_id":"1397012863","filename":"file2"},{"photo_id":"1397012867","filename":"file4"},{"photo_id":"1397012861","filename":"file1"},{"photo_id":"1397012859","filename":"file0"},{"photo_id":"1397012865","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012867":["hashtag1","hashtag2"]},{"1397012861":["hashtag1","hashtag2"]},{"1397012863":["hashtag1","hashtag2"]},{"1397012869":["hashtag1","hashtag2"]},{"1397012865":["hashtag1","hashtag2"]},{"1397012859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012867, 1397012861, 1397012863, 1397012869, 1397012865, 1397012859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.874818086624146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:08:22.621377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_24_9829.jpg', '/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_35_10599.jpg', '/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_45_9576.jpg', '/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_54_9709.jpg', '/home/pi/Desktop/images/30112025/03/16/image_30112025_03_17_05_10669.jpg', '/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_15_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_24_9829.jpg
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_35_10599.jpg
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_45_9576.jpg
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_16_54_9709.jpg
/home/pi/Desktop/images/30112025/03/16/image_30112025_03_17_05_10669.jpg
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_15_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012882","1397012879","1397012875","1397012884","1397012872","1397012886"],"photo_ids_order":["1397012872","1397012875","1397012879","1397012882","1397012884","1397012886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/762c8f409e7da133b6ab5d7d8e0f19b3.jpg","text":"TemporaryFile(/tmp/multipartBody1756153624565027001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_16_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/750a1a35d7755d94548ea9eec6de9a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2170055941714882049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_16_45_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9fcf5bc82171b5c44ac227b8c3458c4.jpg","text":"TemporaryFile(/tmp/multipartBody6939326696992888650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_16_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3975c1d54d59ca7b0e042c287d311796.jpg","text":"TemporaryFile(/tmp/multipartBody8485890173393656826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_17_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81295a0906e200f17f53c6ebb6418f49.jpg","text":"TemporaryFile(/tmp/multipartBody1332479229550901079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_16_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45424ed96cce044c590fee9fb9c9f9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4172490750495853108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472163322,"filename":"image_30112025_03_17_15_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012879","file1":"1397012875","file0":"1397012872","file4":"1397012884","file5":"1397012886","file3":"1397012882"},"map_files_photo_id_array":[{"photo_id":"1397012886","filename":"file5"},{"photo_id":"1397012879","filename":"file2"},{"photo_id":"1397012884","filename":"file4"},{"photo_id":"1397012875","filename":"file1"},{"photo_id":"1397012872","filename":"file0"},{"photo_id":"1397012882","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012882":["hashtag1","hashtag2"]},{"1397012879":["hashtag1","hashtag2"]},{"1397012875":["hashtag1","hashtag2"]},{"1397012884":["hashtag1","hashtag2"]},{"1397012872":["hashtag1","hashtag2"]},{"1397012886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012882, 1397012879, 1397012875, 1397012884, 1397012872, 1397012886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.952582597732544 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 --only_old 1
2025-11-30 04:09:12.275566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_18_2639.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_22_3586.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_25_2705.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_27_2635.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_31_3639.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_34_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_18_2639.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_22_3586.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_25_2705.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_27_2635.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_31_3639.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_34_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012904","1397012897","1397012894","1397012900","1397012902","1397012892"],"photo_ids_order":["1397012892","1397012894","1397012897","1397012900","1397012902","1397012904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a69adacdbfa54ef725e5c186849c579.jpg","text":"TemporaryFile(/tmp/multipartBody5177624021284512494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_34_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/30/fcec05a140a7d4ed92e3f380367c3238.jpg","text":"TemporaryFile(/tmp/multipartBody4489824861922619630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_25_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc5bbb06c87671bc4d74f7e11fbeed87.jpg","text":"TemporaryFile(/tmp/multipartBody226302113471118363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_22_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/30/f816db0ccc6020825ac50c7c51669a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3657181242464066618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_27_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cc395eb5d55805ba0554a12b41c548f.jpg","text":"TemporaryFile(/tmp/multipartBody4217215655852469847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_31_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/30/94e26cd8eb689b6725c73ff398dff3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7179943604204913571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472215899,"filename":"image_25112025_19_39_18_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012897","file1":"1397012894","file0":"1397012892","file4":"1397012902","file5":"1397012904","file3":"1397012900"},"map_files_photo_id_array":[{"photo_id":"1397012904","filename":"file5"},{"photo_id":"1397012897","filename":"file2"},{"photo_id":"1397012902","filename":"file4"},{"photo_id":"1397012894","filename":"file1"},{"photo_id":"1397012892","filename":"file0"},{"photo_id":"1397012900","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397012904":["hashtag1","hashtag2"]},{"1397012897":["hashtag1","hashtag2"]},{"1397012894":["hashtag1","hashtag2"]},{"1397012900":["hashtag1","hashtag2"]},{"1397012902":["hashtag1","hashtag2"]},{"1397012892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397012904, 1397012897, 1397012894, 1397012900, 1397012902, 1397012892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50587201118469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:10:02.799375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_24_9641.jpg', '/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_35_10530.jpg', '/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_45_9781.jpg', '/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_54_9570.jpg', '/home/pi/Desktop/images/30112025/03/17/image_30112025_03_18_05_10793.jpg', '/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_15_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_24_9641.jpg
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_35_10530.jpg
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_45_9781.jpg
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_17_54_9570.jpg
/home/pi/Desktop/images/30112025/03/17/image_30112025_03_18_05_10793.jpg
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_15_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012919","1397012913","1397012916","1397012921","1397012912","1397012914"],"photo_ids_order":["1397012912","1397012913","1397012914","1397012916","1397012919","1397012921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f739d943372a3dbff42fdf6f9445f3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7880126021883050156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_18_05_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ae4216bf9480ba15a8b7a72aee36495.jpg","text":"TemporaryFile(/tmp/multipartBody5153067858614662948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_17_35_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad700e2dea1c7a82aa76b32261511631.jpg","text":"TemporaryFile(/tmp/multipartBody1891897470721637605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_17_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/309b1dbf21ca445d9a7b629c02079e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1254815254421917085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_18_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f224d2434999efbf62a76cab39090332.jpg","text":"TemporaryFile(/tmp/multipartBody7926628134889445282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_17_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c527132081d0fde2873c91f85c024edf.jpg","text":"TemporaryFile(/tmp/multipartBody6728436404042754579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472266292,"filename":"image_30112025_03_17_45_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012914","file1":"1397012913","file0":"1397012912","file4":"1397012919","file5":"1397012921","file3":"1397012916"},"map_files_photo_id_array":[{"photo_id":"1397012921","filename":"file5"},{"photo_id":"1397012914","filename":"file2"},{"photo_id":"1397012919","filename":"file4"},{"photo_id":"1397012913","filename":"file1"},{"photo_id":"1397012912","filename":"file0"},{"photo_id":"1397012916","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012919":["hashtag1","hashtag2"]},{"1397012913":["hashtag1","hashtag2"]},{"1397012916":["hashtag1","hashtag2"]},{"1397012921":["hashtag1","hashtag2"]},{"1397012912":["hashtag1","hashtag2"]},{"1397012914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012919, 1397012913, 1397012916, 1397012921, 1397012912, 1397012914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42481350898743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:10:42.513001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/40/image_31102025_11_40_20_3571.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_23_2650.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_25_2685.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_29_3734.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_35_2788.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_38_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_20_3571.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_23_2650.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_25_2685.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_29_3734.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_35_2788.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_38_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012934","1397012928","1397012936","1397012930","1397012932","1397012926"],"photo_ids_order":["1397012926","1397012928","1397012930","1397012932","1397012934","1397012936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70983d582827c6d9e8aa5ae889abd89e.jpg","text":"TemporaryFile(/tmp/multipartBody8620106452519935976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_35_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/30/5ea6bf52d46aeaba5279f0e18ee0fe01.jpg","text":"TemporaryFile(/tmp/multipartBody914911843603652982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_23_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/30/315eaf2e5a302a6b404034a558bff753.jpg","text":"TemporaryFile(/tmp/multipartBody5696884315345871605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_38_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/30/a616b46da5ce4fa81909b18e8367670c.jpg","text":"TemporaryFile(/tmp/multipartBody477102494868548796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_25_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/30/ec5df3e8435f854f8ff3654aee2be232.jpg","text":"TemporaryFile(/tmp/multipartBody36882471541872536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_29_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/30/6f67a0043db8b90869b41f8aaa116da0.jpg","text":"TemporaryFile(/tmp/multipartBody3217005646134664115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472303417,"filename":"image_31102025_11_40_20_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012930","file1":"1397012928","file0":"1397012926","file4":"1397012934","file5":"1397012936","file3":"1397012932"},"map_files_photo_id_array":[{"photo_id":"1397012936","filename":"file5"},{"photo_id":"1397012930","filename":"file2"},{"photo_id":"1397012934","filename":"file4"},{"photo_id":"1397012928","filename":"file1"},{"photo_id":"1397012926","filename":"file0"},{"photo_id":"1397012932","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012934":["hashtag1","hashtag2"]},{"1397012928":["hashtag1","hashtag2"]},{"1397012936":["hashtag1","hashtag2"]},{"1397012930":["hashtag1","hashtag2"]},{"1397012932":["hashtag1","hashtag2"]},{"1397012926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012934, 1397012928, 1397012936, 1397012930, 1397012932, 1397012926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88370943069458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:11:22.649216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_24_9705.jpg', '/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_34_9751.jpg', '/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_45_10661.jpg', '/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_54_9672.jpg', '/home/pi/Desktop/images/30112025/03/18/image_30112025_03_19_04_9749.jpg', '/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_15_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_24_9705.jpg
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_34_9751.jpg
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_45_10661.jpg
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_18_54_9672.jpg
/home/pi/Desktop/images/30112025/03/18/image_30112025_03_19_04_9749.jpg
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_15_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012951","1397012945","1397012947","1397012949","1397012940","1397012943"],"photo_ids_order":["1397012940","1397012943","1397012945","1397012947","1397012949","1397012951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c89acb286ce710da7da407212141268d.jpg","text":"TemporaryFile(/tmp/multipartBody1409482340226337902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_19_15_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9734173c2c2849101f9673d49cd0c08.jpg","text":"TemporaryFile(/tmp/multipartBody8038367029532911372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_18_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e4658e804bd7f1b84adf483d0825010.jpg","text":"TemporaryFile(/tmp/multipartBody5967230464046017016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_18_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d87de6939a7fd3acbf6781ea19f9928.jpg","text":"TemporaryFile(/tmp/multipartBody1536595003307362267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_19_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78c084bf78b456e3a68216bf52e6ff31.jpg","text":"TemporaryFile(/tmp/multipartBody733880348102707333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_18_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c814c92325667e05d1ff37a59b494379.jpg","text":"TemporaryFile(/tmp/multipartBody3552706243956142589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472343352,"filename":"image_30112025_03_18_34_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012945","file1":"1397012943","file0":"1397012940","file4":"1397012949","file5":"1397012951","file3":"1397012947"},"map_files_photo_id_array":[{"photo_id":"1397012951","filename":"file5"},{"photo_id":"1397012945","filename":"file2"},{"photo_id":"1397012949","filename":"file4"},{"photo_id":"1397012943","filename":"file1"},{"photo_id":"1397012940","filename":"file0"},{"photo_id":"1397012947","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012951":["hashtag1","hashtag2"]},{"1397012945":["hashtag1","hashtag2"]},{"1397012947":["hashtag1","hashtag2"]},{"1397012949":["hashtag1","hashtag2"]},{"1397012940":["hashtag1","hashtag2"]},{"1397012943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012951, 1397012945, 1397012947, 1397012949, 1397012940, 1397012943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58691430091858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:12:02.200999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_25_9678.jpg', '/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_34_9749.jpg', '/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_44_9760.jpg', '/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_55_10778.jpg', '/home/pi/Desktop/images/30112025/03/19/image_30112025_03_20_05_10012.jpg', '/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_15_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_25_9678.jpg
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_34_9749.jpg
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_44_9760.jpg
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_19_55_10778.jpg
/home/pi/Desktop/images/30112025/03/19/image_30112025_03_20_05_10012.jpg
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_15_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012960","1397012957","1397012962","1397012965","1397012959","1397012958"],"photo_ids_order":["1397012957","1397012958","1397012959","1397012960","1397012962","1397012965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe099f596bd75f6277df61f63162d06f.jpg","text":"TemporaryFile(/tmp/multipartBody160917031745091660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_19_55_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/feeee45e606cedc2aa0c8b4fae60dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody1152128909448349068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_19_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6db9fed51f06831b351ab914f024e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody2983031132673974873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_20_05_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34f4cc688687325ef88bd4f95e66e01b.jpg","text":"TemporaryFile(/tmp/multipartBody8305740705898110710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_20_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f994c00c95b875c68ea310c2559d3269.jpg","text":"TemporaryFile(/tmp/multipartBody4263196713639763807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_19_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92b43b00faa5c7b1e80064a2cd8f0fcd.jpg","text":"TemporaryFile(/tmp/multipartBody957951288411997687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472382945,"filename":"image_30112025_03_19_34_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012959","file1":"1397012958","file0":"1397012957","file4":"1397012962","file5":"1397012965","file3":"1397012960"},"map_files_photo_id_array":[{"photo_id":"1397012965","filename":"file5"},{"photo_id":"1397012959","filename":"file2"},{"photo_id":"1397012962","filename":"file4"},{"photo_id":"1397012958","filename":"file1"},{"photo_id":"1397012957","filename":"file0"},{"photo_id":"1397012960","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012960":["hashtag1","hashtag2"]},{"1397012957":["hashtag1","hashtag2"]},{"1397012962":["hashtag1","hashtag2"]},{"1397012965":["hashtag1","hashtag2"]},{"1397012959":["hashtag1","hashtag2"]},{"1397012958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012960, 1397012957, 1397012962, 1397012965, 1397012959, 1397012958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76120090484619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:12:41.854074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/40/image_31102025_11_40_41_2884.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_44_2531.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_47_2810.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_49_2877.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_53_3652.jpg', '/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_56_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/11/40/image_31102025_11_40_41_2884.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_44_2531.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_47_2810.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_49_2877.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_53_3652.jpg
/home/pi/Desktop/images/31102025/11/40/image_31102025_11_40_56_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":["1397012981","1397012972","1397012975","1397012983","1397012977","1397012979"],"photo_ids_order":["1397012972","1397012975","1397012977","1397012979","1397012981","1397012983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cf1c92d65b68d9b02cdf6426e5d08d8.jpg","text":"TemporaryFile(/tmp/multipartBody5387603532069649314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_53_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/30/a3d9aa2fe884845329104f5efdb39f33.jpg","text":"TemporaryFile(/tmp/multipartBody7921116053304668148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_41_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/30/6af030cf6aa511eac097c1644580fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody5356437080153055763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_44_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/30/be6589d248d2de64e1378c1a51d677cc.jpg","text":"TemporaryFile(/tmp/multipartBody8640376849064926149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_56_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cdb8f45087a149003f5537ee02cd253.jpg","text":"TemporaryFile(/tmp/multipartBody2240126499656563756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_47_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/30/8a3ab5a0c60962b22efa414d181bfe47.jpg","text":"TemporaryFile(/tmp/multipartBody1952503565625380015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472422765,"filename":"image_31102025_11_40_49_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012977","file1":"1397012975","file0":"1397012972","file4":"1397012981","file5":"1397012983","file3":"1397012979"},"map_files_photo_id_array":[{"photo_id":"1397012983","filename":"file5"},{"photo_id":"1397012977","filename":"file2"},{"photo_id":"1397012981","filename":"file4"},{"photo_id":"1397012975","filename":"file1"},{"photo_id":"1397012972","filename":"file0"},{"photo_id":"1397012979","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397012981":["hashtag1","hashtag2"]},{"1397012972":["hashtag1","hashtag2"]},{"1397012975":["hashtag1","hashtag2"]},{"1397012983":["hashtag1","hashtag2"]},{"1397012977":["hashtag1","hashtag2"]},{"1397012979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397012981, 1397012972, 1397012975, 1397012983, 1397012977, 1397012979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.207897901535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:13:22.022094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_24_9620.jpg', '/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_35_10649.jpg', '/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_45_9798.jpg', '/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_54_9600.jpg', '/home/pi/Desktop/images/30112025/03/20/image_30112025_03_21_05_10589.jpg', '/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_15_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_24_9620.jpg
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_35_10649.jpg
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_45_9798.jpg
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_20_54_9600.jpg
/home/pi/Desktop/images/30112025/03/20/image_30112025_03_21_05_10589.jpg
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_15_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397012984","1397012993","1397012987","1397012989","1397012997","1397012991"],"photo_ids_order":["1397012984","1397012987","1397012989","1397012991","1397012993","1397012997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d79fa78e12539f1400ee4f0ba91249b.jpg","text":"TemporaryFile(/tmp/multipartBody4845613513323003146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_20_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70a051776eef6ef06316a715857130ec.jpg","text":"TemporaryFile(/tmp/multipartBody8832304034460703792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_21_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/814c5433b0679c1fa75f295e24246e07.jpg","text":"TemporaryFile(/tmp/multipartBody404215792583168003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_20_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dddfb4a84260d22ad9f70c25469adec7.jpg","text":"TemporaryFile(/tmp/multipartBody8865377451852296352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_20_45_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa13836bf1ea10aaa455d4459ca208ff.jpg","text":"TemporaryFile(/tmp/multipartBody486896800901297799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_21_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b2ad86376b8def9de83b4a5c59ea471.jpg","text":"TemporaryFile(/tmp/multipartBody7284585573473025609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472462745,"filename":"image_30112025_03_20_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397012989","file1":"1397012987","file0":"1397012984","file4":"1397012993","file5":"1397012997","file3":"1397012991"},"map_files_photo_id_array":[{"photo_id":"1397012997","filename":"file5"},{"photo_id":"1397012989","filename":"file2"},{"photo_id":"1397012993","filename":"file4"},{"photo_id":"1397012987","filename":"file1"},{"photo_id":"1397012984","filename":"file0"},{"photo_id":"1397012991","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397012984":["hashtag1","hashtag2"]},{"1397012993":["hashtag1","hashtag2"]},{"1397012987":["hashtag1","hashtag2"]},{"1397012989":["hashtag1","hashtag2"]},{"1397012997":["hashtag1","hashtag2"]},{"1397012991":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397012984, 1397012993, 1397012987, 1397012989, 1397012997, 1397012991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.284801959991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:14:02.910525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_24_9777.jpg', '/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_34_9770.jpg', '/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_45_10746.jpg', '/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_55_9678.jpg', '/home/pi/Desktop/images/30112025/03/21/image_30112025_03_22_04_9811.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_24_9777.jpg
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_34_9770.jpg
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_45_10746.jpg
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_21_55_9678.jpg
/home/pi/Desktop/images/30112025/03/21/image_30112025_03_22_04_9811.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_15_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013008","1397013002","1397013011","1397013005","1397013004","1397013003"],"photo_ids_order":["1397013002","1397013003","1397013004","1397013005","1397013008","1397013011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa49953cb2b96ecced8a53f22c430c69.jpg","text":"TemporaryFile(/tmp/multipartBody1378877150284710045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_22_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8a9150288efa24510c75b7c202046d9.jpg","text":"TemporaryFile(/tmp/multipartBody5534216745653786266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_21_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c74151d86963e47f8ac103539541b4dd.jpg","text":"TemporaryFile(/tmp/multipartBody2675910909979428603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_22_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87a483db565d5c7c8340b17380360fdb.jpg","text":"TemporaryFile(/tmp/multipartBody6930692001341076435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_21_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fa9946e96ef3b07412821aab0ff13b8.jpg","text":"TemporaryFile(/tmp/multipartBody3511451149291868049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_21_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72341f3ee59d44e5c1e6386c2f41aa88.jpg","text":"TemporaryFile(/tmp/multipartBody90106344992235591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472503630,"filename":"image_30112025_03_21_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013004","file1":"1397013003","file0":"1397013002","file4":"1397013008","file5":"1397013011","file3":"1397013005"},"map_files_photo_id_array":[{"photo_id":"1397013011","filename":"file5"},{"photo_id":"1397013004","filename":"file2"},{"photo_id":"1397013008","filename":"file4"},{"photo_id":"1397013003","filename":"file1"},{"photo_id":"1397013002","filename":"file0"},{"photo_id":"1397013005","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013008":["hashtag1","hashtag2"]},{"1397013002":["hashtag1","hashtag2"]},{"1397013011":["hashtag1","hashtag2"]},{"1397013005":["hashtag1","hashtag2"]},{"1397013004":["hashtag1","hashtag2"]},{"1397013003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013008, 1397013002, 1397013011, 1397013005, 1397013004, 1397013003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.779518604278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:14:42.321712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/40/image_31102025_11_40_59_2690.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_02_3655.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_05_2802.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_08_2836.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_10_2641.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_14_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/11/40/image_31102025_11_40_59_2690.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_02_3655.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_05_2802.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_08_2836.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_10_2641.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_14_3801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013026","1397013020","1397013028","1397013022","1397013030","1397013024"],"photo_ids_order":["1397013020","1397013022","1397013024","1397013026","1397013028","1397013030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b60a4f5e4b2837fb0170000b9fe0c4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1357781882484684903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_41_08_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/30/9f24070c9f7e5c56702eab5fadd504a4.jpg","text":"TemporaryFile(/tmp/multipartBody6377559760866345003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_40_59_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/30/d8065e48f7fee81b910bc4fcbf9d9b49.jpg","text":"TemporaryFile(/tmp/multipartBody6432223991454646498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_41_10_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/30/091008faa2eae50efa20cb57823f4f87.jpg","text":"TemporaryFile(/tmp/multipartBody379102291379535781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_41_02_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/30/2b977bd30eb9df600d4818590484b365.jpg","text":"TemporaryFile(/tmp/multipartBody7428253784325925599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_41_14_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/30/49c2a3fa41989d1c009fb5492dbed236.jpg","text":"TemporaryFile(/tmp/multipartBody2749319294134595398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472543284,"filename":"image_31102025_11_41_05_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013024","file1":"1397013022","file0":"1397013020","file4":"1397013028","file5":"1397013030","file3":"1397013026"},"map_files_photo_id_array":[{"photo_id":"1397013030","filename":"file5"},{"photo_id":"1397013024","filename":"file2"},{"photo_id":"1397013028","filename":"file4"},{"photo_id":"1397013022","filename":"file1"},{"photo_id":"1397013020","filename":"file0"},{"photo_id":"1397013026","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013026":["hashtag1","hashtag2"]},{"1397013020":["hashtag1","hashtag2"]},{"1397013028":["hashtag1","hashtag2"]},{"1397013022":["hashtag1","hashtag2"]},{"1397013030":["hashtag1","hashtag2"]},{"1397013024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013026, 1397013020, 1397013028, 1397013022, 1397013030, 1397013024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.379119873046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:15:22.519601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_25_9645.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_34_9610.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_45_10795.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_55_9634.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_23_04_9749.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_15_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_25_9645.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_34_9610.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_45_10795.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_55_9634.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_23_04_9749.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_15_10609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6265537738800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:15:32.473405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_36_2684.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_40_3722.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_43_2686.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_45_2729.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_48_2736.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_52_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_36_2684.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_40_3722.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_43_2686.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_45_2729.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_48_2736.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_52_3762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013050","1397013052","1397013046","1397013048","1397013042","1397013039"],"photo_ids_order":["1397013039","1397013042","1397013046","1397013048","1397013050","1397013052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8814f7fed2c57c70f89fa2ea998cfcbc.jpg","text":"TemporaryFile(/tmp/multipartBody31035830094963748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_48_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/30/3dbbe72bb95079bffd33d626e546fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody759711587560572449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_52_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/30/a9bd7f5c3fe441d808266429d89afb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4084831431861161408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_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/30/48cc275f0a992f06e2c3218bcb17b408.jpg","text":"TemporaryFile(/tmp/multipartBody4714101788457242528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_45_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13906084024d94dbe9190823bb096d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7642784795645949485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_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/30/c6ae3298dcd8f0112d7923717f9b7bef.jpg","text":"TemporaryFile(/tmp/multipartBody626890489195371850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472594466,"filename":"image_25112025_19_39_36_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013046","file1":"1397013042","file0":"1397013039","file4":"1397013050","file5":"1397013052","file3":"1397013048"},"map_files_photo_id_array":[{"photo_id":"1397013052","filename":"file5"},{"photo_id":"1397013046","filename":"file2"},{"photo_id":"1397013050","filename":"file4"},{"photo_id":"1397013042","filename":"file1"},{"photo_id":"1397013039","filename":"file0"},{"photo_id":"1397013048","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013050":["hashtag1","hashtag2"]},{"1397013052":["hashtag1","hashtag2"]},{"1397013046":["hashtag1","hashtag2"]},{"1397013048":["hashtag1","hashtag2"]},{"1397013042":["hashtag1","hashtag2"]},{"1397013039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013050, 1397013052, 1397013046, 1397013048, 1397013042, 1397013039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89433312416077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:16:12.672563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_54_2579.jpg', '/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_58_3604.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_01_2564.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_03_2652.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_06_3024.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_09_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_54_2579.jpg
/home/pi/Desktop/images/25112025/19/39/image_25112025_19_39_58_3604.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_01_2564.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_03_2652.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_06_3024.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_09_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013062","1397013055","1397013064","1397013066","1397013060","1397013057"],"photo_ids_order":["1397013055","1397013057","1397013060","1397013062","1397013064","1397013066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb032f1e13047a6bcc4c429dcc5e95b9.jpg","text":"TemporaryFile(/tmp/multipartBody6615694969352721351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_40_03_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/30/b0699dedc39b3188885bc60f8150f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody9121973105070235686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_39_54_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/30/c41ee4afe0df451328ce7db47da5552c.jpg","text":"TemporaryFile(/tmp/multipartBody4847305560367841845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_40_06_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d475ad3d06204289aefa7e0d9357472.jpg","text":"TemporaryFile(/tmp/multipartBody6123561921301757621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_40_09_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/30/865cbfaa113b6307a6f2f4e15580fd50.jpg","text":"TemporaryFile(/tmp/multipartBody1996041379348853881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_40_01_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/30/491b84b6fb67c52d4d74a8df96ca83bb.jpg","text":"TemporaryFile(/tmp/multipartBody4711774142200080060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472634583,"filename":"image_25112025_19_39_58_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013060","file1":"1397013057","file0":"1397013055","file4":"1397013064","file5":"1397013066","file3":"1397013062"},"map_files_photo_id_array":[{"photo_id":"1397013066","filename":"file5"},{"photo_id":"1397013060","filename":"file2"},{"photo_id":"1397013064","filename":"file4"},{"photo_id":"1397013057","filename":"file1"},{"photo_id":"1397013055","filename":"file0"},{"photo_id":"1397013062","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013062":["hashtag1","hashtag2"]},{"1397013055":["hashtag1","hashtag2"]},{"1397013064":["hashtag1","hashtag2"]},{"1397013066":["hashtag1","hashtag2"]},{"1397013060":["hashtag1","hashtag2"]},{"1397013057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013062, 1397013055, 1397013064, 1397013066, 1397013060, 1397013057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3416793346405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:17:03.357782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_25_9645.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_34_9610.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_45_10795.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_55_9634.jpg', '/home/pi/Desktop/images/30112025/03/22/image_30112025_03_23_04_9749.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_15_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_25_9645.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_34_9610.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_45_10795.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_22_55_9634.jpg
/home/pi/Desktop/images/30112025/03/22/image_30112025_03_23_04_9749.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_15_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013077","1397013074","1397013082","1397013076","1397013075","1397013080"],"photo_ids_order":["1397013074","1397013075","1397013076","1397013077","1397013080","1397013082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2cc90353c9bdab7828446aefd5394f3.jpg","text":"TemporaryFile(/tmp/multipartBody5462372033295176311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_22_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94f12721540d4c716a257c3a66f6c957.jpg","text":"TemporaryFile(/tmp/multipartBody2208380892010898744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_22_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/260a1a9e3f3cb0a7c2cf675c918281ae.jpg","text":"TemporaryFile(/tmp/multipartBody2279968040173912152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_23_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/482115d8707d0206545f5393fa24131d.jpg","text":"TemporaryFile(/tmp/multipartBody8940227484904875072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_22_45_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b21853e2a7bed25ef894bbea36160d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3172172639095307834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_22_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edfc4d08c44a22ab8b4d3c4042c385c5.jpg","text":"TemporaryFile(/tmp/multipartBody5120250635983198524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472684117,"filename":"image_30112025_03_23_04_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013076","file1":"1397013075","file0":"1397013074","file4":"1397013080","file5":"1397013082","file3":"1397013077"},"map_files_photo_id_array":[{"photo_id":"1397013082","filename":"file5"},{"photo_id":"1397013076","filename":"file2"},{"photo_id":"1397013080","filename":"file4"},{"photo_id":"1397013075","filename":"file1"},{"photo_id":"1397013074","filename":"file0"},{"photo_id":"1397013077","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013077":["hashtag1","hashtag2"]},{"1397013074":["hashtag1","hashtag2"]},{"1397013082":["hashtag1","hashtag2"]},{"1397013076":["hashtag1","hashtag2"]},{"1397013075":["hashtag1","hashtag2"]},{"1397013080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013077, 1397013074, 1397013082, 1397013076, 1397013075, 1397013080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07036209106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:17:42.814420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/41/image_31102025_11_41_17_2824.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_20_2708.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_22_2635.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_26_3634.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_29_2726.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_32_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_17_2824.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_20_2708.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_22_2635.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_26_3634.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_29_2726.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_32_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013091","1397013088","1397013097","1397013099","1397013093","1397013095"],"photo_ids_order":["1397013088","1397013091","1397013093","1397013095","1397013097","1397013099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d55d0d3b476d7e8d1824953a1d28432f.jpg","text":"TemporaryFile(/tmp/multipartBody4103963901448848627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_20_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a32016f1978277f49e5ddba845758da.jpg","text":"TemporaryFile(/tmp/multipartBody1296837008647568610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_17_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/30/452f2b9c5014d0bc609c5e925f91fcec.jpg","text":"TemporaryFile(/tmp/multipartBody660487768102869693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_29_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9028d35609159c6fa78459c0a8c50e07.jpg","text":"TemporaryFile(/tmp/multipartBody4185105252974171592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_32_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3b14ed701769a34fd7afd56ab72c81c.jpg","text":"TemporaryFile(/tmp/multipartBody1986144988904086779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_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/30/4c91b50cc60cdc43582fbacb360dd4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1109220811100351584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472723762,"filename":"image_31102025_11_41_26_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013093","file1":"1397013091","file0":"1397013088","file4":"1397013097","file5":"1397013099","file3":"1397013095"},"map_files_photo_id_array":[{"photo_id":"1397013099","filename":"file5"},{"photo_id":"1397013093","filename":"file2"},{"photo_id":"1397013097","filename":"file4"},{"photo_id":"1397013091","filename":"file1"},{"photo_id":"1397013088","filename":"file0"},{"photo_id":"1397013095","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013091":["hashtag1","hashtag2"]},{"1397013088":["hashtag1","hashtag2"]},{"1397013097":["hashtag1","hashtag2"]},{"1397013099":["hashtag1","hashtag2"]},{"1397013093":["hashtag1","hashtag2"]},{"1397013095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013091, 1397013088, 1397013097, 1397013099, 1397013093, 1397013095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308680057525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:18:21.954770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_24_9340.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_35_10666.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_45_9620.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_54_9614.jpg', '/home/pi/Desktop/images/30112025/03/23/image_30112025_03_24_04_9908.jpg', '/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_15_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_24_9340.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_35_10666.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_45_9620.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_23_54_9614.jpg
/home/pi/Desktop/images/30112025/03/23/image_30112025_03_24_04_9908.jpg
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_15_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013108","1397013113","1397013107","1397013110","1397013104","1397013103"],"photo_ids_order":["1397013103","1397013104","1397013107","1397013108","1397013110","1397013113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/377bcee6d94590af5156a399984fa9c1.jpg","text":"TemporaryFile(/tmp/multipartBody4523496859213771006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_23_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b179cbf5ba16d27d9878fc0103ada5e.jpg","text":"TemporaryFile(/tmp/multipartBody2024972303840023836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_24_15_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/796544e83d8f7c54f6cd8f47afaf64b3.jpg","text":"TemporaryFile(/tmp/multipartBody6078244492686249894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_23_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79152ec71ade439b3ef5132a4992f001.jpg","text":"TemporaryFile(/tmp/multipartBody1567873190828080439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_24_04_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/398db36bc36dbc0a299dca8cd5a2269a.jpg","text":"TemporaryFile(/tmp/multipartBody7866921132887137900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_23_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10c80c55944dd3bafc1c8ae1b127a873.jpg","text":"TemporaryFile(/tmp/multipartBody6755516276370369248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472762650,"filename":"image_30112025_03_23_24_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013107","file1":"1397013104","file0":"1397013103","file4":"1397013110","file5":"1397013113","file3":"1397013108"},"map_files_photo_id_array":[{"photo_id":"1397013113","filename":"file5"},{"photo_id":"1397013107","filename":"file2"},{"photo_id":"1397013110","filename":"file4"},{"photo_id":"1397013104","filename":"file1"},{"photo_id":"1397013103","filename":"file0"},{"photo_id":"1397013108","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013108":["hashtag1","hashtag2"]},{"1397013113":["hashtag1","hashtag2"]},{"1397013107":["hashtag1","hashtag2"]},{"1397013110":["hashtag1","hashtag2"]},{"1397013104":["hashtag1","hashtag2"]},{"1397013103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013108, 1397013113, 1397013107, 1397013110, 1397013104, 1397013103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47655391693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:19:03.246919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_24_9730.jpg', '/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_35_10273.jpg', '/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_45_9820.jpg', '/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_54_9665.jpg', '/home/pi/Desktop/images/30112025/03/24/image_30112025_03_25_05_10606.jpg', '/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_15_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_24_9730.jpg
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_35_10273.jpg
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_45_9820.jpg
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_24_54_9665.jpg
/home/pi/Desktop/images/30112025/03/24/image_30112025_03_25_05_10606.jpg
/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_15_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013125","1397013128","1397013122","1397013121","1397013120","1397013123"],"photo_ids_order":["1397013120","1397013121","1397013122","1397013123","1397013125","1397013128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db0b887d5c6cc03c5cf7c3d45da66796.jpg","text":"TemporaryFile(/tmp/multipartBody4036770248518675288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_25_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f8754b1c3586e8a1b66bc14f397cf31.jpg","text":"TemporaryFile(/tmp/multipartBody9149958102584168135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_25_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24a658d5035ddae2c3888db1fe725fe2.jpg","text":"TemporaryFile(/tmp/multipartBody602124555109008709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_24_45_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5c125c7614532c70c7254b2806e0fd7.jpg","text":"TemporaryFile(/tmp/multipartBody2950412835177304782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_24_35_10273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e0a745447294748306c07aa5e78884b.jpg","text":"TemporaryFile(/tmp/multipartBody8745516472723345620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_24_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8155dd317435f4c963dc607130b8d74.jpg","text":"TemporaryFile(/tmp/multipartBody1623268721466523296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472804075,"filename":"image_30112025_03_24_54_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013122","file1":"1397013121","file0":"1397013120","file4":"1397013125","file5":"1397013128","file3":"1397013123"},"map_files_photo_id_array":[{"photo_id":"1397013128","filename":"file5"},{"photo_id":"1397013122","filename":"file2"},{"photo_id":"1397013125","filename":"file4"},{"photo_id":"1397013121","filename":"file1"},{"photo_id":"1397013120","filename":"file0"},{"photo_id":"1397013123","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013125":["hashtag1","hashtag2"]},{"1397013128":["hashtag1","hashtag2"]},{"1397013122":["hashtag1","hashtag2"]},{"1397013121":["hashtag1","hashtag2"]},{"1397013120":["hashtag1","hashtag2"]},{"1397013123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013125, 1397013128, 1397013122, 1397013121, 1397013120, 1397013123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.581477642059326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:19:42.184245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/41/image_31102025_11_41_34_2719.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_41_2623.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_43_2785.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_47_3656.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_50_2947.jpg', '/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_53_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_34_2719.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_41_2623.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_43_2785.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_47_3656.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_50_2947.jpg
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_53_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":["1397013137","1397013139","1397013133","1397013141","1397013135","1397013144"],"photo_ids_order":["1397013133","1397013135","1397013137","1397013139","1397013141","1397013144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7417006f7edbfe438e336eea6216ab11.jpg","text":"TemporaryFile(/tmp/multipartBody2034113123117390491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_43_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/30/b96e3d6c20300c50ce84a20af1a474c8.jpg","text":"TemporaryFile(/tmp/multipartBody2894611485747818975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_47_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/30/9e28e6ce33da79474124ea4e8229e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody7210858558468077060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_34_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/30/f660fa2b8321ce078e80649613e622b4.jpg","text":"TemporaryFile(/tmp/multipartBody1843190503501114992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_50_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bb16b3a33bb5e62726e1d23c9c5543a.jpg","text":"TemporaryFile(/tmp/multipartBody9097616922340666290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_41_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/30/8cfe4cc2014e77f400f94ba8f4b18042.jpg","text":"TemporaryFile(/tmp/multipartBody5462441603664582982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472843194,"filename":"image_31102025_11_41_53_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013137","file1":"1397013135","file0":"1397013133","file4":"1397013141","file5":"1397013144","file3":"1397013139"},"map_files_photo_id_array":[{"photo_id":"1397013144","filename":"file5"},{"photo_id":"1397013137","filename":"file2"},{"photo_id":"1397013141","filename":"file4"},{"photo_id":"1397013135","filename":"file1"},{"photo_id":"1397013133","filename":"file0"},{"photo_id":"1397013139","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013137":["hashtag1","hashtag2"]},{"1397013139":["hashtag1","hashtag2"]},{"1397013133":["hashtag1","hashtag2"]},{"1397013141":["hashtag1","hashtag2"]},{"1397013135":["hashtag1","hashtag2"]},{"1397013144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013137, 1397013139, 1397013133, 1397013141, 1397013135, 1397013144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88714361190796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:20:22.343200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_24_9611.jpg', '/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_35_10621.jpg', '/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_44_9632.jpg', '/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_54_9781.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_04_10250.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_24_9611.jpg
/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_35_10621.jpg
/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_44_9632.jpg
/home/pi/Desktop/images/30112025/03/25/image_30112025_03_25_54_9781.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_04_10250.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013157","1397013151","1397013148","1397013159","1397013153","1397013156"],"photo_ids_order":["1397013148","1397013151","1397013153","1397013156","1397013157","1397013159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b3845beac3584d794125b431ae13f40.jpg","text":"TemporaryFile(/tmp/multipartBody9001391942597817132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_26_04_10250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c05240eff0c302fdf40408070911deb.jpg","text":"TemporaryFile(/tmp/multipartBody6139489977393455202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_25_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/352f3b25417b55c879a295c31a8d495b.jpg","text":"TemporaryFile(/tmp/multipartBody4960458812448092014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_25_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/852634d1417b9bcc12ce6b06d6b2cb56.jpg","text":"TemporaryFile(/tmp/multipartBody1696167395947113955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_26_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01dc5ed62bc05f293e9e1ec313a92891.jpg","text":"TemporaryFile(/tmp/multipartBody1147255960224225598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_25_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6d8184b333a1642f28e9e4b76f95152.jpg","text":"TemporaryFile(/tmp/multipartBody5677248926366660930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472883034,"filename":"image_30112025_03_25_54_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013153","file1":"1397013151","file0":"1397013148","file4":"1397013157","file5":"1397013159","file3":"1397013156"},"map_files_photo_id_array":[{"photo_id":"1397013159","filename":"file5"},{"photo_id":"1397013153","filename":"file2"},{"photo_id":"1397013157","filename":"file4"},{"photo_id":"1397013151","filename":"file1"},{"photo_id":"1397013148","filename":"file0"},{"photo_id":"1397013156","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013157":["hashtag1","hashtag2"]},{"1397013151":["hashtag1","hashtag2"]},{"1397013148":["hashtag1","hashtag2"]},{"1397013159":["hashtag1","hashtag2"]},{"1397013153":["hashtag1","hashtag2"]},{"1397013156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013157, 1397013151, 1397013148, 1397013159, 1397013153, 1397013156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.520916223526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:21:03.081599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_25_10583.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_34_9710.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_45_10533.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_55_9608.jpg', '/home/pi/Desktop/images/30112025/03/26/image_30112025_03_27_04_9525.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_15_10958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_25_10583.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_34_9710.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_45_10533.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_26_55_9608.jpg
/home/pi/Desktop/images/30112025/03/26/image_30112025_03_27_04_9525.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_15_10958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013170","1397013173","1397013167","1397013166","1397013165","1397013168"],"photo_ids_order":["1397013165","1397013166","1397013167","1397013168","1397013170","1397013173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/204cc63d436a8bb69a3b2e798d1cb28f.jpg","text":"TemporaryFile(/tmp/multipartBody6425706976465696629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_27_04_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fca1205dff39ab68040438d39fcaf72.jpg","text":"TemporaryFile(/tmp/multipartBody1569382212585916865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_27_15_10958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/380767c41794c31919093147eb9f61ee.jpg","text":"TemporaryFile(/tmp/multipartBody5098507707023746954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_26_45_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9d76702e4f2bbc6dcbfb424a47a72dd.jpg","text":"TemporaryFile(/tmp/multipartBody682767053895361176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_26_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56b2da4cbb4b8929441efc66f46faa18.jpg","text":"TemporaryFile(/tmp/multipartBody5517223852461472202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_26_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9136976f4953f074cd8218bb77e0c8b1.jpg","text":"TemporaryFile(/tmp/multipartBody8678754670444599204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472923862,"filename":"image_30112025_03_26_55_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013167","file1":"1397013166","file0":"1397013165","file4":"1397013170","file5":"1397013173","file3":"1397013168"},"map_files_photo_id_array":[{"photo_id":"1397013173","filename":"file5"},{"photo_id":"1397013167","filename":"file2"},{"photo_id":"1397013170","filename":"file4"},{"photo_id":"1397013166","filename":"file1"},{"photo_id":"1397013165","filename":"file0"},{"photo_id":"1397013168","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013170":["hashtag1","hashtag2"]},{"1397013173":["hashtag1","hashtag2"]},{"1397013167":["hashtag1","hashtag2"]},{"1397013166":["hashtag1","hashtag2"]},{"1397013165":["hashtag1","hashtag2"]},{"1397013168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013170, 1397013173, 1397013167, 1397013166, 1397013165, 1397013168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40626859664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:21:42.680555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/41/image_31102025_11_41_55_2704.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_02_2654.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_05_3026.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_08_2819.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_11_3563.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_14_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/41/image_31102025_11_41_55_2704.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_02_2654.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_05_3026.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_08_2819.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_11_3563.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_14_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013190","1397013181","1397013183","1397013192","1397013186","1397013188"],"photo_ids_order":["1397013181","1397013183","1397013186","1397013188","1397013190","1397013192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/619de971eba6201ebedbf0abdca0d2f8.jpg","text":"TemporaryFile(/tmp/multipartBody6399213002419891838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_42_11_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/30/d9d57dd37219c59d9abb0a1475e1fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody3965779932849970155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_41_55_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6d154928780a86707a06cb43f25e272.jpg","text":"TemporaryFile(/tmp/multipartBody2324205018255092711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_42_02_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/30/eb8d6db04f49966314a75302fadcd0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1707162914476157138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_42_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/30/c5e89bb138ab462239dcbf70caafdbb7.jpg","text":"TemporaryFile(/tmp/multipartBody2328038355252229754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_42_05_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/30/a47a27bbe30e26925881c12b284b8d41.jpg","text":"TemporaryFile(/tmp/multipartBody9017452464579678248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764472963597,"filename":"image_31102025_11_42_08_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013186","file1":"1397013183","file0":"1397013181","file4":"1397013190","file5":"1397013192","file3":"1397013188"},"map_files_photo_id_array":[{"photo_id":"1397013192","filename":"file5"},{"photo_id":"1397013186","filename":"file2"},{"photo_id":"1397013190","filename":"file4"},{"photo_id":"1397013183","filename":"file1"},{"photo_id":"1397013181","filename":"file0"},{"photo_id":"1397013188","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013190":["hashtag1","hashtag2"]},{"1397013181":["hashtag1","hashtag2"]},{"1397013183":["hashtag1","hashtag2"]},{"1397013192":["hashtag1","hashtag2"]},{"1397013186":["hashtag1","hashtag2"]},{"1397013188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013190, 1397013181, 1397013183, 1397013192, 1397013186, 1397013188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21930265426636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:22:21.854328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_25_9891.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_35_9671.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_44_9616.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_55_10769.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_28_05_9729.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_14_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_25_9891.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_35_9671.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_44_9616.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_55_10769.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_28_05_9729.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_14_9672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5842559337615967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:22:31.908341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_13_3580.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_15_2773.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_18_2727.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_22_3742.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_25_2664.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_27_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_13_3580.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_15_2773.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_18_2727.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_22_3742.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_25_2664.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_27_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013212","1397013206","1397013203","1397013214","1397013216","1397013210"],"photo_ids_order":["1397013203","1397013206","1397013210","1397013212","1397013214","1397013216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36ad1c8196c98aa8f1d0dbd59b187ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4220990259410611138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_22_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f3c1c8ff6ecb00a16ca0c71827dc9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4262304301678161543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_15_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e49da6c87f463aaf6b718e12a2fa9a85.jpg","text":"TemporaryFile(/tmp/multipartBody3465837552694189166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_13_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/30/12483a0f5e288c6bd892153139300978.jpg","text":"TemporaryFile(/tmp/multipartBody5083309521838218691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_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/30/1d8c6cf95075354c165cac9207eb94d3.jpg","text":"TemporaryFile(/tmp/multipartBody5667690566937099204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_27_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/30/98a9a30aba8adb9bd1959cc946a336b7.jpg","text":"TemporaryFile(/tmp/multipartBody2325686807303973530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473013933,"filename":"image_25112025_19_40_18_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013210","file1":"1397013206","file0":"1397013203","file4":"1397013214","file5":"1397013216","file3":"1397013212"},"map_files_photo_id_array":[{"photo_id":"1397013216","filename":"file5"},{"photo_id":"1397013210","filename":"file2"},{"photo_id":"1397013214","filename":"file4"},{"photo_id":"1397013206","filename":"file1"},{"photo_id":"1397013203","filename":"file0"},{"photo_id":"1397013212","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013212":["hashtag1","hashtag2"]},{"1397013206":["hashtag1","hashtag2"]},{"1397013203":["hashtag1","hashtag2"]},{"1397013214":["hashtag1","hashtag2"]},{"1397013216":["hashtag1","hashtag2"]},{"1397013210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013212, 1397013206, 1397013203, 1397013214, 1397013216, 1397013210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.427470207214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:23:12.164960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_31_3729.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_34_2645.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_36_2669.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_40_3669.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_43_2615.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_45_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_31_3729.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_34_2645.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_36_2669.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_40_3669.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_43_2615.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_45_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013230","1397013224","1397013227","1397013221","1397013232","1397013219"],"photo_ids_order":["1397013219","1397013221","1397013224","1397013227","1397013230","1397013232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd54839a83357685e07564758b6042cf.jpg","text":"TemporaryFile(/tmp/multipartBody8402382860904086123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_43_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/30/ebcf3336ef15d7baf7aadf70c92b9aec.jpg","text":"TemporaryFile(/tmp/multipartBody1285581407969775129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_36_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1cc410cbba43b92cb2ccd4e2f13acbe.jpg","text":"TemporaryFile(/tmp/multipartBody7599901362862918423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_40_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/30/747388a407ed0eedc084adc2ef86f415.jpg","text":"TemporaryFile(/tmp/multipartBody4211443052002855074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_34_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7a045ac7ae6cf77e14f16b4da410235.jpg","text":"TemporaryFile(/tmp/multipartBody8270541623631558433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_45_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/30/47149c2d441c34e3094fb033d2257e97.jpg","text":"TemporaryFile(/tmp/multipartBody2243040617773118086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473054036,"filename":"image_25112025_19_40_31_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013224","file1":"1397013221","file0":"1397013219","file4":"1397013230","file5":"1397013232","file3":"1397013227"},"map_files_photo_id_array":[{"photo_id":"1397013232","filename":"file5"},{"photo_id":"1397013224","filename":"file2"},{"photo_id":"1397013230","filename":"file4"},{"photo_id":"1397013221","filename":"file1"},{"photo_id":"1397013219","filename":"file0"},{"photo_id":"1397013227","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013230":["hashtag1","hashtag2"]},{"1397013224":["hashtag1","hashtag2"]},{"1397013227":["hashtag1","hashtag2"]},{"1397013221":["hashtag1","hashtag2"]},{"1397013232":["hashtag1","hashtag2"]},{"1397013219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013230, 1397013224, 1397013227, 1397013221, 1397013232, 1397013219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07909870147705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:24:02.964551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_25_9891.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_35_9671.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_44_9616.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_55_10769.jpg', '/home/pi/Desktop/images/30112025/03/27/image_30112025_03_28_05_9729.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_14_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_25_9891.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_35_9671.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_44_9616.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_27_55_10769.jpg
/home/pi/Desktop/images/30112025/03/27/image_30112025_03_28_05_9729.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_14_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013251","1397013245","1397013248","1397013241","1397013243","1397013237"],"photo_ids_order":["1397013237","1397013241","1397013243","1397013245","1397013248","1397013251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2153f8c0bbd9d3c121c19bcc97b782f2.jpg","text":"TemporaryFile(/tmp/multipartBody3929660973960776659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_28_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13c5c70158c1cf9530689cae6a07b534.jpg","text":"TemporaryFile(/tmp/multipartBody3830160692925137983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_27_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00b9ff0f774eab140448a6fc9821fa01.jpg","text":"TemporaryFile(/tmp/multipartBody1956134245838958812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_28_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92b5c738ac948f1053649e04f30e2d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7089802614312697029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_27_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d8c02812dc356a0604dd8c0f991f92.jpg","text":"TemporaryFile(/tmp/multipartBody2279114832523848513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_27_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d11240042f6145fd0f599f3005fcb4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2756384506928216225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473103697,"filename":"image_30112025_03_27_25_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013243","file1":"1397013241","file0":"1397013237","file4":"1397013248","file5":"1397013251","file3":"1397013245"},"map_files_photo_id_array":[{"photo_id":"1397013251","filename":"file5"},{"photo_id":"1397013243","filename":"file2"},{"photo_id":"1397013248","filename":"file4"},{"photo_id":"1397013241","filename":"file1"},{"photo_id":"1397013237","filename":"file0"},{"photo_id":"1397013245","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013251":["hashtag1","hashtag2"]},{"1397013245":["hashtag1","hashtag2"]},{"1397013248":["hashtag1","hashtag2"]},{"1397013241":["hashtag1","hashtag2"]},{"1397013243":["hashtag1","hashtag2"]},{"1397013237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013251, 1397013245, 1397013248, 1397013241, 1397013243, 1397013237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50321650505066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:24:42.295518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/42/image_31102025_11_42_16_2649.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_19_2707.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_23_3653.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_25_2596.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_28_2735.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_32_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_16_2649.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_19_2707.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_23_3653.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_25_2596.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_28_2735.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_32_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013257","1397013262","1397013256","1397013259","1397013264","1397013267"],"photo_ids_order":["1397013256","1397013257","1397013259","1397013262","1397013264","1397013267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56b4f96868ffe3d66c4cfda54cdeedba.jpg","text":"TemporaryFile(/tmp/multipartBody7022087852235253179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_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/30/7eddcd12a8a600f66bcc870e940ca469.jpg","text":"TemporaryFile(/tmp/multipartBody8117962027307957465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_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/30/7493f8e58f8a468fb0b48472810ce594.jpg","text":"TemporaryFile(/tmp/multipartBody6344804048506744452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_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/30/4f69036d0813d0cd60de95599ce7c99f.jpg","text":"TemporaryFile(/tmp/multipartBody7257723774880902123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_23_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/30/3324e3c92e84b5f1823a2c5864829447.jpg","text":"TemporaryFile(/tmp/multipartBody1246370751894231266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_28_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbd5d1bbbdb3f34d3d216f8d7b7a00a7.jpg","text":"TemporaryFile(/tmp/multipartBody1812103541073191456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473143241,"filename":"image_31102025_11_42_32_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013259","file1":"1397013257","file0":"1397013256","file4":"1397013264","file5":"1397013267","file3":"1397013262"},"map_files_photo_id_array":[{"photo_id":"1397013267","filename":"file5"},{"photo_id":"1397013259","filename":"file2"},{"photo_id":"1397013264","filename":"file4"},{"photo_id":"1397013257","filename":"file1"},{"photo_id":"1397013256","filename":"file0"},{"photo_id":"1397013262","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013257":["hashtag1","hashtag2"]},{"1397013262":["hashtag1","hashtag2"]},{"1397013256":["hashtag1","hashtag2"]},{"1397013259":["hashtag1","hashtag2"]},{"1397013264":["hashtag1","hashtag2"]},{"1397013267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013257, 1397013262, 1397013256, 1397013259, 1397013264, 1397013267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70889210700989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:25:22.541085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_24_9718.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_35_10689.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_45_9793.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_54_9747.jpg', '/home/pi/Desktop/images/30112025/03/28/image_30112025_03_29_04_9802.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_24_9718.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_35_10689.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_45_9793.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_28_54_9747.jpg
/home/pi/Desktop/images/30112025/03/28/image_30112025_03_29_04_9802.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_15_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013281","1397013283","1397013277","1397013285","1397013279","1397013273"],"photo_ids_order":["1397013273","1397013277","1397013279","1397013281","1397013283","1397013285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b0a006857cbf435d6973ee7a9d9791f.jpg","text":"TemporaryFile(/tmp/multipartBody663647972826663189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_28_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0243d1fcca6a7539cc6aec31f477a991.jpg","text":"TemporaryFile(/tmp/multipartBody4720143322921284094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_29_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e6b24aa632f074407d2822b3a8650f2.jpg","text":"TemporaryFile(/tmp/multipartBody6514650955352109238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_28_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07722ff015eec7c02627cd65e06545b0.jpg","text":"TemporaryFile(/tmp/multipartBody1426280119911451103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_29_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/598ff8ce3ccaf8906e5867a0438d95d0.jpg","text":"TemporaryFile(/tmp/multipartBody8102243817515051664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_28_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a59aaa5175f0146e2d5311013265298a.jpg","text":"TemporaryFile(/tmp/multipartBody6018007499107557941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473183233,"filename":"image_30112025_03_28_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013279","file1":"1397013277","file0":"1397013273","file4":"1397013283","file5":"1397013285","file3":"1397013281"},"map_files_photo_id_array":[{"photo_id":"1397013285","filename":"file5"},{"photo_id":"1397013279","filename":"file2"},{"photo_id":"1397013283","filename":"file4"},{"photo_id":"1397013277","filename":"file1"},{"photo_id":"1397013273","filename":"file0"},{"photo_id":"1397013281","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013281":["hashtag1","hashtag2"]},{"1397013283":["hashtag1","hashtag2"]},{"1397013277":["hashtag1","hashtag2"]},{"1397013285":["hashtag1","hashtag2"]},{"1397013279":["hashtag1","hashtag2"]},{"1397013273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013281, 1397013283, 1397013277, 1397013285, 1397013279, 1397013273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68639612197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:26:03.208834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_25_9826.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_34_9606.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_45_10707.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_55_9703.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_30_04_9707.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_15_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_25_9826.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_34_9606.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_45_10707.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_55_9703.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_30_04_9707.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_15_10589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5936698913574219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:26:12.670746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_48_2619.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_52_3696.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_54_2614.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_57_2730.jpg', '/home/pi/Desktop/images/25112025/19/40/image_25112025_19_41_01_3594.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_04_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_48_2619.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_52_3696.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_54_2614.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_40_57_2730.jpg
/home/pi/Desktop/images/25112025/19/40/image_25112025_19_41_01_3594.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_04_2901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013305","1397013294","1397013307","1397013297","1397013300","1397013303"],"photo_ids_order":["1397013294","1397013297","1397013300","1397013303","1397013305","1397013307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bc9da64b58a836df2321b94f67af9f2.jpg","text":"TemporaryFile(/tmp/multipartBody390649883700070568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_41_01_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29bb44d2adb3e74db10ccef987acebf4.jpg","text":"TemporaryFile(/tmp/multipartBody7459328262781324561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_40_48_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/30/a0d658cc56c9d0a7f578743cdf52f764.jpg","text":"TemporaryFile(/tmp/multipartBody3370548773169686900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_41_04_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/30/f55af0f4ba3f00efff9eed2f3e6ab8ed.jpg","text":"TemporaryFile(/tmp/multipartBody8925178854104495276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_40_52_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/30/5414c5be72229b7ddc744672915a5e56.jpg","text":"TemporaryFile(/tmp/multipartBody616833363103691720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_40_54_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6ab2bcc4291469822168131ae8719d7.jpg","text":"TemporaryFile(/tmp/multipartBody7929375675843533355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473234366,"filename":"image_25112025_19_40_57_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013300","file1":"1397013297","file0":"1397013294","file4":"1397013305","file5":"1397013307","file3":"1397013303"},"map_files_photo_id_array":[{"photo_id":"1397013307","filename":"file5"},{"photo_id":"1397013300","filename":"file2"},{"photo_id":"1397013305","filename":"file4"},{"photo_id":"1397013297","filename":"file1"},{"photo_id":"1397013294","filename":"file0"},{"photo_id":"1397013303","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013305":["hashtag1","hashtag2"]},{"1397013294":["hashtag1","hashtag2"]},{"1397013307":["hashtag1","hashtag2"]},{"1397013297":["hashtag1","hashtag2"]},{"1397013300":["hashtag1","hashtag2"]},{"1397013303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013305, 1397013294, 1397013307, 1397013297, 1397013300, 1397013303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71412134170532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:27:02.641607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_25_9826.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_34_9606.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_45_10707.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_55_9703.jpg', '/home/pi/Desktop/images/30112025/03/29/image_30112025_03_30_04_9707.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_15_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_25_9826.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_34_9606.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_45_10707.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_29_55_9703.jpg
/home/pi/Desktop/images/30112025/03/29/image_30112025_03_30_04_9707.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_15_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013320","1397013317","1397013322","1397013325","1397013319","1397013318"],"photo_ids_order":["1397013317","1397013318","1397013319","1397013320","1397013322","1397013325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a81ff28e89be7ef13a69efa84833482.jpg","text":"TemporaryFile(/tmp/multipartBody2938252214957863956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_29_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ef1a1661792913d9d04b5ca731cde78.jpg","text":"TemporaryFile(/tmp/multipartBody5370508384507663107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_29_25_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb676ec8f69afcc53ec85c37d68b3575.jpg","text":"TemporaryFile(/tmp/multipartBody2966809394603436805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_30_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8da00ab79bdf0283acaa2a1c28ace8b.jpg","text":"TemporaryFile(/tmp/multipartBody1036304536159008222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_30_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa416d84a757717385c201e7a371b0e9.jpg","text":"TemporaryFile(/tmp/multipartBody2106446416467435552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_29_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/390575f2c21481bb89a96d1bbda5871b.jpg","text":"TemporaryFile(/tmp/multipartBody249268401017709102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473283382,"filename":"image_30112025_03_29_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013319","file1":"1397013318","file0":"1397013317","file4":"1397013322","file5":"1397013325","file3":"1397013320"},"map_files_photo_id_array":[{"photo_id":"1397013325","filename":"file5"},{"photo_id":"1397013319","filename":"file2"},{"photo_id":"1397013322","filename":"file4"},{"photo_id":"1397013318","filename":"file1"},{"photo_id":"1397013317","filename":"file0"},{"photo_id":"1397013320","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013320":["hashtag1","hashtag2"]},{"1397013317":["hashtag1","hashtag2"]},{"1397013322":["hashtag1","hashtag2"]},{"1397013325":["hashtag1","hashtag2"]},{"1397013319":["hashtag1","hashtag2"]},{"1397013318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013320, 1397013317, 1397013322, 1397013325, 1397013319, 1397013318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00152230262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:27:42.048105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/42/image_31102025_11_42_35_2814.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_37_2676.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_44_2595.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_46_2718.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_50_3631.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_53_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/11/42/image_31102025_11_42_35_2814.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_37_2676.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_44_2595.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_46_2718.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_50_3631.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_53_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013344","1397013338","1397013340","1397013333","1397013342","1397013336"],"photo_ids_order":["1397013333","1397013336","1397013338","1397013340","1397013342","1397013344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82ae11db99fd0b4f97a3cbb9b3d11b74.jpg","text":"TemporaryFile(/tmp/multipartBody5355053809700010989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_53_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/30/5b44e4c1264df9de3757e096baec361d.jpg","text":"TemporaryFile(/tmp/multipartBody1286094948753843497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_44_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/30/ae7becd350f07bdaf1eb2c59caed6511.jpg","text":"TemporaryFile(/tmp/multipartBody8487707650320695545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_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/30/373504489078724df7dd87a906805d48.jpg","text":"TemporaryFile(/tmp/multipartBody8553095454320304426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_35_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/30/679ff08f2e580cc9c763bde8521df198.jpg","text":"TemporaryFile(/tmp/multipartBody6230647050886257203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_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/30/6a2074e0f46b950e19dbf2775e169fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3514587507224519674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473322933,"filename":"image_31102025_11_42_37_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013338","file1":"1397013336","file0":"1397013333","file4":"1397013342","file5":"1397013344","file3":"1397013340"},"map_files_photo_id_array":[{"photo_id":"1397013344","filename":"file5"},{"photo_id":"1397013338","filename":"file2"},{"photo_id":"1397013342","filename":"file4"},{"photo_id":"1397013336","filename":"file1"},{"photo_id":"1397013333","filename":"file0"},{"photo_id":"1397013340","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013344":["hashtag1","hashtag2"]},{"1397013338":["hashtag1","hashtag2"]},{"1397013340":["hashtag1","hashtag2"]},{"1397013333":["hashtag1","hashtag2"]},{"1397013342":["hashtag1","hashtag2"]},{"1397013336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013344, 1397013338, 1397013340, 1397013333, 1397013342, 1397013336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.153722286224365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:28:22.216766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_25_9768.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_34_9775.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_44_9717.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_55_10779.jpg', '/home/pi/Desktop/images/30112025/03/30/image_30112025_03_31_05_9669.jpg', '/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_15_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_25_9768.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_34_9775.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_44_9717.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_30_55_10779.jpg
/home/pi/Desktop/images/30112025/03/30/image_30112025_03_31_05_9669.jpg
/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_15_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013356","1397013358","1397013351","1397013360","1397013354","1397013348"],"photo_ids_order":["1397013348","1397013351","1397013354","1397013356","1397013358","1397013360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f2e1feed22991ca111ff35ce9a3b652.jpg","text":"TemporaryFile(/tmp/multipartBody7286731100669824926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_30_55_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31e786d319736ed46944514c0b063b39.jpg","text":"TemporaryFile(/tmp/multipartBody6119746833829668762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_31_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f11ffc509cb746ac873297032f9592c2.jpg","text":"TemporaryFile(/tmp/multipartBody1574148689130485693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_30_34_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fe7aa095d481a3063d677969875add0.jpg","text":"TemporaryFile(/tmp/multipartBody3619061257539055672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_31_15_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24d69be0e2f05b47455ec59d91684e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2077671050001492142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_30_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f1ed67d569e32712bfe84660d6c8ae5.jpg","text":"TemporaryFile(/tmp/multipartBody6684976152442225524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473362912,"filename":"image_30112025_03_30_25_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013354","file1":"1397013351","file0":"1397013348","file4":"1397013358","file5":"1397013360","file3":"1397013356"},"map_files_photo_id_array":[{"photo_id":"1397013360","filename":"file5"},{"photo_id":"1397013354","filename":"file2"},{"photo_id":"1397013358","filename":"file4"},{"photo_id":"1397013351","filename":"file1"},{"photo_id":"1397013348","filename":"file0"},{"photo_id":"1397013356","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013356":["hashtag1","hashtag2"]},{"1397013358":["hashtag1","hashtag2"]},{"1397013351":["hashtag1","hashtag2"]},{"1397013360":["hashtag1","hashtag2"]},{"1397013354":["hashtag1","hashtag2"]},{"1397013348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013356, 1397013358, 1397013351, 1397013360, 1397013354, 1397013348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6874942779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:29:03.457166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_34_9794.jpg', '/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_45_10647.jpg', '/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_55_9836.jpg', '/home/pi/Desktop/images/30112025/03/31/image_30112025_03_32_04_9783.jpg', '/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_15_10569.jpg', '/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_25_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_34_9794.jpg
/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_45_10647.jpg
/home/pi/Desktop/images/30112025/03/31/image_30112025_03_31_55_9836.jpg
/home/pi/Desktop/images/30112025/03/31/image_30112025_03_32_04_9783.jpg
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_15_10569.jpg
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_25_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013374","1397013368","1397013370","1397013378","1397013366","1397013369"],"photo_ids_order":["1397013366","1397013368","1397013369","1397013370","1397013374","1397013378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a28e3f1a3b81fd43f6ef80f9417fc940.jpg","text":"TemporaryFile(/tmp/multipartBody8749429522162043625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_32_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05724490483e0009be6a3084637f1732.jpg","text":"TemporaryFile(/tmp/multipartBody6541865248505908814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_31_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/198060eab0e8caaaacaa99db6d4e261b.jpg","text":"TemporaryFile(/tmp/multipartBody1744043053472788970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_32_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf860af145e09c81e29f22a909ca6b17.jpg","text":"TemporaryFile(/tmp/multipartBody8275143433376109506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_32_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f990bb1f6f41e70fa69be87b5c0d2bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4075322482854756893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_31_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a490dd64ee580caa99b112b1fb6e5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2009464203509656299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473404334,"filename":"image_30112025_03_31_55_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013369","file1":"1397013368","file0":"1397013366","file4":"1397013374","file5":"1397013378","file3":"1397013370"},"map_files_photo_id_array":[{"photo_id":"1397013378","filename":"file5"},{"photo_id":"1397013369","filename":"file2"},{"photo_id":"1397013374","filename":"file4"},{"photo_id":"1397013368","filename":"file1"},{"photo_id":"1397013366","filename":"file0"},{"photo_id":"1397013370","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013374":["hashtag1","hashtag2"]},{"1397013368":["hashtag1","hashtag2"]},{"1397013370":["hashtag1","hashtag2"]},{"1397013378":["hashtag1","hashtag2"]},{"1397013366":["hashtag1","hashtag2"]},{"1397013369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013374, 1397013368, 1397013370, 1397013378, 1397013366, 1397013369)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.589505195617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:30:17.125791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_34_9889.jpg', '/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_45_10553.jpg', '/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_55_9831.jpg', '/home/pi/Desktop/images/30112025/03/32/image_30112025_03_33_05_9744.jpg', '/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_14_9710.jpg', '/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_25_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_34_9889.jpg
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_45_10553.jpg
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_32_55_9831.jpg
/home/pi/Desktop/images/30112025/03/32/image_30112025_03_33_05_9744.jpg
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_14_9710.jpg
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_25_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013389","1397013401","1397013396","1397013399","1397013392","1397013386"],"photo_ids_order":["1397013386","1397013389","1397013392","1397013396","1397013399","1397013401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff7ae5a367cd86ecfccbec81fb291a45.jpg","text":"TemporaryFile(/tmp/multipartBody4057385725219970225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_32_45_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cedcdf0dfa1911df9358cb6ff9b2069.jpg","text":"TemporaryFile(/tmp/multipartBody8580541870512265413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_33_25_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2ee3371dfdc63d4e2c9e53d5ebc0357.jpg","text":"TemporaryFile(/tmp/multipartBody3688888521849671318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_33_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c7002c5f807b3e8b3328bf901602f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2946591527982735539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_33_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acc315e08d52fc0f4c932f7647981b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7574203157569053559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_32_55_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84f1c48472efe3726ca6e019ef16913d.jpg","text":"TemporaryFile(/tmp/multipartBody7044763638891305726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473477775,"filename":"image_30112025_03_32_34_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013392","file1":"1397013389","file0":"1397013386","file4":"1397013399","file5":"1397013401","file3":"1397013396"},"map_files_photo_id_array":[{"photo_id":"1397013401","filename":"file5"},{"photo_id":"1397013392","filename":"file2"},{"photo_id":"1397013399","filename":"file4"},{"photo_id":"1397013389","filename":"file1"},{"photo_id":"1397013386","filename":"file0"},{"photo_id":"1397013396","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013389":["hashtag1","hashtag2"]},{"1397013401":["hashtag1","hashtag2"]},{"1397013396":["hashtag1","hashtag2"]},{"1397013399":["hashtag1","hashtag2"]},{"1397013392":["hashtag1","hashtag2"]},{"1397013386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013389, 1397013401, 1397013396, 1397013399, 1397013392, 1397013386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67983794212341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:31:03.381496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:31:12.800233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_08_4870.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_11_2987.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_16_2623.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_25_9360.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_46_20480.jpg', '/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_47_1507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_08_4870.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_11_2987.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_16_2623.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_25_9360.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_46_20480.jpg
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_41_47_1507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013422","1397013413","1397013409","1397013406","1397013420","1397013417"],"photo_ids_order":["1397013406","1397013409","1397013413","1397013417","1397013420","1397013422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b080a763b3d96e84eed112056d79e73a.jpg","text":"TemporaryFile(/tmp/multipartBody293751545435292818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_47_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/30/7ea0903ba615573faf0c5c162c203a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2517523794022185977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_16_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/30/6ef7ec655fac8b7737113ab8fd5d5189.jpg","text":"TemporaryFile(/tmp/multipartBody1184151259386242801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_11_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff76decdeae65e1fcc627beeb91dc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4931170450625628485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_08_4870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df1df82ab77c5943d3466af336803327.jpg","text":"TemporaryFile(/tmp/multipartBody7024559433171381397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_46_20480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05f2bca68831ce7124d69a0f0ccdfb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4565065437818649341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473534543,"filename":"image_25112025_19_41_25_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013413","file1":"1397013409","file0":"1397013406","file4":"1397013420","file5":"1397013422","file3":"1397013417"},"map_files_photo_id_array":[{"photo_id":"1397013422","filename":"file5"},{"photo_id":"1397013413","filename":"file2"},{"photo_id":"1397013420","filename":"file4"},{"photo_id":"1397013409","filename":"file1"},{"photo_id":"1397013406","filename":"file0"},{"photo_id":"1397013417","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013422":["hashtag1","hashtag2"]},{"1397013413":["hashtag1","hashtag2"]},{"1397013409":["hashtag1","hashtag2"]},{"1397013406":["hashtag1","hashtag2"]},{"1397013420":["hashtag1","hashtag2"]},{"1397013417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013422, 1397013413, 1397013409, 1397013406, 1397013420, 1397013417)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.51373362541199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:32:11.997973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/41/image_25112025_19_42_00_13252.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_02_1537.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_04_2380.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_06_1507.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_07_1614.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_09_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/41/image_25112025_19_42_00_13252.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_02_1537.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_04_2380.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_06_1507.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_07_1614.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_09_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013437","1397013434","1397013439","1397013432","1397013441","1397013435"],"photo_ids_order":["1397013432","1397013434","1397013435","1397013437","1397013439","1397013441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37ad9303f974b7f1626119cfadb855f4.jpg","text":"TemporaryFile(/tmp/multipartBody1415921260097563563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_06_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/30/f9bf5a9f52ee3da213466d13c3adb63b.jpg","text":"TemporaryFile(/tmp/multipartBody8549550591988097507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_02_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/30/b26a45f8d530a8f55a45361ae214c123.jpg","text":"TemporaryFile(/tmp/multipartBody2702252149042227676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_07_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/30/fe8055d2305fbac0471f6e59fb65604d.jpg","text":"TemporaryFile(/tmp/multipartBody3469522533331869683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_00_13252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b405017e42b38074326a9e04ba2cb288.jpg","text":"TemporaryFile(/tmp/multipartBody8995744560872036758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_09_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7935dd6c09dc61295ab0cde83c9462ef.jpg","text":"TemporaryFile(/tmp/multipartBody6819192026735505899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473594020,"filename":"image_25112025_19_42_04_2380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013435","file1":"1397013434","file0":"1397013432","file4":"1397013439","file5":"1397013441","file3":"1397013437"},"map_files_photo_id_array":[{"photo_id":"1397013441","filename":"file5"},{"photo_id":"1397013435","filename":"file2"},{"photo_id":"1397013439","filename":"file4"},{"photo_id":"1397013434","filename":"file1"},{"photo_id":"1397013432","filename":"file0"},{"photo_id":"1397013437","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013437":["hashtag1","hashtag2"]},{"1397013434":["hashtag1","hashtag2"]},{"1397013439":["hashtag1","hashtag2"]},{"1397013432":["hashtag1","hashtag2"]},{"1397013441":["hashtag1","hashtag2"]},{"1397013435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013437, 1397013434, 1397013439, 1397013432, 1397013441, 1397013435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09081792831421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:33:04.087667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_35_9651.jpg', '/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_44_9632.jpg', '/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_55_10595.jpg', '/home/pi/Desktop/images/30112025/03/33/image_30112025_03_34_05_9676.jpg', '/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_14_9530.jpg', '/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_25_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_35_9651.jpg
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_44_9632.jpg
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_33_55_10595.jpg
/home/pi/Desktop/images/30112025/03/33/image_30112025_03_34_05_9676.jpg
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_14_9530.jpg
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_25_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013452","1397013451","1397013460","1397013454","1397013457","1397013450"],"photo_ids_order":["1397013450","1397013451","1397013452","1397013454","1397013457","1397013460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca4f1b301f0c8bbebf87b754f093abb5.jpg","text":"TemporaryFile(/tmp/multipartBody1719088586498606567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_33_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36aa8df5a402ad1c4c92c00643bd49eb.jpg","text":"TemporaryFile(/tmp/multipartBody3891333381550012790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_33_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e6f42ef536356814b8cab7911cb1a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1870876523068718595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_34_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0454a12858449c1e113bbdac6d7934cf.jpg","text":"TemporaryFile(/tmp/multipartBody4372082606704212774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_34_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35d975a2284bd597aa653928c456e957.jpg","text":"TemporaryFile(/tmp/multipartBody1363577354948984675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_34_14_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeaab6315543a65e55c216dabcb60b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8195202526298848788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473646404,"filename":"image_30112025_03_33_35_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013452","file1":"1397013451","file0":"1397013450","file4":"1397013457","file5":"1397013460","file3":"1397013454"},"map_files_photo_id_array":[{"photo_id":"1397013460","filename":"file5"},{"photo_id":"1397013452","filename":"file2"},{"photo_id":"1397013457","filename":"file4"},{"photo_id":"1397013451","filename":"file1"},{"photo_id":"1397013450","filename":"file0"},{"photo_id":"1397013454","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013452":["hashtag1","hashtag2"]},{"1397013451":["hashtag1","hashtag2"]},{"1397013460":["hashtag1","hashtag2"]},{"1397013454":["hashtag1","hashtag2"]},{"1397013457":["hashtag1","hashtag2"]},{"1397013450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013452, 1397013451, 1397013460, 1397013454, 1397013457, 1397013450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09878587722778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:33:43.525289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/42/image_31102025_11_42_56_2723.jpg', '/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_58_2850.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_01_2687.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_05_3826.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_08_2613.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_10_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/11/42/image_31102025_11_42_56_2723.jpg
/home/pi/Desktop/images/31102025/11/42/image_31102025_11_42_58_2850.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_01_2687.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_05_3826.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_08_2613.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_10_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":["1397013476","1397013470","1397013472","1397013466","1397013474","1397013468"],"photo_ids_order":["1397013466","1397013468","1397013470","1397013472","1397013474","1397013476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b05fb0d32083edbf5a87a57c5393c4af.jpg","text":"TemporaryFile(/tmp/multipartBody2147513429935734592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_43_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/30/73414b0dd7ca492c7171dae9e4477f89.jpg","text":"TemporaryFile(/tmp/multipartBody4672621170155056407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_43_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/30/64a118c6fa76095ca090d1ca9bd48ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8972524131485578790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_43_05_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/30/bd4260e6c5fee7275c54dc4639f7c576.jpg","text":"TemporaryFile(/tmp/multipartBody8214436385888674166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_42_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/30/cab204055a4dc040ea7ffbae83d66b17.jpg","text":"TemporaryFile(/tmp/multipartBody5904603553300085230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_43_08_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/30/f1f59cf2f0b3d646e701ff34669e175e.jpg","text":"TemporaryFile(/tmp/multipartBody2744272582311839185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473684430,"filename":"image_31102025_11_42_58_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013470","file1":"1397013468","file0":"1397013466","file4":"1397013474","file5":"1397013476","file3":"1397013472"},"map_files_photo_id_array":[{"photo_id":"1397013476","filename":"file5"},{"photo_id":"1397013470","filename":"file2"},{"photo_id":"1397013474","filename":"file4"},{"photo_id":"1397013468","filename":"file1"},{"photo_id":"1397013466","filename":"file0"},{"photo_id":"1397013472","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013476":["hashtag1","hashtag2"]},{"1397013470":["hashtag1","hashtag2"]},{"1397013472":["hashtag1","hashtag2"]},{"1397013466":["hashtag1","hashtag2"]},{"1397013474":["hashtag1","hashtag2"]},{"1397013468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013476, 1397013470, 1397013472, 1397013466, 1397013474, 1397013468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77146935462952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:34:22.741699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_34_9690.jpg', '/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_45_10302.jpg', '/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_54_9677.jpg', '/home/pi/Desktop/images/30112025/03/34/image_30112025_03_35_05_10463.jpg', '/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_15_9749.jpg', '/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_24_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_34_9690.jpg
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_45_10302.jpg
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_34_54_9677.jpg
/home/pi/Desktop/images/30112025/03/34/image_30112025_03_35_05_10463.jpg
/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_15_9749.jpg
/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_24_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013488","1397013481","1397013484","1397013487","1397013491","1397013479"],"photo_ids_order":["1397013479","1397013481","1397013484","1397013487","1397013488","1397013491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b797328ff06cf30c4accb4e33d7f923d.jpg","text":"TemporaryFile(/tmp/multipartBody4555727078255758551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_35_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcc46a8dd6a9da12d7538dcef55dd81a.jpg","text":"TemporaryFile(/tmp/multipartBody3103674741680950097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_34_45_10302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d43b3f5871c71d0151c972fae5839ee.jpg","text":"TemporaryFile(/tmp/multipartBody6155689991651146790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_34_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/218336886062e9c63d98c004ba0d29cf.jpg","text":"TemporaryFile(/tmp/multipartBody509306803267605556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_35_05_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/30/040fe61a0759e689a1730cc706c8981f.jpg","text":"TemporaryFile(/tmp/multipartBody9913183537901638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_35_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c26c196f5ba2383ea6061f17a0cd2205.jpg","text":"TemporaryFile(/tmp/multipartBody6132062193014349198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473723434,"filename":"image_30112025_03_34_34_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013484","file1":"1397013481","file0":"1397013479","file4":"1397013488","file5":"1397013491","file3":"1397013487"},"map_files_photo_id_array":[{"photo_id":"1397013491","filename":"file5"},{"photo_id":"1397013484","filename":"file2"},{"photo_id":"1397013488","filename":"file4"},{"photo_id":"1397013481","filename":"file1"},{"photo_id":"1397013479","filename":"file0"},{"photo_id":"1397013487","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013488":["hashtag1","hashtag2"]},{"1397013481":["hashtag1","hashtag2"]},{"1397013484":["hashtag1","hashtag2"]},{"1397013487":["hashtag1","hashtag2"]},{"1397013491":["hashtag1","hashtag2"]},{"1397013479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013488, 1397013481, 1397013484, 1397013487, 1397013491, 1397013479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.293859004974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:35:02.711446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_35_10602.jpg', '/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_54_9605.jpg', '/home/pi/Desktop/images/30112025/03/35/image_30112025_03_36_05_10718.jpg', '/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_14_9640.jpg', '/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_24_9752.jpg', '/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_35_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_35_10602.jpg
/home/pi/Desktop/images/30112025/03/35/image_30112025_03_35_54_9605.jpg
/home/pi/Desktop/images/30112025/03/35/image_30112025_03_36_05_10718.jpg
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_14_9640.jpg
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_24_9752.jpg
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_35_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013503","1397013499","1397013508","1397013502","1397013505","1397013501"],"photo_ids_order":["1397013499","1397013501","1397013502","1397013503","1397013505","1397013508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4140577b55838733de8b97ebe32f06ba.jpg","text":"TemporaryFile(/tmp/multipartBody1693828974696915472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_36_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/725b82e61a3b23d07acaf0238618d413.jpg","text":"TemporaryFile(/tmp/multipartBody4149689309256050461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_35_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b310145426ba7e533e6d63f89134a13.jpg","text":"TemporaryFile(/tmp/multipartBody1865956831372677057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_36_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44c578317e4d0d3545f761768098837d.jpg","text":"TemporaryFile(/tmp/multipartBody855905564922248284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_36_05_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b7be21ebcb00574e32f45a425260bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4447197002270799572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_36_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf0d04f97f188db31b1fbb00dc6d04e2.jpg","text":"TemporaryFile(/tmp/multipartBody4084256440991575927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473763419,"filename":"image_30112025_03_35_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013502","file1":"1397013501","file0":"1397013499","file4":"1397013505","file5":"1397013508","file3":"1397013503"},"map_files_photo_id_array":[{"photo_id":"1397013508","filename":"file5"},{"photo_id":"1397013502","filename":"file2"},{"photo_id":"1397013505","filename":"file4"},{"photo_id":"1397013501","filename":"file1"},{"photo_id":"1397013499","filename":"file0"},{"photo_id":"1397013503","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013503":["hashtag1","hashtag2"]},{"1397013499":["hashtag1","hashtag2"]},{"1397013508":["hashtag1","hashtag2"]},{"1397013502":["hashtag1","hashtag2"]},{"1397013505":["hashtag1","hashtag2"]},{"1397013501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013503, 1397013499, 1397013508, 1397013502, 1397013505, 1397013501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.164318323135376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:35:41.935515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/43/image_31102025_11_43_17_2723.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_19_2701.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_23_3700.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_26_2640.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_28_2808.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_31_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_17_2723.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_19_2701.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_23_3700.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_26_2640.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_28_2808.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_31_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013515","1397013520","1397013517","1397013525","1397013513","1397013522"],"photo_ids_order":["1397013513","1397013515","1397013517","1397013520","1397013522","1397013525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36bd6fc5d6e568a66b8db7d656277598.jpg","text":"TemporaryFile(/tmp/multipartBody3535185812156479473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_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/30/18b530d38341ceeaad803e6d260e37d9.jpg","text":"TemporaryFile(/tmp/multipartBody2596627612137284411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_26_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a08ed3a2881c332213568acd76f3f0f8.jpg","text":"TemporaryFile(/tmp/multipartBody9006772933524281377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_23_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/30/7142538a12399f9923aaf9a5d77cae71.jpg","text":"TemporaryFile(/tmp/multipartBody1233580792884172394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_31_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd2ffec9d4f5efafa53dc5e29d57d879.jpg","text":"TemporaryFile(/tmp/multipartBody2252153564143770465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_17_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/30/eaa829861dfbabb13971ee44593edc67.jpg","text":"TemporaryFile(/tmp/multipartBody7625707539446573347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473802841,"filename":"image_31102025_11_43_28_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013517","file1":"1397013515","file0":"1397013513","file4":"1397013522","file5":"1397013525","file3":"1397013520"},"map_files_photo_id_array":[{"photo_id":"1397013525","filename":"file5"},{"photo_id":"1397013517","filename":"file2"},{"photo_id":"1397013522","filename":"file4"},{"photo_id":"1397013515","filename":"file1"},{"photo_id":"1397013513","filename":"file0"},{"photo_id":"1397013520","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013515":["hashtag1","hashtag2"]},{"1397013520":["hashtag1","hashtag2"]},{"1397013517":["hashtag1","hashtag2"]},{"1397013525":["hashtag1","hashtag2"]},{"1397013513":["hashtag1","hashtag2"]},{"1397013522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013515, 1397013520, 1397013517, 1397013525, 1397013513, 1397013522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09533476829529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:36:22.097344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_44_9566.jpg', '/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_54_9674.jpg', '/home/pi/Desktop/images/30112025/03/36/image_30112025_03_37_05_10559.jpg', '/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_14_9642.jpg', '/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_24_9747.jpg', '/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_35_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_44_9566.jpg
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_36_54_9674.jpg
/home/pi/Desktop/images/30112025/03/36/image_30112025_03_37_05_10559.jpg
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_14_9642.jpg
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_24_9747.jpg
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_35_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013542","1397013539","1397013533","1397013544","1397013547","1397013537"],"photo_ids_order":["1397013533","1397013537","1397013539","1397013542","1397013544","1397013547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39525ea8c91da054654ba2f5c63e610f.jpg","text":"TemporaryFile(/tmp/multipartBody915438755042754438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_37_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2494fde143529b3aeff97e16510ba86d.jpg","text":"TemporaryFile(/tmp/multipartBody4580888490867781710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_37_05_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f223162b07b0da725f8e23106a57af00.jpg","text":"TemporaryFile(/tmp/multipartBody6633908852209561311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_36_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b174132fd146772019ef03b05efc1652.jpg","text":"TemporaryFile(/tmp/multipartBody3917476152407691471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_37_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/227192f09c30acef727f9466f771a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody2645863748718102701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_37_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a83b56a88e0f3b1fac21543ecd6fb08e.jpg","text":"TemporaryFile(/tmp/multipartBody7544647048599949603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473842783,"filename":"image_30112025_03_36_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013539","file1":"1397013537","file0":"1397013533","file4":"1397013544","file5":"1397013547","file3":"1397013542"},"map_files_photo_id_array":[{"photo_id":"1397013547","filename":"file5"},{"photo_id":"1397013539","filename":"file2"},{"photo_id":"1397013544","filename":"file4"},{"photo_id":"1397013537","filename":"file1"},{"photo_id":"1397013533","filename":"file0"},{"photo_id":"1397013542","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013542":["hashtag1","hashtag2"]},{"1397013539":["hashtag1","hashtag2"]},{"1397013533":["hashtag1","hashtag2"]},{"1397013544":["hashtag1","hashtag2"]},{"1397013547":["hashtag1","hashtag2"]},{"1397013537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013542, 1397013539, 1397013533, 1397013544, 1397013547, 1397013537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.827606439590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:37:03.041717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_44_9574.jpg', '/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_54_9806.jpg', '/home/pi/Desktop/images/30112025/03/37/image_30112025_03_38_05_10689.jpg', '/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_15_9791.jpg', '/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_24_9604.jpg', '/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_35_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_44_9574.jpg
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_37_54_9806.jpg
/home/pi/Desktop/images/30112025/03/37/image_30112025_03_38_05_10689.jpg
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_15_9791.jpg
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_24_9604.jpg
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_35_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013560","1397013554","1397013557","1397013562","1397013556","1397013555"],"photo_ids_order":["1397013554","1397013555","1397013556","1397013557","1397013560","1397013562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/268c9a4c8dc655f2967371a589e3d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody9219461749601433918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_38_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76304d3411b58b5beb18050e19f8c21c.jpg","text":"TemporaryFile(/tmp/multipartBody7201267054965710043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_37_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37f1849eb7f4c2d06e22de7dc7bccf99.jpg","text":"TemporaryFile(/tmp/multipartBody4385835066590812141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_38_15_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26bdbf210b9ba94a70cd14615172748a.jpg","text":"TemporaryFile(/tmp/multipartBody8624340276858397864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_38_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d287ec3a589aea04d48fb52a0915476f.jpg","text":"TemporaryFile(/tmp/multipartBody4482514931610147096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_38_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ae017ab87e514b7d9e8f73bac7892a3.jpg","text":"TemporaryFile(/tmp/multipartBody3555561016050320080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473883743,"filename":"image_30112025_03_37_54_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013556","file1":"1397013555","file0":"1397013554","file4":"1397013560","file5":"1397013562","file3":"1397013557"},"map_files_photo_id_array":[{"photo_id":"1397013562","filename":"file5"},{"photo_id":"1397013556","filename":"file2"},{"photo_id":"1397013560","filename":"file4"},{"photo_id":"1397013555","filename":"file1"},{"photo_id":"1397013554","filename":"file0"},{"photo_id":"1397013557","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013560":["hashtag1","hashtag2"]},{"1397013554":["hashtag1","hashtag2"]},{"1397013557":["hashtag1","hashtag2"]},{"1397013562":["hashtag1","hashtag2"]},{"1397013556":["hashtag1","hashtag2"]},{"1397013555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013560, 1397013554, 1397013557, 1397013562, 1397013556, 1397013555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33846616744995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:37:42.272342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/43/image_31102025_11_43_35_3627.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_38_2858.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_41_2835.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_43_2760.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_47_3647.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_50_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/11/43/image_31102025_11_43_35_3627.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_38_2858.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_41_2835.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_43_2760.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_47_3647.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_50_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013575","1397013577","1397013573","1397013579","1397013570","1397013567"],"photo_ids_order":["1397013567","1397013570","1397013573","1397013575","1397013577","1397013579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbce1d1b3f10f7f5464f9a3f1b2cba53.jpg","text":"TemporaryFile(/tmp/multipartBody4613390108839071715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_43_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cba3aefca6d7fc75bcc23525d5b4d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5579547648201314205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_47_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5faa55f3cc2ea4616b6a51240ff392e8.jpg","text":"TemporaryFile(/tmp/multipartBody1169580730779722516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_41_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e0889248bef0b235972d586795a0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8953257520945899098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_50_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d393eeffb2310a0256127a071387348a.jpg","text":"TemporaryFile(/tmp/multipartBody1100720666399251219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_38_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/30/22eff3006651a90efea391b25f272690.jpg","text":"TemporaryFile(/tmp/multipartBody5869748166916740484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473923175,"filename":"image_31102025_11_43_35_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013573","file1":"1397013570","file0":"1397013567","file4":"1397013577","file5":"1397013579","file3":"1397013575"},"map_files_photo_id_array":[{"photo_id":"1397013579","filename":"file5"},{"photo_id":"1397013573","filename":"file2"},{"photo_id":"1397013577","filename":"file4"},{"photo_id":"1397013570","filename":"file1"},{"photo_id":"1397013567","filename":"file0"},{"photo_id":"1397013575","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013575":["hashtag1","hashtag2"]},{"1397013577":["hashtag1","hashtag2"]},{"1397013573":["hashtag1","hashtag2"]},{"1397013579":["hashtag1","hashtag2"]},{"1397013570":["hashtag1","hashtag2"]},{"1397013567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013575, 1397013577, 1397013573, 1397013579, 1397013570, 1397013567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51143217086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:38:22.554049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_44_9528.jpg', '/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_54_9643.jpg', '/home/pi/Desktop/images/30112025/03/38/image_30112025_03_39_05_10745.jpg', '/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_14_9680.jpg', '/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_24_9735.jpg', '/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_35_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_44_9528.jpg
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_38_54_9643.jpg
/home/pi/Desktop/images/30112025/03/38/image_30112025_03_39_05_10745.jpg
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_14_9680.jpg
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_24_9735.jpg
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_35_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013593","1397013589","1397013583","1397013586","1397013591","1397013596"],"photo_ids_order":["1397013583","1397013586","1397013589","1397013591","1397013593","1397013596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/214f358d16e206a24d800a6d5a29eac1.jpg","text":"TemporaryFile(/tmp/multipartBody8419248182386442423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_39_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/470845ea3ccc6accde49411afbd2b729.jpg","text":"TemporaryFile(/tmp/multipartBody3730582700075991049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_39_05_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e541458eae3bfc3b7fdef5edc5a5eda.jpg","text":"TemporaryFile(/tmp/multipartBody5253154183525666956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_38_44_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/277af2d4e74a1595d8974f96f76273f2.jpg","text":"TemporaryFile(/tmp/multipartBody2957220054526155381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_38_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e310f030c46dd60c76f9a6c9aa078da.jpg","text":"TemporaryFile(/tmp/multipartBody489695793149751281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_39_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22271f1cb9ca3fa978006ce56b4f0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5579050137068029681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764473963286,"filename":"image_30112025_03_39_35_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013589","file1":"1397013586","file0":"1397013583","file4":"1397013593","file5":"1397013596","file3":"1397013591"},"map_files_photo_id_array":[{"photo_id":"1397013596","filename":"file5"},{"photo_id":"1397013589","filename":"file2"},{"photo_id":"1397013593","filename":"file4"},{"photo_id":"1397013586","filename":"file1"},{"photo_id":"1397013583","filename":"file0"},{"photo_id":"1397013591","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013593":["hashtag1","hashtag2"]},{"1397013589":["hashtag1","hashtag2"]},{"1397013583":["hashtag1","hashtag2"]},{"1397013586":["hashtag1","hashtag2"]},{"1397013591":["hashtag1","hashtag2"]},{"1397013596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013593, 1397013589, 1397013583, 1397013586, 1397013591, 1397013596)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.61764192581177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 04:39:12.759778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_11_2346.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_13_1648.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_16_1619.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_18_1677.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_20_1598.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_21_1835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_11_2346.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_13_1648.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_16_1619.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_18_1677.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_20_1598.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_21_1835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013603","1397013608","1397013604","1397013612","1397013606","1397013609"],"photo_ids_order":["1397013603","1397013604","1397013606","1397013608","1397013609","1397013612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0846abc9f48ab97800c83f4169e82d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3614483276036750216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_11_2346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f8b22302c05945affbe3deff5cefb24.jpg","text":"TemporaryFile(/tmp/multipartBody2167714871452097557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_18_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/30/bad61241cdc08687f8df465f0a6a273b.jpg","text":"TemporaryFile(/tmp/multipartBody4793416805737603501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_13_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/30/b8575538eecdc96a6ad5b47ed57ebc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1969316119571384797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_21_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/30/2eeea9fad61248cf473c8e6816067b45.jpg","text":"TemporaryFile(/tmp/multipartBody8880656988024664535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_16_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/30/6288cf0b4be1c2b0234fb4e710658cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7475435139851904588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474014786,"filename":"image_25112025_19_42_20_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013606","file1":"1397013604","file0":"1397013603","file4":"1397013609","file5":"1397013612","file3":"1397013608"},"map_files_photo_id_array":[{"photo_id":"1397013612","filename":"file5"},{"photo_id":"1397013606","filename":"file2"},{"photo_id":"1397013609","filename":"file4"},{"photo_id":"1397013604","filename":"file1"},{"photo_id":"1397013603","filename":"file0"},{"photo_id":"1397013608","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397013603":["hashtag1","hashtag2"]},{"1397013608":["hashtag1","hashtag2"]},{"1397013604":["hashtag1","hashtag2"]},{"1397013612":["hashtag1","hashtag2"]},{"1397013606":["hashtag1","hashtag2"]},{"1397013609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397013603, 1397013608, 1397013604, 1397013612, 1397013606, 1397013609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47922921180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:40:05.059761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_45_9626.jpg', '/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_55_10001.jpg', '/home/pi/Desktop/images/30112025/03/39/image_30112025_03_40_04_9725.jpg', '/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_15_10682.jpg', '/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_25_9741.jpg', '/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_45_9626.jpg
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_39_55_10001.jpg
/home/pi/Desktop/images/30112025/03/39/image_30112025_03_40_04_9725.jpg
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_15_10682.jpg
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_25_9741.jpg
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_34_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013623","1397013631","1397013625","1397013628","1397013622","1397013621"],"photo_ids_order":["1397013621","1397013622","1397013623","1397013625","1397013628","1397013631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66957517fd2615a770e3d75986c5320b.jpg","text":"TemporaryFile(/tmp/multipartBody1104062537275946940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_40_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a53ee12563ffc74d5a4dffb709b62097.jpg","text":"TemporaryFile(/tmp/multipartBody137258835564922510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_40_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81c830a8ae306f7a076d2a926ddfba6e.jpg","text":"TemporaryFile(/tmp/multipartBody6176099005774387948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_40_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f298f4ff835e527fc62e105d976b23f6.jpg","text":"TemporaryFile(/tmp/multipartBody2261655874151614680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_40_25_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79b2d52e0c0cee9bd8702e41d07b640a.jpg","text":"TemporaryFile(/tmp/multipartBody1948092370223813348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_39_55_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ef77e1adf3069baf732e735ed4daf44.jpg","text":"TemporaryFile(/tmp/multipartBody954671268339863047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474068336,"filename":"image_30112025_03_39_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013623","file1":"1397013622","file0":"1397013621","file4":"1397013628","file5":"1397013631","file3":"1397013625"},"map_files_photo_id_array":[{"photo_id":"1397013631","filename":"file5"},{"photo_id":"1397013623","filename":"file2"},{"photo_id":"1397013628","filename":"file4"},{"photo_id":"1397013622","filename":"file1"},{"photo_id":"1397013621","filename":"file0"},{"photo_id":"1397013625","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013623":["hashtag1","hashtag2"]},{"1397013631":["hashtag1","hashtag2"]},{"1397013625":["hashtag1","hashtag2"]},{"1397013628":["hashtag1","hashtag2"]},{"1397013622":["hashtag1","hashtag2"]},{"1397013621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013623, 1397013631, 1397013625, 1397013628, 1397013622, 1397013621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4809353351593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:41:03.425180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_45_10597.jpg', '/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_55_9643.jpg', '/home/pi/Desktop/images/30112025/03/40/image_30112025_03_41_04_9659.jpg', '/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_15_10614.jpg', '/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_25_9700.jpg', '/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_45_10597.jpg
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_40_55_9643.jpg
/home/pi/Desktop/images/30112025/03/40/image_30112025_03_41_04_9659.jpg
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_15_10614.jpg
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_25_9700.jpg
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_34_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013650","1397013653","1397013647","1397013644","1397013643","1397013645"],"photo_ids_order":["1397013643","1397013644","1397013645","1397013647","1397013650","1397013653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cda12528107d30c885b397bcc6cb529b.jpg","text":"TemporaryFile(/tmp/multipartBody4048766978522489448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_41_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/659f3a3dcb335010e64b22922ee301f5.jpg","text":"TemporaryFile(/tmp/multipartBody3906448472556072943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_41_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e661185f4a956092837bad1b42964330.jpg","text":"TemporaryFile(/tmp/multipartBody3598318438167787782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_41_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/032d539d906ca644da6001e55f29f44c.jpg","text":"TemporaryFile(/tmp/multipartBody3428116258163809729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_40_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/438d055d09d6dbd5ad20dd5b3d32e40d.jpg","text":"TemporaryFile(/tmp/multipartBody4212837282339304427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_40_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cf6ef4e2701ec2cdf466b82666365a4.jpg","text":"TemporaryFile(/tmp/multipartBody7496484915727316150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474126714,"filename":"image_30112025_03_41_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013645","file1":"1397013644","file0":"1397013643","file4":"1397013650","file5":"1397013653","file3":"1397013647"},"map_files_photo_id_array":[{"photo_id":"1397013653","filename":"file5"},{"photo_id":"1397013645","filename":"file2"},{"photo_id":"1397013650","filename":"file4"},{"photo_id":"1397013644","filename":"file1"},{"photo_id":"1397013643","filename":"file0"},{"photo_id":"1397013647","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013650":["hashtag1","hashtag2"]},{"1397013653":["hashtag1","hashtag2"]},{"1397013647":["hashtag1","hashtag2"]},{"1397013644":["hashtag1","hashtag2"]},{"1397013643":["hashtag1","hashtag2"]},{"1397013645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013650, 1397013653, 1397013647, 1397013644, 1397013643, 1397013645)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.679622173309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:42:02.346829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_44_9786.jpg', '/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_55_10587.jpg', '/home/pi/Desktop/images/30112025/03/41/image_30112025_03_42_04_9708.jpg', '/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_14_9794.jpg', '/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_25_10752.jpg', '/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_35_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_44_9786.jpg
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_41_55_10587.jpg
/home/pi/Desktop/images/30112025/03/41/image_30112025_03_42_04_9708.jpg
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_14_9794.jpg
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_25_10752.jpg
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_35_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013665","1397013674","1397013668","1397013670","1397013667","1397013666"],"photo_ids_order":["1397013665","1397013666","1397013667","1397013668","1397013670","1397013674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e62e6fab1a4abcd24b35d62d0b365cd.jpg","text":"TemporaryFile(/tmp/multipartBody8358833252603404383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_41_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dbbb919050b7dc7e312424f0e4256eb.jpg","text":"TemporaryFile(/tmp/multipartBody7577662119475651006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_42_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2e2e61522dd6a0d3964c73140c5b774.jpg","text":"TemporaryFile(/tmp/multipartBody482989937854194374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_42_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6e2a3e677ca7db6b2b2f8d7eb4566b7.jpg","text":"TemporaryFile(/tmp/multipartBody957468173919873989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_42_25_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9d746d7cd3e6134a8863edd88ebd0c9.jpg","text":"TemporaryFile(/tmp/multipartBody823806635995563234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_42_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81124c5a4cbebfb9b6eaba1458e818a9.jpg","text":"TemporaryFile(/tmp/multipartBody7264730175087901777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474185790,"filename":"image_30112025_03_41_55_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013667","file1":"1397013666","file0":"1397013665","file4":"1397013670","file5":"1397013674","file3":"1397013668"},"map_files_photo_id_array":[{"photo_id":"1397013674","filename":"file5"},{"photo_id":"1397013667","filename":"file2"},{"photo_id":"1397013670","filename":"file4"},{"photo_id":"1397013666","filename":"file1"},{"photo_id":"1397013665","filename":"file0"},{"photo_id":"1397013668","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013665":["hashtag1","hashtag2"]},{"1397013674":["hashtag1","hashtag2"]},{"1397013668":["hashtag1","hashtag2"]},{"1397013670":["hashtag1","hashtag2"]},{"1397013667":["hashtag1","hashtag2"]},{"1397013666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013665, 1397013674, 1397013668, 1397013670, 1397013667, 1397013666)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.57652759552002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:43:03.383249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_44_9507.jpg', '/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_55_10573.jpg', '/home/pi/Desktop/images/30112025/03/42/image_30112025_03_43_04_9784.jpg', '/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_14_9808.jpg', '/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_25_10706.jpg', '/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_35_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_44_9507.jpg
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_42_55_10573.jpg
/home/pi/Desktop/images/30112025/03/42/image_30112025_03_43_04_9784.jpg
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_14_9808.jpg
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_25_10706.jpg
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_35_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013692","1397013697","1397013691","1397013690","1397013693","1397013695"],"photo_ids_order":["1397013690","1397013691","1397013692","1397013693","1397013695","1397013697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dcd5c09cb59ae51520790847c81d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7363227510507307806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_43_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09d1e86cadf7797aa2d37d4c8f7f9ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4598473112690179438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_43_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e34bce4e047a25f672e679663d6bb96.jpg","text":"TemporaryFile(/tmp/multipartBody5043215323158140012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_42_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aaed778900f451eeae8b9e12b5362f84.jpg","text":"TemporaryFile(/tmp/multipartBody3807116126572137298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_42_44_9507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17f19525e6d0b5fd9ee646b9c77a3842.jpg","text":"TemporaryFile(/tmp/multipartBody5553403113613265141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_43_14_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afaea8abb9a53c437e84bc5cbaf1daa0.jpg","text":"TemporaryFile(/tmp/multipartBody6727130197616876960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474244093,"filename":"image_30112025_03_43_25_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013692","file1":"1397013691","file0":"1397013690","file4":"1397013695","file5":"1397013697","file3":"1397013693"},"map_files_photo_id_array":[{"photo_id":"1397013697","filename":"file5"},{"photo_id":"1397013692","filename":"file2"},{"photo_id":"1397013695","filename":"file4"},{"photo_id":"1397013691","filename":"file1"},{"photo_id":"1397013690","filename":"file0"},{"photo_id":"1397013693","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013692":["hashtag1","hashtag2"]},{"1397013697":["hashtag1","hashtag2"]},{"1397013691":["hashtag1","hashtag2"]},{"1397013690":["hashtag1","hashtag2"]},{"1397013693":["hashtag1","hashtag2"]},{"1397013695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013692, 1397013697, 1397013691, 1397013690, 1397013693, 1397013695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25563383102417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:43:42.769869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/43/image_31102025_11_43_52_2667.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_55_2747.jpg', '/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_59_3660.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_01_2670.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_04_2677.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_08_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_52_2667.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_55_2747.jpg
/home/pi/Desktop/images/31102025/11/43/image_31102025_11_43_59_3660.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_01_2670.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_04_2677.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_08_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013713","1397013722","1397013716","1397013719","1397013710","1397013706"],"photo_ids_order":["1397013706","1397013710","1397013713","1397013716","1397013719","1397013722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2c4417342a842ae5d72a03b152b9006.jpg","text":"TemporaryFile(/tmp/multipartBody1822589882867083318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_43_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/30/818a68fab75642c2742670861cdf125d.jpg","text":"TemporaryFile(/tmp/multipartBody5051094526459911266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_44_08_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/30/d3d12de011cb53c58ca92846dd364653.jpg","text":"TemporaryFile(/tmp/multipartBody4676840627210031447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_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/30/8aec4c5266a5a6863fff0ac473729728.jpg","text":"TemporaryFile(/tmp/multipartBody6075374719646366210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_44_04_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/30/e04f4c1bcff0ca71073661daf8f4e52d.jpg","text":"TemporaryFile(/tmp/multipartBody3379516904224488851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_43_55_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/30/bd43fff6e3ff55b49626a369deede679.jpg","text":"TemporaryFile(/tmp/multipartBody1903442991395122968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474283670,"filename":"image_31102025_11_43_52_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013713","file1":"1397013710","file0":"1397013706","file4":"1397013719","file5":"1397013722","file3":"1397013716"},"map_files_photo_id_array":[{"photo_id":"1397013722","filename":"file5"},{"photo_id":"1397013713","filename":"file2"},{"photo_id":"1397013719","filename":"file4"},{"photo_id":"1397013710","filename":"file1"},{"photo_id":"1397013706","filename":"file0"},{"photo_id":"1397013716","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013713":["hashtag1","hashtag2"]},{"1397013722":["hashtag1","hashtag2"]},{"1397013716":["hashtag1","hashtag2"]},{"1397013719":["hashtag1","hashtag2"]},{"1397013710":["hashtag1","hashtag2"]},{"1397013706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013713, 1397013722, 1397013716, 1397013719, 1397013710, 1397013706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67108464241028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:44:21.967319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_50_15613.jpg', '/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_55_4510.jpg', '/home/pi/Desktop/images/30112025/03/43/image_30112025_03_44_04_9693.jpg', '/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_15_10599.jpg', '/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_24_9521.jpg', '/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_50_15613.jpg
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_43_55_4510.jpg
/home/pi/Desktop/images/30112025/03/43/image_30112025_03_44_04_9693.jpg
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_15_10599.jpg
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_24_9521.jpg
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_34_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013734","1397013737","1397013739","1397013730","1397013727","1397013732"],"photo_ids_order":["1397013727","1397013730","1397013732","1397013734","1397013737","1397013739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/234b57093f7f31852ff655cfb14856ab.jpg","text":"TemporaryFile(/tmp/multipartBody2541894680087368132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_44_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51e336582ec95dd872700d2a0906db75.jpg","text":"TemporaryFile(/tmp/multipartBody439726547467548911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_44_24_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6889445b7d47152c147e786cf9e1f26.jpg","text":"TemporaryFile(/tmp/multipartBody2414727614529274247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_44_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c67dff23e6d35798c461107b50762196.jpg","text":"TemporaryFile(/tmp/multipartBody4446197942749837567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_43_55_4510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ead70b59ee70c4791ffd2ce47e2ed610.jpg","text":"TemporaryFile(/tmp/multipartBody8476676768163578838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_43_50_15613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d7da060d89846b4e0606624d27e7333.jpg","text":"TemporaryFile(/tmp/multipartBody3181933141943052326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474322653,"filename":"image_30112025_03_44_04_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013732","file1":"1397013730","file0":"1397013727","file4":"1397013737","file5":"1397013739","file3":"1397013734"},"map_files_photo_id_array":[{"photo_id":"1397013739","filename":"file5"},{"photo_id":"1397013732","filename":"file2"},{"photo_id":"1397013737","filename":"file4"},{"photo_id":"1397013730","filename":"file1"},{"photo_id":"1397013727","filename":"file0"},{"photo_id":"1397013734","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013734":["hashtag1","hashtag2"]},{"1397013737":["hashtag1","hashtag2"]},{"1397013739":["hashtag1","hashtag2"]},{"1397013730":["hashtag1","hashtag2"]},{"1397013727":["hashtag1","hashtag2"]},{"1397013732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013734, 1397013737, 1397013739, 1397013730, 1397013727, 1397013732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.695624113082886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:45:02.760646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_45_10643.jpg', '/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_54_9724.jpg', '/home/pi/Desktop/images/30112025/03/44/image_30112025_03_45_04_9587.jpg', '/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_15_10813.jpg', '/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_24_9607.jpg', '/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_45_10643.jpg
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_44_54_9724.jpg
/home/pi/Desktop/images/30112025/03/44/image_30112025_03_45_04_9587.jpg
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_15_10813.jpg
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_24_9607.jpg
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_34_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013746","1397013748","1397013753","1397013747","1397013750","1397013744"],"photo_ids_order":["1397013744","1397013746","1397013747","1397013748","1397013750","1397013753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24a1e9010c9065764dab1cda86469f32.jpg","text":"TemporaryFile(/tmp/multipartBody7057837089459185092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_44_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/956b95aac628a4fb525b42ca5b0645db.jpg","text":"TemporaryFile(/tmp/multipartBody6573292487530683460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_45_15_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/008c7a999bba15e8a45df9e9e3b9e185.jpg","text":"TemporaryFile(/tmp/multipartBody4247723556192398977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_45_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e012de18bb715bc8927eda3e5d99a503.jpg","text":"TemporaryFile(/tmp/multipartBody1740779616796974448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_45_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0ca14487520f988393ab0b19dc5980f.jpg","text":"TemporaryFile(/tmp/multipartBody5336350349766379494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_45_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/649d453325ca4ae21fc2194b2e26a942.jpg","text":"TemporaryFile(/tmp/multipartBody7120681714161045636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474363487,"filename":"image_30112025_03_44_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013747","file1":"1397013746","file0":"1397013744","file4":"1397013750","file5":"1397013753","file3":"1397013748"},"map_files_photo_id_array":[{"photo_id":"1397013753","filename":"file5"},{"photo_id":"1397013747","filename":"file2"},{"photo_id":"1397013750","filename":"file4"},{"photo_id":"1397013746","filename":"file1"},{"photo_id":"1397013744","filename":"file0"},{"photo_id":"1397013748","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013746":["hashtag1","hashtag2"]},{"1397013748":["hashtag1","hashtag2"]},{"1397013753":["hashtag1","hashtag2"]},{"1397013747":["hashtag1","hashtag2"]},{"1397013750":["hashtag1","hashtag2"]},{"1397013744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013746, 1397013748, 1397013753, 1397013747, 1397013750, 1397013744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00864291191101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:45:42.109258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/44/image_31102025_11_44_13_2695.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_17_3703.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_19_2551.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_22_2732.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_26_3636.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_29_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/11/44/image_31102025_11_44_13_2695.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_17_3703.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_19_2551.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_22_2732.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_26_3636.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_29_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013770","1397013764","1397013761","1397013772","1397013766","1397013768"],"photo_ids_order":["1397013761","1397013764","1397013766","1397013768","1397013770","1397013772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11586b869560be053ae0fa76dd2b2657.jpg","text":"TemporaryFile(/tmp/multipartBody4138193254201438307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_26_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/30/b8a7b38a76c85ac264f232427cecb5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6197677710363814392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_17_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/30/567b84a71a2376e450b228235864933d.jpg","text":"TemporaryFile(/tmp/multipartBody8832880247954267228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_13_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee232ae14c79f7c93d8455e28e0a354d.jpg","text":"TemporaryFile(/tmp/multipartBody2943184672857717354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_29_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/30/0665cd90b5692c507a81355586fc6d52.jpg","text":"TemporaryFile(/tmp/multipartBody1445986941392412762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_19_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/30/1991765103502ee0c8d733daf69b90bf.jpg","text":"TemporaryFile(/tmp/multipartBody3271089277301042959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474403002,"filename":"image_31102025_11_44_22_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013766","file1":"1397013764","file0":"1397013761","file4":"1397013770","file5":"1397013772","file3":"1397013768"},"map_files_photo_id_array":[{"photo_id":"1397013772","filename":"file5"},{"photo_id":"1397013766","filename":"file2"},{"photo_id":"1397013770","filename":"file4"},{"photo_id":"1397013764","filename":"file1"},{"photo_id":"1397013761","filename":"file0"},{"photo_id":"1397013768","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013770":["hashtag1","hashtag2"]},{"1397013764":["hashtag1","hashtag2"]},{"1397013761":["hashtag1","hashtag2"]},{"1397013772":["hashtag1","hashtag2"]},{"1397013766":["hashtag1","hashtag2"]},{"1397013768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013770, 1397013764, 1397013761, 1397013772, 1397013766, 1397013768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.197734355926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:46:22.289683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_45_10640.jpg', '/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_54_9733.jpg', '/home/pi/Desktop/images/30112025/03/45/image_30112025_03_46_04_9753.jpg', '/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_15_10693.jpg', '/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_25_9901.jpg', '/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_45_10640.jpg
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_45_54_9733.jpg
/home/pi/Desktop/images/30112025/03/45/image_30112025_03_46_04_9753.jpg
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_15_10693.jpg
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_25_9901.jpg
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_34_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013791","1397013785","1397013779","1397013788","1397013782","1397013776"],"photo_ids_order":["1397013776","1397013779","1397013782","1397013785","1397013788","1397013791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b9888a727fc0319ca1c5f95616e3287.jpg","text":"TemporaryFile(/tmp/multipartBody6127848249689126696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_46_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2af9d84d14f4951bd2af78d463e8452b.jpg","text":"TemporaryFile(/tmp/multipartBody772499801714322685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_46_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4735e23bc8a297ef93ff36261058e32.jpg","text":"TemporaryFile(/tmp/multipartBody6636306281725466913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_45_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a598c1e5072b0b541b854af4b0a1f62.jpg","text":"TemporaryFile(/tmp/multipartBody7970043182639723327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_46_25_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8c1deecc2c38fda45b1c776038763f0.jpg","text":"TemporaryFile(/tmp/multipartBody3098430925602491679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_46_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3eb778078a7d90698c747649843f3a85.jpg","text":"TemporaryFile(/tmp/multipartBody6361172620997905375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474442979,"filename":"image_30112025_03_45_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013782","file1":"1397013779","file0":"1397013776","file4":"1397013788","file5":"1397013791","file3":"1397013785"},"map_files_photo_id_array":[{"photo_id":"1397013791","filename":"file5"},{"photo_id":"1397013782","filename":"file2"},{"photo_id":"1397013788","filename":"file4"},{"photo_id":"1397013779","filename":"file1"},{"photo_id":"1397013776","filename":"file0"},{"photo_id":"1397013785","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013791":["hashtag1","hashtag2"]},{"1397013785":["hashtag1","hashtag2"]},{"1397013779":["hashtag1","hashtag2"]},{"1397013788":["hashtag1","hashtag2"]},{"1397013782":["hashtag1","hashtag2"]},{"1397013776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013791, 1397013785, 1397013779, 1397013788, 1397013782, 1397013776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.494088649749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:47:03.267124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_45_10574.jpg', '/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_55_9712.jpg', '/home/pi/Desktop/images/30112025/03/46/image_30112025_03_47_04_9655.jpg', '/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_15_10622.jpg', '/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_25_9793.jpg', '/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_34_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_45_10574.jpg
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_46_55_9712.jpg
/home/pi/Desktop/images/30112025/03/46/image_30112025_03_47_04_9655.jpg
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_15_10622.jpg
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_25_9793.jpg
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_34_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013800","1397013799","1397013805","1397013798","1397013802","1397013797"],"photo_ids_order":["1397013797","1397013798","1397013799","1397013800","1397013802","1397013805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50134e4294f631af1f27d2d01d859cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3123827014853099388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_47_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/163b6771385d54d6ac5a036f09c59977.jpg","text":"TemporaryFile(/tmp/multipartBody4866338475356111408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_47_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20644c6c1d2ca3d26511b99eb8434a64.jpg","text":"TemporaryFile(/tmp/multipartBody5879667706742738564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_47_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccefc11b706ba6523f7a30b2d6bda6ce.jpg","text":"TemporaryFile(/tmp/multipartBody1857383208859716455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_46_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e16c1b9e04baa096bc491be0a72d6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2876140750869998820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_47_25_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34262a4a7a8633f6d6cf3383000c46ff.jpg","text":"TemporaryFile(/tmp/multipartBody8398088317947330839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474483970,"filename":"image_30112025_03_46_45_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013799","file1":"1397013798","file0":"1397013797","file4":"1397013802","file5":"1397013805","file3":"1397013800"},"map_files_photo_id_array":[{"photo_id":"1397013805","filename":"file5"},{"photo_id":"1397013799","filename":"file2"},{"photo_id":"1397013802","filename":"file4"},{"photo_id":"1397013798","filename":"file1"},{"photo_id":"1397013797","filename":"file0"},{"photo_id":"1397013800","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013800":["hashtag1","hashtag2"]},{"1397013799":["hashtag1","hashtag2"]},{"1397013805":["hashtag1","hashtag2"]},{"1397013798":["hashtag1","hashtag2"]},{"1397013802":["hashtag1","hashtag2"]},{"1397013797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013800, 1397013799, 1397013805, 1397013798, 1397013802, 1397013797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01159596443176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:47:42.362870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/44/image_31102025_11_44_31_2685.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_35_3692.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_38_2684.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_40_2660.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_43_2890.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_47_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_31_2685.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_35_3692.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_38_2684.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_40_2660.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_43_2890.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_47_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013818","1397013862","1397013865","1397013844","1397013816","1397013813"],"photo_ids_order":["1397013813","1397013816","1397013818","1397013844","1397013862","1397013865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59675a3e1b081db9a0eddeb563b5ea08.jpg","text":"TemporaryFile(/tmp/multipartBody4144598312155426454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_38_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/30/7f9ef756d84ca6d79dea38f42370755d.jpg","text":"TemporaryFile(/tmp/multipartBody4476533721571266806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_43_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/30/8bc5155c9a07184135b6e4cb42cbdae8.jpg","text":"TemporaryFile(/tmp/multipartBody616400967208527319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_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/30/3356c7da2648d2e060f2ccf6d36aca31.jpg","text":"TemporaryFile(/tmp/multipartBody7254733725284030615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_40_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/30/eb30375d87948cd37dc424d31f934c69.jpg","text":"TemporaryFile(/tmp/multipartBody3639930135921014304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_35_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/30/8178d8989b0657ebde1b57cf8d05ad94.jpg","text":"TemporaryFile(/tmp/multipartBody6297975318195863751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474523232,"filename":"image_31102025_11_44_31_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013818","file1":"1397013816","file0":"1397013813","file4":"1397013862","file5":"1397013865","file3":"1397013844"},"map_files_photo_id_array":[{"photo_id":"1397013865","filename":"file5"},{"photo_id":"1397013818","filename":"file2"},{"photo_id":"1397013862","filename":"file4"},{"photo_id":"1397013816","filename":"file1"},{"photo_id":"1397013813","filename":"file0"},{"photo_id":"1397013844","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013818":["hashtag1","hashtag2"]},{"1397013862":["hashtag1","hashtag2"]},{"1397013865":["hashtag1","hashtag2"]},{"1397013844":["hashtag1","hashtag2"]},{"1397013816":["hashtag1","hashtag2"]},{"1397013813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013818, 1397013862, 1397013865, 1397013844, 1397013816, 1397013813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00732469558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:48:22.550560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_44_9668.jpg', '/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_55_10644.jpg', '/home/pi/Desktop/images/30112025/03/47/image_30112025_03_48_04_9568.jpg', '/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_15_10587.jpg', '/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_25_9682.jpg', '/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_34_9533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_44_9668.jpg
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_47_55_10644.jpg
/home/pi/Desktop/images/30112025/03/47/image_30112025_03_48_04_9568.jpg
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_15_10587.jpg
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_25_9682.jpg
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_34_9533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013878","1397013872","1397013869","1397013874","1397013876","1397013881"],"photo_ids_order":["1397013869","1397013872","1397013874","1397013876","1397013878","1397013881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e061d09a8a8857280e23f79dd187fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody1083883217323869565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_48_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cbeb39cfa247956b4951b297f21727d.jpg","text":"TemporaryFile(/tmp/multipartBody3164673922043268594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_47_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97c9199fafbe8403aa8832086cf1fd62.jpg","text":"TemporaryFile(/tmp/multipartBody3555641904417148646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_47_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fb2669ad0a585ccf25c117b5705909b.jpg","text":"TemporaryFile(/tmp/multipartBody7713397361717054543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_48_04_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ddade72375612868990e338b4b22a14.jpg","text":"TemporaryFile(/tmp/multipartBody4932068118232602603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_48_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7faa769d3bdf09784d2516300e84363.jpg","text":"TemporaryFile(/tmp/multipartBody4530857581000919546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474563286,"filename":"image_30112025_03_48_34_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013874","file1":"1397013872","file0":"1397013869","file4":"1397013878","file5":"1397013881","file3":"1397013876"},"map_files_photo_id_array":[{"photo_id":"1397013881","filename":"file5"},{"photo_id":"1397013874","filename":"file2"},{"photo_id":"1397013878","filename":"file4"},{"photo_id":"1397013872","filename":"file1"},{"photo_id":"1397013869","filename":"file0"},{"photo_id":"1397013876","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013878":["hashtag1","hashtag2"]},{"1397013872":["hashtag1","hashtag2"]},{"1397013869":["hashtag1","hashtag2"]},{"1397013874":["hashtag1","hashtag2"]},{"1397013876":["hashtag1","hashtag2"]},{"1397013881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013878, 1397013872, 1397013869, 1397013874, 1397013876, 1397013881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42318630218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:49:03.738241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_45_10643.jpg', '/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_54_9652.jpg', '/home/pi/Desktop/images/30112025/03/48/image_30112025_03_49_04_9957.jpg', '/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_14_9734.jpg', '/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_25_10724.jpg', '/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_35_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_45_10643.jpg
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_48_54_9652.jpg
/home/pi/Desktop/images/30112025/03/48/image_30112025_03_49_04_9957.jpg
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_14_9734.jpg
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_25_10724.jpg
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_35_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013890","1397013887","1397013889","1397013888","1397013893","1397013896"],"photo_ids_order":["1397013887","1397013888","1397013889","1397013890","1397013893","1397013896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a23664181c6cf3448c09bef8bf5bf614.jpg","text":"TemporaryFile(/tmp/multipartBody8947322057398774086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_49_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02e3cbcd3d901886c8ebbda456155329.jpg","text":"TemporaryFile(/tmp/multipartBody4138329765398693035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_48_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce0b7fcbf2459e98f9ea59d8ba08fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody4905778692497573138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_49_04_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bc024775298af921cc75d1a28109da2.jpg","text":"TemporaryFile(/tmp/multipartBody299578411131667560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_48_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bca17deeec7701285f31addae8a04412.jpg","text":"TemporaryFile(/tmp/multipartBody644296914632544718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_49_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/856bca8f16121e3485452aed31ab9818.jpg","text":"TemporaryFile(/tmp/multipartBody3705006905478692040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474604603,"filename":"image_30112025_03_49_35_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013889","file1":"1397013888","file0":"1397013887","file4":"1397013893","file5":"1397013896","file3":"1397013890"},"map_files_photo_id_array":[{"photo_id":"1397013896","filename":"file5"},{"photo_id":"1397013889","filename":"file2"},{"photo_id":"1397013893","filename":"file4"},{"photo_id":"1397013888","filename":"file1"},{"photo_id":"1397013887","filename":"file0"},{"photo_id":"1397013890","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013890":["hashtag1","hashtag2"]},{"1397013887":["hashtag1","hashtag2"]},{"1397013889":["hashtag1","hashtag2"]},{"1397013888":["hashtag1","hashtag2"]},{"1397013893":["hashtag1","hashtag2"]},{"1397013896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013890, 1397013887, 1397013889, 1397013888, 1397013893, 1397013896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.611361503601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:49:42.956296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/44/image_31102025_11_44_50_2888.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_53_2907.jpg', '/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_55_2654.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_11_3833.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_14_2661.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_16_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_50_2888.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_53_2907.jpg
/home/pi/Desktop/images/31102025/11/44/image_31102025_11_44_55_2654.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_11_3833.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_14_2661.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_16_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":["1397013908","1397013902","1397013910","1397013904","1397013912","1397013906"],"photo_ids_order":["1397013902","1397013904","1397013906","1397013908","1397013910","1397013912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9d23aa9df28780cf8f896292841bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody4713475579676790894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_45_11_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/30/24777dd3c0c82a004516c527e6663014.jpg","text":"TemporaryFile(/tmp/multipartBody74838403267796855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_44_50_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/30/736036df77bbf6b342bea3197a2e106d.jpg","text":"TemporaryFile(/tmp/multipartBody759015463278476068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_45_14_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/30/a652c8d5a46d068260c51b68c5ca2327.jpg","text":"TemporaryFile(/tmp/multipartBody3464616385632303846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_44_53_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/30/a3af1381af08e0d24d16b8cca0e6cdf1.jpg","text":"TemporaryFile(/tmp/multipartBody87961698007347249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_45_16_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0755be271b408c8e7674a8e28aa5a06f.jpg","text":"TemporaryFile(/tmp/multipartBody4180501719119156374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474643835,"filename":"image_31102025_11_44_55_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013906","file1":"1397013904","file0":"1397013902","file4":"1397013910","file5":"1397013912","file3":"1397013908"},"map_files_photo_id_array":[{"photo_id":"1397013912","filename":"file5"},{"photo_id":"1397013906","filename":"file2"},{"photo_id":"1397013910","filename":"file4"},{"photo_id":"1397013904","filename":"file1"},{"photo_id":"1397013902","filename":"file0"},{"photo_id":"1397013908","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397013908":["hashtag1","hashtag2"]},{"1397013902":["hashtag1","hashtag2"]},{"1397013910":["hashtag1","hashtag2"]},{"1397013904":["hashtag1","hashtag2"]},{"1397013912":["hashtag1","hashtag2"]},{"1397013906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397013908, 1397013902, 1397013910, 1397013904, 1397013912, 1397013906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16069197654724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:50:22.134398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_44_9639.jpg', '/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_55_10692.jpg', '/home/pi/Desktop/images/30112025/03/49/image_30112025_03_50_05_9917.jpg', '/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_15_9641.jpg', '/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_24_9710.jpg', '/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_35_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_44_9639.jpg
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_49_55_10692.jpg
/home/pi/Desktop/images/30112025/03/49/image_30112025_03_50_05_9917.jpg
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_15_9641.jpg
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_24_9710.jpg
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_35_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013929","1397013914","1397013917","1397013922","1397013925","1397013919"],"photo_ids_order":["1397013914","1397013917","1397013919","1397013922","1397013925","1397013929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10f6be3f56481c48c09587f6a88a2c08.jpg","text":"TemporaryFile(/tmp/multipartBody3377246365699821824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_50_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acd3f83201f7bc13b1f4a9a4a927e598.jpg","text":"TemporaryFile(/tmp/multipartBody7327863057007021519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_49_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/336c239afd1b44c9fe8979a9a92b315d.jpg","text":"TemporaryFile(/tmp/multipartBody3141397431473898437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_49_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4faeaf37d66df2cdd773784fe451f0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2607132945784561317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_50_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46ca2db1960d26d157ab4f151437627c.jpg","text":"TemporaryFile(/tmp/multipartBody2779771024998318018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_50_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05e3ea37945f577ca72a6b6edfe4ce76.jpg","text":"TemporaryFile(/tmp/multipartBody7466050083554747786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474682866,"filename":"image_30112025_03_50_05_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013919","file1":"1397013917","file0":"1397013914","file4":"1397013925","file5":"1397013929","file3":"1397013922"},"map_files_photo_id_array":[{"photo_id":"1397013929","filename":"file5"},{"photo_id":"1397013919","filename":"file2"},{"photo_id":"1397013925","filename":"file4"},{"photo_id":"1397013917","filename":"file1"},{"photo_id":"1397013914","filename":"file0"},{"photo_id":"1397013922","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013929":["hashtag1","hashtag2"]},{"1397013914":["hashtag1","hashtag2"]},{"1397013917":["hashtag1","hashtag2"]},{"1397013922":["hashtag1","hashtag2"]},{"1397013925":["hashtag1","hashtag2"]},{"1397013919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013929, 1397013914, 1397013917, 1397013922, 1397013925, 1397013919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.272194147109985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:51:02.976877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_45_9646.jpg', '/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_54_9721.jpg', '/home/pi/Desktop/images/30112025/03/50/image_30112025_03_51_04_9856.jpg', '/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_15_10719.jpg', '/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_25_9717.jpg', '/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_45_9646.jpg
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_50_54_9721.jpg
/home/pi/Desktop/images/30112025/03/50/image_30112025_03_51_04_9856.jpg
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_15_10719.jpg
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_25_9717.jpg
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_34_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013956","1397013959","1397013961","1397013964","1397013958","1397013957"],"photo_ids_order":["1397013956","1397013957","1397013958","1397013959","1397013961","1397013964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3a50582f46290c001a06c4cbe30d96f.jpg","text":"TemporaryFile(/tmp/multipartBody3635126289709353189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_50_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/826cb2d32fa5c995fab73c555f71508e.jpg","text":"TemporaryFile(/tmp/multipartBody4977770636860523326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_51_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05baec1a0d43d2284b7bdac374bb6027.jpg","text":"TemporaryFile(/tmp/multipartBody5612836234114660312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_51_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbc5aa43a44964c627fecf6d4aad8741.jpg","text":"TemporaryFile(/tmp/multipartBody972815065803463710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_51_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd8a69d0890a357ab5b13329adbfd219.jpg","text":"TemporaryFile(/tmp/multipartBody3102279048563943569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_51_04_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3c6335d9b4e48002153fae373885938.jpg","text":"TemporaryFile(/tmp/multipartBody5416859844699981807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474723691,"filename":"image_30112025_03_50_54_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013958","file1":"1397013957","file0":"1397013956","file4":"1397013961","file5":"1397013964","file3":"1397013959"},"map_files_photo_id_array":[{"photo_id":"1397013964","filename":"file5"},{"photo_id":"1397013958","filename":"file2"},{"photo_id":"1397013961","filename":"file4"},{"photo_id":"1397013957","filename":"file1"},{"photo_id":"1397013956","filename":"file0"},{"photo_id":"1397013959","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013956":["hashtag1","hashtag2"]},{"1397013959":["hashtag1","hashtag2"]},{"1397013961":["hashtag1","hashtag2"]},{"1397013964":["hashtag1","hashtag2"]},{"1397013958":["hashtag1","hashtag2"]},{"1397013957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013956, 1397013959, 1397013961, 1397013964, 1397013958, 1397013957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592592000961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:51:42.358753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/45/image_31102025_11_45_20_3690.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_23_2793.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_25_2541.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_29_3612.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_32_2619.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_34_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/11/45/image_31102025_11_45_20_3690.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_23_2793.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_25_2541.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_29_3612.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_32_2619.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_34_2809.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7766826152801514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:52:02.921611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_45_10840.jpg', '/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_55_9731.jpg', '/home/pi/Desktop/images/30112025/03/51/image_30112025_03_52_04_9671.jpg', '/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_15_10619.jpg', '/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_25_9781.jpg', '/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_35_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_45_10840.jpg
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_51_55_9731.jpg
/home/pi/Desktop/images/30112025/03/51/image_30112025_03_52_04_9671.jpg
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_15_10619.jpg
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_25_9781.jpg
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_35_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397013991","1397013985","1397013988","1397013982","1397013984","1397013986"],"photo_ids_order":["1397013982","1397013984","1397013985","1397013986","1397013988","1397013991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8752c636afb980495dc695cc3f60cc06.jpg","text":"TemporaryFile(/tmp/multipartBody3580830968488254308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_52_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34ed2d7388d91c7a09b35c95b102515d.jpg","text":"TemporaryFile(/tmp/multipartBody8752175009226926517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_52_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a8b2ebfeb0e8e2316374adef1da897e.jpg","text":"TemporaryFile(/tmp/multipartBody4709268898542137508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_52_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7542ce7e19269a84a0e7456ea27654f.jpg","text":"TemporaryFile(/tmp/multipartBody555294026793753461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_51_45_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43f88f0d6485ca4cdb84b4ac4606e713.jpg","text":"TemporaryFile(/tmp/multipartBody1284488249291575326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_51_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fc33b11fdf1913d18594573381a8679.jpg","text":"TemporaryFile(/tmp/multipartBody1358002140888546382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474783640,"filename":"image_30112025_03_52_15_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397013985","file1":"1397013984","file0":"1397013982","file4":"1397013988","file5":"1397013991","file3":"1397013986"},"map_files_photo_id_array":[{"photo_id":"1397013991","filename":"file5"},{"photo_id":"1397013985","filename":"file2"},{"photo_id":"1397013988","filename":"file4"},{"photo_id":"1397013984","filename":"file1"},{"photo_id":"1397013982","filename":"file0"},{"photo_id":"1397013986","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397013991":["hashtag1","hashtag2"]},{"1397013985":["hashtag1","hashtag2"]},{"1397013988":["hashtag1","hashtag2"]},{"1397013982":["hashtag1","hashtag2"]},{"1397013984":["hashtag1","hashtag2"]},{"1397013986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397013991, 1397013985, 1397013988, 1397013982, 1397013984, 1397013986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84129309654236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:52:42.554896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/45/image_31102025_11_45_20_3690.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_23_2793.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_25_2541.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_29_3612.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_32_2619.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_34_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/11/45/image_31102025_11_45_20_3690.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_23_2793.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_25_2541.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_29_3612.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_32_2619.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_34_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014007","1397014003","1397014009","1397014000","1397014011","1397014005"],"photo_ids_order":["1397014000","1397014003","1397014005","1397014007","1397014009","1397014011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9d7bbf66c73580aab8329412123ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody5746368091539781521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_29_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c10554df0b36af79c8af03cad3e1aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2096987028789345448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_23_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/30/a327b250f428cf5d44fc0b4cdc3c9fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1958295814410803667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_32_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/30/8afad9d2f7caec0d46f26ad0074a021f.jpg","text":"TemporaryFile(/tmp/multipartBody7573447315246593511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0342423cd51f5e038bacd86b6ea9e23a.jpg","text":"TemporaryFile(/tmp/multipartBody4065406028882563007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_34_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/30/862f884737f80521067f802ad3a007a4.jpg","text":"TemporaryFile(/tmp/multipartBody6711932664560783863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474823284,"filename":"image_31102025_11_45_25_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014005","file1":"1397014003","file0":"1397014000","file4":"1397014009","file5":"1397014011","file3":"1397014007"},"map_files_photo_id_array":[{"photo_id":"1397014011","filename":"file5"},{"photo_id":"1397014005","filename":"file2"},{"photo_id":"1397014009","filename":"file4"},{"photo_id":"1397014003","filename":"file1"},{"photo_id":"1397014000","filename":"file0"},{"photo_id":"1397014007","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397014007":["hashtag1","hashtag2"]},{"1397014003":["hashtag1","hashtag2"]},{"1397014009":["hashtag1","hashtag2"]},{"1397014000":["hashtag1","hashtag2"]},{"1397014011":["hashtag1","hashtag2"]},{"1397014005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397014007, 1397014003, 1397014009, 1397014000, 1397014011, 1397014005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91487264633179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:53:22.746352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_44_9622.jpg', '/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_55_10808.jpg', '/home/pi/Desktop/images/30112025/03/52/image_30112025_03_53_05_9801.jpg', '/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_14_9647.jpg', '/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_25_10598.jpg', '/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_35_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_44_9622.jpg
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_52_55_10808.jpg
/home/pi/Desktop/images/30112025/03/52/image_30112025_03_53_05_9801.jpg
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_14_9647.jpg
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_25_10598.jpg
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_35_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014021","1397014018","1397014015","1397014026","1397014029","1397014023"],"photo_ids_order":["1397014015","1397014018","1397014021","1397014023","1397014026","1397014029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ef026d808038200beb2cb58fd9867f2.jpg","text":"TemporaryFile(/tmp/multipartBody7856522612102475160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_53_05_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32a1331735d1b53caf21daf8b14f4592.jpg","text":"TemporaryFile(/tmp/multipartBody5970438401671745818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_52_55_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86cb3260c499bb10974d44a1d46b437e.jpg","text":"TemporaryFile(/tmp/multipartBody6374592157420585204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_52_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1fe852eea6d21bc25a4fbb71cbcc74d.jpg","text":"TemporaryFile(/tmp/multipartBody8643977152355542248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_53_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/480c53a2dcf4bd0ede6d0c7edc5b1646.jpg","text":"TemporaryFile(/tmp/multipartBody7574801366328310795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_53_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d67af3cd5bec4d543d1f982a5af07feb.jpg","text":"TemporaryFile(/tmp/multipartBody3226616327100963285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474863442,"filename":"image_30112025_03_53_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014021","file1":"1397014018","file0":"1397014015","file4":"1397014026","file5":"1397014029","file3":"1397014023"},"map_files_photo_id_array":[{"photo_id":"1397014029","filename":"file5"},{"photo_id":"1397014021","filename":"file2"},{"photo_id":"1397014026","filename":"file4"},{"photo_id":"1397014018","filename":"file1"},{"photo_id":"1397014015","filename":"file0"},{"photo_id":"1397014023","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014021":["hashtag1","hashtag2"]},{"1397014018":["hashtag1","hashtag2"]},{"1397014015":["hashtag1","hashtag2"]},{"1397014026":["hashtag1","hashtag2"]},{"1397014029":["hashtag1","hashtag2"]},{"1397014023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014021, 1397014018, 1397014015, 1397014026, 1397014029, 1397014023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64490866661072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:54:02.608378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_44_9676.jpg', '/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_55_10691.jpg', '/home/pi/Desktop/images/30112025/03/53/image_30112025_03_54_05_9640.jpg', '/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_14_9838.jpg', '/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_24_9666.jpg', '/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_35_10540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_44_9676.jpg
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_53_55_10691.jpg
/home/pi/Desktop/images/30112025/03/53/image_30112025_03_54_05_9640.jpg
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_14_9838.jpg
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_24_9666.jpg
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_35_10540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014046","1397014049","1397014051","1397014048","1397014044","1397014047"],"photo_ids_order":["1397014044","1397014046","1397014047","1397014048","1397014049","1397014051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cd0d60153686d4267038fc51980bdff.jpg","text":"TemporaryFile(/tmp/multipartBody8304650441828937323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_53_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ced5a4669c764ce4a5de834e9e1d085.jpg","text":"TemporaryFile(/tmp/multipartBody1493209068785971365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_54_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da2fbd77977a888f2ecfc733baffb2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6815293927493429426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_54_35_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c07b85c865ba31700f300eb651b43d37.jpg","text":"TemporaryFile(/tmp/multipartBody2281880358013495055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_54_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd2e65833200a4a090efc57c937e30e1.jpg","text":"TemporaryFile(/tmp/multipartBody6487427796065160111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_53_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c92321a8ab83cd9a37080d563d3a1831.jpg","text":"TemporaryFile(/tmp/multipartBody1403021250899330399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474903391,"filename":"image_30112025_03_54_05_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014047","file1":"1397014046","file0":"1397014044","file4":"1397014049","file5":"1397014051","file3":"1397014048"},"map_files_photo_id_array":[{"photo_id":"1397014051","filename":"file5"},{"photo_id":"1397014047","filename":"file2"},{"photo_id":"1397014049","filename":"file4"},{"photo_id":"1397014046","filename":"file1"},{"photo_id":"1397014044","filename":"file0"},{"photo_id":"1397014048","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014046":["hashtag1","hashtag2"]},{"1397014049":["hashtag1","hashtag2"]},{"1397014051":["hashtag1","hashtag2"]},{"1397014048":["hashtag1","hashtag2"]},{"1397014044":["hashtag1","hashtag2"]},{"1397014047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014046, 1397014049, 1397014051, 1397014048, 1397014044, 1397014047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.099573850631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:54:41.946827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/45/image_31102025_11_45_38_3552.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_41_2698.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_43_2585.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_47_3878.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_50_2669.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_52_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_38_3552.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_41_2698.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_43_2585.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_47_3878.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_50_2669.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_52_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014066","1397014054","1397014063","1397014057","1397014059","1397014061"],"photo_ids_order":["1397014054","1397014057","1397014059","1397014061","1397014063","1397014066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f6f66f3b2544a01adf18d398a258340.jpg","text":"TemporaryFile(/tmp/multipartBody4590733370687194596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_52_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/30/d0d9ae0c61905921a5091d35fa528446.jpg","text":"TemporaryFile(/tmp/multipartBody5650155744942809794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_38_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/30/214ac347422019b0537b4a1af772045d.jpg","text":"TemporaryFile(/tmp/multipartBody2003074690234805153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_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/30/9aa03962bbbe5abee86a64bbd49ea999.jpg","text":"TemporaryFile(/tmp/multipartBody7825158246446006871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_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/30/70d4404e627f978db0b7d464b47feed3.jpg","text":"TemporaryFile(/tmp/multipartBody4235867797062035893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_43_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e13fead8bbc04e2ba0f0d8690a3d82bc.jpg","text":"TemporaryFile(/tmp/multipartBody9158901258097957378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474942808,"filename":"image_31102025_11_45_47_3878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014059","file1":"1397014057","file0":"1397014054","file4":"1397014063","file5":"1397014066","file3":"1397014061"},"map_files_photo_id_array":[{"photo_id":"1397014066","filename":"file5"},{"photo_id":"1397014059","filename":"file2"},{"photo_id":"1397014063","filename":"file4"},{"photo_id":"1397014057","filename":"file1"},{"photo_id":"1397014054","filename":"file0"},{"photo_id":"1397014061","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397014066":["hashtag1","hashtag2"]},{"1397014054":["hashtag1","hashtag2"]},{"1397014063":["hashtag1","hashtag2"]},{"1397014057":["hashtag1","hashtag2"]},{"1397014059":["hashtag1","hashtag2"]},{"1397014061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397014066, 1397014054, 1397014063, 1397014057, 1397014059, 1397014061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34494590759277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:55:22.126291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_44_9608.jpg', '/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_55_10695.jpg', '/home/pi/Desktop/images/30112025/03/54/image_30112025_03_55_05_9854.jpg', '/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_14_9569.jpg', '/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_24_9775.jpg', '/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_35_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_44_9608.jpg
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_54_55_10695.jpg
/home/pi/Desktop/images/30112025/03/54/image_30112025_03_55_05_9854.jpg
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_14_9569.jpg
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_24_9775.jpg
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_35_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014078","1397014080","1397014073","1397014082","1397014076","1397014070"],"photo_ids_order":["1397014070","1397014073","1397014076","1397014078","1397014080","1397014082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc8707f1afafe3ced249438647dc1d68.jpg","text":"TemporaryFile(/tmp/multipartBody678341956823940512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_55_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d085cfa82a3237538f2fbcc367c5207b.jpg","text":"TemporaryFile(/tmp/multipartBody4543568303360607670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_55_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e275cb03b7d0940fe7f8f030c358ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3227172341120298436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_54_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4984816db7ba695a4d59fa7b3670fd08.jpg","text":"TemporaryFile(/tmp/multipartBody8945433748265712812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_55_35_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73063ab267a57ed467b9431ed1e096a3.jpg","text":"TemporaryFile(/tmp/multipartBody4722681836428623901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_55_05_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/334451726a524d1986b713481178ed8b.jpg","text":"TemporaryFile(/tmp/multipartBody8026180076200200476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764474982808,"filename":"image_30112025_03_54_44_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014076","file1":"1397014073","file0":"1397014070","file4":"1397014080","file5":"1397014082","file3":"1397014078"},"map_files_photo_id_array":[{"photo_id":"1397014082","filename":"file5"},{"photo_id":"1397014076","filename":"file2"},{"photo_id":"1397014080","filename":"file4"},{"photo_id":"1397014073","filename":"file1"},{"photo_id":"1397014070","filename":"file0"},{"photo_id":"1397014078","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014078":["hashtag1","hashtag2"]},{"1397014080":["hashtag1","hashtag2"]},{"1397014073":["hashtag1","hashtag2"]},{"1397014082":["hashtag1","hashtag2"]},{"1397014076":["hashtag1","hashtag2"]},{"1397014070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014078, 1397014080, 1397014073, 1397014082, 1397014076, 1397014070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51482796669006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:56:02.752535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_45_9634.jpg', '/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_54_9617.jpg', '/home/pi/Desktop/images/30112025/03/55/image_30112025_03_56_05_10768.jpg', '/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_24_9741.jpg', '/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_34_9657.jpg', '/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_45_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_45_9634.jpg
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_55_54_9617.jpg
/home/pi/Desktop/images/30112025/03/55/image_30112025_03_56_05_10768.jpg
/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_24_9741.jpg
/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_34_9657.jpg
/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_45_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014096","1397014093","1397014087","1397014095","1397014098","1397014091"],"photo_ids_order":["1397014087","1397014091","1397014093","1397014095","1397014096","1397014098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/962ebe13fd18c8d5657fe40e3585bb54.jpg","text":"TemporaryFile(/tmp/multipartBody8337484732973637922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_56_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ed3090df8e149262039322b2181b384.jpg","text":"TemporaryFile(/tmp/multipartBody4380262521303087201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_56_05_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10f3faee66a9a9aadfdd7fc784b53bb9.jpg","text":"TemporaryFile(/tmp/multipartBody6588190147467435032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_55_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5551debf210839e5906d3c5ac3beaf49.jpg","text":"TemporaryFile(/tmp/multipartBody6922555871358644747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_56_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21b6d8f702b8c0d5b7469acd00056b68.jpg","text":"TemporaryFile(/tmp/multipartBody1388966696837551534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_56_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79b1240385a23017a0e5cec29962abdc.jpg","text":"TemporaryFile(/tmp/multipartBody22336214902523300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475023468,"filename":"image_30112025_03_55_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014093","file1":"1397014091","file0":"1397014087","file4":"1397014096","file5":"1397014098","file3":"1397014095"},"map_files_photo_id_array":[{"photo_id":"1397014098","filename":"file5"},{"photo_id":"1397014093","filename":"file2"},{"photo_id":"1397014096","filename":"file4"},{"photo_id":"1397014091","filename":"file1"},{"photo_id":"1397014087","filename":"file0"},{"photo_id":"1397014095","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014096":["hashtag1","hashtag2"]},{"1397014093":["hashtag1","hashtag2"]},{"1397014087":["hashtag1","hashtag2"]},{"1397014095":["hashtag1","hashtag2"]},{"1397014098":["hashtag1","hashtag2"]},{"1397014091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014096, 1397014093, 1397014087, 1397014095, 1397014098, 1397014091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.005396604537964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:56:42.437837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/45/image_31102025_11_45_56_3650.jpg', '/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_59_2538.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_02_3672.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_17_2581.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_19_2686.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_23_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_56_3650.jpg
/home/pi/Desktop/images/31102025/11/45/image_31102025_11_45_59_2538.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_02_3672.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_17_2581.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_19_2686.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_23_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":["1397014118","1397014112","1397014106","1397014114","1397014116","1397014110"],"photo_ids_order":["1397014106","1397014110","1397014112","1397014114","1397014116","1397014118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b5649edd34ccf1e26cdd666ae713af.jpg","text":"TemporaryFile(/tmp/multipartBody439125452605649039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_46_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/30/996f48ed37a3c5f4d8d5f4873abe6a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5771445070745238295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_46_02_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd08feaebf57be0ef1650dee3b1dc0eb.jpg","text":"TemporaryFile(/tmp/multipartBody7421117158370122720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_45_56_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/30/47c2b8b971ebc8221ab4e587fef56cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6023393857646655031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_46_17_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/028afaece6a738497df74fe4f01ecc01.jpg","text":"TemporaryFile(/tmp/multipartBody9051167452504106176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_46_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c561f6462ed5d5196e1856333c90649b.jpg","text":"TemporaryFile(/tmp/multipartBody6714297875383032430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475063349,"filename":"image_31102025_11_45_59_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014112","file1":"1397014110","file0":"1397014106","file4":"1397014116","file5":"1397014118","file3":"1397014114"},"map_files_photo_id_array":[{"photo_id":"1397014118","filename":"file5"},{"photo_id":"1397014112","filename":"file2"},{"photo_id":"1397014116","filename":"file4"},{"photo_id":"1397014110","filename":"file1"},{"photo_id":"1397014106","filename":"file0"},{"photo_id":"1397014114","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397014118":["hashtag1","hashtag2"]},{"1397014112":["hashtag1","hashtag2"]},{"1397014106":["hashtag1","hashtag2"]},{"1397014114":["hashtag1","hashtag2"]},{"1397014116":["hashtag1","hashtag2"]},{"1397014110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397014118, 1397014112, 1397014106, 1397014114, 1397014116, 1397014110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68713426589966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 04:57:22.623878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_55_9851.jpg', '/home/pi/Desktop/images/30112025/03/56/image_30112025_03_57_04_9815.jpg', '/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_15_10598.jpg', '/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_25_9776.jpg', '/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_35_9767.jpg', '/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_44_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/56/image_30112025_03_56_55_9851.jpg
/home/pi/Desktop/images/30112025/03/56/image_30112025_03_57_04_9815.jpg
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_15_10598.jpg
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_25_9776.jpg
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_35_9767.jpg
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_44_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014130","1397014124","1397014134","1397014128","1397014122","1397014136"],"photo_ids_order":["1397014122","1397014124","1397014128","1397014130","1397014134","1397014136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0981a78c3025924241708800c95e8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4782935971479482986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_57_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58944ee8cf68f99b26943fa93a6e110c.jpg","text":"TemporaryFile(/tmp/multipartBody7629191815592322005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_57_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4993829550bbe32c243737fee39471e0.jpg","text":"TemporaryFile(/tmp/multipartBody5686732513754252866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_57_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c79c99d4e1e23dd1691b3aacba3c557.jpg","text":"TemporaryFile(/tmp/multipartBody4364309664880013753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_57_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5713281df1f1bff1cba330e79ee2956.jpg","text":"TemporaryFile(/tmp/multipartBody6725044827081746828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_56_55_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e4f0347a1bb5b6a17a79ee7e3c84135.jpg","text":"TemporaryFile(/tmp/multipartBody7543800358616955695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475103311,"filename":"image_30112025_03_57_44_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014128","file1":"1397014124","file0":"1397014122","file4":"1397014134","file5":"1397014136","file3":"1397014130"},"map_files_photo_id_array":[{"photo_id":"1397014136","filename":"file5"},{"photo_id":"1397014128","filename":"file2"},{"photo_id":"1397014134","filename":"file4"},{"photo_id":"1397014124","filename":"file1"},{"photo_id":"1397014122","filename":"file0"},{"photo_id":"1397014130","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014130":["hashtag1","hashtag2"]},{"1397014124":["hashtag1","hashtag2"]},{"1397014134":["hashtag1","hashtag2"]},{"1397014128":["hashtag1","hashtag2"]},{"1397014122":["hashtag1","hashtag2"]},{"1397014136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014130, 1397014124, 1397014134, 1397014128, 1397014122, 1397014136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45976758003235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 04:59:02.821967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_55_10585.jpg', '/home/pi/Desktop/images/30112025/03/57/image_30112025_03_58_04_9551.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_15_10612.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_25_9732.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_34_9613.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_45_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_57_55_10585.jpg
/home/pi/Desktop/images/30112025/03/57/image_30112025_03_58_04_9551.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_15_10612.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_25_9732.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_34_9613.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_45_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014147","1397014311","1397014155","1397014193","1397014235","1397014142"],"photo_ids_order":["1397014142","1397014147","1397014155","1397014193","1397014235","1397014311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c48f3ece64053168d7e8a947e6507443.jpg","text":"TemporaryFile(/tmp/multipartBody6223636944467579555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_58_04_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56f147fe2da508b722c50407938c165c.jpg","text":"TemporaryFile(/tmp/multipartBody352048291608479134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_58_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f75c7fecad01605c61e2f77cbceccc9a.jpg","text":"TemporaryFile(/tmp/multipartBody841881548801356556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_58_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ed3e83abbb73895515cf338a73edb82.jpg","text":"TemporaryFile(/tmp/multipartBody8437132639689194014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_58_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47e0a1a89402038e9f41448a2a4faa6b.jpg","text":"TemporaryFile(/tmp/multipartBody5589440600248010494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_58_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/248f35a8dea88c68b9f57ecb0390579a.jpg","text":"TemporaryFile(/tmp/multipartBody5798169845769327106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475203738,"filename":"image_30112025_03_57_55_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014155","file1":"1397014147","file0":"1397014142","file4":"1397014235","file5":"1397014311","file3":"1397014193"},"map_files_photo_id_array":[{"photo_id":"1397014311","filename":"file5"},{"photo_id":"1397014155","filename":"file2"},{"photo_id":"1397014235","filename":"file4"},{"photo_id":"1397014147","filename":"file1"},{"photo_id":"1397014142","filename":"file0"},{"photo_id":"1397014193","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397014147":["hashtag1","hashtag2"]},{"1397014311":["hashtag1","hashtag2"]},{"1397014155":["hashtag1","hashtag2"]},{"1397014193":["hashtag1","hashtag2"]},{"1397014235":["hashtag1","hashtag2"]},{"1397014142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397014147, 1397014311, 1397014155, 1397014193, 1397014235, 1397014142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.537803173065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 04:59:41.793185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/46/image_31102025_11_46_25_2556.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_29_3528.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_32_2792.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_34_2578.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_38_3614.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_41_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_25_2556.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_29_3528.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_32_2792.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_34_2578.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_38_3614.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_41_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397014894","1397014782","1397014659","1397015007","1397015120","1397014565"],"photo_ids_order":["1397014565","1397014659","1397014782","1397014894","1397015007","1397015120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c59fd8a4ba8ef0f905fe92e96957979.jpg","text":"TemporaryFile(/tmp/multipartBody883376413734819105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_34_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/30/224a98457b544361fecd1997decf0c97.jpg","text":"TemporaryFile(/tmp/multipartBody2147672495900859647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_32_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/30/0da0787d471eac3637326dc19095164c.jpg","text":"TemporaryFile(/tmp/multipartBody337240890081368072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_29_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/30/e713cdfcc7ce98bf0c8d807577865419.jpg","text":"TemporaryFile(/tmp/multipartBody1530883802191513801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_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/30/6b60a0ba2e9d484298e1e0aa245339c3.jpg","text":"TemporaryFile(/tmp/multipartBody2498287084465201684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_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/30/2b65d02beee81f3fa295780a53f8abb7.jpg","text":"TemporaryFile(/tmp/multipartBody8306160957167750544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475242673,"filename":"image_31102025_11_46_25_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397014782","file1":"1397014659","file0":"1397014565","file4":"1397015007","file5":"1397015120","file3":"1397014894"},"map_files_photo_id_array":[{"photo_id":"1397015120","filename":"file5"},{"photo_id":"1397014782","filename":"file2"},{"photo_id":"1397015007","filename":"file4"},{"photo_id":"1397014659","filename":"file1"},{"photo_id":"1397014565","filename":"file0"},{"photo_id":"1397014894","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397014894":["hashtag1","hashtag2"]},{"1397014782":["hashtag1","hashtag2"]},{"1397014659":["hashtag1","hashtag2"]},{"1397015007":["hashtag1","hashtag2"]},{"1397015120":["hashtag1","hashtag2"]},{"1397014565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397014894, 1397014782, 1397014659, 1397015007, 1397015120, 1397014565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.029996156692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:00:21.928247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_55_9774.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_59_04_9610.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_15_10641.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_24_9661.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_34_9647.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_55_9774.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_59_04_9610.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_15_10641.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_24_9661.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_34_9647.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_45_10665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6584863662719727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:00:32.091682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_23_1566.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_25_1756.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_27_1791.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_28_1664.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_30_1570.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_31_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_23_1566.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_25_1756.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_27_1791.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_28_1664.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_30_1570.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_31_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":["1397016034","1397015719","1397015796","1397016144","1397015877","1397015946"],"photo_ids_order":["1397015719","1397015796","1397015877","1397015946","1397016034","1397016144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c8d79ade685a12c46f677f112556a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4836265585686971397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_30_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/30/2efbff7539a6adbe9a11c1bfcde1684f.jpg","text":"TemporaryFile(/tmp/multipartBody3930895427739951618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_23_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/30/25fa198e57a0e75e3dba675a1917cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody3632811819282387341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_25_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/30/492a1b9334ebe214b394d4df46acc275.jpg","text":"TemporaryFile(/tmp/multipartBody3903459225365695433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_31_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/30/16a4edc00d51dd122789720efbc9ee35.jpg","text":"TemporaryFile(/tmp/multipartBody5316692955750919571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_27_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/30/411f05e1818dcee91a5c5e26c7891d33.jpg","text":"TemporaryFile(/tmp/multipartBody6443622432123994262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475294094,"filename":"image_25112025_19_42_28_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397015877","file1":"1397015796","file0":"1397015719","file4":"1397016034","file5":"1397016144","file3":"1397015946"},"map_files_photo_id_array":[{"photo_id":"1397016144","filename":"file5"},{"photo_id":"1397015877","filename":"file2"},{"photo_id":"1397016034","filename":"file4"},{"photo_id":"1397015796","filename":"file1"},{"photo_id":"1397015719","filename":"file0"},{"photo_id":"1397015946","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397016034":["hashtag1","hashtag2"]},{"1397015719":["hashtag1","hashtag2"]},{"1397015796":["hashtag1","hashtag2"]},{"1397016144":["hashtag1","hashtag2"]},{"1397015877":["hashtag1","hashtag2"]},{"1397015946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397016034, 1397015719, 1397015796, 1397016144, 1397015877, 1397015946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.797616720199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:01:12.294361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_33_1501.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_35_1646.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_36_1729.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_38_1628.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_40_1693.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_43_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_33_1501.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_35_1646.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_36_1729.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_38_1628.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_40_1693.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_43_3719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397016759","1397017035","1397016648","1397017085","1397016871","1397016976"],"photo_ids_order":["1397016648","1397016759","1397016871","1397016976","1397017035","1397017085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8be6c5f8cdf4a22e229b5b79d3e8eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3857450819533200554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_35_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/30/338d476a0e9935e275b51b32d6f23965.jpg","text":"TemporaryFile(/tmp/multipartBody2830807356112993126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_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/30/9a23bc3285cdeb7194f3a9b83411efe1.jpg","text":"TemporaryFile(/tmp/multipartBody6997006649869621573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_33_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/30/0a7d2e16505b61ce8ce651c6588b998e.jpg","text":"TemporaryFile(/tmp/multipartBody4232289316286359313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_43_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/30/ce0fef2231b78c0c82a69edc2dcd541a.jpg","text":"TemporaryFile(/tmp/multipartBody600123562792434564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_36_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/30/a93e559050f6605d6995b6e5b94b0a11.jpg","text":"TemporaryFile(/tmp/multipartBody7313201372516289676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475334182,"filename":"image_25112025_19_42_38_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397016871","file1":"1397016759","file0":"1397016648","file4":"1397017035","file5":"1397017085","file3":"1397016976"},"map_files_photo_id_array":[{"photo_id":"1397017085","filename":"file5"},{"photo_id":"1397016871","filename":"file2"},{"photo_id":"1397017035","filename":"file4"},{"photo_id":"1397016759","filename":"file1"},{"photo_id":"1397016648","filename":"file0"},{"photo_id":"1397016976","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397016759":["hashtag1","hashtag2"]},{"1397017035":["hashtag1","hashtag2"]},{"1397016648":["hashtag1","hashtag2"]},{"1397017085":["hashtag1","hashtag2"]},{"1397016871":["hashtag1","hashtag2"]},{"1397016976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397016759, 1397017035, 1397016648, 1397017085, 1397016871, 1397016976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36577224731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:02:03.003879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_55_9774.jpg', '/home/pi/Desktop/images/30112025/03/58/image_30112025_03_59_04_9610.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_15_10641.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_24_9661.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_34_9647.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_58_55_9774.jpg
/home/pi/Desktop/images/30112025/03/58/image_30112025_03_59_04_9610.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_15_10641.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_24_9661.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_34_9647.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_45_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397017253","1397017349","1397017328","1397017351","1397017354","1397017290"],"photo_ids_order":["1397017253","1397017290","1397017328","1397017349","1397017351","1397017354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a96b976137ea894156080cef22f47209.jpg","text":"TemporaryFile(/tmp/multipartBody2675984981591867758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_58_55_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30d64829cfbf1dd67c9847e69b9422d0.jpg","text":"TemporaryFile(/tmp/multipartBody4977680604205859534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_59_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59e774791ee0a49e7f0bcda36982bca1.jpg","text":"TemporaryFile(/tmp/multipartBody6740262235815652884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_59_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4a46b941b67c5d0d89f6eaf51010c70.jpg","text":"TemporaryFile(/tmp/multipartBody4654994961893233151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_59_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d2f841df7a852e3191b935e933d5016.jpg","text":"TemporaryFile(/tmp/multipartBody311040761708655054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_59_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1941661836c0ba936cdc9d3a195ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody9134141992390957171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475383707,"filename":"image_30112025_03_59_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397017328","file1":"1397017290","file0":"1397017253","file4":"1397017351","file5":"1397017354","file3":"1397017349"},"map_files_photo_id_array":[{"photo_id":"1397017354","filename":"file5"},{"photo_id":"1397017328","filename":"file2"},{"photo_id":"1397017351","filename":"file4"},{"photo_id":"1397017290","filename":"file1"},{"photo_id":"1397017253","filename":"file0"},{"photo_id":"1397017349","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397017253":["hashtag1","hashtag2"]},{"1397017349":["hashtag1","hashtag2"]},{"1397017328":["hashtag1","hashtag2"]},{"1397017351":["hashtag1","hashtag2"]},{"1397017354":["hashtag1","hashtag2"]},{"1397017290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397017253, 1397017349, 1397017328, 1397017351, 1397017354, 1397017290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809823989868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:02:42.556203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/46/image_31102025_11_46_43_2647.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_47_3727.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_50_2617.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_52_2664.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_56_3741.jpg', '/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_59_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_43_2647.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_47_3727.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_50_2617.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_52_2664.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_56_3741.jpg
/home/pi/Desktop/images/31102025/11/46/image_31102025_11_46_59_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":["1397017659","1397017488","1397017620","1397017427","1397017543","1397017581"],"photo_ids_order":["1397017427","1397017488","1397017543","1397017581","1397017620","1397017659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/871762850fc45c6dda808b94c9161f64.jpg","text":"TemporaryFile(/tmp/multipartBody6632649512656701355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_59_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b7ecefb53608ea8eb7c0e15442566b7.jpg","text":"TemporaryFile(/tmp/multipartBody2548820781888505947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_47_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/30/ce079b048d80f79a0d527a30e5e2ef10.jpg","text":"TemporaryFile(/tmp/multipartBody5316457142282166702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_56_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a5d1f86147970894170a707da5542cd.jpg","text":"TemporaryFile(/tmp/multipartBody3732609607740802219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_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/30/89756c2f347705425f1b73be2575d7d5.jpg","text":"TemporaryFile(/tmp/multipartBody4842406167053821321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_50_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/30/83183c2b92ba5031908d840b51bf9205.jpg","text":"TemporaryFile(/tmp/multipartBody8122727631245716525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475423480,"filename":"image_31102025_11_46_52_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397017543","file1":"1397017488","file0":"1397017427","file4":"1397017620","file5":"1397017659","file3":"1397017581"},"map_files_photo_id_array":[{"photo_id":"1397017659","filename":"file5"},{"photo_id":"1397017543","filename":"file2"},{"photo_id":"1397017620","filename":"file4"},{"photo_id":"1397017488","filename":"file1"},{"photo_id":"1397017427","filename":"file0"},{"photo_id":"1397017581","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397017659":["hashtag1","hashtag2"]},{"1397017488":["hashtag1","hashtag2"]},{"1397017620":["hashtag1","hashtag2"]},{"1397017427":["hashtag1","hashtag2"]},{"1397017543":["hashtag1","hashtag2"]},{"1397017581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397017659, 1397017488, 1397017620, 1397017427, 1397017543, 1397017581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.223328590393066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:03:22.738164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_55_9792.jpg', '/home/pi/Desktop/images/30112025/03/59/image_30112025_04_00_04_9598.jpg', '/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_15_10716.jpg', '/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_25_9659.jpg', '/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_34_9636.jpg', '/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/03/59/image_30112025_03_59_55_9792.jpg
/home/pi/Desktop/images/30112025/03/59/image_30112025_04_00_04_9598.jpg
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_15_10716.jpg
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_25_9659.jpg
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_34_9636.jpg
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_45_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397018228","1397017868","1397018300","1397018012","1397017943","1397018134"],"photo_ids_order":["1397017868","1397017943","1397018012","1397018134","1397018228","1397018300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d9afa19f7dd956f492af42e1cf9d81f.jpg","text":"TemporaryFile(/tmp/multipartBody4990681706327916276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_04_00_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b66e1db8331cedc7685286518c18b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7854100422139322450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_03_59_55_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb7fb527813cb32b95c281696b0fe95d.jpg","text":"TemporaryFile(/tmp/multipartBody4558009827506159251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_04_00_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8ee9ad3ee7a88ed250222709a6bc16b.jpg","text":"TemporaryFile(/tmp/multipartBody7399184094384108352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_04_00_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fade63a6dfac52040c75a6ab809315c3.jpg","text":"TemporaryFile(/tmp/multipartBody7791445499469055604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_04_00_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1dea7346ca01b6b7c6f29c9dc57a563.jpg","text":"TemporaryFile(/tmp/multipartBody2870064732944823737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475463425,"filename":"image_30112025_04_00_25_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397018012","file1":"1397017943","file0":"1397017868","file4":"1397018228","file5":"1397018300","file3":"1397018134"},"map_files_photo_id_array":[{"photo_id":"1397018300","filename":"file5"},{"photo_id":"1397018012","filename":"file2"},{"photo_id":"1397018228","filename":"file4"},{"photo_id":"1397017943","filename":"file1"},{"photo_id":"1397017868","filename":"file0"},{"photo_id":"1397018134","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397018228":["hashtag1","hashtag2"]},{"1397017868":["hashtag1","hashtag2"]},{"1397018300":["hashtag1","hashtag2"]},{"1397018012":["hashtag1","hashtag2"]},{"1397017943":["hashtag1","hashtag2"]},{"1397018134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397018228, 1397017868, 1397018300, 1397018012, 1397017943, 1397018134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.310510873794556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:04:02.793022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_54_9518.jpg', '/home/pi/Desktop/images/30112025/04/00/image_30112025_04_01_05_10392.jpg', '/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_14_9658.jpg', '/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_25_10634.jpg', '/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_35_9740.jpg', '/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_00_54_9518.jpg
/home/pi/Desktop/images/30112025/04/00/image_30112025_04_01_05_10392.jpg
/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_14_9658.jpg
/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_25_10634.jpg
/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_35_9740.jpg
/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_44_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397018910","1397018696","1397018765","1397018989","1397018838","1397018625"],"photo_ids_order":["1397018625","1397018696","1397018765","1397018838","1397018910","1397018989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4805add9ea6b9af0d47f5c899dcd70a.jpg","text":"TemporaryFile(/tmp/multipartBody4579281519843469357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_01_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27fed710709d5d504f5025083e7ef10b.jpg","text":"TemporaryFile(/tmp/multipartBody404911942172914500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_01_05_10392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/130495507d8aed5dde6bab9438489a18.jpg","text":"TemporaryFile(/tmp/multipartBody3562710410694916656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_01_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e4affbfce5e4b75e520ddc5ca7ab29a.jpg","text":"TemporaryFile(/tmp/multipartBody6441745491690659909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_01_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e40e0a19bae3918fb9486c58977f548f.jpg","text":"TemporaryFile(/tmp/multipartBody1290886984913009479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_01_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/311358ad0cd142084abd1aa458903c31.jpg","text":"TemporaryFile(/tmp/multipartBody5460664120954563429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475503543,"filename":"image_30112025_04_00_54_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397018765","file1":"1397018696","file0":"1397018625","file4":"1397018910","file5":"1397018989","file3":"1397018838"},"map_files_photo_id_array":[{"photo_id":"1397018989","filename":"file5"},{"photo_id":"1397018765","filename":"file2"},{"photo_id":"1397018910","filename":"file4"},{"photo_id":"1397018696","filename":"file1"},{"photo_id":"1397018625","filename":"file0"},{"photo_id":"1397018838","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397018910":["hashtag1","hashtag2"]},{"1397018696":["hashtag1","hashtag2"]},{"1397018765":["hashtag1","hashtag2"]},{"1397018989":["hashtag1","hashtag2"]},{"1397018838":["hashtag1","hashtag2"]},{"1397018625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397018910, 1397018696, 1397018765, 1397018989, 1397018838, 1397018625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17049264907837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:04:42.009380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/47/image_31102025_11_47_02_2887.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_04_2663.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_08_3752.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_11_2613.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_13_2585.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_17_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_02_2887.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_04_2663.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_08_3752.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_11_2613.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_13_2585.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_17_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397019259","1397019508","1397019406","1397019630","1397019333","1397019219"],"photo_ids_order":["1397019219","1397019259","1397019333","1397019406","1397019508","1397019630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf778ea0ac275e2bf199c990333a542f.jpg","text":"TemporaryFile(/tmp/multipartBody1255315761434445641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_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/30/073be08e745e54d4488ef5a59f890e15.jpg","text":"TemporaryFile(/tmp/multipartBody8415424509388943260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_13_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/30/72b943be5cc85dedf72f07933ed5bd40.jpg","text":"TemporaryFile(/tmp/multipartBody5202450021885112523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_11_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/30/acebe2cd4db0cbadc55774c6ba148c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6211607271755313353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_17_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84e7801c5d88dc1dfa5e4429984d254c.jpg","text":"TemporaryFile(/tmp/multipartBody5508923938142565363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_08_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/30/1bf80c6d5205bf2968e536f6082003f4.jpg","text":"TemporaryFile(/tmp/multipartBody257391914739685843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475542896,"filename":"image_31102025_11_47_02_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397019333","file1":"1397019259","file0":"1397019219","file4":"1397019508","file5":"1397019630","file3":"1397019406"},"map_files_photo_id_array":[{"photo_id":"1397019630","filename":"file5"},{"photo_id":"1397019333","filename":"file2"},{"photo_id":"1397019508","filename":"file4"},{"photo_id":"1397019259","filename":"file1"},{"photo_id":"1397019219","filename":"file0"},{"photo_id":"1397019406","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397019259":["hashtag1","hashtag2"]},{"1397019508":["hashtag1","hashtag2"]},{"1397019406":["hashtag1","hashtag2"]},{"1397019630":["hashtag1","hashtag2"]},{"1397019333":["hashtag1","hashtag2"]},{"1397019219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397019259, 1397019508, 1397019406, 1397019630, 1397019333, 1397019219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60553002357483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:05:22.327593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_54_9694.jpg', '/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_15_9771.jpg', '/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_24_9728.jpg', '/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_35_10630.jpg', '/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_45_9610.jpg', '/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/01/image_30112025_04_01_54_9694.jpg
/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_15_9771.jpg
/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_24_9728.jpg
/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_35_10630.jpg
/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_45_9610.jpg
/home/pi/Desktop/images/30112025/04/02/image_30112025_04_02_54_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397020190","1397019950","1397020297","1397020150","1397020048","1397020245"],"photo_ids_order":["1397019950","1397020048","1397020150","1397020190","1397020245","1397020297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84303833f95675ef3d65a909b684e047.jpg","text":"TemporaryFile(/tmp/multipartBody30934049818380478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_02_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f8419b4fde40bdde7000b7cc36f2b46.jpg","text":"TemporaryFile(/tmp/multipartBody2739513145851613925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_01_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1ec737c71ac601860923f470b435204.jpg","text":"TemporaryFile(/tmp/multipartBody1020803211930265584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_02_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0956da79ddec0f468d6d62e658779d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2461197872587402251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_02_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e4d342d78a92b196383c0de6319da91.jpg","text":"TemporaryFile(/tmp/multipartBody5505896631929981444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_02_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/636fd7c88d8cf247f707429d92f07b35.jpg","text":"TemporaryFile(/tmp/multipartBody6455992058713950484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475583024,"filename":"image_30112025_04_02_45_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397020150","file1":"1397020048","file0":"1397019950","file4":"1397020245","file5":"1397020297","file3":"1397020190"},"map_files_photo_id_array":[{"photo_id":"1397020297","filename":"file5"},{"photo_id":"1397020150","filename":"file2"},{"photo_id":"1397020245","filename":"file4"},{"photo_id":"1397020048","filename":"file1"},{"photo_id":"1397019950","filename":"file0"},{"photo_id":"1397020190","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397020190":["hashtag1","hashtag2"]},{"1397019950":["hashtag1","hashtag2"]},{"1397020297":["hashtag1","hashtag2"]},{"1397020150":["hashtag1","hashtag2"]},{"1397020048":["hashtag1","hashtag2"]},{"1397020245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397020190, 1397019950, 1397020297, 1397020150, 1397020048, 1397020245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93259620666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:06:02.972737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_15_9805.jpg', '/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_25_9845.jpg', '/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_34_9564.jpg', '/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_45_10632.jpg', '/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_54_9649.jpg', '/home/pi/Desktop/images/30112025/04/03/image_30112025_04_04_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_15_9805.jpg
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_25_9845.jpg
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_34_9564.jpg
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_45_10632.jpg
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_03_54_9649.jpg
/home/pi/Desktop/images/30112025/04/03/image_30112025_04_04_04_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397020349","1397020453","1397020447","1397020408","1397020371","1397020350"],"photo_ids_order":["1397020349","1397020350","1397020371","1397020408","1397020447","1397020453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3e501116bf121e61ad7fea91b8dd6b6.jpg","text":"TemporaryFile(/tmp/multipartBody6564900394697453817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_03_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bf7cea1a6dc5225fcb90b204e834490.jpg","text":"TemporaryFile(/tmp/multipartBody8495197735876052125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_04_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a4195a5910b801930f28ac65f7f0c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2256125995924018925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_03_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ba20db43d4a2d49bd5d5d326b4f43ba.jpg","text":"TemporaryFile(/tmp/multipartBody6155977940243649564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_03_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/122d531884ee296fd508b777f251e30a.jpg","text":"TemporaryFile(/tmp/multipartBody2796800824470276337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_03_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79306d982376988b038e720a1b41e63f.jpg","text":"TemporaryFile(/tmp/multipartBody7155373955854712271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475623724,"filename":"image_30112025_04_03_25_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397020371","file1":"1397020350","file0":"1397020349","file4":"1397020447","file5":"1397020453","file3":"1397020408"},"map_files_photo_id_array":[{"photo_id":"1397020453","filename":"file5"},{"photo_id":"1397020371","filename":"file2"},{"photo_id":"1397020447","filename":"file4"},{"photo_id":"1397020350","filename":"file1"},{"photo_id":"1397020349","filename":"file0"},{"photo_id":"1397020408","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397020349":["hashtag1","hashtag2"]},{"1397020453":["hashtag1","hashtag2"]},{"1397020447":["hashtag1","hashtag2"]},{"1397020408":["hashtag1","hashtag2"]},{"1397020371":["hashtag1","hashtag2"]},{"1397020350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397020349, 1397020453, 1397020447, 1397020408, 1397020371, 1397020350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27243089675903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:06:42.582452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/47/image_31102025_11_47_23_3604.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_26_2635.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_28_2774.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_35_3618.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_40_2745.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_44_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_23_3604.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_26_2635.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_28_2774.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_35_3618.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_40_2745.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_44_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":["1397020530","1397020532","1397020639","1397020519","1397020599","1397020557"],"photo_ids_order":["1397020519","1397020530","1397020532","1397020557","1397020599","1397020639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/720d4a7cec1529fc80d537926623b27e.jpg","text":"TemporaryFile(/tmp/multipartBody6914949678466217833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_26_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/30/c12a5048391ad4fc33535b04a00e3cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1750680004938100385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_28_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/30/2ae7aba4a20172e2d3a318313dd399e1.jpg","text":"TemporaryFile(/tmp/multipartBody8904275701717462328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_44_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/30/c37bd544aca04ffc152e39fe3a92f619.jpg","text":"TemporaryFile(/tmp/multipartBody6572450790399039085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_23_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73f04ee58bd43eda112d5a95cdac5841.jpg","text":"TemporaryFile(/tmp/multipartBody3843565734602603941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_40_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/30/a1bd4b35b0d3ab8ebfe1271fec9da25e.jpg","text":"TemporaryFile(/tmp/multipartBody9031105038934477997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475663637,"filename":"image_31102025_11_47_35_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397020532","file1":"1397020530","file0":"1397020519","file4":"1397020599","file5":"1397020639","file3":"1397020557"},"map_files_photo_id_array":[{"photo_id":"1397020639","filename":"file5"},{"photo_id":"1397020532","filename":"file2"},{"photo_id":"1397020599","filename":"file4"},{"photo_id":"1397020530","filename":"file1"},{"photo_id":"1397020519","filename":"file0"},{"photo_id":"1397020557","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397020530":["hashtag1","hashtag2"]},{"1397020532":["hashtag1","hashtag2"]},{"1397020639":["hashtag1","hashtag2"]},{"1397020519":["hashtag1","hashtag2"]},{"1397020599":["hashtag1","hashtag2"]},{"1397020557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397020530, 1397020532, 1397020639, 1397020519, 1397020599, 1397020557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599024295806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:07:22.710149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_15_10553.jpg', '/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_24_9611.jpg', '/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_35_10687.jpg', '/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_45_9650.jpg', '/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_54_9715.jpg', '/home/pi/Desktop/images/30112025/04/04/image_30112025_04_05_05_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_15_10553.jpg
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_24_9611.jpg
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_35_10687.jpg
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_45_9650.jpg
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_04_54_9715.jpg
/home/pi/Desktop/images/30112025/04/04/image_30112025_04_05_05_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397020865","1397020820","1397020777","1397020936","1397020900","1397020965"],"photo_ids_order":["1397020777","1397020820","1397020865","1397020900","1397020936","1397020965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bb9f28a4bb6daa581d0f0e5301999b8.jpg","text":"TemporaryFile(/tmp/multipartBody1079052877338732589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_04_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c763779317f25052e6adcd0f2044708.jpg","text":"TemporaryFile(/tmp/multipartBody2901633002533784902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_04_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69472dfd67e563fd313df0f1df700803.jpg","text":"TemporaryFile(/tmp/multipartBody7038577332457807033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_04_15_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5aae93f99ebed7a2cf3ccee637490ef.jpg","text":"TemporaryFile(/tmp/multipartBody1135535976639516950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_04_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a48bf2a371ede4cd24ffe1d5f87a15ba.jpg","text":"TemporaryFile(/tmp/multipartBody3214834984482556783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_04_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/023900cd35e8bff1b081b87e82d8cffb.jpg","text":"TemporaryFile(/tmp/multipartBody6055655690799204291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475703413,"filename":"image_30112025_04_05_05_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397020865","file1":"1397020820","file0":"1397020777","file4":"1397020936","file5":"1397020965","file3":"1397020900"},"map_files_photo_id_array":[{"photo_id":"1397020965","filename":"file5"},{"photo_id":"1397020865","filename":"file2"},{"photo_id":"1397020936","filename":"file4"},{"photo_id":"1397020820","filename":"file1"},{"photo_id":"1397020777","filename":"file0"},{"photo_id":"1397020900","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397020865":["hashtag1","hashtag2"]},{"1397020820":["hashtag1","hashtag2"]},{"1397020777":["hashtag1","hashtag2"]},{"1397020936":["hashtag1","hashtag2"]},{"1397020900":["hashtag1","hashtag2"]},{"1397020965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397020865, 1397020820, 1397020777, 1397020936, 1397020900, 1397020965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36197376251221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:08:02.475213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_15_9559.jpg', '/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_24_9650.jpg', '/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_34_9815.jpg', '/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_45_10866.jpg', '/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_55_9745.jpg', '/home/pi/Desktop/images/30112025/04/05/image_30112025_04_06_05_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_15_9559.jpg
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_24_9650.jpg
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_34_9815.jpg
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_45_10866.jpg
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_05_55_9745.jpg
/home/pi/Desktop/images/30112025/04/05/image_30112025_04_06_05_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021048","1397021047","1397021101","1397020986","1397021022","1397021084"],"photo_ids_order":["1397020986","1397021022","1397021047","1397021048","1397021084","1397021101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67d833676db856c3eae54479934baa7f.jpg","text":"TemporaryFile(/tmp/multipartBody1178488608905675587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_05_45_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a17d1bd9f45b350b301dfa7aa5636be.jpg","text":"TemporaryFile(/tmp/multipartBody7637729610140046300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_05_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1481bc02820d80d63cd1aab497bab586.jpg","text":"TemporaryFile(/tmp/multipartBody7018293256764691207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_06_05_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a36020753cf27b74445fb77bf2647912.jpg","text":"TemporaryFile(/tmp/multipartBody7454135851297228730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_05_15_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ac467473484609b527ec2f720d8e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4299531006111361391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_05_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6f12d0052b08b6709881c31e8f26156.jpg","text":"TemporaryFile(/tmp/multipartBody3035431966118789864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475743181,"filename":"image_30112025_04_05_55_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021047","file1":"1397021022","file0":"1397020986","file4":"1397021084","file5":"1397021101","file3":"1397021048"},"map_files_photo_id_array":[{"photo_id":"1397021101","filename":"file5"},{"photo_id":"1397021047","filename":"file2"},{"photo_id":"1397021084","filename":"file4"},{"photo_id":"1397021022","filename":"file1"},{"photo_id":"1397020986","filename":"file0"},{"photo_id":"1397021048","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021048":["hashtag1","hashtag2"]},{"1397021047":["hashtag1","hashtag2"]},{"1397021101":["hashtag1","hashtag2"]},{"1397020986":["hashtag1","hashtag2"]},{"1397021022":["hashtag1","hashtag2"]},{"1397021084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021048, 1397021047, 1397021101, 1397020986, 1397021022, 1397021084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3109610080719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:08:42.091063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/47/image_31102025_11_47_47_2698.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_49_2575.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_53_3540.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_55_2781.jpg', '/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_58_2840.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_02_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_47_2698.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_49_2575.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_53_3540.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_55_2781.jpg
/home/pi/Desktop/images/31102025/11/47/image_31102025_11_47_58_2840.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_02_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021123","1397021117","1397021111","1397021119","1397021121","1397021115"],"photo_ids_order":["1397021111","1397021115","1397021117","1397021119","1397021121","1397021123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8458fdf4d8a1798c08124916f461d7f0.jpg","text":"TemporaryFile(/tmp/multipartBody2332784065912670870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_48_02_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/30/d0978f17fe29299bac6ba61b59330b81.jpg","text":"TemporaryFile(/tmp/multipartBody2721220239635553731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_47_53_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/30/b816ca2132ad74549004a62e81c904d2.jpg","text":"TemporaryFile(/tmp/multipartBody1299810171424914007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_47_47_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0357b4b009eddea63d1ac5ffb3e34383.jpg","text":"TemporaryFile(/tmp/multipartBody8128687325197754777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_47_55_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3293df7023e6056b9e0bd50c19da0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8965966485304951816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_47_58_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ad43821185381a68a8370e4a5c3a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5143688452470405694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475782971,"filename":"image_31102025_11_47_49_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021117","file1":"1397021115","file0":"1397021111","file4":"1397021121","file5":"1397021123","file3":"1397021119"},"map_files_photo_id_array":[{"photo_id":"1397021123","filename":"file5"},{"photo_id":"1397021117","filename":"file2"},{"photo_id":"1397021121","filename":"file4"},{"photo_id":"1397021115","filename":"file1"},{"photo_id":"1397021111","filename":"file0"},{"photo_id":"1397021119","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021123":["hashtag1","hashtag2"]},{"1397021117":["hashtag1","hashtag2"]},{"1397021111":["hashtag1","hashtag2"]},{"1397021119":["hashtag1","hashtag2"]},{"1397021121":["hashtag1","hashtag2"]},{"1397021115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021123, 1397021117, 1397021111, 1397021119, 1397021121, 1397021115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68243598937988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:09:22.191054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_14_9595.jpg', '/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_25_10652.jpg', '/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_35_9765.jpg', '/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_44_9579.jpg', '/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_55_10712.jpg', '/home/pi/Desktop/images/30112025/04/06/image_30112025_04_07_05_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_14_9595.jpg
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_25_10652.jpg
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_35_9765.jpg
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_44_9579.jpg
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_06_55_10712.jpg
/home/pi/Desktop/images/30112025/04/06/image_30112025_04_07_05_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021126","1397021131","1397021140","1397021128","1397021136","1397021133"],"photo_ids_order":["1397021126","1397021128","1397021131","1397021133","1397021136","1397021140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0db3b0eea0724d0018f220b2e0586574.jpg","text":"TemporaryFile(/tmp/multipartBody4030163056788079344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_06_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cbb562fae111e6d8ec9241f5664ff48.jpg","text":"TemporaryFile(/tmp/multipartBody1745093465557018124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_06_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3286675a59a7919b68f3cdcb9476715.jpg","text":"TemporaryFile(/tmp/multipartBody2289278589487188979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_07_05_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a543294fce5ddae1c252a4a22212637.jpg","text":"TemporaryFile(/tmp/multipartBody5001276401696438618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_06_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d94e09a28bf6c35a6112e49cb9dc8549.jpg","text":"TemporaryFile(/tmp/multipartBody5106628745793902701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_06_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e8e7090193f96a4442d99ea63827256.jpg","text":"TemporaryFile(/tmp/multipartBody260874202725750456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475822847,"filename":"image_30112025_04_06_44_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021131","file1":"1397021128","file0":"1397021126","file4":"1397021136","file5":"1397021140","file3":"1397021133"},"map_files_photo_id_array":[{"photo_id":"1397021140","filename":"file5"},{"photo_id":"1397021131","filename":"file2"},{"photo_id":"1397021136","filename":"file4"},{"photo_id":"1397021128","filename":"file1"},{"photo_id":"1397021126","filename":"file0"},{"photo_id":"1397021133","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021126":["hashtag1","hashtag2"]},{"1397021131":["hashtag1","hashtag2"]},{"1397021140":["hashtag1","hashtag2"]},{"1397021128":["hashtag1","hashtag2"]},{"1397021136":["hashtag1","hashtag2"]},{"1397021133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021126, 1397021131, 1397021140, 1397021128, 1397021136, 1397021133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55052995681763 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 --only_old 1
2025-11-30 05:10:12.318283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_45_1509.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_46_1642.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_48_1607.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_51_2758.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_55_3681.jpg', '/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_57_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_45_1509.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_46_1642.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_48_1607.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_51_2758.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_55_3681.jpg
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_42_57_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021165","1397021161","1397021155","1397021158","1397021152","1397021151"],"photo_ids_order":["1397021151","1397021152","1397021155","1397021158","1397021161","1397021165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a32505a6f1a27300dc1966fc84b5d69.jpg","text":"TemporaryFile(/tmp/multipartBody2665779837928682077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_57_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/30/179c2c92d3fb30ef1f73ac2a7949b59b.jpg","text":"TemporaryFile(/tmp/multipartBody2719110321239142596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_55_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/30/c9b2d4e4967d13806a435ec05104e3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3001392364810621163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_48_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/30/f3ea59be4bbbed7c0ebc30df61a765bb.jpg","text":"TemporaryFile(/tmp/multipartBody2725157793886890221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_51_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/30/a1ef23508d10cf6879b4c3327742cb83.jpg","text":"TemporaryFile(/tmp/multipartBody7208042392255884667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_46_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/30/8b84a06239ac7408fd8be9ec0d2ebebe.jpg","text":"TemporaryFile(/tmp/multipartBody8702771073393829090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475873980,"filename":"image_25112025_19_42_45_1509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021155","file1":"1397021152","file0":"1397021151","file4":"1397021161","file5":"1397021165","file3":"1397021158"},"map_files_photo_id_array":[{"photo_id":"1397021165","filename":"file5"},{"photo_id":"1397021155","filename":"file2"},{"photo_id":"1397021161","filename":"file4"},{"photo_id":"1397021152","filename":"file1"},{"photo_id":"1397021151","filename":"file0"},{"photo_id":"1397021158","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021165":["hashtag1","hashtag2"]},{"1397021161":["hashtag1","hashtag2"]},{"1397021155":["hashtag1","hashtag2"]},{"1397021158":["hashtag1","hashtag2"]},{"1397021152":["hashtag1","hashtag2"]},{"1397021151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021165, 1397021161, 1397021155, 1397021158, 1397021152, 1397021151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04114317893982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:11:03.277025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_14_9609.jpg', '/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_25_10634.jpg', '/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_35_9799.jpg', '/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_44_9538.jpg', '/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_54_9765.jpg', '/home/pi/Desktop/images/30112025/04/07/image_30112025_04_08_05_10822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_14_9609.jpg
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_25_10634.jpg
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_35_9799.jpg
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_44_9538.jpg
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_07_54_9765.jpg
/home/pi/Desktop/images/30112025/04/07/image_30112025_04_08_05_10822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021174","1397021173","1397021172","1397021181","1397021175","1397021178"],"photo_ids_order":["1397021172","1397021173","1397021174","1397021175","1397021178","1397021181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d59cc910efda4526158ea2c2627ec12.jpg","text":"TemporaryFile(/tmp/multipartBody4411386974139282383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_07_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2e8eb8916b224c53076af9aa0eadb47.jpg","text":"TemporaryFile(/tmp/multipartBody7748349144501968385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_07_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a1e8c12256ccbabb2e83a10b0bb6369.jpg","text":"TemporaryFile(/tmp/multipartBody113883051304338678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_07_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8387afe511f4c40a6472cd78741a993.jpg","text":"TemporaryFile(/tmp/multipartBody1946313273271833353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_08_05_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a52a98b65c7ee5e09eff496ed0d86e4.jpg","text":"TemporaryFile(/tmp/multipartBody8507055524662313096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_07_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94fa225802d0aa89ea92c32d6a470bed.jpg","text":"TemporaryFile(/tmp/multipartBody2299076706921204817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475924023,"filename":"image_30112025_04_07_54_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021174","file1":"1397021173","file0":"1397021172","file4":"1397021178","file5":"1397021181","file3":"1397021175"},"map_files_photo_id_array":[{"photo_id":"1397021181","filename":"file5"},{"photo_id":"1397021174","filename":"file2"},{"photo_id":"1397021178","filename":"file4"},{"photo_id":"1397021173","filename":"file1"},{"photo_id":"1397021172","filename":"file0"},{"photo_id":"1397021175","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021174":["hashtag1","hashtag2"]},{"1397021173":["hashtag1","hashtag2"]},{"1397021172":["hashtag1","hashtag2"]},{"1397021181":["hashtag1","hashtag2"]},{"1397021175":["hashtag1","hashtag2"]},{"1397021178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021174, 1397021173, 1397021172, 1397021181, 1397021175, 1397021178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97704100608826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:11:42.715374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/48/image_31102025_11_48_05_2604.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_07_2564.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_11_3828.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_14_2709.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_16_2567.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_20_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_05_2604.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_07_2564.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_11_3828.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_14_2709.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_16_2567.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_20_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021191","1397021197","1397021193","1397021196","1397021195","1397021189"],"photo_ids_order":["1397021189","1397021191","1397021193","1397021195","1397021196","1397021197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55c68874aef9a2565eab62cb3c205b72.jpg","text":"TemporaryFile(/tmp/multipartBody1036378074646592559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_07_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/30/37af2ab8b06b145288e2512b03b569af.jpg","text":"TemporaryFile(/tmp/multipartBody3510471723866972784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_20_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/30/464432dfdfa203bfce7a373c8b1695df.jpg","text":"TemporaryFile(/tmp/multipartBody116621329217521581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_11_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/30/abf8b2d9e62ee0266d0931194f22c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody3543040002362381041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_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/30/ff18f76e1240dc879fc51063825c505a.jpg","text":"TemporaryFile(/tmp/multipartBody2690776197339785656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_14_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/30/fc4f14f1dcb3489b0dd6c6d53a3c0898.jpg","text":"TemporaryFile(/tmp/multipartBody2371138708564185979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764475963788,"filename":"image_31102025_11_48_05_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021193","file1":"1397021191","file0":"1397021189","file4":"1397021196","file5":"1397021197","file3":"1397021195"},"map_files_photo_id_array":[{"photo_id":"1397021197","filename":"file5"},{"photo_id":"1397021193","filename":"file2"},{"photo_id":"1397021196","filename":"file4"},{"photo_id":"1397021191","filename":"file1"},{"photo_id":"1397021189","filename":"file0"},{"photo_id":"1397021195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021191":["hashtag1","hashtag2"]},{"1397021197":["hashtag1","hashtag2"]},{"1397021193":["hashtag1","hashtag2"]},{"1397021196":["hashtag1","hashtag2"]},{"1397021195":["hashtag1","hashtag2"]},{"1397021189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021191, 1397021197, 1397021193, 1397021196, 1397021195, 1397021189)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.07350182533264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:12:31.876259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/42/image_25112025_19_43_01_3599.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_03_2617.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_06_2606.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_10_3650.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_12_2631.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_15_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/42/image_25112025_19_43_01_3599.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_03_2617.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_06_2606.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_10_3650.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_12_2631.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_15_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":["1397021213","1397021207","1397021212","1397021209","1397021205","1397021214"],"photo_ids_order":["1397021205","1397021207","1397021209","1397021212","1397021213","1397021214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31632ab9618839086958a0d943bd714e.jpg","text":"TemporaryFile(/tmp/multipartBody2692292572837380670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_12_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3e319c9077170daf38b55aa91ee57f1.jpg","text":"TemporaryFile(/tmp/multipartBody7152807694415413451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_03_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/30/68d49e1ff68586d0cf73f60e4a3d0cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6614173511792260949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_10_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/30/60ab1766506dd5bc32aa5a72fe87d85d.jpg","text":"TemporaryFile(/tmp/multipartBody728844844942041905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_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/30/24f75f1faf5d3e12da90e558c0a7ff03.jpg","text":"TemporaryFile(/tmp/multipartBody8055457622549596390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_01_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/30/59f426e3e78a691f69ea9791bf4a8b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1929272608114064863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476013870,"filename":"image_25112025_19_43_15_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021209","file1":"1397021207","file0":"1397021205","file4":"1397021213","file5":"1397021214","file3":"1397021212"},"map_files_photo_id_array":[{"photo_id":"1397021214","filename":"file5"},{"photo_id":"1397021209","filename":"file2"},{"photo_id":"1397021213","filename":"file4"},{"photo_id":"1397021207","filename":"file1"},{"photo_id":"1397021205","filename":"file0"},{"photo_id":"1397021212","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021213":["hashtag1","hashtag2"]},{"1397021207":["hashtag1","hashtag2"]},{"1397021212":["hashtag1","hashtag2"]},{"1397021209":["hashtag1","hashtag2"]},{"1397021205":["hashtag1","hashtag2"]},{"1397021214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021213, 1397021207, 1397021212, 1397021209, 1397021205, 1397021214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29823064804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:13:12.300364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_19_3703.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_21_2746.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_24_2645.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_31_2804.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_33_2619.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_36_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_19_3703.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_21_2746.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_24_2645.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_31_2804.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_33_2619.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_36_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021228","1397021215","1397021220","1397021223","1397021217","1397021226"],"photo_ids_order":["1397021215","1397021217","1397021220","1397021223","1397021226","1397021228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ee67512c812796a8e2fb18df82c26a5.jpg","text":"TemporaryFile(/tmp/multipartBody6724530523807463671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_36_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/30/6211459205a7ba55ae1bd1c92aeee996.jpg","text":"TemporaryFile(/tmp/multipartBody2546313824028833321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_19_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/30/fb695fdd701186f2c49572f8d2b328d7.jpg","text":"TemporaryFile(/tmp/multipartBody6990946185536272338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_24_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/837a8c6bae3fdae5b882e4efbd43a3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7454311749433660864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_31_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4c76b6d05233f1d1a00247d9f2e229b.jpg","text":"TemporaryFile(/tmp/multipartBody2007728537839290635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41cbad8c1eabad8c9e48e61e6c6bf416.jpg","text":"TemporaryFile(/tmp/multipartBody6334973840530871984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476054184,"filename":"image_25112025_19_43_33_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021220","file1":"1397021217","file0":"1397021215","file4":"1397021226","file5":"1397021228","file3":"1397021223"},"map_files_photo_id_array":[{"photo_id":"1397021228","filename":"file5"},{"photo_id":"1397021220","filename":"file2"},{"photo_id":"1397021226","filename":"file4"},{"photo_id":"1397021217","filename":"file1"},{"photo_id":"1397021215","filename":"file0"},{"photo_id":"1397021223","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021228":["hashtag1","hashtag2"]},{"1397021215":["hashtag1","hashtag2"]},{"1397021220":["hashtag1","hashtag2"]},{"1397021223":["hashtag1","hashtag2"]},{"1397021217":["hashtag1","hashtag2"]},{"1397021226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021228, 1397021215, 1397021220, 1397021223, 1397021217, 1397021226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25868105888367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:14:03.222360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_14_9620.jpg', '/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_24_9706.jpg', '/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_35_10743.jpg', '/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_45_9735.jpg', '/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_54_9540.jpg', '/home/pi/Desktop/images/30112025/04/08/image_30112025_04_09_05_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_14_9620.jpg
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_24_9706.jpg
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_35_10743.jpg
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_45_9735.jpg
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_08_54_9540.jpg
/home/pi/Desktop/images/30112025/04/08/image_30112025_04_09_05_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021234","1397021236","1397021241","1397021235","1397021238","1397021232"],"photo_ids_order":["1397021232","1397021234","1397021235","1397021236","1397021238","1397021241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e64b5c20e483029645e9b7c6dc308e2.jpg","text":"TemporaryFile(/tmp/multipartBody3214301388475745519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_08_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5be3aba7fa5261c19a149ed73355d767.jpg","text":"TemporaryFile(/tmp/multipartBody7519494555655696160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_08_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e155270ead4226743222b9e945ea6580.jpg","text":"TemporaryFile(/tmp/multipartBody4607777063398324236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_09_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d89bc102755ed779828e44b1d2c84e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7069421281493517232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_08_35_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c6fb0490154318b2990143a9cd9d534.jpg","text":"TemporaryFile(/tmp/multipartBody4816476238973961200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_08_54_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3777c76f28f7faab37286ca6819ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody5935241188587155641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476103935,"filename":"image_30112025_04_08_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021235","file1":"1397021234","file0":"1397021232","file4":"1397021238","file5":"1397021241","file3":"1397021236"},"map_files_photo_id_array":[{"photo_id":"1397021241","filename":"file5"},{"photo_id":"1397021235","filename":"file2"},{"photo_id":"1397021238","filename":"file4"},{"photo_id":"1397021234","filename":"file1"},{"photo_id":"1397021232","filename":"file0"},{"photo_id":"1397021236","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021234":["hashtag1","hashtag2"]},{"1397021236":["hashtag1","hashtag2"]},{"1397021241":["hashtag1","hashtag2"]},{"1397021235":["hashtag1","hashtag2"]},{"1397021238":["hashtag1","hashtag2"]},{"1397021232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021234, 1397021236, 1397021241, 1397021235, 1397021238, 1397021232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27662396430969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:14:42.484697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/48/image_31102025_11_48_23_2793.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_25_2721.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_31_2791.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_35_3707.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_38_2880.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_40_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/11/48/image_31102025_11_48_23_2793.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_25_2721.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_31_2791.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_35_3707.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_38_2880.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_40_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":["1397021252","1397021255","1397021254","1397021257","1397021253","1397021250"],"photo_ids_order":["1397021250","1397021252","1397021253","1397021254","1397021255","1397021257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d89a677e9d7fa1fe92257ff411787620.jpg","text":"TemporaryFile(/tmp/multipartBody4458837101698248688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_25_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/30/79721697b465b3722ba95b916ecdedb7.jpg","text":"TemporaryFile(/tmp/multipartBody1289219002373933484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_38_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/30/f1fb3c19968e629fcc7a282f21d61799.jpg","text":"TemporaryFile(/tmp/multipartBody8789122814869496026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_35_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/30/a5fa6f771069d2a1111adc6a7fc7c019.jpg","text":"TemporaryFile(/tmp/multipartBody1587145532822637546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_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/30/42a05bdeb070b81c0f9b08117492ff06.jpg","text":"TemporaryFile(/tmp/multipartBody3956516168969577412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_31_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/30/898f0bb44769d1dace7d0377903951c6.jpg","text":"TemporaryFile(/tmp/multipartBody262324754578880143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476143375,"filename":"image_31102025_11_48_23_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021253","file1":"1397021252","file0":"1397021250","file4":"1397021255","file5":"1397021257","file3":"1397021254"},"map_files_photo_id_array":[{"photo_id":"1397021257","filename":"file5"},{"photo_id":"1397021253","filename":"file2"},{"photo_id":"1397021255","filename":"file4"},{"photo_id":"1397021252","filename":"file1"},{"photo_id":"1397021250","filename":"file0"},{"photo_id":"1397021254","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021252":["hashtag1","hashtag2"]},{"1397021255":["hashtag1","hashtag2"]},{"1397021254":["hashtag1","hashtag2"]},{"1397021257":["hashtag1","hashtag2"]},{"1397021253":["hashtag1","hashtag2"]},{"1397021250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021252, 1397021255, 1397021254, 1397021257, 1397021253, 1397021250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38906383514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:15:22.708158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_15_9750.jpg', '/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_24_9647.jpg', '/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_35_10537.jpg', '/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_44_9708.jpg', '/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_54_9694.jpg', '/home/pi/Desktop/images/30112025/04/09/image_30112025_04_10_05_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_15_9750.jpg
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_24_9647.jpg
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_35_10537.jpg
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_44_9708.jpg
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_09_54_9694.jpg
/home/pi/Desktop/images/30112025/04/09/image_30112025_04_10_05_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021270","1397021264","1397021266","1397021271","1397021268","1397021261"],"photo_ids_order":["1397021261","1397021264","1397021266","1397021268","1397021270","1397021271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4724505244a8207e2abbbdfd4bbc61b.jpg","text":"TemporaryFile(/tmp/multipartBody7721808854728520764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_09_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f737afea8bdf43db9ca99c3ed4e89a81.jpg","text":"TemporaryFile(/tmp/multipartBody355887083278283789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_09_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29df256091dc406268a9c8cc5f42124c.jpg","text":"TemporaryFile(/tmp/multipartBody9018318788477615446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_09_35_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88e3b0577a9d5ed83ee94eb75f5a1cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8458618569299623716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_10_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f173956d879a59a04ef1914bd007672.jpg","text":"TemporaryFile(/tmp/multipartBody269532113883415544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_09_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23a0bbb1ab49b9c9ba89be47dfadd6c1.jpg","text":"TemporaryFile(/tmp/multipartBody1429291411416356616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476183390,"filename":"image_30112025_04_09_15_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021266","file1":"1397021264","file0":"1397021261","file4":"1397021270","file5":"1397021271","file3":"1397021268"},"map_files_photo_id_array":[{"photo_id":"1397021271","filename":"file5"},{"photo_id":"1397021266","filename":"file2"},{"photo_id":"1397021270","filename":"file4"},{"photo_id":"1397021264","filename":"file1"},{"photo_id":"1397021261","filename":"file0"},{"photo_id":"1397021268","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021270":["hashtag1","hashtag2"]},{"1397021264":["hashtag1","hashtag2"]},{"1397021266":["hashtag1","hashtag2"]},{"1397021271":["hashtag1","hashtag2"]},{"1397021268":["hashtag1","hashtag2"]},{"1397021261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021270, 1397021264, 1397021266, 1397021271, 1397021268, 1397021261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.466055154800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:16:03.258218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_15_9697.jpg', '/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_24_9777.jpg', '/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_35_10583.jpg', '/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_45_9677.jpg', '/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_54_9532.jpg', '/home/pi/Desktop/images/30112025/04/10/image_30112025_04_11_05_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_15_9697.jpg
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_24_9777.jpg
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_35_10583.jpg
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_45_9677.jpg
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_10_54_9532.jpg
/home/pi/Desktop/images/30112025/04/10/image_30112025_04_11_05_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021279","1397021273","1397021272","1397021275","1397021277","1397021274"],"photo_ids_order":["1397021272","1397021273","1397021274","1397021275","1397021277","1397021279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4bebc310c829e4b9c74616bdafe53a6.jpg","text":"TemporaryFile(/tmp/multipartBody1747082537045709993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_11_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fff535f65fc7ec9d5d5a9c8b7ca86612.jpg","text":"TemporaryFile(/tmp/multipartBody7073668223275604552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_10_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/236439237f402040863a389fc3427eca.jpg","text":"TemporaryFile(/tmp/multipartBody80353161264164096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_10_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abc94036785d6b36fdcb2b280a394989.jpg","text":"TemporaryFile(/tmp/multipartBody1567248392912144164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_10_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c7f20f4902c999e5a891fc0cfcb2041.jpg","text":"TemporaryFile(/tmp/multipartBody4270043891621138887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_10_54_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf7e4dfe0d238a24a7fbb6190bdb9fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8572869683692923990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476223945,"filename":"image_30112025_04_10_35_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021274","file1":"1397021273","file0":"1397021272","file4":"1397021277","file5":"1397021279","file3":"1397021275"},"map_files_photo_id_array":[{"photo_id":"1397021279","filename":"file5"},{"photo_id":"1397021274","filename":"file2"},{"photo_id":"1397021277","filename":"file4"},{"photo_id":"1397021273","filename":"file1"},{"photo_id":"1397021272","filename":"file0"},{"photo_id":"1397021275","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021279":["hashtag1","hashtag2"]},{"1397021273":["hashtag1","hashtag2"]},{"1397021272":["hashtag1","hashtag2"]},{"1397021275":["hashtag1","hashtag2"]},{"1397021277":["hashtag1","hashtag2"]},{"1397021274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021279, 1397021273, 1397021272, 1397021275, 1397021277, 1397021274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77135396003723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:16:42.921625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/48/image_31102025_11_48_44_3667.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_47_2671.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_49_2628.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_52_2733.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_56_3689.jpg', '/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_58_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/11/48/image_31102025_11_48_44_3667.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_47_2671.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_49_2628.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_52_2733.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_56_3689.jpg
/home/pi/Desktop/images/31102025/11/48/image_31102025_11_48_58_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":["1397021290","1397021293","1397021287","1397021295","1397021292","1397021294"],"photo_ids_order":["1397021287","1397021290","1397021292","1397021293","1397021294","1397021295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6827ee60eb41a91440067795c090164.jpg","text":"TemporaryFile(/tmp/multipartBody2082556656244793055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_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/30/7d52f03f88d60ef33c6da4f06671b759.jpg","text":"TemporaryFile(/tmp/multipartBody6302781456429528410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_52_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/30/de97791aa5ce6591b6d08f51b73ea75b.jpg","text":"TemporaryFile(/tmp/multipartBody3471051101514572180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_44_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/30/b347bfade92c30055a137d260ba02b2c.jpg","text":"TemporaryFile(/tmp/multipartBody2648988226879185273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_58_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e70ce099cd547f606043adee0e30a96c.jpg","text":"TemporaryFile(/tmp/multipartBody283869651183481672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_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/30/dee48042b1070f31e7837edfb36c3936.jpg","text":"TemporaryFile(/tmp/multipartBody2417715732206724396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476263846,"filename":"image_31102025_11_48_56_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021292","file1":"1397021290","file0":"1397021287","file4":"1397021294","file5":"1397021295","file3":"1397021293"},"map_files_photo_id_array":[{"photo_id":"1397021295","filename":"file5"},{"photo_id":"1397021292","filename":"file2"},{"photo_id":"1397021294","filename":"file4"},{"photo_id":"1397021290","filename":"file1"},{"photo_id":"1397021287","filename":"file0"},{"photo_id":"1397021293","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021290":["hashtag1","hashtag2"]},{"1397021293":["hashtag1","hashtag2"]},{"1397021287":["hashtag1","hashtag2"]},{"1397021295":["hashtag1","hashtag2"]},{"1397021292":["hashtag1","hashtag2"]},{"1397021294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021290, 1397021293, 1397021287, 1397021295, 1397021292, 1397021294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.890963315963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:17:22.140042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_14_9612.jpg', '/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_24_9754.jpg', '/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_35_10624.jpg', '/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_44_9748.jpg', '/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_54_9627.jpg', '/home/pi/Desktop/images/30112025/04/11/image_30112025_04_12_05_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_14_9612.jpg
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_24_9754.jpg
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_35_10624.jpg
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_44_9748.jpg
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_11_54_9627.jpg
/home/pi/Desktop/images/30112025/04/11/image_30112025_04_12_05_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021300","1397021303","1397021308","1397021310","1397021307","1397021297"],"photo_ids_order":["1397021297","1397021300","1397021303","1397021307","1397021308","1397021310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81c22dcaadcb137f62f707a7d875fdff.jpg","text":"TemporaryFile(/tmp/multipartBody6298252423684000537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_11_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58bfcfc64e5f8832553685395388b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2822713825396934902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_11_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4318dfb63fd891b3138c4fa2393fee4c.jpg","text":"TemporaryFile(/tmp/multipartBody8586980864903487155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_11_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/925d4788aa99763842653abcf4a600e7.jpg","text":"TemporaryFile(/tmp/multipartBody4070381330307520506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_12_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e88d7990488f125fbd3e49a34a964064.jpg","text":"TemporaryFile(/tmp/multipartBody730489087554990212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_11_44_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f9a15caffdb1df3d81eb4db40aeabf7.jpg","text":"TemporaryFile(/tmp/multipartBody6141473198584568145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476302831,"filename":"image_30112025_04_11_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021303","file1":"1397021300","file0":"1397021297","file4":"1397021308","file5":"1397021310","file3":"1397021307"},"map_files_photo_id_array":[{"photo_id":"1397021310","filename":"file5"},{"photo_id":"1397021303","filename":"file2"},{"photo_id":"1397021308","filename":"file4"},{"photo_id":"1397021300","filename":"file1"},{"photo_id":"1397021297","filename":"file0"},{"photo_id":"1397021307","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021300":["hashtag1","hashtag2"]},{"1397021303":["hashtag1","hashtag2"]},{"1397021308":["hashtag1","hashtag2"]},{"1397021310":["hashtag1","hashtag2"]},{"1397021307":["hashtag1","hashtag2"]},{"1397021297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021300, 1397021303, 1397021308, 1397021310, 1397021307, 1397021297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.144588232040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:18:02.795841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_15_10258.jpg', '/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_25_9638.jpg', '/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_34_9741.jpg', '/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_44_9637.jpg', '/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_55_10646.jpg', '/home/pi/Desktop/images/30112025/04/12/image_30112025_04_13_04_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_15_10258.jpg
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_25_9638.jpg
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_34_9741.jpg
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_44_9637.jpg
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_12_55_10646.jpg
/home/pi/Desktop/images/30112025/04/12/image_30112025_04_13_04_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021312","1397021315","1397021317","1397021320","1397021314","1397021313"],"photo_ids_order":["1397021312","1397021313","1397021314","1397021315","1397021317","1397021320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/313d82011acbc02f62c8ddcdd8de3811.jpg","text":"TemporaryFile(/tmp/multipartBody8957223035067125301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_12_15_10258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00c97c2c43aa02b53671341fc8753f97.jpg","text":"TemporaryFile(/tmp/multipartBody5423028722207933277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_12_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77335b715d837e9f9cd1c6b7d20e7d00.jpg","text":"TemporaryFile(/tmp/multipartBody5378974725682551910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_12_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f7c620eeeb78b7842a032aeb23c1df9.jpg","text":"TemporaryFile(/tmp/multipartBody5910504079666694732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_13_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e0a8b4b632bda5a696d5772419ec4d9.jpg","text":"TemporaryFile(/tmp/multipartBody2059622655926634729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_12_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af024f95c9a01c6ee10a147123ddcc07.jpg","text":"TemporaryFile(/tmp/multipartBody8498353275322085647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476343472,"filename":"image_30112025_04_12_25_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021314","file1":"1397021313","file0":"1397021312","file4":"1397021317","file5":"1397021320","file3":"1397021315"},"map_files_photo_id_array":[{"photo_id":"1397021320","filename":"file5"},{"photo_id":"1397021314","filename":"file2"},{"photo_id":"1397021317","filename":"file4"},{"photo_id":"1397021313","filename":"file1"},{"photo_id":"1397021312","filename":"file0"},{"photo_id":"1397021315","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021312":["hashtag1","hashtag2"]},{"1397021315":["hashtag1","hashtag2"]},{"1397021317":["hashtag1","hashtag2"]},{"1397021320":["hashtag1","hashtag2"]},{"1397021314":["hashtag1","hashtag2"]},{"1397021313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021312, 1397021315, 1397021317, 1397021320, 1397021314, 1397021313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8424334526062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:18:42.394999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/49/image_31102025_11_49_05_3698.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_07_2672.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_16_2619.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_20_3564.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_23_2683.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_25_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_05_3698.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_07_2672.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_16_2619.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_20_3564.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_23_2683.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_25_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021330","1397021327","1397021332","1397021329","1397021328","1397021331"],"photo_ids_order":["1397021327","1397021328","1397021329","1397021330","1397021331","1397021332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40767d8f4eb15fd9f9f39ade9f217a46.jpg","text":"TemporaryFile(/tmp/multipartBody7714505256776288198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_20_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/30/ca84e0d1828b298de3ad0573239cecb3.jpg","text":"TemporaryFile(/tmp/multipartBody1673677081662606590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_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/30/64e2de37257d7b8fdd189448d7441d89.jpg","text":"TemporaryFile(/tmp/multipartBody4678173351038551009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_25_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/30/ae4e4c2309796909d7c487a0c3055b91.jpg","text":"TemporaryFile(/tmp/multipartBody4639988441641772253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_16_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e62cf7b2f1bab3d12b747b813adb6965.jpg","text":"TemporaryFile(/tmp/multipartBody7211858595895244562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_07_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bff0406443a3400675dfdbc2dd1a8f31.jpg","text":"TemporaryFile(/tmp/multipartBody2525501144249187172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476383262,"filename":"image_31102025_11_49_23_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021329","file1":"1397021328","file0":"1397021327","file4":"1397021331","file5":"1397021332","file3":"1397021330"},"map_files_photo_id_array":[{"photo_id":"1397021332","filename":"file5"},{"photo_id":"1397021329","filename":"file2"},{"photo_id":"1397021331","filename":"file4"},{"photo_id":"1397021328","filename":"file1"},{"photo_id":"1397021327","filename":"file0"},{"photo_id":"1397021330","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021330":["hashtag1","hashtag2"]},{"1397021327":["hashtag1","hashtag2"]},{"1397021332":["hashtag1","hashtag2"]},{"1397021329":["hashtag1","hashtag2"]},{"1397021328":["hashtag1","hashtag2"]},{"1397021331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021330, 1397021327, 1397021332, 1397021329, 1397021328, 1397021331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9112446308136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:19:22.634816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_15_10666.jpg', '/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_25_9680.jpg', '/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_45_10575.jpg', '/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_55_9553.jpg', '/home/pi/Desktop/images/30112025/04/13/image_30112025_04_14_04_9693.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_15_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_15_10666.jpg
/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_25_9680.jpg
/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_45_10575.jpg
/home/pi/Desktop/images/30112025/04/13/image_30112025_04_13_55_9553.jpg
/home/pi/Desktop/images/30112025/04/13/image_30112025_04_14_04_9693.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_15_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021342","1397021345","1397021339","1397021336","1397021350","1397021347"],"photo_ids_order":["1397021336","1397021339","1397021342","1397021345","1397021347","1397021350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4c55e11ee0258c38cf8b1d47049edfd.jpg","text":"TemporaryFile(/tmp/multipartBody3742735393715828699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_13_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/071122db0108975de110b1c63627c890.jpg","text":"TemporaryFile(/tmp/multipartBody4149567882055408545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_13_55_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97487c6b25f65ad8698dd80aacc20a49.jpg","text":"TemporaryFile(/tmp/multipartBody8586295644514933047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_13_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/575311f4ecf81c3e11baaa9561bf3e23.jpg","text":"TemporaryFile(/tmp/multipartBody7609357836896528020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_13_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e7f72243e9db1ab8aedb6c2d2ea9a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7066733033576578840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_14_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6c8c992c57d715c6066568d284dbfa1.jpg","text":"TemporaryFile(/tmp/multipartBody3806944388399332574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476423336,"filename":"image_30112025_04_14_04_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021342","file1":"1397021339","file0":"1397021336","file4":"1397021347","file5":"1397021350","file3":"1397021345"},"map_files_photo_id_array":[{"photo_id":"1397021350","filename":"file5"},{"photo_id":"1397021342","filename":"file2"},{"photo_id":"1397021347","filename":"file4"},{"photo_id":"1397021339","filename":"file1"},{"photo_id":"1397021336","filename":"file0"},{"photo_id":"1397021345","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021342":["hashtag1","hashtag2"]},{"1397021345":["hashtag1","hashtag2"]},{"1397021339":["hashtag1","hashtag2"]},{"1397021336":["hashtag1","hashtag2"]},{"1397021350":["hashtag1","hashtag2"]},{"1397021347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021342, 1397021345, 1397021339, 1397021336, 1397021350, 1397021347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87286448478699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:20:03.125065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_24_9665.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_35_10502.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_45_9868.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_55_9639.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_15_10568.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_25_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_24_9665.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_35_10502.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_45_9868.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_55_9639.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_15_10568.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_25_9676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6157388687133789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:20:12.727591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_40_3704.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_42_2665.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_45_2611.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_48_3588.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_51_2607.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_54_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_40_3704.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_42_2665.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_45_2611.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_48_3588.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_51_2607.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_54_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021357","1397021366","1397021354","1397021368","1397021364","1397021361"],"photo_ids_order":["1397021354","1397021357","1397021361","1397021364","1397021366","1397021368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/183ef1fee20313d00231347bf8307c88.jpg","text":"TemporaryFile(/tmp/multipartBody3229985593195512685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_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/30/8d9b3b91664b09de66c4db254a50f48c.jpg","text":"TemporaryFile(/tmp/multipartBody2239963376942472354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_51_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/30/880871b163136cf511680229928090a3.jpg","text":"TemporaryFile(/tmp/multipartBody5835566322897435402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_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/30/03e8ef4b9ecbe6ddb29a5cf2e4f055a5.jpg","text":"TemporaryFile(/tmp/multipartBody76434858388969700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_54_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/30/2f2f05b7da4ce9f63280ae9d6aaa9652.jpg","text":"TemporaryFile(/tmp/multipartBody6335139582764058684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_48_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/30/f309da16d297f17aea4463dd8afa74a7.jpg","text":"TemporaryFile(/tmp/multipartBody5831592039507582844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476474816,"filename":"image_25112025_19_43_45_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021361","file1":"1397021357","file0":"1397021354","file4":"1397021366","file5":"1397021368","file3":"1397021364"},"map_files_photo_id_array":[{"photo_id":"1397021368","filename":"file5"},{"photo_id":"1397021361","filename":"file2"},{"photo_id":"1397021366","filename":"file4"},{"photo_id":"1397021357","filename":"file1"},{"photo_id":"1397021354","filename":"file0"},{"photo_id":"1397021364","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021357":["hashtag1","hashtag2"]},{"1397021366":["hashtag1","hashtag2"]},{"1397021354":["hashtag1","hashtag2"]},{"1397021368":["hashtag1","hashtag2"]},{"1397021364":["hashtag1","hashtag2"]},{"1397021361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021357, 1397021366, 1397021354, 1397021368, 1397021364, 1397021361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.774397134780884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:21:02.600990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_24_9665.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_35_10502.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_45_9868.jpg', '/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_55_9639.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_15_10568.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_25_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_24_9665.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_35_10502.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_45_9868.jpg
/home/pi/Desktop/images/30112025/04/14/image_30112025_04_14_55_9639.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_15_10568.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_25_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021372","1397021371","1397021380","1397021374","1397021376","1397021373"],"photo_ids_order":["1397021371","1397021372","1397021373","1397021374","1397021376","1397021380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e121cd912a5199e3c43829dcf4d375a1.jpg","text":"TemporaryFile(/tmp/multipartBody8315714643556124671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_14_35_10502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67e17b830690b5e19846dfdd78aa239b.jpg","text":"TemporaryFile(/tmp/multipartBody4875423886681433155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_14_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9f2e1b0d6fced8cc8fbf913379b3ce9.jpg","text":"TemporaryFile(/tmp/multipartBody2345680938359621843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_15_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68973c4f339f02d360954c62a92fdcfa.jpg","text":"TemporaryFile(/tmp/multipartBody7463396256876263150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_14_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4963b793d10e4a3ce427eb1eb562df5.jpg","text":"TemporaryFile(/tmp/multipartBody6198212475334561351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_15_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d776787dfc5762d6ff7c56640a817c67.jpg","text":"TemporaryFile(/tmp/multipartBody2054356555642063165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476523365,"filename":"image_30112025_04_14_45_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021373","file1":"1397021372","file0":"1397021371","file4":"1397021376","file5":"1397021380","file3":"1397021374"},"map_files_photo_id_array":[{"photo_id":"1397021380","filename":"file5"},{"photo_id":"1397021373","filename":"file2"},{"photo_id":"1397021376","filename":"file4"},{"photo_id":"1397021372","filename":"file1"},{"photo_id":"1397021371","filename":"file0"},{"photo_id":"1397021374","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021372":["hashtag1","hashtag2"]},{"1397021371":["hashtag1","hashtag2"]},{"1397021380":["hashtag1","hashtag2"]},{"1397021374":["hashtag1","hashtag2"]},{"1397021376":["hashtag1","hashtag2"]},{"1397021373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021372, 1397021371, 1397021380, 1397021374, 1397021376, 1397021373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64628005027771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:21:41.917832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/49/image_31102025_11_49_29_3768.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_32_2622.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_34_2879.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_37_2666.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_41_3651.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_43_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/11/49/image_31102025_11_49_29_3768.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_32_2622.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_34_2879.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_37_2666.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_41_3651.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_43_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":["1397021390","1397021395","1397021389","1397021394","1397021388","1397021387"],"photo_ids_order":["1397021387","1397021388","1397021389","1397021390","1397021394","1397021395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cbd18c05b9841ddaec4bc355a75f523.jpg","text":"TemporaryFile(/tmp/multipartBody4255382498996999595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d30615b9bdaccf9de79ed2e821995c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3783686007217059428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_43_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/30/2e9909eff9cdab850d7c77f9e2426d42.jpg","text":"TemporaryFile(/tmp/multipartBody3346903024735560630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_34_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/30/c172700c501fa83a17c549179e2d0713.jpg","text":"TemporaryFile(/tmp/multipartBody5089666555121299578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_41_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/30/06c8f8262e204eabc9792aa1568c7059.jpg","text":"TemporaryFile(/tmp/multipartBody5118588463621969682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_32_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6f08186d0a0572b53dd1db1977e340c.jpg","text":"TemporaryFile(/tmp/multipartBody3576258548218550420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476564544,"filename":"image_31102025_11_49_29_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021389","file1":"1397021388","file0":"1397021387","file4":"1397021394","file5":"1397021395","file3":"1397021390"},"map_files_photo_id_array":[{"photo_id":"1397021395","filename":"file5"},{"photo_id":"1397021389","filename":"file2"},{"photo_id":"1397021394","filename":"file4"},{"photo_id":"1397021388","filename":"file1"},{"photo_id":"1397021387","filename":"file0"},{"photo_id":"1397021390","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021390":["hashtag1","hashtag2"]},{"1397021395":["hashtag1","hashtag2"]},{"1397021389":["hashtag1","hashtag2"]},{"1397021394":["hashtag1","hashtag2"]},{"1397021388":["hashtag1","hashtag2"]},{"1397021387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021390, 1397021395, 1397021389, 1397021394, 1397021388, 1397021387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.053383111953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:22:22.120403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_35_9906.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_44_9656.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_55_10712.jpg', '/home/pi/Desktop/images/30112025/04/15/image_30112025_04_16_05_9604.jpg', '/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_14_9625.jpg', '/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_35_9906.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_44_9656.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_15_55_10712.jpg
/home/pi/Desktop/images/30112025/04/15/image_30112025_04_16_05_9604.jpg
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_14_9625.jpg
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_25_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021423","1397021405","1397021420","1397021414","1397021410","1397021418"],"photo_ids_order":["1397021405","1397021410","1397021414","1397021418","1397021420","1397021423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c929af5583df688fc35bf0f3cfd2b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7808149241104471016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_16_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad6eaf56a52463e05d9c74c7b75729de.jpg","text":"TemporaryFile(/tmp/multipartBody1957924212054383952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_15_35_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09f91a207036fdfba26eb415dbe61aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1620527229239851552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_16_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7e63c4f89c592e2e065c5f15a58e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody21600607007877475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_15_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44d83a5946c21cc2139fe5802be8f39e.jpg","text":"TemporaryFile(/tmp/multipartBody8741639339515226612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_15_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bdc99043b33efaa70680226a8612ce9.jpg","text":"TemporaryFile(/tmp/multipartBody999938366702866160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476602823,"filename":"image_30112025_04_16_05_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021414","file1":"1397021410","file0":"1397021405","file4":"1397021420","file5":"1397021423","file3":"1397021418"},"map_files_photo_id_array":[{"photo_id":"1397021423","filename":"file5"},{"photo_id":"1397021414","filename":"file2"},{"photo_id":"1397021420","filename":"file4"},{"photo_id":"1397021410","filename":"file1"},{"photo_id":"1397021405","filename":"file0"},{"photo_id":"1397021418","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021423":["hashtag1","hashtag2"]},{"1397021405":["hashtag1","hashtag2"]},{"1397021420":["hashtag1","hashtag2"]},{"1397021414":["hashtag1","hashtag2"]},{"1397021410":["hashtag1","hashtag2"]},{"1397021418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021423, 1397021405, 1397021420, 1397021414, 1397021410, 1397021418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39856171607971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:23:03.052689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_35_9748.jpg', '/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_44_9699.jpg', '/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_55_10730.jpg', '/home/pi/Desktop/images/30112025/04/16/image_30112025_04_17_05_9640.jpg', '/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_14_9641.jpg', '/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_25_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_35_9748.jpg
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_44_9699.jpg
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_16_55_10730.jpg
/home/pi/Desktop/images/30112025/04/16/image_30112025_04_17_05_9640.jpg
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_14_9641.jpg
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_25_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021456","1397021459","1397021453","1397021470","1397021467","1397021463"],"photo_ids_order":["1397021453","1397021456","1397021459","1397021463","1397021467","1397021470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f24ab789c6330aa33304f54edc9e16b.jpg","text":"TemporaryFile(/tmp/multipartBody8494869272618622558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_16_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac7026bb6de33a3882d62562d05615e1.jpg","text":"TemporaryFile(/tmp/multipartBody1190565631761089454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_16_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e533e9ea0760a7a784b9d737c7a96d.jpg","text":"TemporaryFile(/tmp/multipartBody1782094152089092713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_16_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cce291080849aa37fae6ecc3a3062b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5050812284453875682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_17_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a7fcd129cb8d48783f3c517616894e9.jpg","text":"TemporaryFile(/tmp/multipartBody7005339757990209452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_17_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cfd2a12f679090749a31b1686448056.jpg","text":"TemporaryFile(/tmp/multipartBody4590181428131063191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476644605,"filename":"image_30112025_04_17_05_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021459","file1":"1397021456","file0":"1397021453","file4":"1397021467","file5":"1397021470","file3":"1397021463"},"map_files_photo_id_array":[{"photo_id":"1397021470","filename":"file5"},{"photo_id":"1397021459","filename":"file2"},{"photo_id":"1397021467","filename":"file4"},{"photo_id":"1397021456","filename":"file1"},{"photo_id":"1397021453","filename":"file0"},{"photo_id":"1397021463","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021456":["hashtag1","hashtag2"]},{"1397021459":["hashtag1","hashtag2"]},{"1397021453":["hashtag1","hashtag2"]},{"1397021470":["hashtag1","hashtag2"]},{"1397021467":["hashtag1","hashtag2"]},{"1397021463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021456, 1397021459, 1397021453, 1397021470, 1397021467, 1397021463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58004188537598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:23:42.493773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/49/image_31102025_11_49_46_2654.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_49_2741.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_53_3713.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_55_2748.jpg', '/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_58_2659.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_08_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_46_2654.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_49_2741.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_53_3713.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_55_2748.jpg
/home/pi/Desktop/images/31102025/11/49/image_31102025_11_49_58_2659.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_08_3012.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021477","1397021482","1397021479","1397021481","1397021478","1397021480"],"photo_ids_order":["1397021477","1397021478","1397021479","1397021480","1397021481","1397021482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/060d77ec2c16126ec226ea352f9723ab.jpg","text":"TemporaryFile(/tmp/multipartBody1159300298423310129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_49_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/30/c9d01cc18afb272447ba1623b30ad786.jpg","text":"TemporaryFile(/tmp/multipartBody1618304889451443433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_50_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e9127aa7bca98a5ca3fae13dd5490bb.jpg","text":"TemporaryFile(/tmp/multipartBody8583018078136483208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_49_53_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/30/684ee4eb3be2c8b9cc4f98be3aa84ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7225333923455667247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_49_58_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/30/ab0b1ec8dd153d5b254f0ab89a802546.jpg","text":"TemporaryFile(/tmp/multipartBody1397984113158893063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_49_49_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/30/eb5c4acfb077a5fbe68bec402a14deac.jpg","text":"TemporaryFile(/tmp/multipartBody5690218594481303270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476683390,"filename":"image_31102025_11_49_55_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021479","file1":"1397021478","file0":"1397021477","file4":"1397021481","file5":"1397021482","file3":"1397021480"},"map_files_photo_id_array":[{"photo_id":"1397021482","filename":"file5"},{"photo_id":"1397021479","filename":"file2"},{"photo_id":"1397021481","filename":"file4"},{"photo_id":"1397021478","filename":"file1"},{"photo_id":"1397021477","filename":"file0"},{"photo_id":"1397021480","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021477":["hashtag1","hashtag2"]},{"1397021482":["hashtag1","hashtag2"]},{"1397021479":["hashtag1","hashtag2"]},{"1397021481":["hashtag1","hashtag2"]},{"1397021478":["hashtag1","hashtag2"]},{"1397021480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021477, 1397021482, 1397021479, 1397021481, 1397021478, 1397021480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4557580947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:24:22.766892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_35_9822.jpg', '/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_44_9707.jpg', '/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_54_9583.jpg', '/home/pi/Desktop/images/30112025/04/17/image_30112025_04_18_05_10901.jpg', '/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_15_9622.jpg', '/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_24_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_35_9822.jpg
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_44_9707.jpg
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_17_54_9583.jpg
/home/pi/Desktop/images/30112025/04/17/image_30112025_04_18_05_10901.jpg
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_15_9622.jpg
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_24_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021498","1397021491","1397021488","1397021493","1397021486","1397021495"],"photo_ids_order":["1397021486","1397021488","1397021491","1397021493","1397021495","1397021498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/932d6b6f0f01563fa824d972c83d24a9.jpg","text":"TemporaryFile(/tmp/multipartBody6419038614510893088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_18_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ead9d79c09f6723b47219eab1e90fdb1.jpg","text":"TemporaryFile(/tmp/multipartBody3785836670106098296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_17_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2869370933d0708d94407190e182b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody7216767322087420315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_17_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44b7d859203b0443eaa8893cf150eeaa.jpg","text":"TemporaryFile(/tmp/multipartBody1187311565990854546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_18_05_10901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74921849992d2133d768f9a20d68e0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8127406174739887427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_17_35_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7079d849aa7cc3131afdd5fbce35601d.jpg","text":"TemporaryFile(/tmp/multipartBody6965030783338760273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476723455,"filename":"image_30112025_04_18_15_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021491","file1":"1397021488","file0":"1397021486","file4":"1397021495","file5":"1397021498","file3":"1397021493"},"map_files_photo_id_array":[{"photo_id":"1397021498","filename":"file5"},{"photo_id":"1397021491","filename":"file2"},{"photo_id":"1397021495","filename":"file4"},{"photo_id":"1397021488","filename":"file1"},{"photo_id":"1397021486","filename":"file0"},{"photo_id":"1397021493","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021498":["hashtag1","hashtag2"]},{"1397021491":["hashtag1","hashtag2"]},{"1397021488":["hashtag1","hashtag2"]},{"1397021493":["hashtag1","hashtag2"]},{"1397021486":["hashtag1","hashtag2"]},{"1397021495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021498, 1397021491, 1397021488, 1397021493, 1397021486, 1397021495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344942569732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:25:02.488630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_35_10763.jpg', '/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_45_9629.jpg', '/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_54_9608.jpg', '/home/pi/Desktop/images/30112025/04/18/image_30112025_04_19_05_10603.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_15_9754.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_24_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_35_10763.jpg
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_45_9629.jpg
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_18_54_9608.jpg
/home/pi/Desktop/images/30112025/04/18/image_30112025_04_19_05_10603.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_15_9754.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_24_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021510","1397021504","1397021501","1397021503","1397021506","1397021502"],"photo_ids_order":["1397021501","1397021502","1397021503","1397021504","1397021506","1397021510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d69cf08999daac97f9cc439cd6ecfc4f.jpg","text":"TemporaryFile(/tmp/multipartBody3052417357814497709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_19_24_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edb68752075828abfadbeb32a2aae370.jpg","text":"TemporaryFile(/tmp/multipartBody6027477663992081943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_19_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0fff442fe196d0d48d87a5fb1429dda.jpg","text":"TemporaryFile(/tmp/multipartBody3924968487047280350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_18_35_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5aaf77d8d76410120e0407fbef0f5605.jpg","text":"TemporaryFile(/tmp/multipartBody7816579198148738181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_18_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13564f6853e18ad34f378e59b548aa47.jpg","text":"TemporaryFile(/tmp/multipartBody8950414984369065713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_19_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fcee76e1b7dac1d26899c4f0345b1e37.jpg","text":"TemporaryFile(/tmp/multipartBody900719098826654494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476763238,"filename":"image_30112025_04_18_45_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021503","file1":"1397021502","file0":"1397021501","file4":"1397021506","file5":"1397021510","file3":"1397021504"},"map_files_photo_id_array":[{"photo_id":"1397021510","filename":"file5"},{"photo_id":"1397021503","filename":"file2"},{"photo_id":"1397021506","filename":"file4"},{"photo_id":"1397021502","filename":"file1"},{"photo_id":"1397021501","filename":"file0"},{"photo_id":"1397021504","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021510":["hashtag1","hashtag2"]},{"1397021504":["hashtag1","hashtag2"]},{"1397021501":["hashtag1","hashtag2"]},{"1397021503":["hashtag1","hashtag2"]},{"1397021506":["hashtag1","hashtag2"]},{"1397021502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021510, 1397021504, 1397021501, 1397021503, 1397021506, 1397021502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37340021133423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:25:41.875212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/50/image_31102025_11_50_12_3683.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_14_2713.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_17_2812.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_21_3690.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_23_2658.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_26_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_12_3683.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_14_2713.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_17_2812.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_21_3690.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_23_2658.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_26_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021519","1397021521","1397021515","1397021518","1397021520","1397021517"],"photo_ids_order":["1397021515","1397021517","1397021518","1397021519","1397021520","1397021521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4a2e32c4a93dff8a803bba08be6b32f.jpg","text":"TemporaryFile(/tmp/multipartBody3677285456177927425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_21_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/392e4ef71280c4645c73191f375d9f88.jpg","text":"TemporaryFile(/tmp/multipartBody5541086481507955386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_26_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1d5f46d3eb73818095066cd3677bb0d.jpg","text":"TemporaryFile(/tmp/multipartBody2009078217318391482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_12_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/30/80478ec015030ca12ee9ac462a5c1352.jpg","text":"TemporaryFile(/tmp/multipartBody8080380410790056061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_17_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/30/e677d30e718a1334adc288f44cc1e623.jpg","text":"TemporaryFile(/tmp/multipartBody2383445750544392012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_23_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0036cbdd0eddac2ad1b32c49e80a9572.jpg","text":"TemporaryFile(/tmp/multipartBody2368001003496285290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476802788,"filename":"image_31102025_11_50_14_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021518","file1":"1397021517","file0":"1397021515","file4":"1397021520","file5":"1397021521","file3":"1397021519"},"map_files_photo_id_array":[{"photo_id":"1397021521","filename":"file5"},{"photo_id":"1397021518","filename":"file2"},{"photo_id":"1397021520","filename":"file4"},{"photo_id":"1397021517","filename":"file1"},{"photo_id":"1397021515","filename":"file0"},{"photo_id":"1397021519","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021519":["hashtag1","hashtag2"]},{"1397021521":["hashtag1","hashtag2"]},{"1397021515":["hashtag1","hashtag2"]},{"1397021518":["hashtag1","hashtag2"]},{"1397021520":["hashtag1","hashtag2"]},{"1397021517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021519, 1397021521, 1397021515, 1397021518, 1397021520, 1397021517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49578070640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:26:22.055427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_34_9820.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_44_9769.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_55_10652.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_20_04_9594.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_14_9772.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_25_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_34_9820.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_44_9769.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_55_10652.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_20_04_9594.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_14_9772.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_25_10756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6294741630554199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:26:32.036196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_57_3626.jpg', '/home/pi/Desktop/images/25112025/19/43/image_25112025_19_44_00_2630.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_03_2887.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_07_3686.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_09_2660.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_12_2518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_43_57_3626.jpg
/home/pi/Desktop/images/25112025/19/43/image_25112025_19_44_00_2630.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_03_2887.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_07_3686.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_09_2660.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_12_2518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021537","1397021546","1397021533","1397021544","1397021547","1397021541"],"photo_ids_order":["1397021533","1397021537","1397021541","1397021544","1397021546","1397021547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf31870f3671702dea2152f59a02d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7005175060741747780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_44_00_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/30/a1edc625096353f5d33f895d57754b67.jpg","text":"TemporaryFile(/tmp/multipartBody4086774814730437250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_44_09_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/30/d154bccdd62bd133e0adf416884625d5.jpg","text":"TemporaryFile(/tmp/multipartBody1791775806494160369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_43_57_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/30/1e3963160f43be90ae8291bf51a7705e.jpg","text":"TemporaryFile(/tmp/multipartBody2019673002091182790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_44_07_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/079c0844aa56ff1cbd86b7af03de6029.jpg","text":"TemporaryFile(/tmp/multipartBody8749424794081066068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_44_12_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/30/9ff15bf57c918e2e5fcf393a1bac8936.jpg","text":"TemporaryFile(/tmp/multipartBody8542986406272846698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476854081,"filename":"image_25112025_19_44_03_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021541","file1":"1397021537","file0":"1397021533","file4":"1397021546","file5":"1397021547","file3":"1397021544"},"map_files_photo_id_array":[{"photo_id":"1397021547","filename":"file5"},{"photo_id":"1397021541","filename":"file2"},{"photo_id":"1397021546","filename":"file4"},{"photo_id":"1397021537","filename":"file1"},{"photo_id":"1397021533","filename":"file0"},{"photo_id":"1397021544","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021537":["hashtag1","hashtag2"]},{"1397021546":["hashtag1","hashtag2"]},{"1397021533":["hashtag1","hashtag2"]},{"1397021544":["hashtag1","hashtag2"]},{"1397021547":["hashtag1","hashtag2"]},{"1397021541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021537, 1397021546, 1397021533, 1397021544, 1397021547, 1397021541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.547173738479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:27:12.205338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_15_3632.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_18_2730.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_24_3760.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_33_3611.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_36_2815.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_40_4320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_15_3632.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_18_2730.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_24_3760.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_33_3611.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_36_2815.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_40_4320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021552","1397021563","1397021560","1397021554","1397021557","1397021550"],"photo_ids_order":["1397021550","1397021552","1397021554","1397021557","1397021560","1397021563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68e70b4b66a50394288198e0ea5cfdd0.jpg","text":"TemporaryFile(/tmp/multipartBody3539831043234563756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_18_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f10152db58765ec7b420daddc8ccd958.jpg","text":"TemporaryFile(/tmp/multipartBody4751154347968866628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_40_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/30/fcc67408d55ab54dbae8c76b764e7c59.jpg","text":"TemporaryFile(/tmp/multipartBody6587438630122246824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_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/30/92963cc69f46968c305f91203c82cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody3170466332246277829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_24_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/30/940c4760609a48399313eb5d89d09007.jpg","text":"TemporaryFile(/tmp/multipartBody2456781062002634642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_33_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/30/8812bf4da8334e37bc23fe26136084e5.jpg","text":"TemporaryFile(/tmp/multipartBody156994297427183971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476894090,"filename":"image_25112025_19_44_15_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021554","file1":"1397021552","file0":"1397021550","file4":"1397021560","file5":"1397021563","file3":"1397021557"},"map_files_photo_id_array":[{"photo_id":"1397021563","filename":"file5"},{"photo_id":"1397021554","filename":"file2"},{"photo_id":"1397021560","filename":"file4"},{"photo_id":"1397021552","filename":"file1"},{"photo_id":"1397021550","filename":"file0"},{"photo_id":"1397021557","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021552":["hashtag1","hashtag2"]},{"1397021563":["hashtag1","hashtag2"]},{"1397021560":["hashtag1","hashtag2"]},{"1397021554":["hashtag1","hashtag2"]},{"1397021557":["hashtag1","hashtag2"]},{"1397021550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021552, 1397021563, 1397021560, 1397021554, 1397021557, 1397021550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47243928909302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:28:02.903881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_34_9820.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_44_9769.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_55_10652.jpg', '/home/pi/Desktop/images/30112025/04/19/image_30112025_04_20_04_9594.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_14_9772.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_25_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_34_9820.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_44_9769.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_19_55_10652.jpg
/home/pi/Desktop/images/30112025/04/19/image_30112025_04_20_04_9594.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_14_9772.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_25_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021570","1397021572","1397021574","1397021577","1397021571","1397021568"],"photo_ids_order":["1397021568","1397021570","1397021571","1397021572","1397021574","1397021577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f1645a993928a925535f01385a95b45.jpg","text":"TemporaryFile(/tmp/multipartBody6095708585365622995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_19_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e32380782e92cf2b5131b5f7aed7875d.jpg","text":"TemporaryFile(/tmp/multipartBody8783589283428667534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_20_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85a6d203a2b8dbda9488651e3550f53d.jpg","text":"TemporaryFile(/tmp/multipartBody5696086137662863563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_20_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95288720b521f10f991bf1c4d02a4dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4185775298558458599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_20_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b73a5a561a8a05adb41caa883afc52.jpg","text":"TemporaryFile(/tmp/multipartBody271104082501431857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_19_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cb1218480737f6bd5a903c05aaa58ca.jpg","text":"TemporaryFile(/tmp/multipartBody3270445654930457228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764476943630,"filename":"image_30112025_04_19_34_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021571","file1":"1397021570","file0":"1397021568","file4":"1397021574","file5":"1397021577","file3":"1397021572"},"map_files_photo_id_array":[{"photo_id":"1397021577","filename":"file5"},{"photo_id":"1397021571","filename":"file2"},{"photo_id":"1397021574","filename":"file4"},{"photo_id":"1397021570","filename":"file1"},{"photo_id":"1397021568","filename":"file0"},{"photo_id":"1397021572","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021570":["hashtag1","hashtag2"]},{"1397021572":["hashtag1","hashtag2"]},{"1397021574":["hashtag1","hashtag2"]},{"1397021577":["hashtag1","hashtag2"]},{"1397021571":["hashtag1","hashtag2"]},{"1397021568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021570, 1397021572, 1397021574, 1397021577, 1397021571, 1397021568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27045941352844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:28:42.538510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/50/image_31102025_11_50_30_3681.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_32_2807.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_35_2703.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_39_3587.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_41_2697.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_44_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_30_3681.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_32_2807.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_35_2703.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_39_3587.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_41_2697.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_44_2642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7989888191223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:29:03.721688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_34_9650.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_44_9591.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_55_10737.jpg', '/home/pi/Desktop/images/30112025/04/20/image_30112025_04_21_05_9754.jpg', '/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_14_9547.jpg', '/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_25_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_34_9650.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_44_9591.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_20_55_10737.jpg
/home/pi/Desktop/images/30112025/04/20/image_30112025_04_21_05_9754.jpg
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_14_9547.jpg
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_25_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021603","1397021596","1397021599","1397021593","1397021595","1397021597"],"photo_ids_order":["1397021593","1397021595","1397021596","1397021597","1397021599","1397021603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d09e4744ec9ef37d87126f528ff0fcd3.jpg","text":"TemporaryFile(/tmp/multipartBody570899352038160149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_21_25_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c162db6538d4ae0568949ab0c2c8a934.jpg","text":"TemporaryFile(/tmp/multipartBody3848434611993166953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_20_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57d4e7e3a1f89b5dc1381047c9e9a156.jpg","text":"TemporaryFile(/tmp/multipartBody4487976740967548249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_21_14_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc13cbd9073747b74dd467e5efcbd6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5533783650736122849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_20_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b125503afa352d1fc92a3bb4df67f795.jpg","text":"TemporaryFile(/tmp/multipartBody113331438922817687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_20_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7e9f480f1b00abdc42a08680fedd9b0.jpg","text":"TemporaryFile(/tmp/multipartBody4892503591030169527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477004539,"filename":"image_30112025_04_21_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021596","file1":"1397021595","file0":"1397021593","file4":"1397021599","file5":"1397021603","file3":"1397021597"},"map_files_photo_id_array":[{"photo_id":"1397021603","filename":"file5"},{"photo_id":"1397021596","filename":"file2"},{"photo_id":"1397021599","filename":"file4"},{"photo_id":"1397021595","filename":"file1"},{"photo_id":"1397021593","filename":"file0"},{"photo_id":"1397021597","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021603":["hashtag1","hashtag2"]},{"1397021596":["hashtag1","hashtag2"]},{"1397021599":["hashtag1","hashtag2"]},{"1397021593":["hashtag1","hashtag2"]},{"1397021595":["hashtag1","hashtag2"]},{"1397021597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021603, 1397021596, 1397021599, 1397021593, 1397021595, 1397021597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49210023880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:29:42.695756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/50/image_31102025_11_50_30_3681.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_32_2807.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_35_2703.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_39_3587.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_41_2697.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_44_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_30_3681.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_32_2807.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_35_2703.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_39_3587.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_41_2697.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_44_2642.jpg
 val : 1 : upload photos 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":["1397021618","1397021612","1397021656","1397021655","1397021619","1397021613"],"photo_ids_order":["1397021612","1397021613","1397021618","1397021619","1397021655","1397021656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa25f1842cc1e5fb96aa8a9e53c75e20.jpg","text":"TemporaryFile(/tmp/multipartBody6993660550462364866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_35_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/322acb8478f09d372a49ef5bf8ac73c0.jpg","text":"TemporaryFile(/tmp/multipartBody3807586793047915661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_30_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/726904756b034a07258a7e282f4ff4ef.jpg","text":"TemporaryFile(/tmp/multipartBody4324039448539431369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_44_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01405634517200c85db7b1b882e50f9f.jpg","text":"TemporaryFile(/tmp/multipartBody324060446496658488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_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/30/7235ac69e924d4125eb1e5e0fd4416b6.jpg","text":"TemporaryFile(/tmp/multipartBody5170367369092178466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_39_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/30/0c8d7cd0d2f5f55ba05d8425759ec333.jpg","text":"TemporaryFile(/tmp/multipartBody8964526033168866305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477043467,"filename":"image_31102025_11_50_32_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021618","file1":"1397021613","file0":"1397021612","file4":"1397021655","file5":"1397021656","file3":"1397021619"},"map_files_photo_id_array":[{"photo_id":"1397021656","filename":"file5"},{"photo_id":"1397021618","filename":"file2"},{"photo_id":"1397021655","filename":"file4"},{"photo_id":"1397021613","filename":"file1"},{"photo_id":"1397021612","filename":"file0"},{"photo_id":"1397021619","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021618":["hashtag1","hashtag2"]},{"1397021612":["hashtag1","hashtag2"]},{"1397021656":["hashtag1","hashtag2"]},{"1397021655":["hashtag1","hashtag2"]},{"1397021619":["hashtag1","hashtag2"]},{"1397021613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021618, 1397021612, 1397021656, 1397021655, 1397021619, 1397021613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.06302952766418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:31:03.232974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_35_9641.jpg', '/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_44_9709.jpg', '/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_55_10671.jpg', '/home/pi/Desktop/images/30112025/04/21/image_30112025_04_22_05_9650.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_14_9552.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_25_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_35_9641.jpg
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_44_9709.jpg
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_21_55_10671.jpg
/home/pi/Desktop/images/30112025/04/21/image_30112025_04_22_05_9650.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_14_9552.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_25_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021660","1397021662","1397021661","1397021670","1397021664","1397021667"],"photo_ids_order":["1397021660","1397021661","1397021662","1397021664","1397021667","1397021670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7620657abe654dd3c70894c695a96310.jpg","text":"TemporaryFile(/tmp/multipartBody5482198344782727214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_21_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/731527262b4aa6526072f569e04da54a.jpg","text":"TemporaryFile(/tmp/multipartBody1168139534666976765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_21_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f914e2e991bde8141e79b69e7d5d96e5.jpg","text":"TemporaryFile(/tmp/multipartBody3184864358559146111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_21_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8c6edf27a4f0e26a36e16b4fc42902b.jpg","text":"TemporaryFile(/tmp/multipartBody3487026194057862451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_22_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f922b582d736ae4a9c51974711e2de1.jpg","text":"TemporaryFile(/tmp/multipartBody3078234975119296777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_22_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/571c30c96f2672b6073de986a95f7ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2259924761515388943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477123992,"filename":"image_30112025_04_22_14_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021662","file1":"1397021661","file0":"1397021660","file4":"1397021667","file5":"1397021670","file3":"1397021664"},"map_files_photo_id_array":[{"photo_id":"1397021670","filename":"file5"},{"photo_id":"1397021662","filename":"file2"},{"photo_id":"1397021667","filename":"file4"},{"photo_id":"1397021661","filename":"file1"},{"photo_id":"1397021660","filename":"file0"},{"photo_id":"1397021664","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021660":["hashtag1","hashtag2"]},{"1397021662":["hashtag1","hashtag2"]},{"1397021661":["hashtag1","hashtag2"]},{"1397021670":["hashtag1","hashtag2"]},{"1397021664":["hashtag1","hashtag2"]},{"1397021667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021660, 1397021662, 1397021661, 1397021670, 1397021664, 1397021667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2080602645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:32:03.222191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_34_9595.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_44_9719.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_55_10656.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_23_05_9796.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_14_9674.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_24_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_34_9595.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_44_9719.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_55_10656.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_23_05_9796.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_14_9674.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_24_9888.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6290643215179443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:32:12.712191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_42_1665.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_48_3609.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_51_2611.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_54_2604.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_57_3539.jpg', '/home/pi/Desktop/images/25112025/19/44/image_25112025_19_45_00_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_42_1665.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_48_3609.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_51_2611.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_54_2604.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_44_57_3539.jpg
/home/pi/Desktop/images/25112025/19/44/image_25112025_19_45_00_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021681","1397021691","1397021694","1397021688","1397021700","1397021684"],"photo_ids_order":["1397021681","1397021684","1397021688","1397021691","1397021694","1397021700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec9c6eb985f1ce1ba5a0bf8b5d21d038.jpg","text":"TemporaryFile(/tmp/multipartBody2374710607532405790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_44_42_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/30/19c6daee37488869e87260fc1844ee05.jpg","text":"TemporaryFile(/tmp/multipartBody4688084408604431091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_44_54_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/30/c41abc648de15ab2ce88bb1fd603b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1905386362257663920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_44_57_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/30/4aa076b3dcc916d417328bf3e829661f.jpg","text":"TemporaryFile(/tmp/multipartBody9198041903722374988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_44_51_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/30/cbdeeb2afe3994887ce35a155adff403.jpg","text":"TemporaryFile(/tmp/multipartBody2210917871377352561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_45_00_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/30/9fb660809bcd2239be41ee96be461d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4863304200489723987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477194385,"filename":"image_25112025_19_44_48_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021688","file1":"1397021684","file0":"1397021681","file4":"1397021694","file5":"1397021700","file3":"1397021691"},"map_files_photo_id_array":[{"photo_id":"1397021700","filename":"file5"},{"photo_id":"1397021688","filename":"file2"},{"photo_id":"1397021694","filename":"file4"},{"photo_id":"1397021684","filename":"file1"},{"photo_id":"1397021681","filename":"file0"},{"photo_id":"1397021691","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021681":["hashtag1","hashtag2"]},{"1397021691":["hashtag1","hashtag2"]},{"1397021694":["hashtag1","hashtag2"]},{"1397021688":["hashtag1","hashtag2"]},{"1397021700":["hashtag1","hashtag2"]},{"1397021684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021681, 1397021691, 1397021694, 1397021688, 1397021700, 1397021684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.250715255737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:33:02.557725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_34_9595.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_44_9719.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_55_10656.jpg', '/home/pi/Desktop/images/30112025/04/22/image_30112025_04_23_05_9796.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_14_9674.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_24_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_34_9595.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_44_9719.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_22_55_10656.jpg
/home/pi/Desktop/images/30112025/04/22/image_30112025_04_23_05_9796.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_14_9674.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_24_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021705","1397021708","1397021707","1397021710","1397021706","1397021715"],"photo_ids_order":["1397021705","1397021706","1397021707","1397021708","1397021710","1397021715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b5c5242125457a06dcd3f8b71dcde1b.jpg","text":"TemporaryFile(/tmp/multipartBody2771293338458550068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_22_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33f4f687834658aed7c2da6aa269d49a.jpg","text":"TemporaryFile(/tmp/multipartBody149931899668047964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_23_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00a1452e8c335f975a89ac1aabb697b2.jpg","text":"TemporaryFile(/tmp/multipartBody1418029448080276357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_22_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58c156b98f4ca58f814da235b27ee6a3.jpg","text":"TemporaryFile(/tmp/multipartBody4484494889205294310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_23_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed9b6c2ffc8a299cbf81a37a20008f83.jpg","text":"TemporaryFile(/tmp/multipartBody4183279353664876418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_22_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72d2a8bf1ada6035a859609b2207d66c.jpg","text":"TemporaryFile(/tmp/multipartBody9044859727575584502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477243271,"filename":"image_30112025_04_23_24_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021707","file1":"1397021706","file0":"1397021705","file4":"1397021710","file5":"1397021715","file3":"1397021708"},"map_files_photo_id_array":[{"photo_id":"1397021715","filename":"file5"},{"photo_id":"1397021707","filename":"file2"},{"photo_id":"1397021710","filename":"file4"},{"photo_id":"1397021706","filename":"file1"},{"photo_id":"1397021705","filename":"file0"},{"photo_id":"1397021708","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021705":["hashtag1","hashtag2"]},{"1397021708":["hashtag1","hashtag2"]},{"1397021707":["hashtag1","hashtag2"]},{"1397021710":["hashtag1","hashtag2"]},{"1397021706":["hashtag1","hashtag2"]},{"1397021715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021705, 1397021708, 1397021707, 1397021710, 1397021706, 1397021715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.057208776474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:33:41.956007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/50/image_31102025_11_50_48_3630.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_50_2723.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_53_2557.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_56_2803.jpg', '/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_59_3586.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_02_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/11/50/image_31102025_11_50_48_3630.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_50_2723.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_53_2557.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_56_2803.jpg
/home/pi/Desktop/images/31102025/11/50/image_31102025_11_50_59_3586.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_02_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":["1397021726","1397021725","1397021728","1397021724","1397021727","1397021721"],"photo_ids_order":["1397021721","1397021724","1397021725","1397021726","1397021727","1397021728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c0c1a964fb99ec298eb6b3f510f88b7.jpg","text":"TemporaryFile(/tmp/multipartBody2886190176229246951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_50_56_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/30/f27e65c0c92b3bcf4f861da404dc3d05.jpg","text":"TemporaryFile(/tmp/multipartBody5391749313485039399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_50_53_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/30/1b2f4a346f47f3caed3c193ef04add8b.jpg","text":"TemporaryFile(/tmp/multipartBody3055447698476131620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_51_02_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afb693ba0a361265d70675e730bb94f5.jpg","text":"TemporaryFile(/tmp/multipartBody9213684865817620757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_50_50_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/30/5223adca0bf2fcfa2f8cf30cffe616c4.jpg","text":"TemporaryFile(/tmp/multipartBody952186336575608737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_50_59_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/30/1c44ffdef992ced28cb636e8312c0d62.jpg","text":"TemporaryFile(/tmp/multipartBody5687757751928246670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477282868,"filename":"image_31102025_11_50_48_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021725","file1":"1397021724","file0":"1397021721","file4":"1397021727","file5":"1397021728","file3":"1397021726"},"map_files_photo_id_array":[{"photo_id":"1397021728","filename":"file5"},{"photo_id":"1397021725","filename":"file2"},{"photo_id":"1397021727","filename":"file4"},{"photo_id":"1397021724","filename":"file1"},{"photo_id":"1397021721","filename":"file0"},{"photo_id":"1397021726","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021726":["hashtag1","hashtag2"]},{"1397021725":["hashtag1","hashtag2"]},{"1397021728":["hashtag1","hashtag2"]},{"1397021724":["hashtag1","hashtag2"]},{"1397021727":["hashtag1","hashtag2"]},{"1397021721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021726, 1397021725, 1397021728, 1397021724, 1397021727, 1397021721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49529719352722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:34:22.211062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_35_10677.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_45_9792.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_54_9667.jpg', '/home/pi/Desktop/images/30112025/04/23/image_30112025_04_24_05_10636.jpg', '/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_15_9704.jpg', '/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_24_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_35_10677.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_45_9792.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_23_54_9667.jpg
/home/pi/Desktop/images/30112025/04/23/image_30112025_04_24_05_10636.jpg
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_15_9704.jpg
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_24_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021735","1397021731","1397021740","1397021737","1397021742","1397021739"],"photo_ids_order":["1397021731","1397021735","1397021737","1397021739","1397021740","1397021742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6edb6aba8e02876539a9444dc8af9ead.jpg","text":"TemporaryFile(/tmp/multipartBody4570113039417046033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_23_45_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86dc0c3980208d6b3da868bddeb23328.jpg","text":"TemporaryFile(/tmp/multipartBody5131389184310300272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_23_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b1e3c460ac9bfd77bb313e05eb60c46.jpg","text":"TemporaryFile(/tmp/multipartBody6782827226261705387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_24_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a99399401af6ddc882547d88a56ad5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4299799696453901636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_23_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e400ccf20f43671b77cf34a9526a7824.jpg","text":"TemporaryFile(/tmp/multipartBody6466190378789226711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_24_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63155a79ea8820c2e8222473e2fd772d.jpg","text":"TemporaryFile(/tmp/multipartBody7138757318163836658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477322921,"filename":"image_30112025_04_24_05_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021737","file1":"1397021735","file0":"1397021731","file4":"1397021740","file5":"1397021742","file3":"1397021739"},"map_files_photo_id_array":[{"photo_id":"1397021742","filename":"file5"},{"photo_id":"1397021737","filename":"file2"},{"photo_id":"1397021740","filename":"file4"},{"photo_id":"1397021735","filename":"file1"},{"photo_id":"1397021731","filename":"file0"},{"photo_id":"1397021739","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021735":["hashtag1","hashtag2"]},{"1397021731":["hashtag1","hashtag2"]},{"1397021740":["hashtag1","hashtag2"]},{"1397021737":["hashtag1","hashtag2"]},{"1397021742":["hashtag1","hashtag2"]},{"1397021739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021735, 1397021731, 1397021740, 1397021737, 1397021742, 1397021739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.102500438690186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:35:03.030496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_35_10720.jpg', '/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_45_9786.jpg', '/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_54_9599.jpg', '/home/pi/Desktop/images/30112025/04/24/image_30112025_04_25_04_9668.jpg', '/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_15_10746.jpg', '/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_24_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_35_10720.jpg
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_45_9786.jpg
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_24_54_9599.jpg
/home/pi/Desktop/images/30112025/04/24/image_30112025_04_25_04_9668.jpg
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_15_10746.jpg
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_24_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021753","1397021747","1397021744","1397021746","1397021749","1397021745"],"photo_ids_order":["1397021744","1397021745","1397021746","1397021747","1397021749","1397021753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/762b7a8994e0892217f1708914f85152.jpg","text":"TemporaryFile(/tmp/multipartBody5145631435005043740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_25_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4193bfee9569f41e52b814affdc1861f.jpg","text":"TemporaryFile(/tmp/multipartBody1718864268573619536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_25_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/983b20ffe777455c61b2409c810e7b29.jpg","text":"TemporaryFile(/tmp/multipartBody6928182218168917449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_24_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c508b75d6c5ff3c36513409038a51082.jpg","text":"TemporaryFile(/tmp/multipartBody6739310325252949021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_24_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e566b8b82997dd344bbb0c0c2d30c81.jpg","text":"TemporaryFile(/tmp/multipartBody1675014583093090412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_25_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8130fb4578139f6648d409dc5867925.jpg","text":"TemporaryFile(/tmp/multipartBody2888058287843904020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477363768,"filename":"image_30112025_04_24_45_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021746","file1":"1397021745","file0":"1397021744","file4":"1397021749","file5":"1397021753","file3":"1397021747"},"map_files_photo_id_array":[{"photo_id":"1397021753","filename":"file5"},{"photo_id":"1397021746","filename":"file2"},{"photo_id":"1397021749","filename":"file4"},{"photo_id":"1397021745","filename":"file1"},{"photo_id":"1397021744","filename":"file0"},{"photo_id":"1397021747","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021753":["hashtag1","hashtag2"]},{"1397021747":["hashtag1","hashtag2"]},{"1397021744":["hashtag1","hashtag2"]},{"1397021746":["hashtag1","hashtag2"]},{"1397021749":["hashtag1","hashtag2"]},{"1397021745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021753, 1397021747, 1397021744, 1397021746, 1397021749, 1397021745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90044069290161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:35:42.390877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/51/image_31102025_11_51_06_3582.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_08_2737.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_11_2647.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_14_2690.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_17_3685.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_20_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/11/51/image_31102025_11_51_06_3582.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_08_2737.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_11_2647.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_14_2690.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_17_3685.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_20_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021762","1397021761","1397021758","1397021760","1397021763","1397021759"],"photo_ids_order":["1397021758","1397021759","1397021760","1397021761","1397021762","1397021763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7be8ea1f00a166e45549ed0e2b1b455c.jpg","text":"TemporaryFile(/tmp/multipartBody7104854744670801999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_17_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/30/ee2224913af424a25e02c37f8f6a4923.jpg","text":"TemporaryFile(/tmp/multipartBody7441262278627473152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_14_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/883a9634e919f30a388844fc8505af38.jpg","text":"TemporaryFile(/tmp/multipartBody279199575639835788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_06_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a74b5bc3f077d9d7144f1e6a135f13e.jpg","text":"TemporaryFile(/tmp/multipartBody854065568601734291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_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/30/b4f242dfdfb5fd2fa646b2e23fc331cc.jpg","text":"TemporaryFile(/tmp/multipartBody6827638485375501298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_20_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/30/7c68d4dbc4e5c9da3bd483cf194e8d20.jpg","text":"TemporaryFile(/tmp/multipartBody3543865500365405609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477403474,"filename":"image_31102025_11_51_08_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021760","file1":"1397021759","file0":"1397021758","file4":"1397021762","file5":"1397021763","file3":"1397021761"},"map_files_photo_id_array":[{"photo_id":"1397021763","filename":"file5"},{"photo_id":"1397021760","filename":"file2"},{"photo_id":"1397021762","filename":"file4"},{"photo_id":"1397021759","filename":"file1"},{"photo_id":"1397021758","filename":"file0"},{"photo_id":"1397021761","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021762":["hashtag1","hashtag2"]},{"1397021761":["hashtag1","hashtag2"]},{"1397021758":["hashtag1","hashtag2"]},{"1397021760":["hashtag1","hashtag2"]},{"1397021763":["hashtag1","hashtag2"]},{"1397021759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021762, 1397021761, 1397021758, 1397021760, 1397021763, 1397021759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41907286643982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:36:22.526279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_35_10589.jpg', '/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_45_9768.jpg', '/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_54_9552.jpg', '/home/pi/Desktop/images/30112025/04/25/image_30112025_04_26_05_10662.jpg', '/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_15_9707.jpg', '/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_25_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_35_10589.jpg
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_45_9768.jpg
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_25_54_9552.jpg
/home/pi/Desktop/images/30112025/04/25/image_30112025_04_26_05_10662.jpg
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_15_9707.jpg
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_25_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021774","1397021776","1397021773","1397021767","1397021769","1397021771"],"photo_ids_order":["1397021767","1397021769","1397021771","1397021773","1397021774","1397021776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b60b0fe4a453169e9db1bdd662c6a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3146708921151216345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_26_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c39152011f9a4d06ba5bec2e8035b46.jpg","text":"TemporaryFile(/tmp/multipartBody6959891162921514028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_26_25_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65068772cda5b81ec48742c20dd3268d.jpg","text":"TemporaryFile(/tmp/multipartBody8117513432812589769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_26_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dee42351fa201e28a89cac4899724d5.jpg","text":"TemporaryFile(/tmp/multipartBody8374558999636412090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_25_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/586842bd23ec4b3b0fdc8bf6c126fc35.jpg","text":"TemporaryFile(/tmp/multipartBody2808521330519034663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_25_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fd1a79f28908105fbf870c620c53866.jpg","text":"TemporaryFile(/tmp/multipartBody5449540285319470253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477443225,"filename":"image_30112025_04_25_54_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021771","file1":"1397021769","file0":"1397021767","file4":"1397021774","file5":"1397021776","file3":"1397021773"},"map_files_photo_id_array":[{"photo_id":"1397021776","filename":"file5"},{"photo_id":"1397021771","filename":"file2"},{"photo_id":"1397021774","filename":"file4"},{"photo_id":"1397021769","filename":"file1"},{"photo_id":"1397021767","filename":"file0"},{"photo_id":"1397021773","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021774":["hashtag1","hashtag2"]},{"1397021776":["hashtag1","hashtag2"]},{"1397021773":["hashtag1","hashtag2"]},{"1397021767":["hashtag1","hashtag2"]},{"1397021769":["hashtag1","hashtag2"]},{"1397021771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021774, 1397021776, 1397021773, 1397021767, 1397021769, 1397021771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35377526283264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:37:03.553753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_34_9636.jpg', '/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_45_10742.jpg', '/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_55_9757.jpg', '/home/pi/Desktop/images/30112025/04/26/image_30112025_04_27_04_9639.jpg', '/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_15_10539.jpg', '/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_25_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_34_9636.jpg
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_45_10742.jpg
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_26_55_9757.jpg
/home/pi/Desktop/images/30112025/04/26/image_30112025_04_27_04_9639.jpg
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_15_10539.jpg
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_25_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021780","1397021782","1397021785","1397021779","1397021778","1397021777"],"photo_ids_order":["1397021777","1397021778","1397021779","1397021780","1397021782","1397021785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/476c5fae0ab4a01f9b417af14fc13c57.jpg","text":"TemporaryFile(/tmp/multipartBody2490710694710072985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_27_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c76d0ccb4e977db591cc5376341bb65.jpg","text":"TemporaryFile(/tmp/multipartBody5652995872144505584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_27_15_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39ae579b2e8b2ece1b5834e52f047510.jpg","text":"TemporaryFile(/tmp/multipartBody387981376361664039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_27_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d38ed27c90e1b938759b423eb33eebfa.jpg","text":"TemporaryFile(/tmp/multipartBody2546025494056738313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_26_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2f9b6d5c95e958f01a6cd5d1e7b7003.jpg","text":"TemporaryFile(/tmp/multipartBody7935509527993097739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_26_45_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9972562bdd506d5d92fd5cdb1ff23bb.jpg","text":"TemporaryFile(/tmp/multipartBody1234997032323389220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477484280,"filename":"image_30112025_04_26_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021779","file1":"1397021778","file0":"1397021777","file4":"1397021782","file5":"1397021785","file3":"1397021780"},"map_files_photo_id_array":[{"photo_id":"1397021785","filename":"file5"},{"photo_id":"1397021779","filename":"file2"},{"photo_id":"1397021782","filename":"file4"},{"photo_id":"1397021778","filename":"file1"},{"photo_id":"1397021777","filename":"file0"},{"photo_id":"1397021780","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021780":["hashtag1","hashtag2"]},{"1397021782":["hashtag1","hashtag2"]},{"1397021785":["hashtag1","hashtag2"]},{"1397021779":["hashtag1","hashtag2"]},{"1397021778":["hashtag1","hashtag2"]},{"1397021777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021780, 1397021782, 1397021785, 1397021779, 1397021778, 1397021777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7792022228241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:37:42.846059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/51/image_31102025_11_51_23_2661.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_27_3745.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_32_2519.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_35_3628.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_42_3722.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_47_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_23_2661.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_27_3745.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_32_2519.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_35_3628.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_42_3722.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_47_2696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021794","1397021797","1397021791","1397021793","1397021796","1397021795"],"photo_ids_order":["1397021791","1397021793","1397021794","1397021795","1397021796","1397021797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7af19a3b70e5fcaf2f33b63483be2bae.jpg","text":"TemporaryFile(/tmp/multipartBody2978965028278274131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_32_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/30/d168213c8a528c5f9ac563054027b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody2510280944417391300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_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/30/e15aa5876a22f208b6cf9d70065512fb.jpg","text":"TemporaryFile(/tmp/multipartBody9088249956160349305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_23_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/30/1b2534fff35f63dd8260bf9b2fe387d0.jpg","text":"TemporaryFile(/tmp/multipartBody6266424903209332602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_27_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/30/e1b2bc2bb86a18f29bed85a84549ffaa.jpg","text":"TemporaryFile(/tmp/multipartBody4813405141456968768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_42_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/30/e6171865942a3d4ee7c651d1a6e1fa3a.jpg","text":"TemporaryFile(/tmp/multipartBody3433333881580593072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477523753,"filename":"image_31102025_11_51_35_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021794","file1":"1397021793","file0":"1397021791","file4":"1397021796","file5":"1397021797","file3":"1397021795"},"map_files_photo_id_array":[{"photo_id":"1397021797","filename":"file5"},{"photo_id":"1397021794","filename":"file2"},{"photo_id":"1397021796","filename":"file4"},{"photo_id":"1397021793","filename":"file1"},{"photo_id":"1397021791","filename":"file0"},{"photo_id":"1397021795","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021794":["hashtag1","hashtag2"]},{"1397021797":["hashtag1","hashtag2"]},{"1397021791":["hashtag1","hashtag2"]},{"1397021793":["hashtag1","hashtag2"]},{"1397021796":["hashtag1","hashtag2"]},{"1397021795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021794, 1397021797, 1397021791, 1397021793, 1397021796, 1397021795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3154833316803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:38:22.051117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_34_9694.jpg', '/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_45_10599.jpg', '/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_55_9729.jpg', '/home/pi/Desktop/images/30112025/04/27/image_30112025_04_28_04_9746.jpg', '/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_15_10635.jpg', '/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_25_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_34_9694.jpg
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_45_10599.jpg
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_27_55_9729.jpg
/home/pi/Desktop/images/30112025/04/27/image_30112025_04_28_04_9746.jpg
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_15_10635.jpg
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_25_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021813","1397021810","1397021806","1397021800","1397021818","1397021803"],"photo_ids_order":["1397021800","1397021803","1397021806","1397021810","1397021813","1397021818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e136b78598c1c7b627856865ca8a2ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2692252898000280942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_28_15_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2e391f0eb0972017f91c3b5fd96119e.jpg","text":"TemporaryFile(/tmp/multipartBody5753344731690013569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_28_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1108f2634acffc71ba3c3a9bdffd2f56.jpg","text":"TemporaryFile(/tmp/multipartBody618439594604036826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_27_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/493ce2106bce7bb4b9929e0daaea2a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5724013248830489152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_27_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86b8f6f1baa4fa9244d911ba506cc118.jpg","text":"TemporaryFile(/tmp/multipartBody2530992172494452723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_28_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbd82662971593690b08ef3cb8eab570.jpg","text":"TemporaryFile(/tmp/multipartBody4183121531079203309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477562775,"filename":"image_30112025_04_27_45_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021806","file1":"1397021803","file0":"1397021800","file4":"1397021813","file5":"1397021818","file3":"1397021810"},"map_files_photo_id_array":[{"photo_id":"1397021818","filename":"file5"},{"photo_id":"1397021806","filename":"file2"},{"photo_id":"1397021813","filename":"file4"},{"photo_id":"1397021803","filename":"file1"},{"photo_id":"1397021800","filename":"file0"},{"photo_id":"1397021810","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021813":["hashtag1","hashtag2"]},{"1397021810":["hashtag1","hashtag2"]},{"1397021806":["hashtag1","hashtag2"]},{"1397021800":["hashtag1","hashtag2"]},{"1397021818":["hashtag1","hashtag2"]},{"1397021803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021813, 1397021810, 1397021806, 1397021800, 1397021818, 1397021803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73702645301819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:39:03.168747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_34_9692.jpg', '/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_45_10718.jpg', '/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_55_9695.jpg', '/home/pi/Desktop/images/30112025/04/28/image_30112025_04_29_04_9595.jpg', '/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_14_9835.jpg', '/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_25_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_34_9692.jpg
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_45_10718.jpg
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_28_55_9695.jpg
/home/pi/Desktop/images/30112025/04/28/image_30112025_04_29_04_9595.jpg
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_14_9835.jpg
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_25_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021822","1397021825","1397021830","1397021824","1397021827","1397021823"],"photo_ids_order":["1397021822","1397021823","1397021824","1397021825","1397021827","1397021830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16010600fc8946a26aab5298c57b2b57.jpg","text":"TemporaryFile(/tmp/multipartBody1972521527609868817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_28_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1db9edd16fc735e56298fd4681c75bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8585741132833257403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_29_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74e7ada49203bb0a7485ea27a3ebf92b.jpg","text":"TemporaryFile(/tmp/multipartBody3191574524785647786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_29_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99f89564ae8649b76bc6708e1c35d5db.jpg","text":"TemporaryFile(/tmp/multipartBody2457718258519434647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_28_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31d4b40e06dc1636c8446d0c36c43e21.jpg","text":"TemporaryFile(/tmp/multipartBody8962615305078919240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_29_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b8ae6ac197698e8be28df70c66247de.jpg","text":"TemporaryFile(/tmp/multipartBody6132417713529505533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477604106,"filename":"image_30112025_04_28_45_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021824","file1":"1397021823","file0":"1397021822","file4":"1397021827","file5":"1397021830","file3":"1397021825"},"map_files_photo_id_array":[{"photo_id":"1397021830","filename":"file5"},{"photo_id":"1397021824","filename":"file2"},{"photo_id":"1397021827","filename":"file4"},{"photo_id":"1397021823","filename":"file1"},{"photo_id":"1397021822","filename":"file0"},{"photo_id":"1397021825","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021822":["hashtag1","hashtag2"]},{"1397021825":["hashtag1","hashtag2"]},{"1397021830":["hashtag1","hashtag2"]},{"1397021824":["hashtag1","hashtag2"]},{"1397021827":["hashtag1","hashtag2"]},{"1397021823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021822, 1397021825, 1397021830, 1397021824, 1397021827, 1397021823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.554627656936646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:39:42.213789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/51/image_31102025_11_51_50_2700.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_53_3538.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_56_2635.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_59_2664.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_02_3606.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_05_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_50_2700.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_53_3538.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_56_2635.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_59_2664.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_02_3606.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_05_2642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8350389003753662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:40:02.757473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_34_9644.jpg', '/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_45_10555.jpg', '/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_55_9798.jpg', '/home/pi/Desktop/images/30112025/04/29/image_30112025_04_30_04_9661.jpg', '/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_14_9815.jpg', '/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_25_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_34_9644.jpg
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_45_10555.jpg
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_29_55_9798.jpg
/home/pi/Desktop/images/30112025/04/29/image_30112025_04_30_04_9661.jpg
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_14_9815.jpg
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_25_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021843","1397021842","1397021851","1397021847","1397021841","1397021844"],"photo_ids_order":["1397021841","1397021842","1397021843","1397021844","1397021847","1397021851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcf856c32906e1c4dada0efcd8fc1633.jpg","text":"TemporaryFile(/tmp/multipartBody7311682106962957764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_29_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/026329c2ed44eca2ed44269015fc6981.jpg","text":"TemporaryFile(/tmp/multipartBody3250718292009939930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_29_45_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d50fae332abb4211ebdf4862cc2882b.jpg","text":"TemporaryFile(/tmp/multipartBody4546706989310625671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_30_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54b09aac7fe0007ddc96946667de996a.jpg","text":"TemporaryFile(/tmp/multipartBody2011081148073331799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_30_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34b9d3f7ec1c6077e9e276560c46d561.jpg","text":"TemporaryFile(/tmp/multipartBody7309399784324349897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_29_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/948cd91a95aa8ce2a10a4146e72af34d.jpg","text":"TemporaryFile(/tmp/multipartBody1420329549939071097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477663525,"filename":"image_30112025_04_30_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021843","file1":"1397021842","file0":"1397021841","file4":"1397021847","file5":"1397021851","file3":"1397021844"},"map_files_photo_id_array":[{"photo_id":"1397021851","filename":"file5"},{"photo_id":"1397021843","filename":"file2"},{"photo_id":"1397021847","filename":"file4"},{"photo_id":"1397021842","filename":"file1"},{"photo_id":"1397021841","filename":"file0"},{"photo_id":"1397021844","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021843":["hashtag1","hashtag2"]},{"1397021842":["hashtag1","hashtag2"]},{"1397021851":["hashtag1","hashtag2"]},{"1397021847":["hashtag1","hashtag2"]},{"1397021841":["hashtag1","hashtag2"]},{"1397021844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021843, 1397021842, 1397021851, 1397021847, 1397021841, 1397021844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2522451877594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:40:42.428807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/51/image_31102025_11_51_50_2700.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_53_3538.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_56_2635.jpg', '/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_59_2664.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_02_3606.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_05_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_50_2700.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_53_3538.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_56_2635.jpg
/home/pi/Desktop/images/31102025/11/51/image_31102025_11_51_59_2664.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_02_3606.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_05_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021861","1397021860","1397021857","1397021856","1397021859","1397021858"],"photo_ids_order":["1397021856","1397021857","1397021858","1397021859","1397021860","1397021861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7eb0f86930526fd15bcefcb86cd4113.jpg","text":"TemporaryFile(/tmp/multipartBody3779948176983853735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_52_05_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/30/dbe9a322274f51aebd525764336fe5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7057164931618554412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_52_02_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c855bfab88c9b7c8ca3116ce46c6b92.jpg","text":"TemporaryFile(/tmp/multipartBody788239093128853731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_51_53_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/30/00c9bdcdfa3f248dd06deb73dbe355fb.jpg","text":"TemporaryFile(/tmp/multipartBody501857472441670593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_51_50_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f090d78920da529227c622b357fc0d56.jpg","text":"TemporaryFile(/tmp/multipartBody1160004574362420073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_51_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/30/79d1fe3bc2ba732bf861b657de6c8e97.jpg","text":"TemporaryFile(/tmp/multipartBody8006578840476486173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477703195,"filename":"image_31102025_11_51_56_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021858","file1":"1397021857","file0":"1397021856","file4":"1397021860","file5":"1397021861","file3":"1397021859"},"map_files_photo_id_array":[{"photo_id":"1397021861","filename":"file5"},{"photo_id":"1397021858","filename":"file2"},{"photo_id":"1397021860","filename":"file4"},{"photo_id":"1397021857","filename":"file1"},{"photo_id":"1397021856","filename":"file0"},{"photo_id":"1397021859","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021861":["hashtag1","hashtag2"]},{"1397021860":["hashtag1","hashtag2"]},{"1397021857":["hashtag1","hashtag2"]},{"1397021856":["hashtag1","hashtag2"]},{"1397021859":["hashtag1","hashtag2"]},{"1397021858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021861, 1397021860, 1397021857, 1397021856, 1397021859, 1397021858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05052471160889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:41:22.553847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_35_9765.jpg', '/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_44_9626.jpg', '/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_54_9841.jpg', '/home/pi/Desktop/images/30112025/04/30/image_30112025_04_31_05_10785.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_14_9288.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_35_9765.jpg
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_44_9626.jpg
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_30_54_9841.jpg
/home/pi/Desktop/images/30112025/04/30/image_30112025_04_31_05_10785.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_14_9288.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_25_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021873","1397021878","1397021865","1397021868","1397021876","1397021870"],"photo_ids_order":["1397021865","1397021868","1397021870","1397021873","1397021876","1397021878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/868ed282d5ac0d4d892e633e2d11cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody8608019488707697339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_31_05_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd057397d59d818d6047238708c75c3e.jpg","text":"TemporaryFile(/tmp/multipartBody7435246566302794787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_31_25_10357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bc093a52b5cb89804e52201473ce145.jpg","text":"TemporaryFile(/tmp/multipartBody1921698157954123683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_30_35_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/420a44bfc0c191a8f92e0ec1f08545c0.jpg","text":"TemporaryFile(/tmp/multipartBody1783606758669982366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_30_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb85e0271924907dbdb6e4f7995fc8d5.jpg","text":"TemporaryFile(/tmp/multipartBody6847687512014561689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_31_14_9288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/179e51e8053036c6dfac53171c0b7010.jpg","text":"TemporaryFile(/tmp/multipartBody5327065609520971619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477743285,"filename":"image_30112025_04_30_54_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021870","file1":"1397021868","file0":"1397021865","file4":"1397021876","file5":"1397021878","file3":"1397021873"},"map_files_photo_id_array":[{"photo_id":"1397021878","filename":"file5"},{"photo_id":"1397021870","filename":"file2"},{"photo_id":"1397021876","filename":"file4"},{"photo_id":"1397021868","filename":"file1"},{"photo_id":"1397021865","filename":"file0"},{"photo_id":"1397021873","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021873":["hashtag1","hashtag2"]},{"1397021878":["hashtag1","hashtag2"]},{"1397021865":["hashtag1","hashtag2"]},{"1397021868":["hashtag1","hashtag2"]},{"1397021876":["hashtag1","hashtag2"]},{"1397021870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021873, 1397021878, 1397021865, 1397021868, 1397021876, 1397021870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6781439781189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:42:03.212342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_35_10266.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_45_9866.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_55_9877.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_32_04_9705.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_15_10674.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_25_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_35_10266.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_45_9866.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_55_9877.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_32_04_9705.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_15_10674.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_25_9786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6203961372375488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:42:12.716908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_03_3690.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_06_2720.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_09_2684.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_12_3603.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_15_2765.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_18_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_03_3690.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_06_2720.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_09_2684.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_12_3603.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_15_2765.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_18_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021892","1397021895","1397021889","1397021897","1397021882","1397021885"],"photo_ids_order":["1397021882","1397021885","1397021889","1397021892","1397021895","1397021897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f0af7be9e35fbfed48f67f562eb3f5c.jpg","text":"TemporaryFile(/tmp/multipartBody287639036146947871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_12_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/30/4b2f817b4a1a59e9b2c3948a433c39f8.jpg","text":"TemporaryFile(/tmp/multipartBody2720412727733210703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_15_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/30/3c8797205338187f1b2c8ce0ed0ef6a8.jpg","text":"TemporaryFile(/tmp/multipartBody1890215758734025880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_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/30/ae8c53de50df4c35f88b857c1cf8c36a.jpg","text":"TemporaryFile(/tmp/multipartBody743395294239283121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_18_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/30/b61ef659e4d95b6088b10cf3c769cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody4038596961729877606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_03_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/30/9f5dc8298ecbb5a86d7a56bff6c2ea47.jpg","text":"TemporaryFile(/tmp/multipartBody8620515254247472672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477794500,"filename":"image_25112025_19_45_06_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021889","file1":"1397021885","file0":"1397021882","file4":"1397021895","file5":"1397021897","file3":"1397021892"},"map_files_photo_id_array":[{"photo_id":"1397021897","filename":"file5"},{"photo_id":"1397021889","filename":"file2"},{"photo_id":"1397021895","filename":"file4"},{"photo_id":"1397021885","filename":"file1"},{"photo_id":"1397021882","filename":"file0"},{"photo_id":"1397021892","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021892":["hashtag1","hashtag2"]},{"1397021895":["hashtag1","hashtag2"]},{"1397021889":["hashtag1","hashtag2"]},{"1397021897":["hashtag1","hashtag2"]},{"1397021882":["hashtag1","hashtag2"]},{"1397021885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021892, 1397021895, 1397021889, 1397021897, 1397021882, 1397021885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79875445365906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:43:02.677964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_35_10266.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_45_9866.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_55_9877.jpg', '/home/pi/Desktop/images/30112025/04/31/image_30112025_04_32_04_9705.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_15_10674.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_25_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_35_10266.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_45_9866.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_31_55_9877.jpg
/home/pi/Desktop/images/30112025/04/31/image_30112025_04_32_04_9705.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_15_10674.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_25_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021903","1397021906","1397021911","1397021905","1397021908","1397021904"],"photo_ids_order":["1397021903","1397021904","1397021905","1397021906","1397021908","1397021911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7f3d48f1f4cc14ea47776fccdbcd594.jpg","text":"TemporaryFile(/tmp/multipartBody2541316472185926089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_31_35_10266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4564f94856c9eff21ec80dd325463c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6667793353993182900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_32_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/956e2838ef11cabd50f0540035b4b436.jpg","text":"TemporaryFile(/tmp/multipartBody3441991442527335311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_32_25_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1f895bb0c2ff0419ba81fc2c8b32d74.jpg","text":"TemporaryFile(/tmp/multipartBody3959316411158010858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_31_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d51040085133cadc718b70d2595b067.jpg","text":"TemporaryFile(/tmp/multipartBody8387601658323072047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_32_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aba403578ab2beb5fd895b419391b6e6.jpg","text":"TemporaryFile(/tmp/multipartBody7396738881323601263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477843428,"filename":"image_30112025_04_31_45_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021905","file1":"1397021904","file0":"1397021903","file4":"1397021908","file5":"1397021911","file3":"1397021906"},"map_files_photo_id_array":[{"photo_id":"1397021911","filename":"file5"},{"photo_id":"1397021905","filename":"file2"},{"photo_id":"1397021908","filename":"file4"},{"photo_id":"1397021904","filename":"file1"},{"photo_id":"1397021903","filename":"file0"},{"photo_id":"1397021906","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021903":["hashtag1","hashtag2"]},{"1397021906":["hashtag1","hashtag2"]},{"1397021911":["hashtag1","hashtag2"]},{"1397021905":["hashtag1","hashtag2"]},{"1397021908":["hashtag1","hashtag2"]},{"1397021904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021903, 1397021906, 1397021911, 1397021905, 1397021908, 1397021904)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.24156451225281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:44:03.398179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_35_9721.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_44_9757.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_55_10596.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_05_10043.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_15_9728.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_35_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_35_9721.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_44_9757.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_55_10596.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_05_10043.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_15_9728.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_35_9755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.640040397644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:44:12.599740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_21_2629.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_24_3630.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_27_2517.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_30_3650.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_48_3631.jpg', '/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_51_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_21_2629.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_24_3630.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_27_2517.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_30_3650.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_48_3631.jpg
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_45_51_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021927","1397021924","1397021941","1397021934","1397021937","1397021931"],"photo_ids_order":["1397021924","1397021927","1397021931","1397021934","1397021937","1397021941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af6bc634104af552dd9e205b18bf5a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5588357141468172641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_24_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7702971c34fe401e32c193d0415574dc.jpg","text":"TemporaryFile(/tmp/multipartBody8170281337244947224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_21_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6f1982b50597982138d13a3fdbec3d6.jpg","text":"TemporaryFile(/tmp/multipartBody8261728658308933895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_51_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/30/b559cf210e59beabf168aa309376021f.jpg","text":"TemporaryFile(/tmp/multipartBody1977076649670623275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_30_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30df70c51d2d190bc3844f4fff33f360.jpg","text":"TemporaryFile(/tmp/multipartBody3896507869266877604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_48_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/30/d2a06fb5477a5b22bc7edf009d0bcd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4693518855835725230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477914570,"filename":"image_25112025_19_45_27_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021931","file1":"1397021927","file0":"1397021924","file4":"1397021937","file5":"1397021941","file3":"1397021934"},"map_files_photo_id_array":[{"photo_id":"1397021941","filename":"file5"},{"photo_id":"1397021931","filename":"file2"},{"photo_id":"1397021937","filename":"file4"},{"photo_id":"1397021927","filename":"file1"},{"photo_id":"1397021924","filename":"file0"},{"photo_id":"1397021934","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397021927":["hashtag1","hashtag2"]},{"1397021924":["hashtag1","hashtag2"]},{"1397021941":["hashtag1","hashtag2"]},{"1397021934":["hashtag1","hashtag2"]},{"1397021937":["hashtag1","hashtag2"]},{"1397021931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397021927, 1397021924, 1397021941, 1397021934, 1397021937, 1397021931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.379804611206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:45:02.671327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_35_9721.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_44_9757.jpg', '/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_55_10596.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_05_10043.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_15_9728.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_35_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_35_9721.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_44_9757.jpg
/home/pi/Desktop/images/30112025/04/32/image_30112025_04_32_55_10596.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_05_10043.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_15_9728.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_35_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021945","1397021948","1397021944","1397021952","1397021946","1397021943"],"photo_ids_order":["1397021943","1397021944","1397021945","1397021946","1397021948","1397021952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2a55bab43e722e43ae738b04b8bc186.jpg","text":"TemporaryFile(/tmp/multipartBody1249523474790817975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_32_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/812f111cccb5cc174ac045c1791bc431.jpg","text":"TemporaryFile(/tmp/multipartBody8820207191951958690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_33_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7165876b4f9fb5530f3b1628c671e45e.jpg","text":"TemporaryFile(/tmp/multipartBody6723132613496431320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_32_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2320ca4ad7fa89d727f619eeaee3a930.jpg","text":"TemporaryFile(/tmp/multipartBody1528444383072216647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_33_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65c11c2d6826f0fcd1bac5ab2e023469.jpg","text":"TemporaryFile(/tmp/multipartBody4192529382500255859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_33_05_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bf99903d860280ca5695d02603c8383.jpg","text":"TemporaryFile(/tmp/multipartBody8528492610840914078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764477963414,"filename":"image_30112025_04_32_35_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021945","file1":"1397021944","file0":"1397021943","file4":"1397021948","file5":"1397021952","file3":"1397021946"},"map_files_photo_id_array":[{"photo_id":"1397021952","filename":"file5"},{"photo_id":"1397021945","filename":"file2"},{"photo_id":"1397021948","filename":"file4"},{"photo_id":"1397021944","filename":"file1"},{"photo_id":"1397021943","filename":"file0"},{"photo_id":"1397021946","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021945":["hashtag1","hashtag2"]},{"1397021948":["hashtag1","hashtag2"]},{"1397021944":["hashtag1","hashtag2"]},{"1397021952":["hashtag1","hashtag2"]},{"1397021946":["hashtag1","hashtag2"]},{"1397021943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021945, 1397021948, 1397021944, 1397021952, 1397021946, 1397021943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.290825605392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:45:41.870874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/52/image_31102025_11_52_09_3586.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_11_2667.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_14_2701.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_17_2905.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_20_3646.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_29_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_09_3586.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_11_2667.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_14_2701.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_17_2905.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_20_3646.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_29_3746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021960","1397021962","1397021959","1397021961","1397021958","1397021963"],"photo_ids_order":["1397021958","1397021959","1397021960","1397021961","1397021962","1397021963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97e8f2950c3141a187ce288624e43586.jpg","text":"TemporaryFile(/tmp/multipartBody3546148684307721987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_14_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b55be59f0d6b0dbe700496b0840e2add.jpg","text":"TemporaryFile(/tmp/multipartBody1670795586811897680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_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/30/68a8af5d4bf3719ae7f51c79c3e371aa.jpg","text":"TemporaryFile(/tmp/multipartBody8073415590053291480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_11_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/30/49ec8720fd12873fe0cd56f5d0323ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8376669092477907539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_17_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/30/40f2ab2e95bf78011471212f131a8897.jpg","text":"TemporaryFile(/tmp/multipartBody5797793191663417292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_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/30/a70860c0a171891d5e8f59cde6446a53.jpg","text":"TemporaryFile(/tmp/multipartBody4781771509726607234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478002780,"filename":"image_31102025_11_52_29_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021960","file1":"1397021959","file0":"1397021958","file4":"1397021962","file5":"1397021963","file3":"1397021961"},"map_files_photo_id_array":[{"photo_id":"1397021963","filename":"file5"},{"photo_id":"1397021960","filename":"file2"},{"photo_id":"1397021962","filename":"file4"},{"photo_id":"1397021959","filename":"file1"},{"photo_id":"1397021958","filename":"file0"},{"photo_id":"1397021961","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397021960":["hashtag1","hashtag2"]},{"1397021962":["hashtag1","hashtag2"]},{"1397021959":["hashtag1","hashtag2"]},{"1397021961":["hashtag1","hashtag2"]},{"1397021958":["hashtag1","hashtag2"]},{"1397021963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397021960, 1397021962, 1397021959, 1397021961, 1397021958, 1397021963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29170751571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:46:22.042812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_44_9579.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_54_9731.jpg', '/home/pi/Desktop/images/30112025/04/33/image_30112025_04_34_05_10682.jpg', '/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_14_9599.jpg', '/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_24_9748.jpg', '/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_35_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_44_9579.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_33_54_9731.jpg
/home/pi/Desktop/images/30112025/04/33/image_30112025_04_34_05_10682.jpg
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_14_9599.jpg
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_24_9748.jpg
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_35_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021969","1397021977","1397021979","1397021973","1397021967","1397021975"],"photo_ids_order":["1397021967","1397021969","1397021973","1397021975","1397021977","1397021979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45fe19bcbcee44c5e957b798f4604758.jpg","text":"TemporaryFile(/tmp/multipartBody938448574628644115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_33_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c13525b1eafa7ebf5264855f232d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7281622209653857303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_34_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8df89e108c6d66dcd2572595682bb493.jpg","text":"TemporaryFile(/tmp/multipartBody35614939417788496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_34_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04b716c366765faecbd3a85d774188fc.jpg","text":"TemporaryFile(/tmp/multipartBody1830340008782848905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_34_05_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6be7eca424cb7a9b4b628ddfdc970a90.jpg","text":"TemporaryFile(/tmp/multipartBody7653963626710921995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_33_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31ca5bec0e0c052f2b0bb62cdca49537.jpg","text":"TemporaryFile(/tmp/multipartBody2618792107404171117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478042737,"filename":"image_30112025_04_34_14_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021973","file1":"1397021969","file0":"1397021967","file4":"1397021977","file5":"1397021979","file3":"1397021975"},"map_files_photo_id_array":[{"photo_id":"1397021979","filename":"file5"},{"photo_id":"1397021973","filename":"file2"},{"photo_id":"1397021977","filename":"file4"},{"photo_id":"1397021969","filename":"file1"},{"photo_id":"1397021967","filename":"file0"},{"photo_id":"1397021975","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021969":["hashtag1","hashtag2"]},{"1397021977":["hashtag1","hashtag2"]},{"1397021979":["hashtag1","hashtag2"]},{"1397021973":["hashtag1","hashtag2"]},{"1397021967":["hashtag1","hashtag2"]},{"1397021975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021969, 1397021977, 1397021979, 1397021973, 1397021967, 1397021975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.178372621536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:47:02.722166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_44_9682.jpg', '/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_55_10558.jpg', '/home/pi/Desktop/images/30112025/04/34/image_30112025_04_35_04_9601.jpg', '/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_14_9744.jpg', '/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_25_10574.jpg', '/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_34_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_44_9682.jpg
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_34_55_10558.jpg
/home/pi/Desktop/images/30112025/04/34/image_30112025_04_35_04_9601.jpg
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_14_9744.jpg
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_25_10574.jpg
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_34_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397021986","1397021989","1397021980","1397021983","1397021982","1397021984"],"photo_ids_order":["1397021980","1397021982","1397021983","1397021984","1397021986","1397021989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ac2267d6b069917709bd71b4c9a04e6.jpg","text":"TemporaryFile(/tmp/multipartBody7300110152677167969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_35_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df305de95510cc8e58b7c11a0780462a.jpg","text":"TemporaryFile(/tmp/multipartBody823602992786865696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_35_34_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b07913b22ecb2b0dafed4ee2b7ffad55.jpg","text":"TemporaryFile(/tmp/multipartBody656434406655720455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_34_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/163a2e3bb69428a52e5e722065cf44d3.jpg","text":"TemporaryFile(/tmp/multipartBody598940698920954882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_35_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/689206a69e27bacfa9e3718480a2f2db.jpg","text":"TemporaryFile(/tmp/multipartBody8577775583472504651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_34_55_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc18cc72e599e065ee57fdad30501b06.jpg","text":"TemporaryFile(/tmp/multipartBody6837338452818657602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478083517,"filename":"image_30112025_04_35_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397021983","file1":"1397021982","file0":"1397021980","file4":"1397021986","file5":"1397021989","file3":"1397021984"},"map_files_photo_id_array":[{"photo_id":"1397021989","filename":"file5"},{"photo_id":"1397021983","filename":"file2"},{"photo_id":"1397021986","filename":"file4"},{"photo_id":"1397021982","filename":"file1"},{"photo_id":"1397021980","filename":"file0"},{"photo_id":"1397021984","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397021986":["hashtag1","hashtag2"]},{"1397021989":["hashtag1","hashtag2"]},{"1397021980":["hashtag1","hashtag2"]},{"1397021983":["hashtag1","hashtag2"]},{"1397021982":["hashtag1","hashtag2"]},{"1397021984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397021986, 1397021989, 1397021980, 1397021983, 1397021982, 1397021984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30989384651184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:47:42.144244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/52/image_31102025_11_52_32_2818.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_38_3658.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_41_2812.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_44_2611.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_47_2784.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_50_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_32_2818.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_38_3658.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_41_2812.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_44_2611.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_47_2784.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_50_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":["1397022002","1397022001","1397021997","1397022003","1397022000","1397021999"],"photo_ids_order":["1397021997","1397021999","1397022000","1397022001","1397022002","1397022003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d009cf4954624b81a9a10ea05d43a41e.jpg","text":"TemporaryFile(/tmp/multipartBody6243658818509657898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_47_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/30/3e7d62cb4662b17d20f4be27137b140b.jpg","text":"TemporaryFile(/tmp/multipartBody5870755694139435201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_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/30/dd31e6ac9ef109d6abd92e3a76558362.jpg","text":"TemporaryFile(/tmp/multipartBody5327153996122612511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_32_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/30/c76279f566372279a707a0efbbc80090.jpg","text":"TemporaryFile(/tmp/multipartBody7678669028227600072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_50_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/30/ae4f546de8f978286b1f6058cc783739.jpg","text":"TemporaryFile(/tmp/multipartBody3540396304159593422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_41_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/30/5c4cba9b889cd84a095462b3e8141aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6018072938298641762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478123119,"filename":"image_31102025_11_52_38_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022000","file1":"1397021999","file0":"1397021997","file4":"1397022002","file5":"1397022003","file3":"1397022001"},"map_files_photo_id_array":[{"photo_id":"1397022003","filename":"file5"},{"photo_id":"1397022000","filename":"file2"},{"photo_id":"1397022002","filename":"file4"},{"photo_id":"1397021999","filename":"file1"},{"photo_id":"1397021997","filename":"file0"},{"photo_id":"1397022001","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397022002":["hashtag1","hashtag2"]},{"1397022001":["hashtag1","hashtag2"]},{"1397021997":["hashtag1","hashtag2"]},{"1397022003":["hashtag1","hashtag2"]},{"1397022000":["hashtag1","hashtag2"]},{"1397021999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397022002, 1397022001, 1397021997, 1397022003, 1397022000, 1397021999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.783390522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:48:22.440058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_45_10636.jpg', '/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_55_9829.jpg', '/home/pi/Desktop/images/30112025/04/35/image_30112025_04_36_05_9924.jpg', '/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_14_9649.jpg', '/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_25_10609.jpg', '/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_35_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_45_10636.jpg
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_35_55_9829.jpg
/home/pi/Desktop/images/30112025/04/35/image_30112025_04_36_05_9924.jpg
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_14_9649.jpg
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_25_10609.jpg
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_35_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022010","1397022013","1397022007","1397022016","1397022015","1397022018"],"photo_ids_order":["1397022007","1397022010","1397022013","1397022015","1397022016","1397022018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f066eaa7bf68e6ad1467c511d4bdcd5.jpg","text":"TemporaryFile(/tmp/multipartBody2940005193813802613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_35_55_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efaf26323773cd02f7306ffaf41cf22b.jpg","text":"TemporaryFile(/tmp/multipartBody7835772446613287452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_36_05_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de72cb42138210511f9e008c39d544b4.jpg","text":"TemporaryFile(/tmp/multipartBody6435567707270960231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_35_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d8ea14bf09d83293d3963287b236b5.jpg","text":"TemporaryFile(/tmp/multipartBody8987231604854196323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_36_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/504175da836a5537cff3f299d23e338a.jpg","text":"TemporaryFile(/tmp/multipartBody8121595013154518434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_36_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8535e0b2f1c84048ce06843c5b55b844.jpg","text":"TemporaryFile(/tmp/multipartBody3373959649114701701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478163146,"filename":"image_30112025_04_36_35_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022013","file1":"1397022010","file0":"1397022007","file4":"1397022016","file5":"1397022018","file3":"1397022015"},"map_files_photo_id_array":[{"photo_id":"1397022018","filename":"file5"},{"photo_id":"1397022013","filename":"file2"},{"photo_id":"1397022016","filename":"file4"},{"photo_id":"1397022010","filename":"file1"},{"photo_id":"1397022007","filename":"file0"},{"photo_id":"1397022015","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022010":["hashtag1","hashtag2"]},{"1397022013":["hashtag1","hashtag2"]},{"1397022007":["hashtag1","hashtag2"]},{"1397022016":["hashtag1","hashtag2"]},{"1397022015":["hashtag1","hashtag2"]},{"1397022018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022010, 1397022013, 1397022007, 1397022016, 1397022015, 1397022018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83597779273987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:49:03.609116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_44_9517.jpg', '/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_55_10694.jpg', '/home/pi/Desktop/images/30112025/04/36/image_30112025_04_37_05_9707.jpg', '/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_15_9941.jpg', '/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_24_9697.jpg', '/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_35_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_44_9517.jpg
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_36_55_10694.jpg
/home/pi/Desktop/images/30112025/04/36/image_30112025_04_37_05_9707.jpg
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_15_9941.jpg
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_24_9697.jpg
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_35_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022029","1397022020","1397022023","1397022022","1397022021","1397022026"],"photo_ids_order":["1397022020","1397022021","1397022022","1397022023","1397022026","1397022029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37b3f4372b7dcbe7af4f9b84b0c200d6.jpg","text":"TemporaryFile(/tmp/multipartBody3577197082465747947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_37_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c499b1eede5f5cc6fd6635f6816abd4.jpg","text":"TemporaryFile(/tmp/multipartBody6805606382900492293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_36_44_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/526c575e3b416da9c01d91a812fb00b1.jpg","text":"TemporaryFile(/tmp/multipartBody7717767182605817521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_37_15_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ebcc27773c6147400bc51a52b2067257.jpg","text":"TemporaryFile(/tmp/multipartBody3037400393246740771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_37_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08723c3b01d67ddc311cc373823c672f.jpg","text":"TemporaryFile(/tmp/multipartBody3955199643958419806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_36_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d95d7ffdbe802122dde2b1d2007a3d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8028493805359591941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478204483,"filename":"image_30112025_04_37_24_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022022","file1":"1397022021","file0":"1397022020","file4":"1397022026","file5":"1397022029","file3":"1397022023"},"map_files_photo_id_array":[{"photo_id":"1397022029","filename":"file5"},{"photo_id":"1397022022","filename":"file2"},{"photo_id":"1397022026","filename":"file4"},{"photo_id":"1397022021","filename":"file1"},{"photo_id":"1397022020","filename":"file0"},{"photo_id":"1397022023","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022029":["hashtag1","hashtag2"]},{"1397022020":["hashtag1","hashtag2"]},{"1397022023":["hashtag1","hashtag2"]},{"1397022022":["hashtag1","hashtag2"]},{"1397022021":["hashtag1","hashtag2"]},{"1397022026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022029, 1397022020, 1397022023, 1397022022, 1397022021, 1397022026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39708662033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:49:42.622393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/52/image_31102025_11_52_53_2757.jpg', '/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_59_3690.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_02_2675.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_05_2625.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_08_3589.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_11_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_53_2757.jpg
/home/pi/Desktop/images/31102025/11/52/image_31102025_11_52_59_3690.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_02_2675.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_05_2625.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_08_3589.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_11_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022041","1397022040","1397022043","1397022042","1397022044","1397022038"],"photo_ids_order":["1397022038","1397022040","1397022041","1397022042","1397022043","1397022044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9889ddc2c3ee5626226a6c023fa4b064.jpg","text":"TemporaryFile(/tmp/multipartBody4974193332278468874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_53_02_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8be097d2f4f810298fb7f961f32dd930.jpg","text":"TemporaryFile(/tmp/multipartBody4563805757491463637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_52_59_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0f8dce29f7aa2ef2a056e69eeb82489.jpg","text":"TemporaryFile(/tmp/multipartBody6193450615773658773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_53_08_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74f97cdcbf3b6ee7f13c6e173aade5c3.jpg","text":"TemporaryFile(/tmp/multipartBody8199511943399144992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_53_05_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c92082acca71adfc5099b16fec2d1eda.jpg","text":"TemporaryFile(/tmp/multipartBody4293312080620779596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_53_11_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/30/c0716f0214ec3504f5c7538f72259b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4731630752879167844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478243541,"filename":"image_31102025_11_52_53_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022041","file1":"1397022040","file0":"1397022038","file4":"1397022043","file5":"1397022044","file3":"1397022042"},"map_files_photo_id_array":[{"photo_id":"1397022044","filename":"file5"},{"photo_id":"1397022041","filename":"file2"},{"photo_id":"1397022043","filename":"file4"},{"photo_id":"1397022040","filename":"file1"},{"photo_id":"1397022038","filename":"file0"},{"photo_id":"1397022042","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397022041":["hashtag1","hashtag2"]},{"1397022040":["hashtag1","hashtag2"]},{"1397022043":["hashtag1","hashtag2"]},{"1397022042":["hashtag1","hashtag2"]},{"1397022044":["hashtag1","hashtag2"]},{"1397022038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397022041, 1397022040, 1397022043, 1397022042, 1397022044, 1397022038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78729224205017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:50:22.790991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_45_9730.jpg', '/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_54_9709.jpg', '/home/pi/Desktop/images/30112025/04/37/image_30112025_04_38_04_10002.jpg', '/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_15_10607.jpg', '/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_25_9650.jpg', '/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_45_9730.jpg
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_37_54_9709.jpg
/home/pi/Desktop/images/30112025/04/37/image_30112025_04_38_04_10002.jpg
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_15_10607.jpg
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_25_9650.jpg
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_34_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022055","1397022049","1397022052","1397022062","1397022059","1397022047"],"photo_ids_order":["1397022047","1397022049","1397022052","1397022055","1397022059","1397022062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83c8d7bbea7d537955e9b77d8f440b37.jpg","text":"TemporaryFile(/tmp/multipartBody4826890539210634051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_38_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d325204d7ff7575ca96f0f71703e16c.jpg","text":"TemporaryFile(/tmp/multipartBody5653539865589178621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_37_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b566ec0092c79d9a3973479aa61b071.jpg","text":"TemporaryFile(/tmp/multipartBody8260593992980056241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_38_04_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7023a2ff9afec17e184ad76f4f38246e.jpg","text":"TemporaryFile(/tmp/multipartBody3998502437219420573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_38_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40c18588a45576ee4424aa948d671e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3630000560665966987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_38_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f19c5d2ee7d723212a85e82a644435a.jpg","text":"TemporaryFile(/tmp/multipartBody5179376607546553648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478283481,"filename":"image_30112025_04_37_45_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022052","file1":"1397022049","file0":"1397022047","file4":"1397022059","file5":"1397022062","file3":"1397022055"},"map_files_photo_id_array":[{"photo_id":"1397022062","filename":"file5"},{"photo_id":"1397022052","filename":"file2"},{"photo_id":"1397022059","filename":"file4"},{"photo_id":"1397022049","filename":"file1"},{"photo_id":"1397022047","filename":"file0"},{"photo_id":"1397022055","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022055":["hashtag1","hashtag2"]},{"1397022049":["hashtag1","hashtag2"]},{"1397022052":["hashtag1","hashtag2"]},{"1397022062":["hashtag1","hashtag2"]},{"1397022059":["hashtag1","hashtag2"]},{"1397022047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022055, 1397022049, 1397022052, 1397022062, 1397022059, 1397022047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02700972557068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:51:02.700032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_45_10740.jpg', '/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_55_9637.jpg', '/home/pi/Desktop/images/30112025/04/38/image_30112025_04_39_04_9841.jpg', '/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_14_9588.jpg', '/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_25_10736.jpg', '/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_45_10740.jpg
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_38_55_9637.jpg
/home/pi/Desktop/images/30112025/04/38/image_30112025_04_39_04_9841.jpg
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_14_9588.jpg
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_25_10736.jpg
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_34_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022073","1397022076","1397022070","1397022069","1397022071","1397022068"],"photo_ids_order":["1397022068","1397022069","1397022070","1397022071","1397022073","1397022076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc011e8baf5a213b9a5b4de45c91b9a6.jpg","text":"TemporaryFile(/tmp/multipartBody2996976607988891594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_39_25_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e00ee14f47fcc7fd357b420e77dae07.jpg","text":"TemporaryFile(/tmp/multipartBody2269136290821703328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_39_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41927112f6cd79edef613b25c35a7737.jpg","text":"TemporaryFile(/tmp/multipartBody1834594990977406563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_39_04_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c446e537b0fe8a7467ac6fef5f5c9dad.jpg","text":"TemporaryFile(/tmp/multipartBody7654545027797788553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_38_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be8f1323988e0415961a143a095a878b.jpg","text":"TemporaryFile(/tmp/multipartBody6883024470328575832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_39_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a71b400638470b5960a841450389fee6.jpg","text":"TemporaryFile(/tmp/multipartBody8330127053236110391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478323423,"filename":"image_30112025_04_38_45_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022070","file1":"1397022069","file0":"1397022068","file4":"1397022073","file5":"1397022076","file3":"1397022071"},"map_files_photo_id_array":[{"photo_id":"1397022076","filename":"file5"},{"photo_id":"1397022070","filename":"file2"},{"photo_id":"1397022073","filename":"file4"},{"photo_id":"1397022069","filename":"file1"},{"photo_id":"1397022068","filename":"file0"},{"photo_id":"1397022071","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022073":["hashtag1","hashtag2"]},{"1397022076":["hashtag1","hashtag2"]},{"1397022070":["hashtag1","hashtag2"]},{"1397022069":["hashtag1","hashtag2"]},{"1397022071":["hashtag1","hashtag2"]},{"1397022068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022073, 1397022076, 1397022070, 1397022069, 1397022071, 1397022068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65880465507507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:51:41.904147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/53/image_31102025_11_53_14_2665.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_17_3646.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_20_2599.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_23_3707.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_26_2704.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_29_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_14_2665.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_17_3646.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_20_2599.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_23_3707.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_26_2704.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_29_2546.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8876385688781738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:52:02.586154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_44_9717.jpg', '/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_55_10638.jpg', '/home/pi/Desktop/images/30112025/04/39/image_30112025_04_40_05_9705.jpg', '/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_15_10232.jpg', '/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_24_9635.jpg', '/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_44_9717.jpg
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_39_55_10638.jpg
/home/pi/Desktop/images/30112025/04/39/image_30112025_04_40_05_9705.jpg
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_15_10232.jpg
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_24_9635.jpg
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_34_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022091","1397022094","1397022096","1397022099","1397022093","1397022092"],"photo_ids_order":["1397022091","1397022092","1397022093","1397022094","1397022096","1397022099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/353e705a2d642a7416e800a9ce6c0965.jpg","text":"TemporaryFile(/tmp/multipartBody289478128741912535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_39_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2503d1a29fc4672cadfd3dddffcebca1.jpg","text":"TemporaryFile(/tmp/multipartBody944075572661485460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_40_15_10232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/931e7f808213ee68e485350d1873b172.jpg","text":"TemporaryFile(/tmp/multipartBody3744006699409470818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_40_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0845d9ba235da914d7b88e0423c4854.jpg","text":"TemporaryFile(/tmp/multipartBody195880342978958103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_40_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/641e5a6515c2ca957b9a7a76351a8e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3360831804140795345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_40_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/693ebc744663bf1f5f759f3f06914d24.jpg","text":"TemporaryFile(/tmp/multipartBody8012262052044010178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478383252,"filename":"image_30112025_04_39_55_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022093","file1":"1397022092","file0":"1397022091","file4":"1397022096","file5":"1397022099","file3":"1397022094"},"map_files_photo_id_array":[{"photo_id":"1397022099","filename":"file5"},{"photo_id":"1397022093","filename":"file2"},{"photo_id":"1397022096","filename":"file4"},{"photo_id":"1397022092","filename":"file1"},{"photo_id":"1397022091","filename":"file0"},{"photo_id":"1397022094","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022091":["hashtag1","hashtag2"]},{"1397022094":["hashtag1","hashtag2"]},{"1397022096":["hashtag1","hashtag2"]},{"1397022099":["hashtag1","hashtag2"]},{"1397022093":["hashtag1","hashtag2"]},{"1397022092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022091, 1397022094, 1397022096, 1397022099, 1397022093, 1397022092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97079277038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:52:42.117715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/53/image_31102025_11_53_14_2665.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_17_3646.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_20_2599.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_23_3707.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_26_2704.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_29_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_14_2665.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_17_3646.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_20_2599.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_23_3707.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_26_2704.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_29_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022113","1397022107","1397022109","1397022111","1397022105","1397022110"],"photo_ids_order":["1397022105","1397022107","1397022109","1397022110","1397022111","1397022113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a57f27a2d49cc30c991c061516ae04a1.jpg","text":"TemporaryFile(/tmp/multipartBody8265426292283191766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_29_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/30/2769158d4274fabcdbc444c370a9baa7.jpg","text":"TemporaryFile(/tmp/multipartBody2845983519053334817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_17_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb46376f256ace6d7a36445af1f83189.jpg","text":"TemporaryFile(/tmp/multipartBody598189456923678156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_20_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/30/bb7a53c84794f0aaa412a131f19f05b1.jpg","text":"TemporaryFile(/tmp/multipartBody6978390481099484731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_26_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/30/4f94be44e5fdb2ebc5ed34c3a5d390af.jpg","text":"TemporaryFile(/tmp/multipartBody449125207558425096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_14_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/113de2aaf18fbe3624e9a8d709e2748a.jpg","text":"TemporaryFile(/tmp/multipartBody2886535302131554315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478422879,"filename":"image_31102025_11_53_23_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022109","file1":"1397022107","file0":"1397022105","file4":"1397022111","file5":"1397022113","file3":"1397022110"},"map_files_photo_id_array":[{"photo_id":"1397022113","filename":"file5"},{"photo_id":"1397022109","filename":"file2"},{"photo_id":"1397022111","filename":"file4"},{"photo_id":"1397022107","filename":"file1"},{"photo_id":"1397022105","filename":"file0"},{"photo_id":"1397022110","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397022113":["hashtag1","hashtag2"]},{"1397022107":["hashtag1","hashtag2"]},{"1397022109":["hashtag1","hashtag2"]},{"1397022111":["hashtag1","hashtag2"]},{"1397022105":["hashtag1","hashtag2"]},{"1397022110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397022113, 1397022107, 1397022109, 1397022111, 1397022105, 1397022110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73889994621277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 05:53:22.296717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_45_10580.jpg', '/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_54_9535.jpg', '/home/pi/Desktop/images/30112025/04/40/image_30112025_04_41_05_10744.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_15_9657.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_24_9721.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_35_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_45_10580.jpg
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_40_54_9535.jpg
/home/pi/Desktop/images/30112025/04/40/image_30112025_04_41_05_10744.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_15_9657.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_24_9721.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_35_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022122","1397022121","1397022124","1397022126","1397022129","1397022117"],"photo_ids_order":["1397022117","1397022121","1397022122","1397022124","1397022126","1397022129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d540073ef4316d550203f1399d05ff58.jpg","text":"TemporaryFile(/tmp/multipartBody7991615915179556675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_41_05_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d07b14cb75c43ce0338fbce2652cf452.jpg","text":"TemporaryFile(/tmp/multipartBody7930228654739278603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_40_54_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54e4b3796db2797f89831fd8b125c42b.jpg","text":"TemporaryFile(/tmp/multipartBody6018767223013433909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_41_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78ab7e88d5c1af6b2e00e58cb9b99486.jpg","text":"TemporaryFile(/tmp/multipartBody3547154985825078130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_41_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e40b5ebbc74bec18b56a15fc442ae25.jpg","text":"TemporaryFile(/tmp/multipartBody1773340393456847719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_41_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b35bae48fa9001713019309ad5b2e6f7.jpg","text":"TemporaryFile(/tmp/multipartBody2291548399950679590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478463043,"filename":"image_30112025_04_40_45_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022122","file1":"1397022121","file0":"1397022117","file4":"1397022126","file5":"1397022129","file3":"1397022124"},"map_files_photo_id_array":[{"photo_id":"1397022129","filename":"file5"},{"photo_id":"1397022122","filename":"file2"},{"photo_id":"1397022126","filename":"file4"},{"photo_id":"1397022121","filename":"file1"},{"photo_id":"1397022117","filename":"file0"},{"photo_id":"1397022124","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022122":["hashtag1","hashtag2"]},{"1397022121":["hashtag1","hashtag2"]},{"1397022124":["hashtag1","hashtag2"]},{"1397022126":["hashtag1","hashtag2"]},{"1397022129":["hashtag1","hashtag2"]},{"1397022117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022122, 1397022121, 1397022124, 1397022126, 1397022129, 1397022117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00234246253967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:54:03.255114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6646440029144287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:54:12.434815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/45/image_25112025_19_46_00_3284.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_03_3567.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_09_2720.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_12_3565.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_15_2727.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_18_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/45/image_25112025_19_46_00_3284.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_03_3567.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_09_2720.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_12_3565.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_15_2727.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_18_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022140","1397022142","1397022136","1397022145","1397022133","1397022147"],"photo_ids_order":["1397022133","1397022136","1397022140","1397022142","1397022145","1397022147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6340cf7ea32d6c5eb1e191b5d944f48b.jpg","text":"TemporaryFile(/tmp/multipartBody6220255168874211440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_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/30/5131e3da08e97ab7a8cd8c8b1bf4a772.jpg","text":"TemporaryFile(/tmp/multipartBody5695287241792435675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_12_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/30/cdfc827c2114b6431da8bc7669f0caa1.jpg","text":"TemporaryFile(/tmp/multipartBody1393974582888101489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_03_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/30/b1165e9e80d1da8396a7bc6c5007f8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2944977807381203571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_15_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/30/14ff1ccfd78a24ec70e9fb523779af0d.jpg","text":"TemporaryFile(/tmp/multipartBody2456654245542444089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_00_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/30/0dbd15bdab7d72fac06917973155b1bd.jpg","text":"TemporaryFile(/tmp/multipartBody7969060275508343280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478514325,"filename":"image_25112025_19_46_18_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022140","file1":"1397022136","file0":"1397022133","file4":"1397022145","file5":"1397022147","file3":"1397022142"},"map_files_photo_id_array":[{"photo_id":"1397022147","filename":"file5"},{"photo_id":"1397022140","filename":"file2"},{"photo_id":"1397022145","filename":"file4"},{"photo_id":"1397022136","filename":"file1"},{"photo_id":"1397022133","filename":"file0"},{"photo_id":"1397022142","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397022140":["hashtag1","hashtag2"]},{"1397022142":["hashtag1","hashtag2"]},{"1397022136":["hashtag1","hashtag2"]},{"1397022145":["hashtag1","hashtag2"]},{"1397022133":["hashtag1","hashtag2"]},{"1397022147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397022140, 1397022142, 1397022136, 1397022145, 1397022133, 1397022147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.606820821762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:55:03.351369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6668086051940918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:55:12.621235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_21_3637.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_24_2568.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_26_2553.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_30_3525.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_33_2618.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_39_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_21_3637.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_24_2568.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_26_2553.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_30_3525.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_33_2618.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_39_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022166","1397022160","1397022154","1397022157","1397022168","1397022164"],"photo_ids_order":["1397022154","1397022157","1397022160","1397022164","1397022166","1397022168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f692f0fd7099414cf3293731b185eec.jpg","text":"TemporaryFile(/tmp/multipartBody6338008507549488017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_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/30/0c8f7037049d1edefa1eab7f2a536668.jpg","text":"TemporaryFile(/tmp/multipartBody4036994871960507711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_26_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/30/3fd814c2e0352b7ed4004f3702549431.jpg","text":"TemporaryFile(/tmp/multipartBody852013082689330596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_21_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/30/babe5f9fc14e1e40e949e73804cb8898.jpg","text":"TemporaryFile(/tmp/multipartBody1681700729873126057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_24_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/834b6b51ed51d1a4f5eeb635fe31f4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8804265069893179891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_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/30/8e550a57e7f8719e62c9447336ce99f3.jpg","text":"TemporaryFile(/tmp/multipartBody5202293211204889585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478574309,"filename":"image_25112025_19_46_30_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022160","file1":"1397022157","file0":"1397022154","file4":"1397022166","file5":"1397022168","file3":"1397022164"},"map_files_photo_id_array":[{"photo_id":"1397022168","filename":"file5"},{"photo_id":"1397022160","filename":"file2"},{"photo_id":"1397022166","filename":"file4"},{"photo_id":"1397022157","filename":"file1"},{"photo_id":"1397022154","filename":"file0"},{"photo_id":"1397022164","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397022166":["hashtag1","hashtag2"]},{"1397022160":["hashtag1","hashtag2"]},{"1397022154":["hashtag1","hashtag2"]},{"1397022157":["hashtag1","hashtag2"]},{"1397022168":["hashtag1","hashtag2"]},{"1397022164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397022166, 1397022160, 1397022154, 1397022157, 1397022168, 1397022164)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.743592977523804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 05:56:13.183857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_41_2636.jpg', '/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_45_3892.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_03_17870.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_15_11604.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_24_8857.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_25_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_41_2636.jpg
/home/pi/Desktop/images/25112025/19/46/image_25112025_19_46_45_3892.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_03_17870.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_15_11604.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_24_8857.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_25_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022172","1397022180","1397022183","1397022177","1397022174","1397022185"],"photo_ids_order":["1397022172","1397022174","1397022177","1397022180","1397022183","1397022185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4105f20138930ba92657957e977f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody3571427318813044159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_46_41_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95fd69d30280291f44e799efd4be002d.jpg","text":"TemporaryFile(/tmp/multipartBody1890876459808782418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_47_15_11604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae17c40f419da6597c8a4da555312b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8651804482685940437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_47_24_8857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a291bf785a45e70178fae344a248e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody2497164086879909015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_47_03_17870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab4c1d38a99a8da604857523beafc830.jpg","text":"TemporaryFile(/tmp/multipartBody8919517062828577809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_46_45_3892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78fe034ee7d0e0dbba32ade7056bf057.jpg","text":"TemporaryFile(/tmp/multipartBody1858856979260615713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478635191,"filename":"image_25112025_19_47_25_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022177","file1":"1397022174","file0":"1397022172","file4":"1397022183","file5":"1397022185","file3":"1397022180"},"map_files_photo_id_array":[{"photo_id":"1397022185","filename":"file5"},{"photo_id":"1397022177","filename":"file2"},{"photo_id":"1397022183","filename":"file4"},{"photo_id":"1397022174","filename":"file1"},{"photo_id":"1397022172","filename":"file0"},{"photo_id":"1397022180","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397022172":["hashtag1","hashtag2"]},{"1397022180":["hashtag1","hashtag2"]},{"1397022183":["hashtag1","hashtag2"]},{"1397022177":["hashtag1","hashtag2"]},{"1397022174":["hashtag1","hashtag2"]},{"1397022185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397022172, 1397022180, 1397022183, 1397022177, 1397022174, 1397022185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68220496177673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:57:03.124304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg', '/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_45_9722.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_41_55_9818.jpg
/home/pi/Desktop/images/30112025/04/41/image_30112025_04_42_04_9855.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_15_10127.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_25_10323.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_35_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022190","1397022189","1397022198","1397022192","1397022191","1397022194"],"photo_ids_order":["1397022189","1397022190","1397022191","1397022192","1397022194","1397022198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0620ee83713fa252b62c30918c5839d.jpg","text":"TemporaryFile(/tmp/multipartBody2986154431409902635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_41_55_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b42b873f5bde3ac924db4b4008524a1.jpg","text":"TemporaryFile(/tmp/multipartBody4163037459934994372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_41_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee49eeff0e3b3be67e330ea4d1d6e8f7.jpg","text":"TemporaryFile(/tmp/multipartBody1674704977166988125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_42_35_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d51c28ed34c7e6d8288b26b2d1c8140f.jpg","text":"TemporaryFile(/tmp/multipartBody6189007814597780815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_42_15_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54c82c8502837abc5832ba40e9dda6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6955283346509562521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_42_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9945e34ce6ec50ffce3989f3d0fd00d.jpg","text":"TemporaryFile(/tmp/multipartBody5395318887406041530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478683889,"filename":"image_30112025_04_42_25_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022191","file1":"1397022190","file0":"1397022189","file4":"1397022194","file5":"1397022198","file3":"1397022192"},"map_files_photo_id_array":[{"photo_id":"1397022198","filename":"file5"},{"photo_id":"1397022191","filename":"file2"},{"photo_id":"1397022194","filename":"file4"},{"photo_id":"1397022190","filename":"file1"},{"photo_id":"1397022189","filename":"file0"},{"photo_id":"1397022192","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022190":["hashtag1","hashtag2"]},{"1397022189":["hashtag1","hashtag2"]},{"1397022198":["hashtag1","hashtag2"]},{"1397022192":["hashtag1","hashtag2"]},{"1397022191":["hashtag1","hashtag2"]},{"1397022194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022190, 1397022189, 1397022198, 1397022192, 1397022191, 1397022194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28693699836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:57:42.496635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/53/image_31102025_11_53_32_3685.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_35_2656.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_38_2718.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_41_2779.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_47_2612.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_50_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/11/53/image_31102025_11_53_32_3685.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_35_2656.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_38_2718.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_41_2779.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_47_2612.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_50_2666.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022209","1397022211","1397022205","1397022208","1397022207","1397022210"],"photo_ids_order":["1397022205","1397022207","1397022208","1397022209","1397022210","1397022211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2acb0b23562d8b98e75025357e0de240.jpg","text":"TemporaryFile(/tmp/multipartBody4359210702552005628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_41_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/30/a0e470cda53d07b55435cafb536ac575.jpg","text":"TemporaryFile(/tmp/multipartBody3805762466088806690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_50_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d44c54ecaa84e0a18b3f8bc4b7bafd69.jpg","text":"TemporaryFile(/tmp/multipartBody4849559940493474526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_32_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/30/555362ddfb0b5e058b83a11f0cc34038.jpg","text":"TemporaryFile(/tmp/multipartBody9056161262399958104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_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/30/e2b575d3b5e5f20a695bfbb66de77e01.jpg","text":"TemporaryFile(/tmp/multipartBody7010851078385755223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_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/30/1459756f69d8b6a246f5abc76f83c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2853566639728866539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478723415,"filename":"image_31102025_11_53_47_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022208","file1":"1397022207","file0":"1397022205","file4":"1397022210","file5":"1397022211","file3":"1397022209"},"map_files_photo_id_array":[{"photo_id":"1397022211","filename":"file5"},{"photo_id":"1397022208","filename":"file2"},{"photo_id":"1397022210","filename":"file4"},{"photo_id":"1397022207","filename":"file1"},{"photo_id":"1397022205","filename":"file0"},{"photo_id":"1397022209","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397022209":["hashtag1","hashtag2"]},{"1397022211":["hashtag1","hashtag2"]},{"1397022205":["hashtag1","hashtag2"]},{"1397022208":["hashtag1","hashtag2"]},{"1397022207":["hashtag1","hashtag2"]},{"1397022210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397022209, 1397022211, 1397022205, 1397022208, 1397022207, 1397022210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86271381378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 05:59:03.740692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_45_10277.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_55_9632.jpg', '/home/pi/Desktop/images/30112025/04/42/image_30112025_04_43_05_10241.jpg', '/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_14_9556.jpg', '/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_25_10564.jpg', '/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_35_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_45_10277.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_42_55_9632.jpg
/home/pi/Desktop/images/30112025/04/42/image_30112025_04_43_05_10241.jpg
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_14_9556.jpg
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_25_10564.jpg
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_35_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022215","1397022231","1397022225","1397022228","1397022222","1397022219"],"photo_ids_order":["1397022215","1397022219","1397022222","1397022225","1397022228","1397022231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91a953ebb4c95bf759c2befa2df074cc.jpg","text":"TemporaryFile(/tmp/multipartBody4719497278992390278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_42_45_10277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c19da1c202676e5a169245a66a5e60e.jpg","text":"TemporaryFile(/tmp/multipartBody2078938309182859512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_43_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ec63a7738eff4658ee699a14ea76d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8964004478380261541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_43_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3485d807020fa9cd70a132facadb0c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8846558433445126344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_43_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c402a8789e7669ec4b7f56e088ecc105.jpg","text":"TemporaryFile(/tmp/multipartBody7011774231046339046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_43_05_10241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0434f502469a703dce930605163049b.jpg","text":"TemporaryFile(/tmp/multipartBody6145045618220166022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478804661,"filename":"image_30112025_04_42_55_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022222","file1":"1397022219","file0":"1397022215","file4":"1397022228","file5":"1397022231","file3":"1397022225"},"map_files_photo_id_array":[{"photo_id":"1397022231","filename":"file5"},{"photo_id":"1397022222","filename":"file2"},{"photo_id":"1397022228","filename":"file4"},{"photo_id":"1397022219","filename":"file1"},{"photo_id":"1397022215","filename":"file0"},{"photo_id":"1397022225","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397022215":["hashtag1","hashtag2"]},{"1397022231":["hashtag1","hashtag2"]},{"1397022225":["hashtag1","hashtag2"]},{"1397022228":["hashtag1","hashtag2"]},{"1397022222":["hashtag1","hashtag2"]},{"1397022219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397022215, 1397022231, 1397022225, 1397022228, 1397022222, 1397022219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90857124328613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 05:59:42.875557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/53/image_31102025_11_53_53_3637.jpg', '/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_59_2742.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_02_3689.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_05_2666.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_08_2858.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_11_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_53_3637.jpg
/home/pi/Desktop/images/31102025/11/53/image_31102025_11_53_59_2742.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_02_3689.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_05_2666.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_08_2858.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_11_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397022448","1397022786","1397022372","1397022525","1397022600","1397022692"],"photo_ids_order":["1397022372","1397022448","1397022525","1397022600","1397022692","1397022786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdec96b7b6fac31483038def9c05ec18.jpg","text":"TemporaryFile(/tmp/multipartBody6942820607885615483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_53_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/30/82a9ae142dd8ed9f03ab4e4260353c82.jpg","text":"TemporaryFile(/tmp/multipartBody2260559609482256812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_54_11_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/30/42f195f329c4f36c8bad920eb5af4cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8886504615214638404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_53_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/30/1927e740b52f41e4548fcdbdd4d38978.jpg","text":"TemporaryFile(/tmp/multipartBody8598962827658507630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_54_02_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f72ba978966dc5eaf9864046ad7937b.jpg","text":"TemporaryFile(/tmp/multipartBody1550565739885165012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_54_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/30/b6cbed3ebd6ce355654ef0ee909cff81.jpg","text":"TemporaryFile(/tmp/multipartBody5560041549797164506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478843806,"filename":"image_31102025_11_54_08_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397022525","file1":"1397022448","file0":"1397022372","file4":"1397022692","file5":"1397022786","file3":"1397022600"},"map_files_photo_id_array":[{"photo_id":"1397022786","filename":"file5"},{"photo_id":"1397022525","filename":"file2"},{"photo_id":"1397022692","filename":"file4"},{"photo_id":"1397022448","filename":"file1"},{"photo_id":"1397022372","filename":"file0"},{"photo_id":"1397022600","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397022448":["hashtag1","hashtag2"]},{"1397022786":["hashtag1","hashtag2"]},{"1397022372":["hashtag1","hashtag2"]},{"1397022525":["hashtag1","hashtag2"]},{"1397022600":["hashtag1","hashtag2"]},{"1397022692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397022448, 1397022786, 1397022372, 1397022525, 1397022600, 1397022692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.305504322052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:00:32.056362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_30_4166.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_31_1568.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_34_1554.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_38_1708.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_39_1582.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_41_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_30_4166.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_31_1568.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_34_1554.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_38_1708.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_39_1582.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_41_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":["1397023729","1397023401","1397023625","1397023811","1397023514","1397023282"],"photo_ids_order":["1397023282","1397023401","1397023514","1397023625","1397023729","1397023811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f314a04a512fef1537af5e611a0e06b7.jpg","text":"TemporaryFile(/tmp/multipartBody4778900371723559872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_39_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/30/bdd556450e6f319b330140cdad7539aa.jpg","text":"TemporaryFile(/tmp/multipartBody501383208153297406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_31_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/30/f06ec380815ca10276f40207f08ccc4e.jpg","text":"TemporaryFile(/tmp/multipartBody4262783579373426205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_38_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/30/2ef407e67da8024d7291dcdf51fc2a44.jpg","text":"TemporaryFile(/tmp/multipartBody6452346698583620379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_41_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/30/a62799b746f3392363c90c835dd9cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody4440170885889379665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_34_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/30/53ffee617178af4d9417cdc46176e8f3.jpg","text":"TemporaryFile(/tmp/multipartBody2191185611522584300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478894051,"filename":"image_25112025_19_47_30_4166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397023514","file1":"1397023401","file0":"1397023282","file4":"1397023729","file5":"1397023811","file3":"1397023625"},"map_files_photo_id_array":[{"photo_id":"1397023811","filename":"file5"},{"photo_id":"1397023514","filename":"file2"},{"photo_id":"1397023729","filename":"file4"},{"photo_id":"1397023401","filename":"file1"},{"photo_id":"1397023282","filename":"file0"},{"photo_id":"1397023625","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397023729":["hashtag1","hashtag2"]},{"1397023401":["hashtag1","hashtag2"]},{"1397023625":["hashtag1","hashtag2"]},{"1397023811":["hashtag1","hashtag2"]},{"1397023514":["hashtag1","hashtag2"]},{"1397023282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397023729, 1397023401, 1397023625, 1397023811, 1397023514, 1397023282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.599672079086304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:01:12.250759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_46_1663.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_47_1676.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_49_1550.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_51_1727.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_52_1665.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_54_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_46_1663.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_47_1676.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_49_1550.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_51_1727.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_52_1665.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_54_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397024412","1397024214","1397024290","1397024137","1397024065","1397024515"],"photo_ids_order":["1397024065","1397024137","1397024214","1397024290","1397024412","1397024515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbbd9e9ea04dcb9917668d2e1d584609.jpg","text":"TemporaryFile(/tmp/multipartBody4636419165765591182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_52_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/872760fd434289906d43c4bb399ba5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5201919233652610094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_49_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/30/e76b915613021b5e5ffed7c565053105.jpg","text":"TemporaryFile(/tmp/multipartBody4043815709298180268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_51_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/30/0ea003bf0a51ab12ddef7c61ccbcd67b.jpg","text":"TemporaryFile(/tmp/multipartBody9137624850715452296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_47_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/30/e6d53d4e4377a987c22e0ca63c394ebe.jpg","text":"TemporaryFile(/tmp/multipartBody662157766767637262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_46_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/30/cfb292bd03c012c726c41152526d5ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3826684805913864642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478934149,"filename":"image_25112025_19_47_54_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397024214","file1":"1397024137","file0":"1397024065","file4":"1397024412","file5":"1397024515","file3":"1397024290"},"map_files_photo_id_array":[{"photo_id":"1397024515","filename":"file5"},{"photo_id":"1397024214","filename":"file2"},{"photo_id":"1397024412","filename":"file4"},{"photo_id":"1397024137","filename":"file1"},{"photo_id":"1397024065","filename":"file0"},{"photo_id":"1397024290","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397024412":["hashtag1","hashtag2"]},{"1397024214":["hashtag1","hashtag2"]},{"1397024290":["hashtag1","hashtag2"]},{"1397024137":["hashtag1","hashtag2"]},{"1397024065":["hashtag1","hashtag2"]},{"1397024515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397024412, 1397024214, 1397024290, 1397024137, 1397024065, 1397024515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73945379257202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:02:03.001180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_44_9682.jpg', '/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_54_9688.jpg', '/home/pi/Desktop/images/30112025/04/43/image_30112025_04_44_05_10805.jpg', '/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_15_9640.jpg', '/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_24_9740.jpg', '/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_35_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_44_9682.jpg
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_43_54_9688.jpg
/home/pi/Desktop/images/30112025/04/43/image_30112025_04_44_05_10805.jpg
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_15_9640.jpg
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_24_9740.jpg
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_35_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397024895","1397024835","1397024742","1397024703","1397024786","1397024708"],"photo_ids_order":["1397024703","1397024708","1397024742","1397024786","1397024835","1397024895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d746ffceffb4dc5f25f477404ba4a73.jpg","text":"TemporaryFile(/tmp/multipartBody3706992289142600473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_44_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9a251c54c387612bffa6161998e6a60.jpg","text":"TemporaryFile(/tmp/multipartBody9140764912715874748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_44_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c37566ddab6cc8c069a6103242d96d5.jpg","text":"TemporaryFile(/tmp/multipartBody4569517508615634889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_44_05_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c11d83fc9574befc12cc56fe1f7e2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6199119396744119768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_43_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db2e42814152c17ac6ebba98cfcde495.jpg","text":"TemporaryFile(/tmp/multipartBody7547522002181934287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_44_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d303ac5edb196466c248a68e95335ef4.jpg","text":"TemporaryFile(/tmp/multipartBody6762406017422422329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764478983679,"filename":"image_30112025_04_43_54_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397024742","file1":"1397024708","file0":"1397024703","file4":"1397024835","file5":"1397024895","file3":"1397024786"},"map_files_photo_id_array":[{"photo_id":"1397024895","filename":"file5"},{"photo_id":"1397024742","filename":"file2"},{"photo_id":"1397024835","filename":"file4"},{"photo_id":"1397024708","filename":"file1"},{"photo_id":"1397024703","filename":"file0"},{"photo_id":"1397024786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397024895":["hashtag1","hashtag2"]},{"1397024835":["hashtag1","hashtag2"]},{"1397024742":["hashtag1","hashtag2"]},{"1397024703":["hashtag1","hashtag2"]},{"1397024786":["hashtag1","hashtag2"]},{"1397024708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397024895, 1397024835, 1397024742, 1397024703, 1397024786, 1397024708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.068421363830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:02:42.449613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/54/image_31102025_11_54_14_3699.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_26_2793.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_29_2582.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_32_3677.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_35_2772.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_38_3162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_14_3699.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_26_2793.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_29_2582.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_32_3677.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_35_2772.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_38_3162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025059","1397025097","1397025200","1397024995","1397024944","1397025156"],"photo_ids_order":["1397024944","1397024995","1397025059","1397025097","1397025156","1397025200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f705b03c8541bcd44b9f18598669ead5.jpg","text":"TemporaryFile(/tmp/multipartBody3046445016537727625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_29_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/788900893c556e144689c7924731e821.jpg","text":"TemporaryFile(/tmp/multipartBody4518180789858878679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_32_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/30/56cd9acd6f897a455e53cddecf8855e8.jpg","text":"TemporaryFile(/tmp/multipartBody7554727967113851380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_38_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/30/cfad49d07c19588094c38814f9e0ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody7567929575088374056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_26_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e818d80408d6e15820aeed16f41e775.jpg","text":"TemporaryFile(/tmp/multipartBody7366707142613026918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_14_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07dfe99083b33c82528162205dc4eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody2914306988662757018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479023347,"filename":"image_31102025_11_54_35_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025059","file1":"1397024995","file0":"1397024944","file4":"1397025156","file5":"1397025200","file3":"1397025097"},"map_files_photo_id_array":[{"photo_id":"1397025200","filename":"file5"},{"photo_id":"1397025059","filename":"file2"},{"photo_id":"1397025156","filename":"file4"},{"photo_id":"1397024995","filename":"file1"},{"photo_id":"1397024944","filename":"file0"},{"photo_id":"1397025097","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025059":["hashtag1","hashtag2"]},{"1397025097":["hashtag1","hashtag2"]},{"1397025200":["hashtag1","hashtag2"]},{"1397024995":["hashtag1","hashtag2"]},{"1397024944":["hashtag1","hashtag2"]},{"1397025156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025059, 1397025097, 1397025200, 1397024995, 1397024944, 1397025156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47428107261658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:03:22.758419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_45_9694.jpg', '/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_54_9551.jpg', '/home/pi/Desktop/images/30112025/04/44/image_30112025_04_45_05_10785.jpg', '/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_15_9719.jpg', '/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_24_9833.jpg', '/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_34_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_45_9694.jpg
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_44_54_9551.jpg
/home/pi/Desktop/images/30112025/04/44/image_30112025_04_45_05_10785.jpg
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_15_9719.jpg
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_24_9833.jpg
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_34_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025423","1397025338","1397025376","1397025379","1397025367","1397025387"],"photo_ids_order":["1397025338","1397025367","1397025376","1397025379","1397025387","1397025423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bfbf225878ef89089cb79b791a69cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1696968577814739570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_45_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d6fbf02fb7800897ec92f80693aae4c.jpg","text":"TemporaryFile(/tmp/multipartBody1635646292299420190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_44_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78aa1fd9d93de185661cdabf031c563b.jpg","text":"TemporaryFile(/tmp/multipartBody8083603164424183899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_45_05_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cfeb0a9c724da7059fd7c2efabc52d4.jpg","text":"TemporaryFile(/tmp/multipartBody1646429553187936728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_45_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ced5bfd6ca21804701b81582cd21c302.jpg","text":"TemporaryFile(/tmp/multipartBody1660463944301274467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_44_54_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ab17b5045154ff88c929de1397c5996.jpg","text":"TemporaryFile(/tmp/multipartBody3626169132544495323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479063485,"filename":"image_30112025_04_45_24_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025376","file1":"1397025367","file0":"1397025338","file4":"1397025387","file5":"1397025423","file3":"1397025379"},"map_files_photo_id_array":[{"photo_id":"1397025423","filename":"file5"},{"photo_id":"1397025376","filename":"file2"},{"photo_id":"1397025387","filename":"file4"},{"photo_id":"1397025367","filename":"file1"},{"photo_id":"1397025338","filename":"file0"},{"photo_id":"1397025379","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025423":["hashtag1","hashtag2"]},{"1397025338":["hashtag1","hashtag2"]},{"1397025376":["hashtag1","hashtag2"]},{"1397025379":["hashtag1","hashtag2"]},{"1397025367":["hashtag1","hashtag2"]},{"1397025387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025423, 1397025338, 1397025376, 1397025379, 1397025367, 1397025387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84565091133118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:04:03.448455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_45_10544.jpg', '/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_55_9706.jpg', '/home/pi/Desktop/images/30112025/04/45/image_30112025_04_46_04_9598.jpg', '/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_15_10592.jpg', '/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_24_9692.jpg', '/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_34_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_45_10544.jpg
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_45_55_9706.jpg
/home/pi/Desktop/images/30112025/04/45/image_30112025_04_46_04_9598.jpg
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_15_10592.jpg
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_24_9692.jpg
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_34_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025497","1397025500","1397025503","1397025506","1397025498","1397025489"],"photo_ids_order":["1397025489","1397025497","1397025498","1397025500","1397025503","1397025506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf62d8eedcde19a441089f730560d067.jpg","text":"TemporaryFile(/tmp/multipartBody3285886481103730366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_45_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6abcb5c8a04080562a7ae8e381f8fab4.jpg","text":"TemporaryFile(/tmp/multipartBody2071083531922186532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_46_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e1a1a2555b4b98c2ab70b1ef2879706.jpg","text":"TemporaryFile(/tmp/multipartBody6454453875527155186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_46_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a46f74ae584ad541338444f3118ebd10.jpg","text":"TemporaryFile(/tmp/multipartBody4387738476166211450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_46_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/354d50cff66424e64a033e6dc07a3a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3291069608644173377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_46_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2d72ffb53f84d09c13a27c961cca13a.jpg","text":"TemporaryFile(/tmp/multipartBody7016541581010408432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479106490,"filename":"image_30112025_04_45_45_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025498","file1":"1397025497","file0":"1397025489","file4":"1397025503","file5":"1397025506","file3":"1397025500"},"map_files_photo_id_array":[{"photo_id":"1397025506","filename":"file5"},{"photo_id":"1397025498","filename":"file2"},{"photo_id":"1397025503","filename":"file4"},{"photo_id":"1397025497","filename":"file1"},{"photo_id":"1397025489","filename":"file0"},{"photo_id":"1397025500","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025497":["hashtag1","hashtag2"]},{"1397025500":["hashtag1","hashtag2"]},{"1397025503":["hashtag1","hashtag2"]},{"1397025506":["hashtag1","hashtag2"]},{"1397025498":["hashtag1","hashtag2"]},{"1397025489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025497, 1397025500, 1397025503, 1397025506, 1397025498, 1397025489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24424695968628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:05:02.978227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_45_10767.jpg', '/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_55_9801.jpg', '/home/pi/Desktop/images/30112025/04/46/image_30112025_04_47_04_9608.jpg', '/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_15_10620.jpg', '/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_25_9640.jpg', '/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_45_10767.jpg
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_46_55_9801.jpg
/home/pi/Desktop/images/30112025/04/46/image_30112025_04_47_04_9608.jpg
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_15_10620.jpg
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_25_9640.jpg
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_34_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025513","1397025512","1397025511","1397025520","1397025514","1397025517"],"photo_ids_order":["1397025511","1397025512","1397025513","1397025514","1397025517","1397025520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/418f7221e84aafc7f6dbc0282e86842c.jpg","text":"TemporaryFile(/tmp/multipartBody6126552501180273666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_47_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47127e7335090ccf72f68bac9d1ed59d.jpg","text":"TemporaryFile(/tmp/multipartBody8032011633797785413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_46_55_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a2e75df0baedecfbc8b1e5b38c256bc.jpg","text":"TemporaryFile(/tmp/multipartBody2214524412892810260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_46_45_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a2ccd179a437beaf10d30643e244967.jpg","text":"TemporaryFile(/tmp/multipartBody2120925605997409108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_47_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85061e29338b945751764fa2c1cc5684.jpg","text":"TemporaryFile(/tmp/multipartBody4467330731098928979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_47_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33d0b363e31ba865d832e7a382aa53d1.jpg","text":"TemporaryFile(/tmp/multipartBody3198441086636123963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479163727,"filename":"image_30112025_04_47_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025513","file1":"1397025512","file0":"1397025511","file4":"1397025517","file5":"1397025520","file3":"1397025514"},"map_files_photo_id_array":[{"photo_id":"1397025520","filename":"file5"},{"photo_id":"1397025513","filename":"file2"},{"photo_id":"1397025517","filename":"file4"},{"photo_id":"1397025512","filename":"file1"},{"photo_id":"1397025511","filename":"file0"},{"photo_id":"1397025514","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025513":["hashtag1","hashtag2"]},{"1397025512":["hashtag1","hashtag2"]},{"1397025511":["hashtag1","hashtag2"]},{"1397025520":["hashtag1","hashtag2"]},{"1397025514":["hashtag1","hashtag2"]},{"1397025517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025513, 1397025512, 1397025511, 1397025520, 1397025514, 1397025517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.304271936416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:05:42.421725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/54/image_31102025_11_54_41_2583.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_44_3618.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_47_2700.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_53_2902.jpg', '/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_56_3098.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_07_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_41_2583.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_44_3618.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_47_2700.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_53_2902.jpg
/home/pi/Desktop/images/31102025/11/54/image_31102025_11_54_56_3098.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_07_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":["1397025540","1397025543","1397025542","1397025541","1397025526","1397025529"],"photo_ids_order":["1397025526","1397025529","1397025540","1397025541","1397025542","1397025543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f5930cb086bb83b1983fd32530af1b1.jpg","text":"TemporaryFile(/tmp/multipartBody4084018585373946173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_54_47_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93efda6e298e6364ba1206854f0a629c.jpg","text":"TemporaryFile(/tmp/multipartBody2799441105211868388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_55_07_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/30/b29d8a1ec606e9c516bd72f06b3bbfcf.jpg","text":"TemporaryFile(/tmp/multipartBody1687881344924843260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_54_56_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c03de9bee8b9416561c6e6af6266d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody7870722670911718969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_54_53_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/30/fac9034aacda836f4c62f585a4099ace.jpg","text":"TemporaryFile(/tmp/multipartBody6196011675035890942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_54_41_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/30/efe610e18a87661b5d5fe1791dbcf236.jpg","text":"TemporaryFile(/tmp/multipartBody645968071575248844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479203287,"filename":"image_31102025_11_54_44_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025540","file1":"1397025529","file0":"1397025526","file4":"1397025542","file5":"1397025543","file3":"1397025541"},"map_files_photo_id_array":[{"photo_id":"1397025543","filename":"file5"},{"photo_id":"1397025540","filename":"file2"},{"photo_id":"1397025542","filename":"file4"},{"photo_id":"1397025529","filename":"file1"},{"photo_id":"1397025526","filename":"file0"},{"photo_id":"1397025541","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025540":["hashtag1","hashtag2"]},{"1397025543":["hashtag1","hashtag2"]},{"1397025542":["hashtag1","hashtag2"]},{"1397025541":["hashtag1","hashtag2"]},{"1397025526":["hashtag1","hashtag2"]},{"1397025529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025540, 1397025543, 1397025542, 1397025541, 1397025526, 1397025529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43072533607483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:06:22.616238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_45_10611.jpg', '/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_54_9564.jpg', '/home/pi/Desktop/images/30112025/04/47/image_30112025_04_48_04_9644.jpg', '/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_15_10785.jpg', '/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_24_9643.jpg', '/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_34_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_45_10611.jpg
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_47_54_9564.jpg
/home/pi/Desktop/images/30112025/04/47/image_30112025_04_48_04_9644.jpg
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_15_10785.jpg
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_24_9643.jpg
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_34_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025546","1397025554","1397025556","1397025559","1397025550","1397025553"],"photo_ids_order":["1397025546","1397025550","1397025553","1397025554","1397025556","1397025559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edb11c562c0271d0c586e82f7c8b34f1.jpg","text":"TemporaryFile(/tmp/multipartBody6291024396155331715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_47_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9be0ab00db64904ae472c58f5d7285e6.jpg","text":"TemporaryFile(/tmp/multipartBody7307825872052746918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_48_15_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/947333b083af13ab93fe885b02cd1e37.jpg","text":"TemporaryFile(/tmp/multipartBody2885044053730185402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_48_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d77918be732855c7a9159b92247e4674.jpg","text":"TemporaryFile(/tmp/multipartBody2733227367380160064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_48_34_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f85d315f75cc2c480cdb0bd8caeceda5.jpg","text":"TemporaryFile(/tmp/multipartBody3966107291068799655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_47_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cb8f36b4542cba839f5abd8eeff49c7.jpg","text":"TemporaryFile(/tmp/multipartBody1339397397687855204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479243232,"filename":"image_30112025_04_48_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025553","file1":"1397025550","file0":"1397025546","file4":"1397025556","file5":"1397025559","file3":"1397025554"},"map_files_photo_id_array":[{"photo_id":"1397025559","filename":"file5"},{"photo_id":"1397025553","filename":"file2"},{"photo_id":"1397025556","filename":"file4"},{"photo_id":"1397025550","filename":"file1"},{"photo_id":"1397025546","filename":"file0"},{"photo_id":"1397025554","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025546":["hashtag1","hashtag2"]},{"1397025554":["hashtag1","hashtag2"]},{"1397025556":["hashtag1","hashtag2"]},{"1397025559":["hashtag1","hashtag2"]},{"1397025550":["hashtag1","hashtag2"]},{"1397025553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025546, 1397025554, 1397025556, 1397025559, 1397025550, 1397025553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.954832315444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:07:03.436255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:07:12.794397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_56_1590.jpg', '/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_57_1664.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_14_1558.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_16_1737.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_17_1573.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_19_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_56_1590.jpg
/home/pi/Desktop/images/25112025/19/47/image_25112025_19_47_57_1664.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_14_1558.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_16_1737.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_17_1573.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_19_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025561","1397025564","1397025572","1397025568","1397025570","1397025567"],"photo_ids_order":["1397025561","1397025564","1397025567","1397025568","1397025570","1397025572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56acf6e9749529e738eeb9bfa602fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody31164749705601690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_47_56_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1245fe524a9aea841453f5489c70289.jpg","text":"TemporaryFile(/tmp/multipartBody2782465443491877602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_47_57_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/30/c91d7dd7bf6ab195c4efa506cad5ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody6670274845836756245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_48_19_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/30/a3b4dbb49226455657edb05386e1d347.jpg","text":"TemporaryFile(/tmp/multipartBody4602274525011604702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_48_16_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/30/2b93204dfe809c1c457036668657ca52.jpg","text":"TemporaryFile(/tmp/multipartBody4061110650657078440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_48_17_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edc4f39fca1709d5f4fab30de0b3732c.jpg","text":"TemporaryFile(/tmp/multipartBody8031812075678359003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479298399,"filename":"image_25112025_19_48_14_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025567","file1":"1397025564","file0":"1397025561","file4":"1397025570","file5":"1397025572","file3":"1397025568"},"map_files_photo_id_array":[{"photo_id":"1397025572","filename":"file5"},{"photo_id":"1397025567","filename":"file2"},{"photo_id":"1397025570","filename":"file4"},{"photo_id":"1397025564","filename":"file1"},{"photo_id":"1397025561","filename":"file0"},{"photo_id":"1397025568","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397025561":["hashtag1","hashtag2"]},{"1397025564":["hashtag1","hashtag2"]},{"1397025572":["hashtag1","hashtag2"]},{"1397025568":["hashtag1","hashtag2"]},{"1397025570":["hashtag1","hashtag2"]},{"1397025567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397025561, 1397025564, 1397025572, 1397025568, 1397025570, 1397025567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.736828565597534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:08:02.689624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_45_10769.jpg', '/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_54_9604.jpg', '/home/pi/Desktop/images/30112025/04/48/image_30112025_04_49_04_9832.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_15_10729.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_25_9738.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_45_10769.jpg
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_48_54_9604.jpg
/home/pi/Desktop/images/30112025/04/48/image_30112025_04_49_04_9832.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_15_10729.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_25_9738.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025576","1397025581","1397025578","1397025583","1397025577","1397025579"],"photo_ids_order":["1397025576","1397025577","1397025578","1397025579","1397025581","1397025583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe46f761849fbf3f8377b5804d5cd7d5.jpg","text":"TemporaryFile(/tmp/multipartBody5204415777277283604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_48_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/802eaf4683172f128e6971eae02fcfae.jpg","text":"TemporaryFile(/tmp/multipartBody1548996773035857103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_49_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9f4fd31450c812c469929b780de4196.jpg","text":"TemporaryFile(/tmp/multipartBody2469920501108270882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_49_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1900e279a5126814128e72ca001a2994.jpg","text":"TemporaryFile(/tmp/multipartBody6961413457450066350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_49_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6c4d5cfcc63c48b14c0a6b8da11f69d.jpg","text":"TemporaryFile(/tmp/multipartBody9031697111498629221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_48_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efc468f6dd56745f645cd374a4da7808.jpg","text":"TemporaryFile(/tmp/multipartBody3936925218460655575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479343389,"filename":"image_30112025_04_49_15_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025578","file1":"1397025577","file0":"1397025576","file4":"1397025581","file5":"1397025583","file3":"1397025579"},"map_files_photo_id_array":[{"photo_id":"1397025583","filename":"file5"},{"photo_id":"1397025578","filename":"file2"},{"photo_id":"1397025581","filename":"file4"},{"photo_id":"1397025577","filename":"file1"},{"photo_id":"1397025576","filename":"file0"},{"photo_id":"1397025579","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025576":["hashtag1","hashtag2"]},{"1397025581":["hashtag1","hashtag2"]},{"1397025578":["hashtag1","hashtag2"]},{"1397025583":["hashtag1","hashtag2"]},{"1397025577":["hashtag1","hashtag2"]},{"1397025579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025576, 1397025581, 1397025578, 1397025583, 1397025577, 1397025579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5968861579895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:08:42.307186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/55/image_31102025_11_55_10_2684.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_13_2966.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_16_2719.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_19_3612.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_22_2627.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_25_2912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_10_2684.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_13_2966.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_16_2719.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_19_3612.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_22_2627.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_25_2912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025606","1397025611","1397025608","1397025592","1397025610","1397025604"],"photo_ids_order":["1397025592","1397025604","1397025606","1397025608","1397025610","1397025611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe9fa900264126577cc10d56b6ca6d7e.jpg","text":"TemporaryFile(/tmp/multipartBody457911897431237706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_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/30/79fcf83011cfc4f93fb8683db4d39b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2680580178668536849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_25_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/30/b82a93e3255caa9c76111f687399c541.jpg","text":"TemporaryFile(/tmp/multipartBody6591508640441404311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_19_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/30/ca1acf327364613449b7991ca9eb52b9.jpg","text":"TemporaryFile(/tmp/multipartBody2485336051478799490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_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/30/e984a7387b7b39ecbb500277330dda72.jpg","text":"TemporaryFile(/tmp/multipartBody5160636884514304298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_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/30/0083d1673fa961ed1636d9db353bba4e.jpg","text":"TemporaryFile(/tmp/multipartBody1640334496121518330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479383236,"filename":"image_31102025_11_55_13_2966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025606","file1":"1397025604","file0":"1397025592","file4":"1397025610","file5":"1397025611","file3":"1397025608"},"map_files_photo_id_array":[{"photo_id":"1397025611","filename":"file5"},{"photo_id":"1397025606","filename":"file2"},{"photo_id":"1397025610","filename":"file4"},{"photo_id":"1397025604","filename":"file1"},{"photo_id":"1397025592","filename":"file0"},{"photo_id":"1397025608","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025606":["hashtag1","hashtag2"]},{"1397025611":["hashtag1","hashtag2"]},{"1397025608":["hashtag1","hashtag2"]},{"1397025592":["hashtag1","hashtag2"]},{"1397025610":["hashtag1","hashtag2"]},{"1397025604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025606, 1397025611, 1397025608, 1397025592, 1397025610, 1397025604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76297569274902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:09:22.492186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_45_10583.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_55_9669.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_50_04_9650.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_15_10634.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_25_9765.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_35_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_45_10583.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_55_9669.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_50_04_9650.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_15_10634.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_25_9765.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_35_9797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5606255531311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:09:32.399072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_20_1590.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_24_1636.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_25_1604.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_27_1616.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_28_1563.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_30_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_20_1590.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_24_1636.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_25_1604.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_27_1616.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_28_1563.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_30_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025633","1397025630","1397025626","1397025635","1397025622","1397025634"],"photo_ids_order":["1397025622","1397025626","1397025630","1397025633","1397025634","1397025635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6cfa9256fd1463a5faa41608b3a8147.jpg","text":"TemporaryFile(/tmp/multipartBody970423729628403589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_27_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/30/62062c1ab6b406711ccc4ed9ea01acb0.jpg","text":"TemporaryFile(/tmp/multipartBody7488376384868798915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_25_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/30/f782ae072988c18a6636997ee2591dce.jpg","text":"TemporaryFile(/tmp/multipartBody6926520053796394523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_24_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/30/11b20e4b2e584e09f77e3db2c01bf887.jpg","text":"TemporaryFile(/tmp/multipartBody6263549854956406249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_30_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/30/a2b668e6bb4c7b1e9cc27be245a8b3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8657974052724398024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_20_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb06361ec755115913b4fcd0f0d1c876.jpg","text":"TemporaryFile(/tmp/multipartBody8164223141256885339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479434388,"filename":"image_25112025_19_48_28_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025630","file1":"1397025626","file0":"1397025622","file4":"1397025634","file5":"1397025635","file3":"1397025633"},"map_files_photo_id_array":[{"photo_id":"1397025635","filename":"file5"},{"photo_id":"1397025630","filename":"file2"},{"photo_id":"1397025634","filename":"file4"},{"photo_id":"1397025626","filename":"file1"},{"photo_id":"1397025622","filename":"file0"},{"photo_id":"1397025633","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397025633":["hashtag1","hashtag2"]},{"1397025630":["hashtag1","hashtag2"]},{"1397025626":["hashtag1","hashtag2"]},{"1397025635":["hashtag1","hashtag2"]},{"1397025622":["hashtag1","hashtag2"]},{"1397025634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397025633, 1397025630, 1397025626, 1397025635, 1397025622, 1397025634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13481378555298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:10:12.449536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_32_1560.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_33_1578.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_36_2562.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_46_10157.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_48_1629.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_51_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_32_1560.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_33_1578.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_36_2562.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_46_10157.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_48_1629.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_51_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025648","1397025642","1397025639","1397025643","1397025637","1397025646"],"photo_ids_order":["1397025637","1397025639","1397025642","1397025643","1397025646","1397025648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/641fb227bebbe9cf95535a2ac51fe8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4030118578664154443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_51_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/30/a2d2742d8d4e443e76e45324c9d4eaf6.jpg","text":"TemporaryFile(/tmp/multipartBody3221756492900586873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_36_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f6c9fc372ff675528b50d360a22235e.jpg","text":"TemporaryFile(/tmp/multipartBody6439876481422110463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_33_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/30/2d26d89019809ee4815f1a4193174c43.jpg","text":"TemporaryFile(/tmp/multipartBody4633888036027506670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_46_10157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab70c967293a9a40095cb19449fb19cc.jpg","text":"TemporaryFile(/tmp/multipartBody3164034940681287674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_32_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/30/04e41b050b76a5aa0f1145f7b666eab5.jpg","text":"TemporaryFile(/tmp/multipartBody7820741870814036983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479474457,"filename":"image_25112025_19_48_48_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025642","file1":"1397025639","file0":"1397025637","file4":"1397025646","file5":"1397025648","file3":"1397025643"},"map_files_photo_id_array":[{"photo_id":"1397025648","filename":"file5"},{"photo_id":"1397025642","filename":"file2"},{"photo_id":"1397025646","filename":"file4"},{"photo_id":"1397025639","filename":"file1"},{"photo_id":"1397025637","filename":"file0"},{"photo_id":"1397025643","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397025648":["hashtag1","hashtag2"]},{"1397025642":["hashtag1","hashtag2"]},{"1397025639":["hashtag1","hashtag2"]},{"1397025643":["hashtag1","hashtag2"]},{"1397025637":["hashtag1","hashtag2"]},{"1397025646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397025648, 1397025642, 1397025639, 1397025643, 1397025637, 1397025646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26287007331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:11:03.108970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_45_10583.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_55_9669.jpg', '/home/pi/Desktop/images/30112025/04/49/image_30112025_04_50_04_9650.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_15_10634.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_25_9765.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_35_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_45_10583.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_49_55_9669.jpg
/home/pi/Desktop/images/30112025/04/49/image_30112025_04_50_04_9650.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_15_10634.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_25_9765.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_35_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025654","1397025656","1397025659","1397025653","1397025652","1397025651"],"photo_ids_order":["1397025651","1397025652","1397025653","1397025654","1397025656","1397025659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9d740d5b64442b9b2d33f44e83e62a8.jpg","text":"TemporaryFile(/tmp/multipartBody5147890057925993493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_50_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/240128f4afd630c09324e023bca97d25.jpg","text":"TemporaryFile(/tmp/multipartBody4653677365851511431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_50_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06db7c04f9c6c3c40b95151afde8715c.jpg","text":"TemporaryFile(/tmp/multipartBody5229906186489796410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_50_35_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ddd5b2ea73dfddcfb8298754ba1e173.jpg","text":"TemporaryFile(/tmp/multipartBody7439203566835811757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_50_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a1ddc1dc25a795ab66e9109bd978eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2129735493905738049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_49_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/123d19f0669068368c251bacf8b8a32e.jpg","text":"TemporaryFile(/tmp/multipartBody9222482715369113080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479523913,"filename":"image_30112025_04_49_45_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025653","file1":"1397025652","file0":"1397025651","file4":"1397025656","file5":"1397025659","file3":"1397025654"},"map_files_photo_id_array":[{"photo_id":"1397025659","filename":"file5"},{"photo_id":"1397025653","filename":"file2"},{"photo_id":"1397025656","filename":"file4"},{"photo_id":"1397025652","filename":"file1"},{"photo_id":"1397025651","filename":"file0"},{"photo_id":"1397025654","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025654":["hashtag1","hashtag2"]},{"1397025656":["hashtag1","hashtag2"]},{"1397025659":["hashtag1","hashtag2"]},{"1397025653":["hashtag1","hashtag2"]},{"1397025652":["hashtag1","hashtag2"]},{"1397025651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025654, 1397025656, 1397025659, 1397025653, 1397025652, 1397025651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65133619308472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:11:42.574224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/55/image_31102025_11_55_28_2769.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_31_3780.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_34_2698.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_37_2786.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_40_3573.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_43_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_28_2769.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_31_3780.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_34_2698.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_37_2786.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_40_3573.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_43_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":["1397025681","1397025680","1397025683","1397025667","1397025682","1397025670"],"photo_ids_order":["1397025667","1397025670","1397025680","1397025681","1397025682","1397025683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9a9833a30caad7d39025fc7d6ab6544.jpg","text":"TemporaryFile(/tmp/multipartBody8514476496797690925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_37_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/30/c66a10c05aad4d2cef135071cdd53ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1424510010212533224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_34_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/30/ab0afc0ef75721bf0723a4deece10d70.jpg","text":"TemporaryFile(/tmp/multipartBody534496940448586441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_43_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/30/4d276c3b2f6a618050e9fecce0fb12e7.jpg","text":"TemporaryFile(/tmp/multipartBody3102151262269011482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_28_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f5ace2188902bd7121458bb091b3ff3.jpg","text":"TemporaryFile(/tmp/multipartBody9112598738569092297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_40_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/30/a9e103764edb47ce5f1dda18a0b03667.jpg","text":"TemporaryFile(/tmp/multipartBody9083405239882841814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479563472,"filename":"image_31102025_11_55_31_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025680","file1":"1397025670","file0":"1397025667","file4":"1397025682","file5":"1397025683","file3":"1397025681"},"map_files_photo_id_array":[{"photo_id":"1397025683","filename":"file5"},{"photo_id":"1397025680","filename":"file2"},{"photo_id":"1397025682","filename":"file4"},{"photo_id":"1397025670","filename":"file1"},{"photo_id":"1397025667","filename":"file0"},{"photo_id":"1397025681","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025681":["hashtag1","hashtag2"]},{"1397025680":["hashtag1","hashtag2"]},{"1397025683":["hashtag1","hashtag2"]},{"1397025667":["hashtag1","hashtag2"]},{"1397025682":["hashtag1","hashtag2"]},{"1397025670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025681, 1397025680, 1397025683, 1397025667, 1397025682, 1397025670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63375401496887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:12:22.799950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_44_9676.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_55_10728.jpg', '/home/pi/Desktop/images/30112025/04/50/image_30112025_04_51_05_9711.jpg', '/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_15_9854.jpg', '/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_24_9696.jpg', '/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_35_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_44_9676.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_50_55_10728.jpg
/home/pi/Desktop/images/30112025/04/50/image_30112025_04_51_05_9711.jpg
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_15_9854.jpg
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_24_9696.jpg
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_35_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025698","1397025696","1397025699","1397025690","1397025693","1397025687"],"photo_ids_order":["1397025687","1397025690","1397025693","1397025696","1397025698","1397025699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbdc17d1133f16d56b87c404c79d9545.jpg","text":"TemporaryFile(/tmp/multipartBody1898186517993118258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_51_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47d07a5e357171509b17137d750634a2.jpg","text":"TemporaryFile(/tmp/multipartBody1579585670237815836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_51_15_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/521255bb5a9190efcd86df07d168e443.jpg","text":"TemporaryFile(/tmp/multipartBody8896185523968327025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_51_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af428c71db9af6dbce4bb3b4520db2e8.jpg","text":"TemporaryFile(/tmp/multipartBody4043438601136499208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_50_55_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c293073002bf54c0d7a1358d7c5086a.jpg","text":"TemporaryFile(/tmp/multipartBody9118075486418567149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_51_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1185cce841ec0acbe707a1897b0a6214.jpg","text":"TemporaryFile(/tmp/multipartBody6415654235704150955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479603509,"filename":"image_30112025_04_50_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025693","file1":"1397025690","file0":"1397025687","file4":"1397025698","file5":"1397025699","file3":"1397025696"},"map_files_photo_id_array":[{"photo_id":"1397025699","filename":"file5"},{"photo_id":"1397025693","filename":"file2"},{"photo_id":"1397025698","filename":"file4"},{"photo_id":"1397025690","filename":"file1"},{"photo_id":"1397025687","filename":"file0"},{"photo_id":"1397025696","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025698":["hashtag1","hashtag2"]},{"1397025696":["hashtag1","hashtag2"]},{"1397025699":["hashtag1","hashtag2"]},{"1397025690":["hashtag1","hashtag2"]},{"1397025693":["hashtag1","hashtag2"]},{"1397025687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025698, 1397025696, 1397025699, 1397025690, 1397025693, 1397025687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03079557418823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:13:02.635660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_45_9667.jpg', '/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_54_9736.jpg', '/home/pi/Desktop/images/30112025/04/51/image_30112025_04_52_05_10630.jpg', '/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_15_9621.jpg', '/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_24_9714.jpg', '/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_34_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_45_9667.jpg
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_51_54_9736.jpg
/home/pi/Desktop/images/30112025/04/51/image_30112025_04_52_05_10630.jpg
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_15_9621.jpg
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_24_9714.jpg
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_34_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025708","1397025702","1397025705","1397025701","1397025703","1397025700"],"photo_ids_order":["1397025700","1397025701","1397025702","1397025703","1397025705","1397025708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/568ab66978aa3ed7a74c5d2689732e77.jpg","text":"TemporaryFile(/tmp/multipartBody1278912433153710120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_52_34_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca5e32ff9e4d30528ede3e296192aff5.jpg","text":"TemporaryFile(/tmp/multipartBody6370203665993594154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_52_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a62686ebacf6ee405f372d8477dae71e.jpg","text":"TemporaryFile(/tmp/multipartBody4915380553355287191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_52_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44d0b6ec737c6078120453230472538c.jpg","text":"TemporaryFile(/tmp/multipartBody2467940139546114547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_51_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cac58e564ed1c7842eafcfe9a0244740.jpg","text":"TemporaryFile(/tmp/multipartBody8876644036761440085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_52_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cecf39cea7bee5e8b5ceccfc1fde8f3.jpg","text":"TemporaryFile(/tmp/multipartBody8792054618163742308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479643356,"filename":"image_30112025_04_51_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025702","file1":"1397025701","file0":"1397025700","file4":"1397025705","file5":"1397025708","file3":"1397025703"},"map_files_photo_id_array":[{"photo_id":"1397025708","filename":"file5"},{"photo_id":"1397025702","filename":"file2"},{"photo_id":"1397025705","filename":"file4"},{"photo_id":"1397025701","filename":"file1"},{"photo_id":"1397025700","filename":"file0"},{"photo_id":"1397025703","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025708":["hashtag1","hashtag2"]},{"1397025702":["hashtag1","hashtag2"]},{"1397025705":["hashtag1","hashtag2"]},{"1397025701":["hashtag1","hashtag2"]},{"1397025703":["hashtag1","hashtag2"]},{"1397025700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025708, 1397025702, 1397025705, 1397025701, 1397025703, 1397025700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.823450565338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:13:41.936068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/55/image_31102025_11_55_46_2725.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_48_2635.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_52_3704.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_55_2784.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_58_2673.jpg', '/home/pi/Desktop/images/31102025/11/55/image_31102025_11_56_01_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_46_2725.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_48_2635.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_52_3704.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_55_2784.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_55_58_2673.jpg
/home/pi/Desktop/images/31102025/11/55/image_31102025_11_56_01_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025720","1397025723","1397025725","1397025722","1397025716","1397025721"],"photo_ids_order":["1397025716","1397025720","1397025721","1397025722","1397025723","1397025725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/329f8f9412dbd8244b749671e8aa1869.jpg","text":"TemporaryFile(/tmp/multipartBody3282808050079428464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_55_48_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/30/e4c69ad037435391988b1be5fcc282ff.jpg","text":"TemporaryFile(/tmp/multipartBody7735772322164921519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_55_58_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/30/55554ab48148cb0c9e3def5aabd0cfd8.jpg","text":"TemporaryFile(/tmp/multipartBody5789260164014534288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_56_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/30/bdec1d4c0d43893e9c2db43a72986ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5447737476182238244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_55_55_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/30/e697baf80ec86bbb33a4e96bad0101a7.jpg","text":"TemporaryFile(/tmp/multipartBody8291730806094296860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_55_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e261e017f1280c8ef529ac2550f57aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4486035483860429490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479682871,"filename":"image_31102025_11_55_52_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025721","file1":"1397025720","file0":"1397025716","file4":"1397025723","file5":"1397025725","file3":"1397025722"},"map_files_photo_id_array":[{"photo_id":"1397025725","filename":"file5"},{"photo_id":"1397025721","filename":"file2"},{"photo_id":"1397025723","filename":"file4"},{"photo_id":"1397025720","filename":"file1"},{"photo_id":"1397025716","filename":"file0"},{"photo_id":"1397025722","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025720":["hashtag1","hashtag2"]},{"1397025723":["hashtag1","hashtag2"]},{"1397025725":["hashtag1","hashtag2"]},{"1397025722":["hashtag1","hashtag2"]},{"1397025716":["hashtag1","hashtag2"]},{"1397025721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025720, 1397025723, 1397025725, 1397025722, 1397025716, 1397025721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.400593996047974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:14:22.172381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_45_10802.jpg', '/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_55_9694.jpg', '/home/pi/Desktop/images/30112025/04/52/image_30112025_04_53_04_9602.jpg', '/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_15_10687.jpg', '/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_25_9733.jpg', '/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_34_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_45_10802.jpg
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_52_55_9694.jpg
/home/pi/Desktop/images/30112025/04/52/image_30112025_04_53_04_9602.jpg
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_15_10687.jpg
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_25_9733.jpg
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_34_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025732","1397025735","1397025729","1397025743","1397025737","1397025740"],"photo_ids_order":["1397025729","1397025732","1397025735","1397025737","1397025740","1397025743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8fbd5384016ad3d25e2c5f63e88395d.jpg","text":"TemporaryFile(/tmp/multipartBody8711805511845429674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_52_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8720ef9665be9d4b5d5b4986a42f7f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6156588246153976561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_53_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfbd114534e6306faa0b15f3c833d439.jpg","text":"TemporaryFile(/tmp/multipartBody5875464272445537604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_52_45_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56af0481bc7c5327918795e58637123a.jpg","text":"TemporaryFile(/tmp/multipartBody5307512368065759723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_53_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a838d5e0c5bc103dd1ccb5c72c223bc5.jpg","text":"TemporaryFile(/tmp/multipartBody910801389096808966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_53_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/786448b9a41beaedfc07f98431615ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8661906165464727062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479722865,"filename":"image_30112025_04_53_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025735","file1":"1397025732","file0":"1397025729","file4":"1397025740","file5":"1397025743","file3":"1397025737"},"map_files_photo_id_array":[{"photo_id":"1397025743","filename":"file5"},{"photo_id":"1397025735","filename":"file2"},{"photo_id":"1397025740","filename":"file4"},{"photo_id":"1397025732","filename":"file1"},{"photo_id":"1397025729","filename":"file0"},{"photo_id":"1397025737","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025732":["hashtag1","hashtag2"]},{"1397025735":["hashtag1","hashtag2"]},{"1397025729":["hashtag1","hashtag2"]},{"1397025743":["hashtag1","hashtag2"]},{"1397025737":["hashtag1","hashtag2"]},{"1397025740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025732, 1397025735, 1397025729, 1397025743, 1397025737, 1397025740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.721376180648804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:15:02.924379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_44_9691.jpg', '/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_55_10757.jpg', '/home/pi/Desktop/images/30112025/04/53/image_30112025_04_54_05_9653.jpg', '/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_14_9701.jpg', '/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_25_10625.jpg', '/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_35_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_44_9691.jpg
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_53_55_10757.jpg
/home/pi/Desktop/images/30112025/04/53/image_30112025_04_54_05_9653.jpg
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_14_9701.jpg
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_25_10625.jpg
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_35_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025756","1397025761","1397025755","1397025764","1397025754","1397025757"],"photo_ids_order":["1397025754","1397025755","1397025756","1397025757","1397025761","1397025764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15ba9534af73b86e5956bff0a3160bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4260128968937836180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_54_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbee259213f31390b336d0669d025f26.jpg","text":"TemporaryFile(/tmp/multipartBody6925856150065572749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_54_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81f58c3c119f7e17eb3d2e3e4b804057.jpg","text":"TemporaryFile(/tmp/multipartBody7223371746813911514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_53_55_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85dc1fba8b28878484715430398139e7.jpg","text":"TemporaryFile(/tmp/multipartBody2476655682148457003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_54_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e927342c7b50e7ef983ca65fc769b38a.jpg","text":"TemporaryFile(/tmp/multipartBody4455993428075429131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_53_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2408ecf6cde82d4094052dcfcd5cc97a.jpg","text":"TemporaryFile(/tmp/multipartBody6316853848350009924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479764629,"filename":"image_30112025_04_54_14_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025756","file1":"1397025755","file0":"1397025754","file4":"1397025761","file5":"1397025764","file3":"1397025757"},"map_files_photo_id_array":[{"photo_id":"1397025764","filename":"file5"},{"photo_id":"1397025756","filename":"file2"},{"photo_id":"1397025761","filename":"file4"},{"photo_id":"1397025755","filename":"file1"},{"photo_id":"1397025754","filename":"file0"},{"photo_id":"1397025757","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025756":["hashtag1","hashtag2"]},{"1397025761":["hashtag1","hashtag2"]},{"1397025755":["hashtag1","hashtag2"]},{"1397025764":["hashtag1","hashtag2"]},{"1397025754":["hashtag1","hashtag2"]},{"1397025757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025756, 1397025761, 1397025755, 1397025764, 1397025754, 1397025757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30276370048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:15:42.260170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/56/image_31102025_11_56_06_4376.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_10_2670.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_13_2718.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_15_2620.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_19_3615.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_22_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_06_4376.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_10_2670.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_13_2718.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_15_2620.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_19_3615.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_22_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025774","1397025773","1397025776","1397025770","1397025775","1397025777"],"photo_ids_order":["1397025770","1397025773","1397025774","1397025775","1397025776","1397025777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f6eea8cf8b2abeb6232d386bf91a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5012833575794266338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_13_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/461f198808d18e883bac109a274bebd2.jpg","text":"TemporaryFile(/tmp/multipartBody8572497424725959604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_10_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/30/89f4858e73de8111f3b47714e15e573b.jpg","text":"TemporaryFile(/tmp/multipartBody3568507337980121740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_19_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/30/3b6ccf56eca9fa80653f800978edcd6f.jpg","text":"TemporaryFile(/tmp/multipartBody6241246721406259370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_06_4376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd63df57e3d97f1dc02511230289fe23.jpg","text":"TemporaryFile(/tmp/multipartBody3622875219399354466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_15_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/30/f5c301c4f7fb8be14fd38979e92f992e.jpg","text":"TemporaryFile(/tmp/multipartBody6777916850694816896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479803186,"filename":"image_31102025_11_56_22_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025774","file1":"1397025773","file0":"1397025770","file4":"1397025776","file5":"1397025777","file3":"1397025775"},"map_files_photo_id_array":[{"photo_id":"1397025777","filename":"file5"},{"photo_id":"1397025774","filename":"file2"},{"photo_id":"1397025776","filename":"file4"},{"photo_id":"1397025773","filename":"file1"},{"photo_id":"1397025770","filename":"file0"},{"photo_id":"1397025775","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025774":["hashtag1","hashtag2"]},{"1397025773":["hashtag1","hashtag2"]},{"1397025776":["hashtag1","hashtag2"]},{"1397025770":["hashtag1","hashtag2"]},{"1397025775":["hashtag1","hashtag2"]},{"1397025777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025774, 1397025773, 1397025776, 1397025770, 1397025775, 1397025777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03524160385132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:16:22.406811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_44_9575.jpg', '/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_55_10662.jpg', '/home/pi/Desktop/images/30112025/04/54/image_30112025_04_55_04_9740.jpg', '/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_14_9730.jpg', '/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_24_9824.jpg', '/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_35_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_44_9575.jpg
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_54_55_10662.jpg
/home/pi/Desktop/images/30112025/04/54/image_30112025_04_55_04_9740.jpg
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_14_9730.jpg
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_24_9824.jpg
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_35_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025791","1397025787","1397025789","1397025780","1397025783","1397025786"],"photo_ids_order":["1397025780","1397025783","1397025786","1397025787","1397025789","1397025791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e933e366406d6b972de15c71921bc57b.jpg","text":"TemporaryFile(/tmp/multipartBody5641588737862963003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_55_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1559c8c1ce817f339236b3db1fdcce4.jpg","text":"TemporaryFile(/tmp/multipartBody7831562980979255763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_55_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3aec350cd13d3ce9baea30c63550b544.jpg","text":"TemporaryFile(/tmp/multipartBody7392014770871662177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_55_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b30be3fd2d3305def287c18d0d39a37c.jpg","text":"TemporaryFile(/tmp/multipartBody4790770674215328578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_54_44_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa4a2d547fcb2c7f91b164b61345692a.jpg","text":"TemporaryFile(/tmp/multipartBody470204466000633500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_54_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cf06689e4e149c0ed3ab8a21b41cb55.jpg","text":"TemporaryFile(/tmp/multipartBody6191482560794556334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479843117,"filename":"image_30112025_04_55_04_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025786","file1":"1397025783","file0":"1397025780","file4":"1397025789","file5":"1397025791","file3":"1397025787"},"map_files_photo_id_array":[{"photo_id":"1397025791","filename":"file5"},{"photo_id":"1397025786","filename":"file2"},{"photo_id":"1397025789","filename":"file4"},{"photo_id":"1397025783","filename":"file1"},{"photo_id":"1397025780","filename":"file0"},{"photo_id":"1397025787","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025791":["hashtag1","hashtag2"]},{"1397025787":["hashtag1","hashtag2"]},{"1397025789":["hashtag1","hashtag2"]},{"1397025780":["hashtag1","hashtag2"]},{"1397025783":["hashtag1","hashtag2"]},{"1397025786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025791, 1397025787, 1397025789, 1397025780, 1397025783, 1397025786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452654123306274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:17:03.474594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_44_9614.jpg', '/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_54_9755.jpg', '/home/pi/Desktop/images/30112025/04/55/image_30112025_04_56_05_10719.jpg', '/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_15_9767.jpg', '/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_24_9854.jpg', '/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_34_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_44_9614.jpg
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_55_54_9755.jpg
/home/pi/Desktop/images/30112025/04/55/image_30112025_04_56_05_10719.jpg
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_15_9767.jpg
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_24_9854.jpg
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_34_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025801","1397025804","1397025797","1397025796","1397025795","1397025798"],"photo_ids_order":["1397025795","1397025796","1397025797","1397025798","1397025801","1397025804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f53b25d1f235eb1e339bcc760ebb519.jpg","text":"TemporaryFile(/tmp/multipartBody2143455260400121405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_56_24_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c335af02958264a8b26037220c9a91b7.jpg","text":"TemporaryFile(/tmp/multipartBody4819261104512325942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_56_34_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfb816c1662b6f30e65d4139488617fb.jpg","text":"TemporaryFile(/tmp/multipartBody8480621826918516263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_56_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20900ba5beed9e7af3814fc66a542c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6082563634652105220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_55_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57712ec76932a8341e442ca07abb7739.jpg","text":"TemporaryFile(/tmp/multipartBody2822080736674247593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_55_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb02dc39d16d99eb6b60eb26de9f59cd.jpg","text":"TemporaryFile(/tmp/multipartBody2598555317475624398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479884221,"filename":"image_30112025_04_56_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025797","file1":"1397025796","file0":"1397025795","file4":"1397025801","file5":"1397025804","file3":"1397025798"},"map_files_photo_id_array":[{"photo_id":"1397025804","filename":"file5"},{"photo_id":"1397025797","filename":"file2"},{"photo_id":"1397025801","filename":"file4"},{"photo_id":"1397025796","filename":"file1"},{"photo_id":"1397025795","filename":"file0"},{"photo_id":"1397025798","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025801":["hashtag1","hashtag2"]},{"1397025804":["hashtag1","hashtag2"]},{"1397025797":["hashtag1","hashtag2"]},{"1397025796":["hashtag1","hashtag2"]},{"1397025795":["hashtag1","hashtag2"]},{"1397025798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025801, 1397025804, 1397025797, 1397025796, 1397025795, 1397025798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.665236711502075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:17:42.736208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/56/image_31102025_11_56_28_3556.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_31_2665.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_47_15946.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_48_1617.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_50_1680.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_51_1524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_28_3556.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_31_2665.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_47_15946.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_48_1617.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_50_1680.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_51_1524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025828","1397025830","1397025827","1397025812","1397025815","1397025826"],"photo_ids_order":["1397025812","1397025815","1397025826","1397025827","1397025828","1397025830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fa5ae114dfe0cb5a938759abfe8dbf1.jpg","text":"TemporaryFile(/tmp/multipartBody1014822670738687458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_50_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/30/49ee6a416dd09e355113af6e2a704cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8295820524006849987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_51_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed170d366cb2c4a58796a11921d1a46f.jpg","text":"TemporaryFile(/tmp/multipartBody6956068313114965746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_48_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/30/3284b8869278b3f6a43e9acab30f98d6.jpg","text":"TemporaryFile(/tmp/multipartBody872674522453529619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_28_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/30/9869fa57e142d258221e42b6c51bf1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8477394138320185029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_31_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/30/b0514eff9f6d82c3f3a8edb06c1f6d89.jpg","text":"TemporaryFile(/tmp/multipartBody3580504376392635065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479923618,"filename":"image_31102025_11_56_47_15946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025826","file1":"1397025815","file0":"1397025812","file4":"1397025828","file5":"1397025830","file3":"1397025827"},"map_files_photo_id_array":[{"photo_id":"1397025830","filename":"file5"},{"photo_id":"1397025826","filename":"file2"},{"photo_id":"1397025828","filename":"file4"},{"photo_id":"1397025815","filename":"file1"},{"photo_id":"1397025812","filename":"file0"},{"photo_id":"1397025827","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025828":["hashtag1","hashtag2"]},{"1397025830":["hashtag1","hashtag2"]},{"1397025827":["hashtag1","hashtag2"]},{"1397025812":["hashtag1","hashtag2"]},{"1397025815":["hashtag1","hashtag2"]},{"1397025826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025828, 1397025830, 1397025827, 1397025812, 1397025815, 1397025826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53574252128601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:18:21.910719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_45_10677.jpg', '/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_55_9758.jpg', '/home/pi/Desktop/images/30112025/04/56/image_30112025_04_57_05_9817.jpg', '/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_14_9822.jpg', '/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_24_9721.jpg', '/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_35_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_45_10677.jpg
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_56_55_9758.jpg
/home/pi/Desktop/images/30112025/04/56/image_30112025_04_57_05_9817.jpg
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_14_9822.jpg
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_24_9721.jpg
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_35_10795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025840","1397025834","1397025837","1397025845","1397025848","1397025843"],"photo_ids_order":["1397025834","1397025837","1397025840","1397025843","1397025845","1397025848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30e9f0a180bb006c04cb6f55e346afd3.jpg","text":"TemporaryFile(/tmp/multipartBody1565742123977751501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_57_05_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/deb1ac0bc1afbe85f89d940af4c6b09d.jpg","text":"TemporaryFile(/tmp/multipartBody5741512091036482458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_56_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9aabe996ac4ff5cf8e39f4dd34f7c836.jpg","text":"TemporaryFile(/tmp/multipartBody700360773288423803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_56_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d22db34dab86892a1239412e94778e0e.jpg","text":"TemporaryFile(/tmp/multipartBody807328989314219426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_57_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7182e37c469caab436c0dd90540ca62.jpg","text":"TemporaryFile(/tmp/multipartBody876533026573890566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_57_35_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29a4e8a8bfc4463256f89d93b04ecbc1.jpg","text":"TemporaryFile(/tmp/multipartBody2230042003715412439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764479962595,"filename":"image_30112025_04_57_14_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025840","file1":"1397025837","file0":"1397025834","file4":"1397025845","file5":"1397025848","file3":"1397025843"},"map_files_photo_id_array":[{"photo_id":"1397025848","filename":"file5"},{"photo_id":"1397025840","filename":"file2"},{"photo_id":"1397025845","filename":"file4"},{"photo_id":"1397025837","filename":"file1"},{"photo_id":"1397025834","filename":"file0"},{"photo_id":"1397025843","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025840":["hashtag1","hashtag2"]},{"1397025834":["hashtag1","hashtag2"]},{"1397025837":["hashtag1","hashtag2"]},{"1397025845":["hashtag1","hashtag2"]},{"1397025848":["hashtag1","hashtag2"]},{"1397025843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025840, 1397025834, 1397025837, 1397025845, 1397025848, 1397025843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.902546405792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:19:02.972902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_44_9628.jpg', '/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_54_9748.jpg', '/home/pi/Desktop/images/30112025/04/57/image_30112025_04_58_05_10620.jpg', '/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_14_9640.jpg', '/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_24_9658.jpg', '/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_35_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_44_9628.jpg
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_57_54_9748.jpg
/home/pi/Desktop/images/30112025/04/57/image_30112025_04_58_05_10620.jpg
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_14_9640.jpg
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_24_9658.jpg
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_35_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025849","1397025851","1397025859","1397025853","1397025856","1397025850"],"photo_ids_order":["1397025849","1397025850","1397025851","1397025853","1397025856","1397025859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df6f16b19463cf2dd9c01cbbe5b9a2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4048861634930449787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_57_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa3211e3b98221ff33ec127b89c01b97.jpg","text":"TemporaryFile(/tmp/multipartBody3277554892424431087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_58_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4eb2bdb10503783fac4efd91abd46a4.jpg","text":"TemporaryFile(/tmp/multipartBody4030378243904766005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_58_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fc5e0fb6f7aef643768860adab89895.jpg","text":"TemporaryFile(/tmp/multipartBody8989653708764929717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_58_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68751fe35f6f14d3dab0964be01d66e1.jpg","text":"TemporaryFile(/tmp/multipartBody2133212581349387776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_58_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ec78b204f2befed36ac3f5bf9e262aa.jpg","text":"TemporaryFile(/tmp/multipartBody7194641420202111679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480003892,"filename":"image_30112025_04_57_54_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025851","file1":"1397025850","file0":"1397025849","file4":"1397025856","file5":"1397025859","file3":"1397025853"},"map_files_photo_id_array":[{"photo_id":"1397025859","filename":"file5"},{"photo_id":"1397025851","filename":"file2"},{"photo_id":"1397025856","filename":"file4"},{"photo_id":"1397025850","filename":"file1"},{"photo_id":"1397025849","filename":"file0"},{"photo_id":"1397025853","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025849":["hashtag1","hashtag2"]},{"1397025851":["hashtag1","hashtag2"]},{"1397025859":["hashtag1","hashtag2"]},{"1397025853":["hashtag1","hashtag2"]},{"1397025856":["hashtag1","hashtag2"]},{"1397025850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025849, 1397025851, 1397025859, 1397025853, 1397025856, 1397025850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31419086456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:19:42.102315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/56/image_31102025_11_56_53_1715.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_55_1592.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_56_1617.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_58_1652.jpg', '/home/pi/Desktop/images/31102025/11/56/image_31102025_11_57_00_1679.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_01_1811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_53_1715.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_55_1592.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_56_1617.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_56_58_1652.jpg
/home/pi/Desktop/images/31102025/11/56/image_31102025_11_57_00_1679.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_01_1811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025873","1397025872","1397025869","1397025866","1397025871","1397025870"],"photo_ids_order":["1397025866","1397025869","1397025870","1397025871","1397025872","1397025873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89e7ac1875d6563d31e713cb0d55f41b.jpg","text":"TemporaryFile(/tmp/multipartBody3375434738616634777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_57_01_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e71c70f7ab8d555601cc3113346e5922.jpg","text":"TemporaryFile(/tmp/multipartBody4456523099104363717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_57_00_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/30/993859e6d3675aa3db6d309a1751dd36.jpg","text":"TemporaryFile(/tmp/multipartBody5107777278743507191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_56_55_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/30/cad262fc9a7d91a2e1d8e7d7ac1dbbdf.jpg","text":"TemporaryFile(/tmp/multipartBody7123249267505411705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_56_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/30/b627384a5b8d724307077368806df3d0.jpg","text":"TemporaryFile(/tmp/multipartBody1875296412927182906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_56_58_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/30/6221fd8f772581049a6010db8f430008.jpg","text":"TemporaryFile(/tmp/multipartBody335428656028479714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480042986,"filename":"image_31102025_11_56_56_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025870","file1":"1397025869","file0":"1397025866","file4":"1397025872","file5":"1397025873","file3":"1397025871"},"map_files_photo_id_array":[{"photo_id":"1397025873","filename":"file5"},{"photo_id":"1397025870","filename":"file2"},{"photo_id":"1397025872","filename":"file4"},{"photo_id":"1397025869","filename":"file1"},{"photo_id":"1397025866","filename":"file0"},{"photo_id":"1397025871","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025873":["hashtag1","hashtag2"]},{"1397025872":["hashtag1","hashtag2"]},{"1397025869":["hashtag1","hashtag2"]},{"1397025866":["hashtag1","hashtag2"]},{"1397025871":["hashtag1","hashtag2"]},{"1397025870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025873, 1397025872, 1397025869, 1397025866, 1397025871, 1397025870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07133865356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:20:22.293034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_45_9657.jpg', '/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_54_9559.jpg', '/home/pi/Desktop/images/30112025/04/58/image_30112025_04_59_05_10647.jpg', '/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_14_9766.jpg', '/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_24_9730.jpg', '/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_35_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_45_9657.jpg
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_58_54_9559.jpg
/home/pi/Desktop/images/30112025/04/58/image_30112025_04_59_05_10647.jpg
/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_14_9766.jpg
/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_24_9730.jpg
/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_35_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025884","1397025886","1397025889","1397025882","1397025876","1397025879"],"photo_ids_order":["1397025876","1397025879","1397025882","1397025884","1397025886","1397025889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50e59743726946eedbba37e470f4d746.jpg","text":"TemporaryFile(/tmp/multipartBody1472902269021054380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_59_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/596460dbb92ddb1536400be830c17f90.jpg","text":"TemporaryFile(/tmp/multipartBody8291197994019153128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_59_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c87ed94eddb124309806d3c1af0aa91b.jpg","text":"TemporaryFile(/tmp/multipartBody9172512169784815390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_59_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57e7032e8fd3de944e8fe536e2201a18.jpg","text":"TemporaryFile(/tmp/multipartBody1363225830886257297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_59_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7f96bcc3b9e11426ffbdf55e5809391.jpg","text":"TemporaryFile(/tmp/multipartBody1608014057015269051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_58_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3af65792da5d2586598cfe90c6fe45d.jpg","text":"TemporaryFile(/tmp/multipartBody8238969807242541615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480082987,"filename":"image_30112025_04_58_54_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025882","file1":"1397025879","file0":"1397025876","file4":"1397025886","file5":"1397025889","file3":"1397025884"},"map_files_photo_id_array":[{"photo_id":"1397025889","filename":"file5"},{"photo_id":"1397025882","filename":"file2"},{"photo_id":"1397025886","filename":"file4"},{"photo_id":"1397025879","filename":"file1"},{"photo_id":"1397025876","filename":"file0"},{"photo_id":"1397025884","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025884":["hashtag1","hashtag2"]},{"1397025886":["hashtag1","hashtag2"]},{"1397025889":["hashtag1","hashtag2"]},{"1397025882":["hashtag1","hashtag2"]},{"1397025876":["hashtag1","hashtag2"]},{"1397025879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025884, 1397025886, 1397025889, 1397025882, 1397025876, 1397025879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69451403617859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:21:03.121673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_45_9881.jpg', '/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_54_9635.jpg', '/home/pi/Desktop/images/30112025/04/59/image_30112025_05_00_04_9689.jpg', '/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_15_10731.jpg', '/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_24_9565.jpg', '/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_34_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_45_9881.jpg
/home/pi/Desktop/images/30112025/04/59/image_30112025_04_59_54_9635.jpg
/home/pi/Desktop/images/30112025/04/59/image_30112025_05_00_04_9689.jpg
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_15_10731.jpg
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_24_9565.jpg
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_34_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025906","1397025909","1397025903","1397025902","1397025901","1397025904"],"photo_ids_order":["1397025901","1397025902","1397025903","1397025904","1397025906","1397025909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afeb7298fac8c76a2998177deeeaad48.jpg","text":"TemporaryFile(/tmp/multipartBody3768169273687217463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_05_00_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be4709531418fc3dfcb1dbc559000dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8867348076855476169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_05_00_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d38f4f718c3545c2237b61e0c1ec36c.jpg","text":"TemporaryFile(/tmp/multipartBody6481279541252203096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_05_00_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3586a36c9e87a3f36ef3572d19ee2b6.jpg","text":"TemporaryFile(/tmp/multipartBody1218742153775308643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_04_59_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fd6002a0044286af9b95ec409c32c72.jpg","text":"TemporaryFile(/tmp/multipartBody5551937013535569417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_04_59_45_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50b4020e87815071a7d0c01a587667e4.jpg","text":"TemporaryFile(/tmp/multipartBody1701600600987377467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480123869,"filename":"image_30112025_05_00_15_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025903","file1":"1397025902","file0":"1397025901","file4":"1397025906","file5":"1397025909","file3":"1397025904"},"map_files_photo_id_array":[{"photo_id":"1397025909","filename":"file5"},{"photo_id":"1397025903","filename":"file2"},{"photo_id":"1397025906","filename":"file4"},{"photo_id":"1397025902","filename":"file1"},{"photo_id":"1397025901","filename":"file0"},{"photo_id":"1397025904","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025906":["hashtag1","hashtag2"]},{"1397025909":["hashtag1","hashtag2"]},{"1397025903":["hashtag1","hashtag2"]},{"1397025902":["hashtag1","hashtag2"]},{"1397025901":["hashtag1","hashtag2"]},{"1397025904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025906, 1397025909, 1397025903, 1397025902, 1397025901, 1397025904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.991687297821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:21:42.416075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/57/image_31102025_11_57_04_2550.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_07_2791.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_11_4474.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_13_1594.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_16_2646.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_18_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_04_2550.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_07_2791.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_11_4474.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_13_1594.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_16_2646.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_18_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":["1397025924","1397025921","1397025918","1397025923","1397025920","1397025922"],"photo_ids_order":["1397025918","1397025920","1397025921","1397025922","1397025923","1397025924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d34c2bef7ae72230c6438489e53c2a05.jpg","text":"TemporaryFile(/tmp/multipartBody4665480638167637788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_18_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/30/a4069722425ce82e27c757e91e12d5c8.jpg","text":"TemporaryFile(/tmp/multipartBody6984895293763334138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_11_4474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b7fe46cbf2dd9c213d1c7b0eb403e80.jpg","text":"TemporaryFile(/tmp/multipartBody9177648651109857989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_04_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5024eb41f9bec985ac60825cda75724d.jpg","text":"TemporaryFile(/tmp/multipartBody773599466944303658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_16_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5992a3834a57dd69eea8f83fad6d653.jpg","text":"TemporaryFile(/tmp/multipartBody4192753202988865291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_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/30/f35bea7a22e1c6af5bdf6eb0377a9041.jpg","text":"TemporaryFile(/tmp/multipartBody7514505969335181740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480163325,"filename":"image_31102025_11_57_13_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025921","file1":"1397025920","file0":"1397025918","file4":"1397025923","file5":"1397025924","file3":"1397025922"},"map_files_photo_id_array":[{"photo_id":"1397025924","filename":"file5"},{"photo_id":"1397025921","filename":"file2"},{"photo_id":"1397025923","filename":"file4"},{"photo_id":"1397025920","filename":"file1"},{"photo_id":"1397025918","filename":"file0"},{"photo_id":"1397025922","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025924":["hashtag1","hashtag2"]},{"1397025921":["hashtag1","hashtag2"]},{"1397025918":["hashtag1","hashtag2"]},{"1397025923":["hashtag1","hashtag2"]},{"1397025920":["hashtag1","hashtag2"]},{"1397025922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025924, 1397025921, 1397025918, 1397025923, 1397025920, 1397025922)","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: 49.591681718826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:22:42.650179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/57/image_31102025_11_57_22_3599.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_38_16207.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_40_1655.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_41_1681.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_43_1650.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_45_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_22_3599.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_38_16207.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_40_1655.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_41_1681.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_43_1650.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_45_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025939","1397025941","1397025944","1397025938","1397025940","1397025943"],"photo_ids_order":["1397025938","1397025939","1397025940","1397025941","1397025943","1397025944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2464e362314d9a06fb3169c28d8e49c2.jpg","text":"TemporaryFile(/tmp/multipartBody2284412445169118215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_38_16207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d86009fd3de4f43539a0f640c1680b9.jpg","text":"TemporaryFile(/tmp/multipartBody9110776710280581126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_41_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/30/bf5bf55ec7dc39d795ee0effb8901af3.jpg","text":"TemporaryFile(/tmp/multipartBody4759223597117736433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_45_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/30/ab282d260688cbf5b6b743ad765d1b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6843964822318609355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_22_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/30/1e450968de08170adc1b54fb2e17b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3380761106472972129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_40_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/30/58da0bdc9b4bad4ba669ac994a0cf754.jpg","text":"TemporaryFile(/tmp/multipartBody3530578135000910605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480226409,"filename":"image_31102025_11_57_43_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025940","file1":"1397025939","file0":"1397025938","file4":"1397025943","file5":"1397025944","file3":"1397025941"},"map_files_photo_id_array":[{"photo_id":"1397025944","filename":"file5"},{"photo_id":"1397025940","filename":"file2"},{"photo_id":"1397025943","filename":"file4"},{"photo_id":"1397025939","filename":"file1"},{"photo_id":"1397025938","filename":"file0"},{"photo_id":"1397025941","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397025939":["hashtag1","hashtag2"]},{"1397025941":["hashtag1","hashtag2"]},{"1397025944":["hashtag1","hashtag2"]},{"1397025938":["hashtag1","hashtag2"]},{"1397025940":["hashtag1","hashtag2"]},{"1397025943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397025939, 1397025941, 1397025944, 1397025938, 1397025940, 1397025943)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.94300818443298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:23:33.823070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_53_1670.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_54_1508.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_56_1723.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_58_1638.jpg', '/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_59_1646.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_02_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_53_1670.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_54_1508.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_56_1723.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_58_1638.jpg
/home/pi/Desktop/images/25112025/19/48/image_25112025_19_48_59_1646.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_02_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":["1397025971","1397025968","1397025953","1397025970","1397025958","1397025955"],"photo_ids_order":["1397025953","1397025955","1397025958","1397025968","1397025970","1397025971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f68a56aabff32655e54d881a3228e14.jpg","text":"TemporaryFile(/tmp/multipartBody5149780303841684935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_49_02_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/30/0712368e00759797c6be2482a3524656.jpg","text":"TemporaryFile(/tmp/multipartBody1711294515479313525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_48_58_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/30/e6870f60c405132e1c4481196f083ac8.jpg","text":"TemporaryFile(/tmp/multipartBody698818663302153340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_48_53_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/30/4757abaaa78be0a3e32c88b8486fc1ed.jpg","text":"TemporaryFile(/tmp/multipartBody2478070626008160984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_48_59_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/30/d17d5c42fd616344bf470fd28c6ca1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5136882767246214138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_48_56_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d8a90743961ebb6e6537f17c59b5b57.jpg","text":"TemporaryFile(/tmp/multipartBody1359817577546908657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480275704,"filename":"image_25112025_19_48_54_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025958","file1":"1397025955","file0":"1397025953","file4":"1397025970","file5":"1397025971","file3":"1397025968"},"map_files_photo_id_array":[{"photo_id":"1397025971","filename":"file5"},{"photo_id":"1397025958","filename":"file2"},{"photo_id":"1397025970","filename":"file4"},{"photo_id":"1397025955","filename":"file1"},{"photo_id":"1397025953","filename":"file0"},{"photo_id":"1397025968","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397025971":["hashtag1","hashtag2"]},{"1397025968":["hashtag1","hashtag2"]},{"1397025953":["hashtag1","hashtag2"]},{"1397025970":["hashtag1","hashtag2"]},{"1397025958":["hashtag1","hashtag2"]},{"1397025955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397025971, 1397025968, 1397025953, 1397025970, 1397025958, 1397025955)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.91684079170227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:24:22.938092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_45_10782.jpg', '/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_55_9797.jpg', '/home/pi/Desktop/images/30112025/05/00/image_30112025_05_01_04_9581.jpg', '/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_15_10613.jpg', '/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_24_9649.jpg', '/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_34_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_45_10782.jpg
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_00_55_9797.jpg
/home/pi/Desktop/images/30112025/05/00/image_30112025_05_01_04_9581.jpg
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_15_10613.jpg
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_24_9649.jpg
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_34_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397025992","1397025989","1397025980","1397025974","1397025977","1397025985"],"photo_ids_order":["1397025974","1397025977","1397025980","1397025985","1397025989","1397025992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f4ba4129f8610ab96f0bf15d5736da0.jpg","text":"TemporaryFile(/tmp/multipartBody1240339164318402400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_01_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c43bfb2322249249d5a7fa05500a151e.jpg","text":"TemporaryFile(/tmp/multipartBody1078822514945650846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_01_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be18df31bae0242a62daa45929b73619.jpg","text":"TemporaryFile(/tmp/multipartBody7470306065951035951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_01_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b27177167846956fefe292c6c7d1fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6527465384805197848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_00_45_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f794ed8d5791c25185dbeba2f5005fef.jpg","text":"TemporaryFile(/tmp/multipartBody5417309642256878137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_00_55_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25cd598f2d295b81314f8f8d2e3260dd.jpg","text":"TemporaryFile(/tmp/multipartBody5829178402843576444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480323540,"filename":"image_30112025_05_01_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397025980","file1":"1397025977","file0":"1397025974","file4":"1397025989","file5":"1397025992","file3":"1397025985"},"map_files_photo_id_array":[{"photo_id":"1397025992","filename":"file5"},{"photo_id":"1397025980","filename":"file2"},{"photo_id":"1397025989","filename":"file4"},{"photo_id":"1397025977","filename":"file1"},{"photo_id":"1397025974","filename":"file0"},{"photo_id":"1397025985","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397025992":["hashtag1","hashtag2"]},{"1397025989":["hashtag1","hashtag2"]},{"1397025980":["hashtag1","hashtag2"]},{"1397025974":["hashtag1","hashtag2"]},{"1397025977":["hashtag1","hashtag2"]},{"1397025985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397025992, 1397025989, 1397025980, 1397025974, 1397025977, 1397025985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29603290557861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:25:04.625839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-30 06:25:22.490151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_06_3923.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_09_2698.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_11_2558.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_15_3586.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_18_2576.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_20_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_06_3923.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_09_2698.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_11_2558.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_15_3586.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_18_2576.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_20_2895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026002","1397026004","1397026009","1397026006","1397026011","1397025999"],"photo_ids_order":["1397025999","1397026002","1397026004","1397026006","1397026009","1397026011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b45b1ba314652b55de2d6059f0043a94.jpg","text":"TemporaryFile(/tmp/multipartBody8569018180927200529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_09_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/30/63e4f9b24e16afde322e6c715db6a58e.jpg","text":"TemporaryFile(/tmp/multipartBody4337375497125647242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_11_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/30/ffad230d9745fd1b657b85cf2066dd88.jpg","text":"TemporaryFile(/tmp/multipartBody6618177091976700876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_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/30/cb4c1c20da5fc2353d9015dedcc6fa81.jpg","text":"TemporaryFile(/tmp/multipartBody1684099792414486300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_15_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/30/6bf40e6dbd79edafd44b75b291c41db9.jpg","text":"TemporaryFile(/tmp/multipartBody6577852174567766911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_20_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/30/673d603114e35e2181a80ee21a83ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody4204049063683911403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480386811,"filename":"image_25112025_19_49_06_3923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026004","file1":"1397026002","file0":"1397025999","file4":"1397026009","file5":"1397026011","file3":"1397026006"},"map_files_photo_id_array":[{"photo_id":"1397026011","filename":"file5"},{"photo_id":"1397026004","filename":"file2"},{"photo_id":"1397026009","filename":"file4"},{"photo_id":"1397026002","filename":"file1"},{"photo_id":"1397025999","filename":"file0"},{"photo_id":"1397026006","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026002":["hashtag1","hashtag2"]},{"1397026004":["hashtag1","hashtag2"]},{"1397026009":["hashtag1","hashtag2"]},{"1397026006":["hashtag1","hashtag2"]},{"1397026011":["hashtag1","hashtag2"]},{"1397025999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026002, 1397026004, 1397026009, 1397026006, 1397026011, 1397025999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01657962799072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:26:12.622325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_28_7160.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_29_1538.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_31_1538.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_32_1582.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_36_3631.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_39_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_28_7160.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_29_1538.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_31_1538.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_32_1582.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_36_3631.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_39_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026020","1397026014","1397026017","1397026027","1397026012","1397026023"],"photo_ids_order":["1397026012","1397026014","1397026017","1397026020","1397026023","1397026027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c904fc2beddbf152de58f038f3c624c.jpg","text":"TemporaryFile(/tmp/multipartBody7819619350660667537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_32_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9107617a0b512e60a1f9de00fad48d92.jpg","text":"TemporaryFile(/tmp/multipartBody2884715021888196420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_29_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/713b4d804520e07167ffc7f219ba7875.jpg","text":"TemporaryFile(/tmp/multipartBody2258017650182720424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_31_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/30/b567344a151b8ebda7554c85bd7154cd.jpg","text":"TemporaryFile(/tmp/multipartBody6491606381073512835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_39_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/30/4d4f2f2ce614f7be54aed96c51d290df.jpg","text":"TemporaryFile(/tmp/multipartBody5002960389970355926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_28_7160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43a11ae9e151e82c1b01e74e5b076d4e.jpg","text":"TemporaryFile(/tmp/multipartBody117887043452597372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480434280,"filename":"image_25112025_19_49_36_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026017","file1":"1397026014","file0":"1397026012","file4":"1397026023","file5":"1397026027","file3":"1397026020"},"map_files_photo_id_array":[{"photo_id":"1397026027","filename":"file5"},{"photo_id":"1397026017","filename":"file2"},{"photo_id":"1397026023","filename":"file4"},{"photo_id":"1397026014","filename":"file1"},{"photo_id":"1397026012","filename":"file0"},{"photo_id":"1397026020","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026020":["hashtag1","hashtag2"]},{"1397026014":["hashtag1","hashtag2"]},{"1397026017":["hashtag1","hashtag2"]},{"1397026027":["hashtag1","hashtag2"]},{"1397026012":["hashtag1","hashtag2"]},{"1397026023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026020, 1397026014, 1397026017, 1397026027, 1397026012, 1397026023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26187992095947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:27:02.711628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_45_10583.jpg', '/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_54_9619.jpg', '/home/pi/Desktop/images/30112025/05/01/image_30112025_05_02_05_10586.jpg', '/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_15_9672.jpg', '/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_24_9789.jpg', '/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_34_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_45_10583.jpg
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_01_54_9619.jpg
/home/pi/Desktop/images/30112025/05/01/image_30112025_05_02_05_10586.jpg
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_15_9672.jpg
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_24_9789.jpg
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_34_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026043","1397026042","1397026041","1397026050","1397026044","1397026047"],"photo_ids_order":["1397026041","1397026042","1397026043","1397026044","1397026047","1397026050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/349e449c8b372aa01effcc1b9102400b.jpg","text":"TemporaryFile(/tmp/multipartBody2347433787239741539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_02_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5c063ecad9e50edf27e2505a049cf61.jpg","text":"TemporaryFile(/tmp/multipartBody1316695619183588473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_01_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/527c08497fac35f117f11b14c797733e.jpg","text":"TemporaryFile(/tmp/multipartBody2202014231084661269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_01_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2673c667ea8af676a05f4321c13b1495.jpg","text":"TemporaryFile(/tmp/multipartBody1723225587337367913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_02_34_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e7e532e8bf7830ed098642db7edc2f.jpg","text":"TemporaryFile(/tmp/multipartBody3390178849315100984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_02_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d356071b11f8c9a8bc443ab643babc.jpg","text":"TemporaryFile(/tmp/multipartBody8879021275391529489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480483437,"filename":"image_30112025_05_02_24_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026043","file1":"1397026042","file0":"1397026041","file4":"1397026047","file5":"1397026050","file3":"1397026044"},"map_files_photo_id_array":[{"photo_id":"1397026050","filename":"file5"},{"photo_id":"1397026043","filename":"file2"},{"photo_id":"1397026047","filename":"file4"},{"photo_id":"1397026042","filename":"file1"},{"photo_id":"1397026041","filename":"file0"},{"photo_id":"1397026044","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026043":["hashtag1","hashtag2"]},{"1397026042":["hashtag1","hashtag2"]},{"1397026041":["hashtag1","hashtag2"]},{"1397026050":["hashtag1","hashtag2"]},{"1397026044":["hashtag1","hashtag2"]},{"1397026047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026043, 1397026042, 1397026041, 1397026050, 1397026044, 1397026047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36501121520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:27:41.927164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/57/image_31102025_11_57_47_1717.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_48_1629.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_50_1782.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_52_2468.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_54_1617.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_56_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_47_1717.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_48_1629.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_50_1782.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_52_2468.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_54_1617.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_56_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026061","1397026064","1397026063","1397026057","1397026062","1397026059"],"photo_ids_order":["1397026057","1397026059","1397026061","1397026062","1397026063","1397026064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/478b70de1e7f2ca445d9682543ea9334.jpg","text":"TemporaryFile(/tmp/multipartBody6761232346147618471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_50_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/30/30d752ea456067c61160d8e2014dc699.jpg","text":"TemporaryFile(/tmp/multipartBody8778989881182533963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_56_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/30/98339c4c3664fab16658fd41a042cef0.jpg","text":"TemporaryFile(/tmp/multipartBody4269443504011114377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_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/30/442d44a1e0e4130bb51f68266b352f4f.jpg","text":"TemporaryFile(/tmp/multipartBody4100163014231466391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_47_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/30/8502c0b3e2be9f7ee5cf884e17b5b499.jpg","text":"TemporaryFile(/tmp/multipartBody5530617388224350591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_52_2468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c6c2bbaca47cbc1718b75d380848d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7936854823003650045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480522817,"filename":"image_31102025_11_57_48_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026061","file1":"1397026059","file0":"1397026057","file4":"1397026063","file5":"1397026064","file3":"1397026062"},"map_files_photo_id_array":[{"photo_id":"1397026064","filename":"file5"},{"photo_id":"1397026061","filename":"file2"},{"photo_id":"1397026063","filename":"file4"},{"photo_id":"1397026059","filename":"file1"},{"photo_id":"1397026057","filename":"file0"},{"photo_id":"1397026062","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026061":["hashtag1","hashtag2"]},{"1397026064":["hashtag1","hashtag2"]},{"1397026063":["hashtag1","hashtag2"]},{"1397026057":["hashtag1","hashtag2"]},{"1397026062":["hashtag1","hashtag2"]},{"1397026059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026061, 1397026064, 1397026063, 1397026057, 1397026062, 1397026059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.553781032562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:28:22.122222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_44_9720.jpg', '/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_55_10742.jpg', '/home/pi/Desktop/images/30112025/05/02/image_30112025_05_03_05_9684.jpg', '/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_14_9897.jpg', '/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_24_9807.jpg', '/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_34_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_44_9720.jpg
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_02_55_10742.jpg
/home/pi/Desktop/images/30112025/05/02/image_30112025_05_03_05_9684.jpg
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_14_9897.jpg
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_24_9807.jpg
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_34_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026073","1397026067","1397026076","1397026078","1397026080","1397026071"],"photo_ids_order":["1397026067","1397026071","1397026073","1397026076","1397026078","1397026080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cd7041e5fcbc286059db805eff718b6.jpg","text":"TemporaryFile(/tmp/multipartBody8001122119979735617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_03_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe965d858be882c902752fe05ba71afc.jpg","text":"TemporaryFile(/tmp/multipartBody4759751195140057409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_02_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38435d900353057b3f8e63d397538dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6066067002409943799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_03_14_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2805a0c70d795f379cd49025d0f67236.jpg","text":"TemporaryFile(/tmp/multipartBody6551081634975907762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_03_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a31924f2b0e632bda4af18ba3c57eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4276368153549991875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_03_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e949a5a1262f8ce6de0bd2a5fd91d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5155367882736567754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480562799,"filename":"image_30112025_05_02_55_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026073","file1":"1397026071","file0":"1397026067","file4":"1397026078","file5":"1397026080","file3":"1397026076"},"map_files_photo_id_array":[{"photo_id":"1397026080","filename":"file5"},{"photo_id":"1397026073","filename":"file2"},{"photo_id":"1397026078","filename":"file4"},{"photo_id":"1397026071","filename":"file1"},{"photo_id":"1397026067","filename":"file0"},{"photo_id":"1397026076","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026073":["hashtag1","hashtag2"]},{"1397026067":["hashtag1","hashtag2"]},{"1397026076":["hashtag1","hashtag2"]},{"1397026078":["hashtag1","hashtag2"]},{"1397026080":["hashtag1","hashtag2"]},{"1397026071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026073, 1397026067, 1397026076, 1397026078, 1397026080, 1397026071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14118957519531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:29:03.472216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_45_10637.jpg', '/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_54_9667.jpg', '/home/pi/Desktop/images/30112025/05/03/image_30112025_05_04_05_10594.jpg', '/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_15_9686.jpg', '/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_24_9710.jpg', '/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_45_10637.jpg
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_03_54_9667.jpg
/home/pi/Desktop/images/30112025/05/03/image_30112025_05_04_05_10594.jpg
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_15_9686.jpg
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_24_9710.jpg
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026091","1397026085","1397026081","1397026084","1397026089","1397026083"],"photo_ids_order":["1397026081","1397026083","1397026084","1397026085","1397026089","1397026091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c63c8f26dc28a31e629d0c9d30bf9f6f.jpg","text":"TemporaryFile(/tmp/multipartBody1468361807243340499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_04_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8a2954083a9d9380b7ed876b29ede15.jpg","text":"TemporaryFile(/tmp/multipartBody598390584730682296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_04_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28856ece74501b11d5b34814fb700c68.jpg","text":"TemporaryFile(/tmp/multipartBody3996034069690886136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_03_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd6bf5f65c139bc50a2009b933f65af3.jpg","text":"TemporaryFile(/tmp/multipartBody233247982368173668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_04_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2ea32ff9db2a964e7dc23ce45e07471.jpg","text":"TemporaryFile(/tmp/multipartBody1925150613607319639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_04_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e694e743cb1e7aa46640a175d2ace849.jpg","text":"TemporaryFile(/tmp/multipartBody4865778032481262067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480604298,"filename":"image_30112025_05_03_54_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026084","file1":"1397026083","file0":"1397026081","file4":"1397026089","file5":"1397026091","file3":"1397026085"},"map_files_photo_id_array":[{"photo_id":"1397026091","filename":"file5"},{"photo_id":"1397026084","filename":"file2"},{"photo_id":"1397026089","filename":"file4"},{"photo_id":"1397026083","filename":"file1"},{"photo_id":"1397026081","filename":"file0"},{"photo_id":"1397026085","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026091":["hashtag1","hashtag2"]},{"1397026085":["hashtag1","hashtag2"]},{"1397026081":["hashtag1","hashtag2"]},{"1397026084":["hashtag1","hashtag2"]},{"1397026089":["hashtag1","hashtag2"]},{"1397026083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026091, 1397026085, 1397026081, 1397026084, 1397026089, 1397026083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58736538887024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:29:42.553542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/57/image_31102025_11_57_57_1552.jpg', '/home/pi/Desktop/images/31102025/11/57/image_31102025_11_58_01_3788.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_04_2696.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_07_3050.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_10_2643.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_17_7258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_57_57_1552.jpg
/home/pi/Desktop/images/31102025/11/57/image_31102025_11_58_01_3788.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_04_2696.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_07_3050.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_10_2643.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_17_7258.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026116","1397026115","1397026118","1397026103","1397026100","1397026117"],"photo_ids_order":["1397026100","1397026103","1397026115","1397026116","1397026117","1397026118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ad74c2286b434af084e20314456a697.jpg","text":"TemporaryFile(/tmp/multipartBody1578230727448386602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_58_07_3050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c4285c89b45677440751c751811258d.jpg","text":"TemporaryFile(/tmp/multipartBody1583365478672245540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_58_04_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/30/94519c1c2ac184fb43c7e94b69519f78.jpg","text":"TemporaryFile(/tmp/multipartBody8142125018331475097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_58_17_7258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15017b2a300de230dd88fdeb4351c088.jpg","text":"TemporaryFile(/tmp/multipartBody6646127954496511665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_58_01_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/30/d3a6599960b93ccb4e43620ae7538bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1052867910802378304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_57_57_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/30/77cf8dcef785dbc3f935f159f85cc4d1.jpg","text":"TemporaryFile(/tmp/multipartBody7685592656625516658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480643431,"filename":"image_31102025_11_58_10_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026115","file1":"1397026103","file0":"1397026100","file4":"1397026117","file5":"1397026118","file3":"1397026116"},"map_files_photo_id_array":[{"photo_id":"1397026118","filename":"file5"},{"photo_id":"1397026115","filename":"file2"},{"photo_id":"1397026117","filename":"file4"},{"photo_id":"1397026103","filename":"file1"},{"photo_id":"1397026100","filename":"file0"},{"photo_id":"1397026116","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026116":["hashtag1","hashtag2"]},{"1397026115":["hashtag1","hashtag2"]},{"1397026118":["hashtag1","hashtag2"]},{"1397026103":["hashtag1","hashtag2"]},{"1397026100":["hashtag1","hashtag2"]},{"1397026117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026116, 1397026115, 1397026118, 1397026103, 1397026100, 1397026117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57685565948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:30:22.718687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_45_9642.jpg', '/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_55_9973.jpg', '/home/pi/Desktop/images/30112025/05/04/image_30112025_05_05_04_9641.jpg', '/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_15_10677.jpg', '/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_25_9619.jpg', '/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_34_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_45_9642.jpg
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_04_55_9973.jpg
/home/pi/Desktop/images/30112025/05/04/image_30112025_05_05_04_9641.jpg
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_15_10677.jpg
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_25_9619.jpg
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_34_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026128","1397026121","1397026124","1397026126","1397026129","1397026131"],"photo_ids_order":["1397026121","1397026124","1397026126","1397026128","1397026129","1397026131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/350e9d18b674a5a2377fa9d53eac70a4.jpg","text":"TemporaryFile(/tmp/multipartBody1978687964396060193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_05_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7e3127ce036edbc685637e09fda6c73.jpg","text":"TemporaryFile(/tmp/multipartBody4464775611013583185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_04_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6dcafbe7d0f884841632516f07afe0d.jpg","text":"TemporaryFile(/tmp/multipartBody499724312431269657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_04_55_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa2606b568a9500eba57988304e101b0.jpg","text":"TemporaryFile(/tmp/multipartBody2218735197832878608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_05_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65e76a4852b82b472b94a7635bc4e2b5.jpg","text":"TemporaryFile(/tmp/multipartBody261352563697199324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_05_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5d56dc9c321fb3c5a3febcbcd472e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2549565524532646678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480683447,"filename":"image_30112025_05_05_34_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026126","file1":"1397026124","file0":"1397026121","file4":"1397026129","file5":"1397026131","file3":"1397026128"},"map_files_photo_id_array":[{"photo_id":"1397026131","filename":"file5"},{"photo_id":"1397026126","filename":"file2"},{"photo_id":"1397026129","filename":"file4"},{"photo_id":"1397026124","filename":"file1"},{"photo_id":"1397026121","filename":"file0"},{"photo_id":"1397026128","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026128":["hashtag1","hashtag2"]},{"1397026121":["hashtag1","hashtag2"]},{"1397026124":["hashtag1","hashtag2"]},{"1397026126":["hashtag1","hashtag2"]},{"1397026129":["hashtag1","hashtag2"]},{"1397026131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026128, 1397026121, 1397026124, 1397026126, 1397026129, 1397026131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56791710853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:31:02.545052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_45_10635.jpg', '/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_55_9803.jpg', '/home/pi/Desktop/images/30112025/05/05/image_30112025_05_06_04_9612.jpg', '/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_15_10624.jpg', '/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_25_9751.jpg', '/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_45_10635.jpg
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_05_55_9803.jpg
/home/pi/Desktop/images/30112025/05/05/image_30112025_05_06_04_9612.jpg
/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_15_10624.jpg
/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_25_9751.jpg
/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_34_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026134","1397026133","1397026132","1397026135","1397026140","1397026137"],"photo_ids_order":["1397026132","1397026133","1397026134","1397026135","1397026137","1397026140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bebe995c8e986ea98c7ce872b238cc83.jpg","text":"TemporaryFile(/tmp/multipartBody6383202187774578481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_06_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be2784134f14bb21f29fbe8bc78f26c8.jpg","text":"TemporaryFile(/tmp/multipartBody8294511877638517501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_05_55_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d46582af7afeb886c2dd70f5a2aad2e.jpg","text":"TemporaryFile(/tmp/multipartBody809795245098813654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_05_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00eed9f61f95d95818b5e5eea5b4e2bf.jpg","text":"TemporaryFile(/tmp/multipartBody3007806148326484065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_06_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de888918cd71e20461d90e89b99ece06.jpg","text":"TemporaryFile(/tmp/multipartBody7416995393756144438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_06_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae664eabb86a4ef8ede55708da8046be.jpg","text":"TemporaryFile(/tmp/multipartBody1221853126111050049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480723353,"filename":"image_30112025_05_06_25_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026134","file1":"1397026133","file0":"1397026132","file4":"1397026137","file5":"1397026140","file3":"1397026135"},"map_files_photo_id_array":[{"photo_id":"1397026140","filename":"file5"},{"photo_id":"1397026134","filename":"file2"},{"photo_id":"1397026137","filename":"file4"},{"photo_id":"1397026133","filename":"file1"},{"photo_id":"1397026132","filename":"file0"},{"photo_id":"1397026135","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026134":["hashtag1","hashtag2"]},{"1397026133":["hashtag1","hashtag2"]},{"1397026132":["hashtag1","hashtag2"]},{"1397026135":["hashtag1","hashtag2"]},{"1397026140":["hashtag1","hashtag2"]},{"1397026137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026134, 1397026133, 1397026132, 1397026135, 1397026140, 1397026137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62483096122742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:31:41.963361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/58/image_31102025_11_58_18_1567.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_20_1768.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_26_5384.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_31_5790.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_34_3066.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_36_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_18_1567.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_20_1768.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_26_5384.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_31_5790.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_34_3066.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_36_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026151","1397026154","1397026150","1397026147","1397026149","1397026152"],"photo_ids_order":["1397026147","1397026149","1397026150","1397026151","1397026152","1397026154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71b8315b0f1f37e0eff3bd31c64ade69.jpg","text":"TemporaryFile(/tmp/multipartBody1000104027651988777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_31_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/30/9f28e9288289dcf38c068235cc1139b6.jpg","text":"TemporaryFile(/tmp/multipartBody635530884887831639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_36_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/30/75ce09a0f358d689f236d5dbd85d636f.jpg","text":"TemporaryFile(/tmp/multipartBody5690141343608054144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_26_5384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a827fe31ef0fd65c46331fe56b94e51.jpg","text":"TemporaryFile(/tmp/multipartBody2092377235280089032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_18_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/676796168816675f3299e7ba0c75d0be.jpg","text":"TemporaryFile(/tmp/multipartBody5398358642037057987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_20_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/30/78f7ba5bb9cc7741264a11e5eb136f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4461061563406907781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480762949,"filename":"image_31102025_11_58_34_3066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026150","file1":"1397026149","file0":"1397026147","file4":"1397026152","file5":"1397026154","file3":"1397026151"},"map_files_photo_id_array":[{"photo_id":"1397026154","filename":"file5"},{"photo_id":"1397026150","filename":"file2"},{"photo_id":"1397026152","filename":"file4"},{"photo_id":"1397026149","filename":"file1"},{"photo_id":"1397026147","filename":"file0"},{"photo_id":"1397026151","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026151":["hashtag1","hashtag2"]},{"1397026154":["hashtag1","hashtag2"]},{"1397026150":["hashtag1","hashtag2"]},{"1397026147":["hashtag1","hashtag2"]},{"1397026149":["hashtag1","hashtag2"]},{"1397026152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026151, 1397026154, 1397026150, 1397026147, 1397026149, 1397026152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.949896812438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:32:22.185714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_55_10876.jpg', '/home/pi/Desktop/images/30112025/05/06/image_30112025_05_07_05_9546.jpg', '/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_14_9674.jpg', '/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_25_10743.jpg', '/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_35_9635.jpg', '/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/06/image_30112025_05_06_55_10876.jpg
/home/pi/Desktop/images/30112025/05/06/image_30112025_05_07_05_9546.jpg
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_14_9674.jpg
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_25_10743.jpg
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_35_9635.jpg
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_44_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026163","1397026166","1397026160","1397026157","1397026165","1397026168"],"photo_ids_order":["1397026157","1397026160","1397026163","1397026165","1397026166","1397026168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b693807e7733d8ddaf8e4e08e02402f3.jpg","text":"TemporaryFile(/tmp/multipartBody1836195606486609281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_07_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5a832bb7a292f5af83485698b5af5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5417443070971999215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_07_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2820cc96ad9f845aaccbffc3e4afa715.jpg","text":"TemporaryFile(/tmp/multipartBody4173527946043968894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_07_05_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a4270e82a71fc956fa3b9c5f20a2e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6583046579166198233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_06_55_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f88bef917c1e02deea7999d4939a9c06.jpg","text":"TemporaryFile(/tmp/multipartBody3405624829860285562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_07_25_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ffc3f47a921fd966a1f1a09b70a699b.jpg","text":"TemporaryFile(/tmp/multipartBody2636178558594333979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480802912,"filename":"image_30112025_05_07_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026163","file1":"1397026160","file0":"1397026157","file4":"1397026166","file5":"1397026168","file3":"1397026165"},"map_files_photo_id_array":[{"photo_id":"1397026168","filename":"file5"},{"photo_id":"1397026163","filename":"file2"},{"photo_id":"1397026166","filename":"file4"},{"photo_id":"1397026160","filename":"file1"},{"photo_id":"1397026157","filename":"file0"},{"photo_id":"1397026165","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026163":["hashtag1","hashtag2"]},{"1397026166":["hashtag1","hashtag2"]},{"1397026160":["hashtag1","hashtag2"]},{"1397026157":["hashtag1","hashtag2"]},{"1397026165":["hashtag1","hashtag2"]},{"1397026168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026163, 1397026166, 1397026160, 1397026157, 1397026165, 1397026168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.110724687576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:33:02.897419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_55_10736.jpg', '/home/pi/Desktop/images/30112025/05/07/image_30112025_05_08_05_9670.jpg', '/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_14_9626.jpg', '/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_25_10739.jpg', '/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_35_9562.jpg', '/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_07_55_10736.jpg
/home/pi/Desktop/images/30112025/05/07/image_30112025_05_08_05_9670.jpg
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_14_9626.jpg
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_25_10739.jpg
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_35_9562.jpg
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_44_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026178","1397026172","1397026169","1397026174","1397026171","1397026170"],"photo_ids_order":["1397026169","1397026170","1397026171","1397026172","1397026174","1397026178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86004bb21f27a260596da8e980c6a874.jpg","text":"TemporaryFile(/tmp/multipartBody5235600696390457704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_08_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a9fb8682c6a93d7c3e01720e76ddcad.jpg","text":"TemporaryFile(/tmp/multipartBody6763247130531100443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_08_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c41058c82933c523e11314445f7ba457.jpg","text":"TemporaryFile(/tmp/multipartBody6759851023642154943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_07_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ef0a2bcfa3cabd054f14ca5f3847d49.jpg","text":"TemporaryFile(/tmp/multipartBody487087101048312136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_08_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2362e517979192bff504c62e5cd8ae78.jpg","text":"TemporaryFile(/tmp/multipartBody5012216774464241319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_08_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19a1502e2377c7541bb9e9165897099f.jpg","text":"TemporaryFile(/tmp/multipartBody5030220381972571627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480843673,"filename":"image_30112025_05_08_05_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026171","file1":"1397026170","file0":"1397026169","file4":"1397026174","file5":"1397026178","file3":"1397026172"},"map_files_photo_id_array":[{"photo_id":"1397026178","filename":"file5"},{"photo_id":"1397026171","filename":"file2"},{"photo_id":"1397026174","filename":"file4"},{"photo_id":"1397026170","filename":"file1"},{"photo_id":"1397026169","filename":"file0"},{"photo_id":"1397026172","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026178":["hashtag1","hashtag2"]},{"1397026172":["hashtag1","hashtag2"]},{"1397026169":["hashtag1","hashtag2"]},{"1397026174":["hashtag1","hashtag2"]},{"1397026171":["hashtag1","hashtag2"]},{"1397026170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026178, 1397026172, 1397026169, 1397026174, 1397026171, 1397026170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85305452346802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:33:42.284033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/58/image_31102025_11_58_39_3255.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_41_1621.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_43_1630.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_44_1789.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_46_1702.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_49_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/11/58/image_31102025_11_58_39_3255.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_41_1621.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_43_1630.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_44_1789.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_46_1702.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_49_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":["1397026190","1397026193","1397026192","1397026189","1397026191","1397026185"],"photo_ids_order":["1397026185","1397026189","1397026190","1397026191","1397026192","1397026193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3fa57ab5f4b17e581f589eb46e8fada.jpg","text":"TemporaryFile(/tmp/multipartBody5754743501518059997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_43_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/30/3d7831982f26bc6e4c29128780fef6a4.jpg","text":"TemporaryFile(/tmp/multipartBody2668419052861671594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1ba96a3c2c46a24d7505a38dfb2ffc9.jpg","text":"TemporaryFile(/tmp/multipartBody5911623223979060553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_46_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/30/8d5d20f98251246f604028e2425679cd.jpg","text":"TemporaryFile(/tmp/multipartBody585979360659222667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_41_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/30/615cce4482d916f5c9a1e57c112b6f31.jpg","text":"TemporaryFile(/tmp/multipartBody6603332745727931430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_44_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/30/dd7f540733bb1e484b0362ec74d73bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3835957924715064187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480883163,"filename":"image_31102025_11_58_39_3255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026190","file1":"1397026189","file0":"1397026185","file4":"1397026192","file5":"1397026193","file3":"1397026191"},"map_files_photo_id_array":[{"photo_id":"1397026193","filename":"file5"},{"photo_id":"1397026190","filename":"file2"},{"photo_id":"1397026192","filename":"file4"},{"photo_id":"1397026189","filename":"file1"},{"photo_id":"1397026185","filename":"file0"},{"photo_id":"1397026191","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026190":["hashtag1","hashtag2"]},{"1397026193":["hashtag1","hashtag2"]},{"1397026192":["hashtag1","hashtag2"]},{"1397026189":["hashtag1","hashtag2"]},{"1397026191":["hashtag1","hashtag2"]},{"1397026185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026190, 1397026193, 1397026192, 1397026189, 1397026191, 1397026185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.944549322128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:34:22.432844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_55_10716.jpg', '/home/pi/Desktop/images/30112025/05/08/image_30112025_05_09_05_9569.jpg', '/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_14_9835.jpg', '/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_24_9717.jpg', '/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_35_10580.jpg', '/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_45_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_08_55_10716.jpg
/home/pi/Desktop/images/30112025/05/08/image_30112025_05_09_05_9569.jpg
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_14_9835.jpg
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_24_9717.jpg
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_35_10580.jpg
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_45_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026196","1397026209","1397026199","1397026202","1397026205","1397026203"],"photo_ids_order":["1397026196","1397026199","1397026202","1397026203","1397026205","1397026209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d1fa7e37bd77c11510cc14e5768ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8827845648841090385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_08_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b7f63ac2f1cc06fd9f7178a53444389.jpg","text":"TemporaryFile(/tmp/multipartBody402771027643028699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_09_45_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7551cd66980fd719bc4f7281c38946cb.jpg","text":"TemporaryFile(/tmp/multipartBody5745279613417580194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_09_05_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae5c9dbb8f9b1a1f56e7bc3ad44869bf.jpg","text":"TemporaryFile(/tmp/multipartBody5060911911562442423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_09_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4aa4b4f280650f13885813a9afb5469a.jpg","text":"TemporaryFile(/tmp/multipartBody656905028590711816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_09_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f925072033f2120a55d19a644b40ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5851784108815489632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480923109,"filename":"image_30112025_05_09_24_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026202","file1":"1397026199","file0":"1397026196","file4":"1397026205","file5":"1397026209","file3":"1397026203"},"map_files_photo_id_array":[{"photo_id":"1397026209","filename":"file5"},{"photo_id":"1397026202","filename":"file2"},{"photo_id":"1397026205","filename":"file4"},{"photo_id":"1397026199","filename":"file1"},{"photo_id":"1397026196","filename":"file0"},{"photo_id":"1397026203","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026196":["hashtag1","hashtag2"]},{"1397026209":["hashtag1","hashtag2"]},{"1397026199":["hashtag1","hashtag2"]},{"1397026202":["hashtag1","hashtag2"]},{"1397026205":["hashtag1","hashtag2"]},{"1397026203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026196, 1397026209, 1397026199, 1397026202, 1397026205, 1397026203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5096709728241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:35:03.162522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_54_9649.jpg', '/home/pi/Desktop/images/30112025/05/09/image_30112025_05_10_05_10674.jpg', '/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_15_9738.jpg', '/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_25_10057.jpg', '/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_34_9621.jpg', '/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_45_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_09_54_9649.jpg
/home/pi/Desktop/images/30112025/05/09/image_30112025_05_10_05_10674.jpg
/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_15_9738.jpg
/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_25_10057.jpg
/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_34_9621.jpg
/home/pi/Desktop/images/30112025/05/10/image_30112025_05_10_45_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026215","1397026214","1397026216","1397026221","1397026224","1397026218"],"photo_ids_order":["1397026214","1397026215","1397026216","1397026218","1397026221","1397026224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5812cfcaa22178591bebf3bf6df3c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6136628344456687648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_10_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28dca4c350befdf14ae91fe3f5da8d8b.jpg","text":"TemporaryFile(/tmp/multipartBody967956314006405667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_09_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4a26484e54e831907e622ce2c5c3b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7539435033223468596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_10_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71116c7fafb3ab48200e4978d693627b.jpg","text":"TemporaryFile(/tmp/multipartBody2994307742834026847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_10_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9379e18d60cf6bad67004f2945fbed74.jpg","text":"TemporaryFile(/tmp/multipartBody3628204211347435744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_10_45_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c88dbbac8fc5b6b8142506289654f03a.jpg","text":"TemporaryFile(/tmp/multipartBody7479470786349153130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764480963905,"filename":"image_30112025_05_10_25_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026216","file1":"1397026215","file0":"1397026214","file4":"1397026221","file5":"1397026224","file3":"1397026218"},"map_files_photo_id_array":[{"photo_id":"1397026224","filename":"file5"},{"photo_id":"1397026216","filename":"file2"},{"photo_id":"1397026221","filename":"file4"},{"photo_id":"1397026215","filename":"file1"},{"photo_id":"1397026214","filename":"file0"},{"photo_id":"1397026218","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026215":["hashtag1","hashtag2"]},{"1397026214":["hashtag1","hashtag2"]},{"1397026216":["hashtag1","hashtag2"]},{"1397026221":["hashtag1","hashtag2"]},{"1397026224":["hashtag1","hashtag2"]},{"1397026218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026215, 1397026214, 1397026216, 1397026221, 1397026224, 1397026218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77672243118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:35:42.618008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/58/image_31102025_11_58_51_2708.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_55_3651.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_57_2334.jpg', '/home/pi/Desktop/images/31102025/11/58/image_31102025_11_59_01_3685.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_04_2848.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_07_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/11/58/image_31102025_11_58_51_2708.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_55_3651.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_58_57_2334.jpg
/home/pi/Desktop/images/31102025/11/58/image_31102025_11_59_01_3685.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_04_2848.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_07_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026233","1397026232","1397026238","1397026234","1397026236","1397026230"],"photo_ids_order":["1397026230","1397026232","1397026233","1397026234","1397026236","1397026238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6c055e6d6040748c6cdc2df08707e99.jpg","text":"TemporaryFile(/tmp/multipartBody7537868462410102825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_58_57_2334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f7e702ae076fec1809837e07844ff82.jpg","text":"TemporaryFile(/tmp/multipartBody2949342695507775015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_58_55_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/30/4b0937bd73eb04e3b8a1b3785c8dda18.jpg","text":"TemporaryFile(/tmp/multipartBody9115079337708940021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_59_07_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/30/946a8d3da94518f93815e48e975d7a83.jpg","text":"TemporaryFile(/tmp/multipartBody8215626897448097027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_59_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/30/8b969ffa0e3ecf2a2ffe9c6837db9289.jpg","text":"TemporaryFile(/tmp/multipartBody3912623801335226843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_59_04_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5022336886b5226d4baa40b76b3fb77.jpg","text":"TemporaryFile(/tmp/multipartBody2646431114670371158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481007734,"filename":"image_31102025_11_58_51_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026233","file1":"1397026232","file0":"1397026230","file4":"1397026236","file5":"1397026238","file3":"1397026234"},"map_files_photo_id_array":[{"photo_id":"1397026238","filename":"file5"},{"photo_id":"1397026233","filename":"file2"},{"photo_id":"1397026236","filename":"file4"},{"photo_id":"1397026232","filename":"file1"},{"photo_id":"1397026230","filename":"file0"},{"photo_id":"1397026234","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026233":["hashtag1","hashtag2"]},{"1397026232":["hashtag1","hashtag2"]},{"1397026238":["hashtag1","hashtag2"]},{"1397026234":["hashtag1","hashtag2"]},{"1397026236":["hashtag1","hashtag2"]},{"1397026230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026233, 1397026232, 1397026238, 1397026234, 1397026236, 1397026230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75942540168762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:36:31.948824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_41_2623.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_45_3636.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_48_2614.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_50_2673.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_54_3684.jpg', '/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_57_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_41_2623.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_45_3636.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_48_2614.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_50_2673.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_54_3684.jpg
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_57_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":["1397026253","1397026256","1397026255","1397026246","1397026249","1397026254"],"photo_ids_order":["1397026246","1397026249","1397026253","1397026254","1397026255","1397026256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/634984778b1cc9343439b7389cfc20fb.jpg","text":"TemporaryFile(/tmp/multipartBody1255784117085094826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_48_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89b970beca4478f07ea39f76a42f975f.jpg","text":"TemporaryFile(/tmp/multipartBody6667745112384689143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_57_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/30/92a3b9f9a1e26050dfebf5951824a44f.jpg","text":"TemporaryFile(/tmp/multipartBody271843243510368221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_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/30/60aa17fe9723b17b7d3a047d04576c33.jpg","text":"TemporaryFile(/tmp/multipartBody759975353005425257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_41_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/30/e3785381c80cf4bd9e6f2d6d3307e969.jpg","text":"TemporaryFile(/tmp/multipartBody6720682716923104704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_45_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/30/05c27b6f7069fab764ad66d3fc64d8de.jpg","text":"TemporaryFile(/tmp/multipartBody109703730722484851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481053982,"filename":"image_25112025_19_49_50_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026253","file1":"1397026249","file0":"1397026246","file4":"1397026255","file5":"1397026256","file3":"1397026254"},"map_files_photo_id_array":[{"photo_id":"1397026256","filename":"file5"},{"photo_id":"1397026253","filename":"file2"},{"photo_id":"1397026255","filename":"file4"},{"photo_id":"1397026249","filename":"file1"},{"photo_id":"1397026246","filename":"file0"},{"photo_id":"1397026254","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026253":["hashtag1","hashtag2"]},{"1397026256":["hashtag1","hashtag2"]},{"1397026255":["hashtag1","hashtag2"]},{"1397026246":["hashtag1","hashtag2"]},{"1397026249":["hashtag1","hashtag2"]},{"1397026254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026253, 1397026256, 1397026255, 1397026246, 1397026249, 1397026254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10289287567139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:37:12.161763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_59_2729.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_03_3693.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_08_2546.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_11_2826.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_15_3618.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_17_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/49/image_25112025_19_49_59_2729.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_03_3693.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_08_2546.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_11_2826.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_15_3618.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_17_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026271","1397026258","1397026266","1397026269","1397026260","1397026263"],"photo_ids_order":["1397026258","1397026260","1397026263","1397026266","1397026269","1397026271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf2939b485e4cbe3995a73c279d0acb9.jpg","text":"TemporaryFile(/tmp/multipartBody5983382168935716503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_50_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/30/0835051521312955692038bb605f8627.jpg","text":"TemporaryFile(/tmp/multipartBody194881816939728358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_49_59_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a108a62924c01a7c14fe92ce85cea65.jpg","text":"TemporaryFile(/tmp/multipartBody2085629542837087390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_50_11_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/30/f92ff2d145a56cb7eeb0c7aeb1ef90a2.jpg","text":"TemporaryFile(/tmp/multipartBody4604355746700616443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_50_15_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/30/d71c9291f7a6224621393b41b17a85f0.jpg","text":"TemporaryFile(/tmp/multipartBody4748622089726591490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_50_03_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/30/80e6c07da9843e09f50b484a3b3c31a0.jpg","text":"TemporaryFile(/tmp/multipartBody3844577942426338276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481094063,"filename":"image_25112025_19_50_08_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026263","file1":"1397026260","file0":"1397026258","file4":"1397026269","file5":"1397026271","file3":"1397026266"},"map_files_photo_id_array":[{"photo_id":"1397026271","filename":"file5"},{"photo_id":"1397026263","filename":"file2"},{"photo_id":"1397026269","filename":"file4"},{"photo_id":"1397026260","filename":"file1"},{"photo_id":"1397026258","filename":"file0"},{"photo_id":"1397026266","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026271":["hashtag1","hashtag2"]},{"1397026258":["hashtag1","hashtag2"]},{"1397026266":["hashtag1","hashtag2"]},{"1397026269":["hashtag1","hashtag2"]},{"1397026260":["hashtag1","hashtag2"]},{"1397026263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026271, 1397026258, 1397026266, 1397026269, 1397026260, 1397026263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7528178691864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:38:02.770789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_02_17287.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_05_2766.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_15_9615.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_24_9578.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_35_10712.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_02_17287.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_05_2766.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_15_9615.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_24_9578.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_35_10712.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_45_9636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6078212261199951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:38:12.365074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_21_3792.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_24_2650.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_26_2721.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_30_3566.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_35_2889.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_38_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_21_3792.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_24_2650.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_26_2721.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_30_3566.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_35_2889.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_38_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026289","1397026277","1397026292","1397026286","1397026279","1397026284"],"photo_ids_order":["1397026277","1397026279","1397026284","1397026286","1397026289","1397026292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4a92d42324bda3cc352386a3bf391bf.jpg","text":"TemporaryFile(/tmp/multipartBody8457976996952255287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_35_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/30/51c5ddb0aba4ef44831fbed7fbbcbfeb.jpg","text":"TemporaryFile(/tmp/multipartBody3627381013842901461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_21_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/30/f95944a2551a6242e99d167521f3c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2016294196944171795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_38_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/30/7e6b64342b7ccb67ee339ca2922edbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6075423884056980207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_30_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/30/f8a648a0a3b1299bc5009f6ff79653bd.jpg","text":"TemporaryFile(/tmp/multipartBody7151131272014977778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_24_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/30/8b42aa2a1b47878a49c51b782e140183.jpg","text":"TemporaryFile(/tmp/multipartBody5925817701388328332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481154017,"filename":"image_25112025_19_50_26_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026284","file1":"1397026279","file0":"1397026277","file4":"1397026289","file5":"1397026292","file3":"1397026286"},"map_files_photo_id_array":[{"photo_id":"1397026292","filename":"file5"},{"photo_id":"1397026284","filename":"file2"},{"photo_id":"1397026289","filename":"file4"},{"photo_id":"1397026279","filename":"file1"},{"photo_id":"1397026277","filename":"file0"},{"photo_id":"1397026286","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026289":["hashtag1","hashtag2"]},{"1397026277":["hashtag1","hashtag2"]},{"1397026292":["hashtag1","hashtag2"]},{"1397026286":["hashtag1","hashtag2"]},{"1397026279":["hashtag1","hashtag2"]},{"1397026284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026289, 1397026277, 1397026292, 1397026286, 1397026279, 1397026284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.028499126434326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:39:03.277713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:39:12.337263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_42_3574.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_44_2580.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_53_2616.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_57_3534.jpg', '/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_59_2644.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_06_3512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_42_3574.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_44_2580.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_53_2616.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_57_3534.jpg
/home/pi/Desktop/images/25112025/19/50/image_25112025_19_50_59_2644.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_06_3512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026311","1397026314","1397026308","1397026301","1397026304","1397026317"],"photo_ids_order":["1397026301","1397026304","1397026308","1397026311","1397026314","1397026317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/206804492c59b1c9038875673f85d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1523933893730913237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_50_57_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/30/a4948aa357b9e76335c7a4278950f962.jpg","text":"TemporaryFile(/tmp/multipartBody3061171218712875012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_50_59_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b05e1b97f61edeadc907acd932ebc6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5302219918734497530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_50_53_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/30/7617aac0574ef8a0ef480909b685b292.jpg","text":"TemporaryFile(/tmp/multipartBody2038943287707126851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_50_42_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0c67b7582fa610f225f58548e6dbba2.jpg","text":"TemporaryFile(/tmp/multipartBody6759571800574873698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_50_44_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f7ee663673bcc5bd34a22f29a160fe0.jpg","text":"TemporaryFile(/tmp/multipartBody108625524068768945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481227074,"filename":"image_25112025_19_51_06_3512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026308","file1":"1397026304","file0":"1397026301","file4":"1397026314","file5":"1397026317","file3":"1397026311"},"map_files_photo_id_array":[{"photo_id":"1397026317","filename":"file5"},{"photo_id":"1397026308","filename":"file2"},{"photo_id":"1397026314","filename":"file4"},{"photo_id":"1397026304","filename":"file1"},{"photo_id":"1397026301","filename":"file0"},{"photo_id":"1397026311","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026311":["hashtag1","hashtag2"]},{"1397026314":["hashtag1","hashtag2"]},{"1397026308":["hashtag1","hashtag2"]},{"1397026301":["hashtag1","hashtag2"]},{"1397026304":["hashtag1","hashtag2"]},{"1397026317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026311, 1397026314, 1397026308, 1397026301, 1397026304, 1397026317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01385045051575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:40:14.217608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_08_2726.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_21_3550.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_23_2697.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_41_2677.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_45_3616.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_47_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_08_2726.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_21_3550.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_23_2697.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_41_2677.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_45_3616.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_47_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026332","1397026326","1397026318","1397026329","1397026320","1397026323"],"photo_ids_order":["1397026318","1397026320","1397026323","1397026326","1397026329","1397026332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b4f616a4270166c7a44a2b57b209c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6531151017308374133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_47_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/30/caf74b63aa1881b248364715e082723b.jpg","text":"TemporaryFile(/tmp/multipartBody8008503948518955017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_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/30/c51243782d2c11065d9b1348e0a46b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4936514044874285812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_08_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/30/56fa80b873ddfb2c64a7e4fe3197c8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6503034852704481686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_45_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/30/2d5064a6ea15ef5817e5c03113c7604f.jpg","text":"TemporaryFile(/tmp/multipartBody3018254155998061726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_21_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/30/2e3460cd12cd21ba88813b92cf80fa27.jpg","text":"TemporaryFile(/tmp/multipartBody408079018770657758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481276201,"filename":"image_25112025_19_51_23_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026323","file1":"1397026320","file0":"1397026318","file4":"1397026329","file5":"1397026332","file3":"1397026326"},"map_files_photo_id_array":[{"photo_id":"1397026332","filename":"file5"},{"photo_id":"1397026323","filename":"file2"},{"photo_id":"1397026329","filename":"file4"},{"photo_id":"1397026320","filename":"file1"},{"photo_id":"1397026318","filename":"file0"},{"photo_id":"1397026326","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026332":["hashtag1","hashtag2"]},{"1397026326":["hashtag1","hashtag2"]},{"1397026318":["hashtag1","hashtag2"]},{"1397026329":["hashtag1","hashtag2"]},{"1397026320":["hashtag1","hashtag2"]},{"1397026323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026332, 1397026326, 1397026318, 1397026329, 1397026320, 1397026323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.071518421173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:41:05.722132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_02_17287.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_05_2766.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_15_9615.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_24_9578.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_35_10712.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_02_17287.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_05_2766.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_15_9615.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_24_9578.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_35_10712.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_45_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026346","1397026349","1397026337","1397026342","1397026339","1397026338"],"photo_ids_order":["1397026337","1397026338","1397026339","1397026342","1397026346","1397026349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c84ccca2b5c0658d98340924c3f1b032.jpg","text":"TemporaryFile(/tmp/multipartBody3345523140974043312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bb5f584cb59f972630aec75459fdc08.jpg","text":"TemporaryFile(/tmp/multipartBody7532092117418528345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27fdc2f76d8e28cde166f9fb2c4d5a95.jpg","text":"TemporaryFile(/tmp/multipartBody8036842760382730881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_02_17287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4309516adf880af33d2ab010b220ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody5922843933753741501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/727a896132ddf05405eabd3979040438.jpg","text":"TemporaryFile(/tmp/multipartBody4112258442498562837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86dd04a868cc6ddbf0701ec4003dec6b.jpg","text":"TemporaryFile(/tmp/multipartBody6186462076615194577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481328986,"filename":"image_30112025_05_11_05_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026339","file1":"1397026338","file0":"1397026337","file4":"1397026346","file5":"1397026349","file3":"1397026342"},"map_files_photo_id_array":[{"photo_id":"1397026349","filename":"file5"},{"photo_id":"1397026339","filename":"file2"},{"photo_id":"1397026346","filename":"file4"},{"photo_id":"1397026338","filename":"file1"},{"photo_id":"1397026337","filename":"file0"},{"photo_id":"1397026342","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026346":["hashtag1","hashtag2"]},{"1397026349":["hashtag1","hashtag2"]},{"1397026337":["hashtag1","hashtag2"]},{"1397026342":["hashtag1","hashtag2"]},{"1397026339":["hashtag1","hashtag2"]},{"1397026338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026346, 1397026349, 1397026337, 1397026342, 1397026339, 1397026338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.48775362968445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:42:02.523621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:42:12.122952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_50_2675.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_54_3626.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_56_2615.jpg', '/home/pi/Desktop/images/25112025/19/51/image_25112025_19_52_00_3596.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_02_2563.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_05_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_50_2675.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_54_3626.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_51_56_2615.jpg
/home/pi/Desktop/images/25112025/19/51/image_25112025_19_52_00_3596.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_02_2563.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_05_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026370","1397026364","1397026358","1397026367","1397026360","1397026357"],"photo_ids_order":["1397026357","1397026358","1397026360","1397026364","1397026367","1397026370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4640210a917cec0d48c7e274cb304d09.jpg","text":"TemporaryFile(/tmp/multipartBody4579014844940993986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_52_05_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/30/bf038e62b0d1cd5a0070a7892e14b55f.jpg","text":"TemporaryFile(/tmp/multipartBody2245403932367255553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_52_00_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/873f86824a75aa9b7a5553b81df44669.jpg","text":"TemporaryFile(/tmp/multipartBody3736338302724518966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_51_54_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/30/06dd0560351a1d504c8b199eaf5e499c.jpg","text":"TemporaryFile(/tmp/multipartBody515784549436480953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_52_02_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/30/58a2ca36871fdcce3249d7f4676a6690.jpg","text":"TemporaryFile(/tmp/multipartBody8570794249487236929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_51_56_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/30/d6b4e7569c99ba1be24e269a2062e76e.jpg","text":"TemporaryFile(/tmp/multipartBody5404394122376438318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481394133,"filename":"image_25112025_19_51_50_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026360","file1":"1397026358","file0":"1397026357","file4":"1397026367","file5":"1397026370","file3":"1397026364"},"map_files_photo_id_array":[{"photo_id":"1397026370","filename":"file5"},{"photo_id":"1397026360","filename":"file2"},{"photo_id":"1397026367","filename":"file4"},{"photo_id":"1397026358","filename":"file1"},{"photo_id":"1397026357","filename":"file0"},{"photo_id":"1397026364","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026370":["hashtag1","hashtag2"]},{"1397026364":["hashtag1","hashtag2"]},{"1397026358":["hashtag1","hashtag2"]},{"1397026367":["hashtag1","hashtag2"]},{"1397026360":["hashtag1","hashtag2"]},{"1397026357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026370, 1397026364, 1397026358, 1397026367, 1397026360, 1397026357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.968940019607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:43:02.881980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_54_9590.jpg', '/home/pi/Desktop/images/30112025/05/11/image_30112025_05_12_05_10639.jpg', '/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_14_9653.jpg', '/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_24_9656.jpg', '/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_35_10537.jpg', '/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_44_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_11_54_9590.jpg
/home/pi/Desktop/images/30112025/05/11/image_30112025_05_12_05_10639.jpg
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_14_9653.jpg
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_24_9656.jpg
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_35_10537.jpg
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_44_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026373","1397026372","1397026375","1397026377","1397026380","1397026374"],"photo_ids_order":["1397026372","1397026373","1397026374","1397026375","1397026377","1397026380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95e5be7bfa8d50886d5327e0bdd420f7.jpg","text":"TemporaryFile(/tmp/multipartBody6117127041102446607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_12_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e105587ec04d00b349f96dd6c688fb74.jpg","text":"TemporaryFile(/tmp/multipartBody1423699390719459660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_11_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e7232aaae4f42da489e0be1c033cfee.jpg","text":"TemporaryFile(/tmp/multipartBody6754799568934013328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_12_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2699a668b17a7d18673b78e43a850277.jpg","text":"TemporaryFile(/tmp/multipartBody3714591264254565020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_12_35_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9da16ffa0b2079f29131f64cc2e793fb.jpg","text":"TemporaryFile(/tmp/multipartBody2909027452642575609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_12_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/614a6d72c8aafc58f8c9bbfce640d760.jpg","text":"TemporaryFile(/tmp/multipartBody4056680206191852172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481443588,"filename":"image_30112025_05_12_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026374","file1":"1397026373","file0":"1397026372","file4":"1397026377","file5":"1397026380","file3":"1397026375"},"map_files_photo_id_array":[{"photo_id":"1397026380","filename":"file5"},{"photo_id":"1397026374","filename":"file2"},{"photo_id":"1397026377","filename":"file4"},{"photo_id":"1397026373","filename":"file1"},{"photo_id":"1397026372","filename":"file0"},{"photo_id":"1397026375","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026373":["hashtag1","hashtag2"]},{"1397026372":["hashtag1","hashtag2"]},{"1397026375":["hashtag1","hashtag2"]},{"1397026377":["hashtag1","hashtag2"]},{"1397026380":["hashtag1","hashtag2"]},{"1397026374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026373, 1397026372, 1397026375, 1397026377, 1397026380, 1397026374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21512413024902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:43:42.318883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/59/image_31102025_11_59_10_3215.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_13_2683.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_17_4259.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_18_1598.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_21_2783.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_25_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_10_3215.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_13_2683.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_17_4259.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_18_1598.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_21_2783.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_25_3752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026394","1397026390","1397026393","1397026387","1397026395","1397026392"],"photo_ids_order":["1397026387","1397026390","1397026392","1397026393","1397026394","1397026395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/347a56626a29de9b7eae21604fc60a75.jpg","text":"TemporaryFile(/tmp/multipartBody2331824683463058335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_21_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/30/8b698aa5f45e4c56b9d8c8cfdadb8681.jpg","text":"TemporaryFile(/tmp/multipartBody3768041158354162054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_13_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce1dac68cf474abff3bd2b58f8853d63.jpg","text":"TemporaryFile(/tmp/multipartBody1501505489670907827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_18_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c7607aa7c10f3c52c0a120d1cfc56c5.jpg","text":"TemporaryFile(/tmp/multipartBody2870988599581798508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_10_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/30/6eb1cfbbb73d218487b5a05e59e06509.jpg","text":"TemporaryFile(/tmp/multipartBody4005818978230892646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_25_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83352dd5a60cd7b78243db0aceec0db4.jpg","text":"TemporaryFile(/tmp/multipartBody5383712319183779333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481483251,"filename":"image_31102025_11_59_17_4259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026392","file1":"1397026390","file0":"1397026387","file4":"1397026394","file5":"1397026395","file3":"1397026393"},"map_files_photo_id_array":[{"photo_id":"1397026395","filename":"file5"},{"photo_id":"1397026392","filename":"file2"},{"photo_id":"1397026394","filename":"file4"},{"photo_id":"1397026390","filename":"file1"},{"photo_id":"1397026387","filename":"file0"},{"photo_id":"1397026393","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026394":["hashtag1","hashtag2"]},{"1397026390":["hashtag1","hashtag2"]},{"1397026393":["hashtag1","hashtag2"]},{"1397026387":["hashtag1","hashtag2"]},{"1397026395":["hashtag1","hashtag2"]},{"1397026392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026394, 1397026390, 1397026393, 1397026387, 1397026395, 1397026392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08076524734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:44:22.552585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_54_9729.jpg', '/home/pi/Desktop/images/30112025/05/12/image_30112025_05_13_05_10556.jpg', '/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_14_9557.jpg', '/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_34_9531.jpg', '/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_44_9662.jpg', '/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_54_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_12_54_9729.jpg
/home/pi/Desktop/images/30112025/05/12/image_30112025_05_13_05_10556.jpg
/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_14_9557.jpg
/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_34_9531.jpg
/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_44_9662.jpg
/home/pi/Desktop/images/30112025/05/13/image_30112025_05_13_54_10001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026404","1397026406","1397026409","1397026398","1397026413","1397026401"],"photo_ids_order":["1397026398","1397026401","1397026404","1397026406","1397026409","1397026413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61449e388078d05769f3dd537f9ceb5b.jpg","text":"TemporaryFile(/tmp/multipartBody3795051692890798362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_13_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5d995dbf31246263baf4b3819c8ea56.jpg","text":"TemporaryFile(/tmp/multipartBody1319689678036950343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_13_34_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6eff943c3fcd1dfa4ef1a2669612409.jpg","text":"TemporaryFile(/tmp/multipartBody3323518609610147621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_13_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7968ef9ce9f351dcf428fad17b9e096.jpg","text":"TemporaryFile(/tmp/multipartBody7140304115978211635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_12_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47353f733421b25f34b624eaac3a90a9.jpg","text":"TemporaryFile(/tmp/multipartBody2521400334676278743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_13_54_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96daab5585fe3100c08c9169c5213535.jpg","text":"TemporaryFile(/tmp/multipartBody9075879858810780486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481523294,"filename":"image_30112025_05_13_05_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026404","file1":"1397026401","file0":"1397026398","file4":"1397026409","file5":"1397026413","file3":"1397026406"},"map_files_photo_id_array":[{"photo_id":"1397026413","filename":"file5"},{"photo_id":"1397026404","filename":"file2"},{"photo_id":"1397026409","filename":"file4"},{"photo_id":"1397026401","filename":"file1"},{"photo_id":"1397026398","filename":"file0"},{"photo_id":"1397026406","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026404":["hashtag1","hashtag2"]},{"1397026406":["hashtag1","hashtag2"]},{"1397026409":["hashtag1","hashtag2"]},{"1397026398":["hashtag1","hashtag2"]},{"1397026413":["hashtag1","hashtag2"]},{"1397026401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026404, 1397026406, 1397026409, 1397026398, 1397026413, 1397026401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11356282234192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:45:03.113392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/13/image_30112025_05_14_05_10686.jpg', '/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_14_9682.jpg', '/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_24_9627.jpg', '/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_35_10668.jpg', '/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_44_9675.jpg', '/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/13/image_30112025_05_14_05_10686.jpg
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_14_9682.jpg
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_24_9627.jpg
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_35_10668.jpg
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_44_9675.jpg
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_14_54_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026419","1397026424","1397026427","1397026421","1397026418","1397026417"],"photo_ids_order":["1397026417","1397026418","1397026419","1397026421","1397026424","1397026427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce6cfb3894c4d55a8b9e01a2b53ea01d.jpg","text":"TemporaryFile(/tmp/multipartBody1258105779365544154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81bb1d836c62e4ebf8e567cdb3748ec6.jpg","text":"TemporaryFile(/tmp/multipartBody6039615832990265570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/629857624b9048e65fdee70d725426a3.jpg","text":"TemporaryFile(/tmp/multipartBody5641936834003258939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d103ddaf2535d80f0fa8ee7866392e08.jpg","text":"TemporaryFile(/tmp/multipartBody2708886010459708457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/690f54e61e59cc7836a19e67f913de38.jpg","text":"TemporaryFile(/tmp/multipartBody8427996897362626650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bee0a81d84e9b9ea6ab68e1e1ac605d.jpg","text":"TemporaryFile(/tmp/multipartBody3952722601055552247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481563937,"filename":"image_30112025_05_14_05_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026419","file1":"1397026418","file0":"1397026417","file4":"1397026424","file5":"1397026427","file3":"1397026421"},"map_files_photo_id_array":[{"photo_id":"1397026427","filename":"file5"},{"photo_id":"1397026419","filename":"file2"},{"photo_id":"1397026424","filename":"file4"},{"photo_id":"1397026418","filename":"file1"},{"photo_id":"1397026417","filename":"file0"},{"photo_id":"1397026421","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026419":["hashtag1","hashtag2"]},{"1397026424":["hashtag1","hashtag2"]},{"1397026427":["hashtag1","hashtag2"]},{"1397026421":["hashtag1","hashtag2"]},{"1397026418":["hashtag1","hashtag2"]},{"1397026417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026419, 1397026424, 1397026427, 1397026421, 1397026418, 1397026417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45820903778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:45:42.740166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/59/image_31102025_11_59_28_2582.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_30_2686.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_34_3646.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_37_2663.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_41_4024.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_43_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_28_2582.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_30_2686.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_34_3646.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_37_2663.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_41_4024.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_43_2908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026439","1397026436","1397026435","1397026431","1397026434","1397026437"],"photo_ids_order":["1397026431","1397026434","1397026435","1397026436","1397026437","1397026439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56c978e0c98dd081e0587937e2a6ccba.jpg","text":"TemporaryFile(/tmp/multipartBody3502918754732830489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_43_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/30/734da73d06825ded44d675f813a31641.jpg","text":"TemporaryFile(/tmp/multipartBody7778140025222376210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_37_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff48ddd997024989fdfb580874e074f1.jpg","text":"TemporaryFile(/tmp/multipartBody8081878833651956693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_34_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/30/8f278492165aaebfb28b90db51b44fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8951893452615108687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_28_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/30/c6b4a600c2ecce6b5ca8207e6890f20d.jpg","text":"TemporaryFile(/tmp/multipartBody290722844938132527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_30_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/30/b0e2898051cb906d831c8ea7bbc54e28.jpg","text":"TemporaryFile(/tmp/multipartBody1122607039836564042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481603631,"filename":"image_31102025_11_59_41_4024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026435","file1":"1397026434","file0":"1397026431","file4":"1397026437","file5":"1397026439","file3":"1397026436"},"map_files_photo_id_array":[{"photo_id":"1397026439","filename":"file5"},{"photo_id":"1397026435","filename":"file2"},{"photo_id":"1397026437","filename":"file4"},{"photo_id":"1397026434","filename":"file1"},{"photo_id":"1397026431","filename":"file0"},{"photo_id":"1397026436","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026439":["hashtag1","hashtag2"]},{"1397026436":["hashtag1","hashtag2"]},{"1397026435":["hashtag1","hashtag2"]},{"1397026431":["hashtag1","hashtag2"]},{"1397026434":["hashtag1","hashtag2"]},{"1397026437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026439, 1397026436, 1397026435, 1397026431, 1397026434, 1397026437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10509014129639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:46:21.955119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/14/image_30112025_05_15_05_10623.jpg', '/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_14_9663.jpg', '/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_25_10579.jpg', '/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_35_9717.jpg', '/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_44_9648.jpg', '/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/14/image_30112025_05_15_05_10623.jpg
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_14_9663.jpg
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_25_10579.jpg
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_35_9717.jpg
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_44_9648.jpg
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_15_55_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026453","1397026456","1397026459","1397026450","1397026447","1397026443"],"photo_ids_order":["1397026443","1397026447","1397026450","1397026453","1397026456","1397026459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97d1e3bb4b8f5269d74a8656f9f2092e.jpg","text":"TemporaryFile(/tmp/multipartBody1495324585739719682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_35_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/069c3e0f76ed6b5c5948cd14c59ae87e.jpg","text":"TemporaryFile(/tmp/multipartBody95149295742856682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c81ffbcfbcddf9c8702049a38516bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7926882255759734197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22fb1055eb2b999bb6939ec4a71cd44b.jpg","text":"TemporaryFile(/tmp/multipartBody6605898530187774715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/180068ebe7e5a5ab36f5b0a7374ef77e.jpg","text":"TemporaryFile(/tmp/multipartBody1465281094173028092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8607d3dffc52bd4d349a705a95f8746b.jpg","text":"TemporaryFile(/tmp/multipartBody8317729244942825793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481642647,"filename":"image_30112025_05_15_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026450","file1":"1397026447","file0":"1397026443","file4":"1397026456","file5":"1397026459","file3":"1397026453"},"map_files_photo_id_array":[{"photo_id":"1397026459","filename":"file5"},{"photo_id":"1397026450","filename":"file2"},{"photo_id":"1397026456","filename":"file4"},{"photo_id":"1397026447","filename":"file1"},{"photo_id":"1397026443","filename":"file0"},{"photo_id":"1397026453","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026453":["hashtag1","hashtag2"]},{"1397026456":["hashtag1","hashtag2"]},{"1397026459":["hashtag1","hashtag2"]},{"1397026450":["hashtag1","hashtag2"]},{"1397026447":["hashtag1","hashtag2"]},{"1397026443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026453, 1397026456, 1397026459, 1397026450, 1397026447, 1397026443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60774827003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:47:02.824153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/15/image_30112025_05_16_05_9760.jpg', '/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_14_9652.jpg', '/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_24_9666.jpg', '/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_35_10609.jpg', '/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_44_9621.jpg', '/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/15/image_30112025_05_16_05_9760.jpg
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_14_9652.jpg
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_24_9666.jpg
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_35_10609.jpg
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_44_9621.jpg
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_16_55_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026469","1397026460","1397026463","1397026462","1397026465","1397026461"],"photo_ids_order":["1397026460","1397026461","1397026462","1397026463","1397026465","1397026469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a98ef742d5f8549d1d90e158b0b0a093.jpg","text":"TemporaryFile(/tmp/multipartBody1466540720484087950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c5af49ff9950111e07c40689a8d3b21.jpg","text":"TemporaryFile(/tmp/multipartBody3468143326694563838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e39e047d17d36a54bc0c2ac23aa553a6.jpg","text":"TemporaryFile(/tmp/multipartBody2974911430616936711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/750f96f4b96c1d366c311b5d0f4db654.jpg","text":"TemporaryFile(/tmp/multipartBody5623690425006335578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c60ab4f6ccc1ae6dd6cc22ae6f0e2dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4605403425711658796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b7ab53d546da297fc75ac6a9f0b2a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5554154777864001428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481683615,"filename":"image_30112025_05_16_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026462","file1":"1397026461","file0":"1397026460","file4":"1397026465","file5":"1397026469","file3":"1397026463"},"map_files_photo_id_array":[{"photo_id":"1397026469","filename":"file5"},{"photo_id":"1397026462","filename":"file2"},{"photo_id":"1397026465","filename":"file4"},{"photo_id":"1397026461","filename":"file1"},{"photo_id":"1397026460","filename":"file0"},{"photo_id":"1397026463","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026469":["hashtag1","hashtag2"]},{"1397026460":["hashtag1","hashtag2"]},{"1397026463":["hashtag1","hashtag2"]},{"1397026462":["hashtag1","hashtag2"]},{"1397026465":["hashtag1","hashtag2"]},{"1397026461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026469, 1397026460, 1397026463, 1397026462, 1397026465, 1397026461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.299864053726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:47:42.117017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/11/59/image_31102025_11_59_45_1746.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_48_2865.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_52_3703.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_55_2728.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_58_3907.jpg', '/home/pi/Desktop/images/31102025/11/59/image_31102025_12_00_01_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_45_1746.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_48_2865.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_52_3703.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_55_2728.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_11_59_58_3907.jpg
/home/pi/Desktop/images/31102025/11/59/image_31102025_12_00_01_2559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026481","1397026484","1397026480","1397026483","1397026482","1397026476"],"photo_ids_order":["1397026476","1397026480","1397026481","1397026482","1397026483","1397026484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61ce19c45ba9e61f31c11698c90ccfff.jpg","text":"TemporaryFile(/tmp/multipartBody8625192204983564783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_11_59_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/30/44a8f4ea935ae5be210693b5f4d5523a.jpg","text":"TemporaryFile(/tmp/multipartBody1698026648085699920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_12_00_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/30/6869ff7dd2403bed2bc4a00f0e236431.jpg","text":"TemporaryFile(/tmp/multipartBody1025547132973191323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_11_59_48_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/30/18c6dacc84630da372838c21ad0c18f6.jpg","text":"TemporaryFile(/tmp/multipartBody9200242891834438093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_11_59_58_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/30/10775527ac012b293d9e5f4d50822f23.jpg","text":"TemporaryFile(/tmp/multipartBody656288292596018501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_11_59_55_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/30/7d591d272bac7a833d25a5160c21fa5e.jpg","text":"TemporaryFile(/tmp/multipartBody3984010410951808157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481723064,"filename":"image_31102025_11_59_45_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026481","file1":"1397026480","file0":"1397026476","file4":"1397026483","file5":"1397026484","file3":"1397026482"},"map_files_photo_id_array":[{"photo_id":"1397026484","filename":"file5"},{"photo_id":"1397026481","filename":"file2"},{"photo_id":"1397026483","filename":"file4"},{"photo_id":"1397026480","filename":"file1"},{"photo_id":"1397026476","filename":"file0"},{"photo_id":"1397026482","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026481":["hashtag1","hashtag2"]},{"1397026484":["hashtag1","hashtag2"]},{"1397026480":["hashtag1","hashtag2"]},{"1397026483":["hashtag1","hashtag2"]},{"1397026482":["hashtag1","hashtag2"]},{"1397026476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026481, 1397026484, 1397026480, 1397026483, 1397026482, 1397026476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73013257980347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:48:22.275434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/16/image_30112025_05_17_05_9770.jpg', '/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_15_9737.jpg', '/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_24_9900.jpg', '/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_34_9653.jpg', '/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_45_10697.jpg', '/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/16/image_30112025_05_17_05_9770.jpg
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_15_9737.jpg
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_24_9900.jpg
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_34_9653.jpg
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_45_10697.jpg
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_17_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026493","1397026490","1397026495","1397026497","1397026488","1397026500"],"photo_ids_order":["1397026488","1397026490","1397026493","1397026495","1397026497","1397026500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64e6ec5862b6293d5dde2781220e173a.jpg","text":"TemporaryFile(/tmp/multipartBody7486252078917075955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_24_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11211bcc98d953242bb875d6c6bcf374.jpg","text":"TemporaryFile(/tmp/multipartBody3012133636576063288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a040b698d2e06bfb2f3286710cdfe65.jpg","text":"TemporaryFile(/tmp/multipartBody5561701211201095269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fe275296ba130959df9f146ff5e0a70.jpg","text":"TemporaryFile(/tmp/multipartBody8930702840006880528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/166f0e7d9ff969c2a7235e0d4b941676.jpg","text":"TemporaryFile(/tmp/multipartBody8964752140758253557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_05_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6471a29f0cd337e56d4503eb5fbb6f7.jpg","text":"TemporaryFile(/tmp/multipartBody8423555301218143043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481762955,"filename":"image_30112025_05_17_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026493","file1":"1397026490","file0":"1397026488","file4":"1397026497","file5":"1397026500","file3":"1397026495"},"map_files_photo_id_array":[{"photo_id":"1397026500","filename":"file5"},{"photo_id":"1397026493","filename":"file2"},{"photo_id":"1397026497","filename":"file4"},{"photo_id":"1397026490","filename":"file1"},{"photo_id":"1397026488","filename":"file0"},{"photo_id":"1397026495","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026493":["hashtag1","hashtag2"]},{"1397026490":["hashtag1","hashtag2"]},{"1397026495":["hashtag1","hashtag2"]},{"1397026497":["hashtag1","hashtag2"]},{"1397026488":["hashtag1","hashtag2"]},{"1397026500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026493, 1397026490, 1397026495, 1397026497, 1397026488, 1397026500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.655505657196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:49:03.636835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/17/image_30112025_05_18_05_10576.jpg', '/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_15_9683.jpg', '/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_24_9527.jpg', '/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_35_10644.jpg', '/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_45_9720.jpg', '/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/17/image_30112025_05_18_05_10576.jpg
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_15_9683.jpg
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_24_9527.jpg
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_35_10644.jpg
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_45_9720.jpg
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_18_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026503","1397026506","1397026502","1397026510","1397026504","1397026501"],"photo_ids_order":["1397026501","1397026502","1397026503","1397026504","1397026506","1397026510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b108b400f47d616ed7c71056562219e.jpg","text":"TemporaryFile(/tmp/multipartBody8036411362107554528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_24_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/459b57c3dbc726b29b5d15d82fd2a637.jpg","text":"TemporaryFile(/tmp/multipartBody436808031431128563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fededf48c40f14cf55db8af813cc1c5d.jpg","text":"TemporaryFile(/tmp/multipartBody658780306255394416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/786280a6794d622f3a605ef5f273154f.jpg","text":"TemporaryFile(/tmp/multipartBody6786156446687273243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d8f8a8fd7644a266570e15238d0e6ac.jpg","text":"TemporaryFile(/tmp/multipartBody2909828908669074700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a6aa9abab5afecd062eea5482297b99.jpg","text":"TemporaryFile(/tmp/multipartBody6191953977030091018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481804489,"filename":"image_30112025_05_18_05_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026503","file1":"1397026502","file0":"1397026501","file4":"1397026506","file5":"1397026510","file3":"1397026504"},"map_files_photo_id_array":[{"photo_id":"1397026510","filename":"file5"},{"photo_id":"1397026503","filename":"file2"},{"photo_id":"1397026506","filename":"file4"},{"photo_id":"1397026502","filename":"file1"},{"photo_id":"1397026501","filename":"file0"},{"photo_id":"1397026504","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026503":["hashtag1","hashtag2"]},{"1397026506":["hashtag1","hashtag2"]},{"1397026502":["hashtag1","hashtag2"]},{"1397026510":["hashtag1","hashtag2"]},{"1397026504":["hashtag1","hashtag2"]},{"1397026501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026503, 1397026506, 1397026502, 1397026510, 1397026504, 1397026501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60740256309509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:49:42.626414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/00/image_31102025_12_00_11_6301.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_13_1569.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_15_1681.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_18_3446.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_21_2744.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_23_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_11_6301.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_13_1569.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_15_1681.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_18_3446.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_21_2744.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_23_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026524","1397026518","1397026523","1397026520","1397026522","1397026521"],"photo_ids_order":["1397026518","1397026520","1397026521","1397026522","1397026523","1397026524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0cec96a850da07fe37ee1911f46fec5.jpg","text":"TemporaryFile(/tmp/multipartBody6567613902114949515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_23_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/30/d8efc585c8f177f61c58ee48d41fa3f9.jpg","text":"TemporaryFile(/tmp/multipartBody1219249430842815490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_11_6301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd3457fec8078346d4dee5c25c09845d.jpg","text":"TemporaryFile(/tmp/multipartBody5559761451989197961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_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/30/0c25b27ed5cdb8feb57888820b0e409f.jpg","text":"TemporaryFile(/tmp/multipartBody1524299846992544582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_13_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/30/49399f299bc961044872a8e3beaeb893.jpg","text":"TemporaryFile(/tmp/multipartBody8678208994819180460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_18_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/30/103b4f09f698fad38933cb3b039e2805.jpg","text":"TemporaryFile(/tmp/multipartBody1061704954965670546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481843544,"filename":"image_31102025_12_00_15_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026521","file1":"1397026520","file0":"1397026518","file4":"1397026523","file5":"1397026524","file3":"1397026522"},"map_files_photo_id_array":[{"photo_id":"1397026524","filename":"file5"},{"photo_id":"1397026521","filename":"file2"},{"photo_id":"1397026523","filename":"file4"},{"photo_id":"1397026520","filename":"file1"},{"photo_id":"1397026518","filename":"file0"},{"photo_id":"1397026522","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026524":["hashtag1","hashtag2"]},{"1397026518":["hashtag1","hashtag2"]},{"1397026523":["hashtag1","hashtag2"]},{"1397026520":["hashtag1","hashtag2"]},{"1397026522":["hashtag1","hashtag2"]},{"1397026521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026524, 1397026518, 1397026523, 1397026520, 1397026522, 1397026521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50082612037659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:50:22.753703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/18/image_30112025_05_19_04_9910.jpg', '/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_15_10676.jpg', '/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_24_9732.jpg', '/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_34_9659.jpg', '/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_45_10738.jpg', '/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/18/image_30112025_05_19_04_9910.jpg
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_15_10676.jpg
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_24_9732.jpg
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_34_9659.jpg
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_45_10738.jpg
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_19_55_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026540","1397026534","1397026528","1397026537","1397026531","1397026539"],"photo_ids_order":["1397026528","1397026531","1397026534","1397026537","1397026539","1397026540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/592b2759ce49b94d2342f16814ad8ded.jpg","text":"TemporaryFile(/tmp/multipartBody4952220614621191728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f994f9667df26dc2ea1ee1fda0e253.jpg","text":"TemporaryFile(/tmp/multipartBody6467943152301828089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8278d9e19b831ec1012003adfda0ffe9.jpg","text":"TemporaryFile(/tmp/multipartBody4567938869110754453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_04_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4b13034c93e9fc61573d42b4351f089.jpg","text":"TemporaryFile(/tmp/multipartBody6772485270759388124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/379cc02b1e9e8d1693c2bdd0eda30dd1.jpg","text":"TemporaryFile(/tmp/multipartBody712439546059486819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34dd98f3eab5f9550bec64dbac245f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1588252779327911117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481883435,"filename":"image_30112025_05_19_45_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026534","file1":"1397026531","file0":"1397026528","file4":"1397026539","file5":"1397026540","file3":"1397026537"},"map_files_photo_id_array":[{"photo_id":"1397026540","filename":"file5"},{"photo_id":"1397026534","filename":"file2"},{"photo_id":"1397026539","filename":"file4"},{"photo_id":"1397026531","filename":"file1"},{"photo_id":"1397026528","filename":"file0"},{"photo_id":"1397026537","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026540":["hashtag1","hashtag2"]},{"1397026534":["hashtag1","hashtag2"]},{"1397026528":["hashtag1","hashtag2"]},{"1397026537":["hashtag1","hashtag2"]},{"1397026531":["hashtag1","hashtag2"]},{"1397026539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026540, 1397026534, 1397026528, 1397026537, 1397026531, 1397026539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28259468078613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:51:02.554248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/19/image_30112025_05_20_04_9627.jpg', '/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_14_10011.jpg', '/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_25_10666.jpg', '/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_35_9719.jpg', '/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_44_9659.jpg', '/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_55_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/19/image_30112025_05_20_04_9627.jpg
/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_14_10011.jpg
/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_25_10666.jpg
/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_35_9719.jpg
/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_44_9659.jpg
/home/pi/Desktop/images/30112025/05/20/image_30112025_05_20_55_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026541","1397026544","1397026546","1397026549","1397026543","1397026542"],"photo_ids_order":["1397026541","1397026542","1397026543","1397026544","1397026546","1397026549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/111b4bc7399f7eb7b153196995d84275.jpg","text":"TemporaryFile(/tmp/multipartBody259394650563744516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2f6b5388cb2d5f2cab3cecc08c451a4.jpg","text":"TemporaryFile(/tmp/multipartBody9009052479899128621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3785ef318c25c5fd8d4df7c64331ba3a.jpg","text":"TemporaryFile(/tmp/multipartBody6336569444398443559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f6d164842ca1aa27c0955989267c376.jpg","text":"TemporaryFile(/tmp/multipartBody3329108190803342130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/843f691783a787d25d49b2b8032b3f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4018717536374365804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/215a7181897ee2294dac69c13900d111.jpg","text":"TemporaryFile(/tmp/multipartBody4804637754346569071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481923357,"filename":"image_30112025_05_20_14_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026543","file1":"1397026542","file0":"1397026541","file4":"1397026546","file5":"1397026549","file3":"1397026544"},"map_files_photo_id_array":[{"photo_id":"1397026549","filename":"file5"},{"photo_id":"1397026543","filename":"file2"},{"photo_id":"1397026546","filename":"file4"},{"photo_id":"1397026542","filename":"file1"},{"photo_id":"1397026541","filename":"file0"},{"photo_id":"1397026544","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026541":["hashtag1","hashtag2"]},{"1397026544":["hashtag1","hashtag2"]},{"1397026546":["hashtag1","hashtag2"]},{"1397026549":["hashtag1","hashtag2"]},{"1397026543":["hashtag1","hashtag2"]},{"1397026542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026541, 1397026544, 1397026546, 1397026549, 1397026543, 1397026542)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.72529196739197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:52:02.640745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_14_9675.jpg', '/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_24_9797.jpg', '/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_35_10721.jpg', '/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_45_9848.jpg', '/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_54_9729.jpg', '/home/pi/Desktop/images/30112025/05/21/image_30112025_05_22_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_14_9675.jpg
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_24_9797.jpg
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_35_10721.jpg
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_45_9848.jpg
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_21_54_9729.jpg
/home/pi/Desktop/images/30112025/05/21/image_30112025_05_22_04_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026562","1397026565","1397026559","1397026558","1397026557","1397026560"],"photo_ids_order":["1397026557","1397026558","1397026559","1397026560","1397026562","1397026565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83e470fc23143f3c36f9a3d7f557eb25.jpg","text":"TemporaryFile(/tmp/multipartBody3570093187272004167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_21_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2872a2d8853df3fd180577e4bb3641d2.jpg","text":"TemporaryFile(/tmp/multipartBody5339768030335953533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_22_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fc481fee4429a33d315025e94ce6588.jpg","text":"TemporaryFile(/tmp/multipartBody5828273856753718823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_21_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1c3e523bb94e7e3f81e29a850a0b11e.jpg","text":"TemporaryFile(/tmp/multipartBody1472884794437650214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_21_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b009000f169135e970947e071a3939c.jpg","text":"TemporaryFile(/tmp/multipartBody4194648409403266765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_21_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9576f29f36742a08411fd47d09d0f5fa.jpg","text":"TemporaryFile(/tmp/multipartBody6892924016088886107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764481983327,"filename":"image_30112025_05_21_45_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026559","file1":"1397026558","file0":"1397026557","file4":"1397026562","file5":"1397026565","file3":"1397026560"},"map_files_photo_id_array":[{"photo_id":"1397026565","filename":"file5"},{"photo_id":"1397026559","filename":"file2"},{"photo_id":"1397026562","filename":"file4"},{"photo_id":"1397026558","filename":"file1"},{"photo_id":"1397026557","filename":"file0"},{"photo_id":"1397026560","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026562":["hashtag1","hashtag2"]},{"1397026565":["hashtag1","hashtag2"]},{"1397026559":["hashtag1","hashtag2"]},{"1397026558":["hashtag1","hashtag2"]},{"1397026557":["hashtag1","hashtag2"]},{"1397026560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026562, 1397026565, 1397026559, 1397026558, 1397026557, 1397026560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07809066772461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:52:42.095973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/00/image_31102025_12_00_26_2743.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_30_3731.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_33_3023.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_37_4458.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_39_1719.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_42_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_26_2743.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_30_3731.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_33_3023.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_37_4458.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_39_1719.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_42_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026580","1397026574","1397026577","1397026579","1397026575","1397026578"],"photo_ids_order":["1397026574","1397026575","1397026577","1397026578","1397026579","1397026580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/820d85fb4d53311b33392368eba598fd.jpg","text":"TemporaryFile(/tmp/multipartBody7752192883861590700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_42_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4043d395d88c27086bea32176704d246.jpg","text":"TemporaryFile(/tmp/multipartBody8874567556925144641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_26_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad83a461a37fc97b2b83b7d19a38713e.jpg","text":"TemporaryFile(/tmp/multipartBody1074798675554902305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_33_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60855e0e6cce8a14f977ea9448ced6ed.jpg","text":"TemporaryFile(/tmp/multipartBody3449528794216079487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_39_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/30/fe679b0aa01388f449fd8804cc511ee2.jpg","text":"TemporaryFile(/tmp/multipartBody6587513148288801657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_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/30/61b897cca5c60de3eab34543a29727b1.jpg","text":"TemporaryFile(/tmp/multipartBody6787869333993603982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482023018,"filename":"image_31102025_12_00_37_4458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026577","file1":"1397026575","file0":"1397026574","file4":"1397026579","file5":"1397026580","file3":"1397026578"},"map_files_photo_id_array":[{"photo_id":"1397026580","filename":"file5"},{"photo_id":"1397026577","filename":"file2"},{"photo_id":"1397026579","filename":"file4"},{"photo_id":"1397026575","filename":"file1"},{"photo_id":"1397026574","filename":"file0"},{"photo_id":"1397026578","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026580":["hashtag1","hashtag2"]},{"1397026574":["hashtag1","hashtag2"]},{"1397026577":["hashtag1","hashtag2"]},{"1397026579":["hashtag1","hashtag2"]},{"1397026575":["hashtag1","hashtag2"]},{"1397026578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026580, 1397026574, 1397026577, 1397026579, 1397026575, 1397026578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90050673484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:53:22.265962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_15_10636.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_24_9723.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_45_10715.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_55_9802.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_23_04_9713.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_15_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_15_10636.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_24_9723.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_45_10715.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_55_9802.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_23_04_9713.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_15_10583.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5909900665283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:53:32.271053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_09_3676.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_11_2455.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_15_3626.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_20_2648.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_27_3826.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_29_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_09_3676.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_11_2455.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_15_3626.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_20_2648.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_27_3826.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_29_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026592","1397026613","1397026612","1397026596","1397026600","1397026614"],"photo_ids_order":["1397026592","1397026596","1397026600","1397026612","1397026613","1397026614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27f218adce4e346ba7e2b8e0820c0743.jpg","text":"TemporaryFile(/tmp/multipartBody6212353776955446941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_09_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/30/78c29106ab349cdf47e868e7a0caf20a.jpg","text":"TemporaryFile(/tmp/multipartBody7277162795131865856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_27_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/30/b98c23e45a339f6feb7263f6bd44f39a.jpg","text":"TemporaryFile(/tmp/multipartBody1647184878146127600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_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/30/6ce42bf31283c28117cf1d23cc3d31b1.jpg","text":"TemporaryFile(/tmp/multipartBody9171983367585297863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_11_2455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf3cc885097b883c91003e190d29a458.jpg","text":"TemporaryFile(/tmp/multipartBody1680590660197404756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_15_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/30/47a80858c2940900c6568425fba740e9.jpg","text":"TemporaryFile(/tmp/multipartBody1890594224390481539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482074248,"filename":"image_25112025_19_52_29_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026600","file1":"1397026596","file0":"1397026592","file4":"1397026613","file5":"1397026614","file3":"1397026612"},"map_files_photo_id_array":[{"photo_id":"1397026614","filename":"file5"},{"photo_id":"1397026600","filename":"file2"},{"photo_id":"1397026613","filename":"file4"},{"photo_id":"1397026596","filename":"file1"},{"photo_id":"1397026592","filename":"file0"},{"photo_id":"1397026612","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026592":["hashtag1","hashtag2"]},{"1397026613":["hashtag1","hashtag2"]},{"1397026612":["hashtag1","hashtag2"]},{"1397026596":["hashtag1","hashtag2"]},{"1397026600":["hashtag1","hashtag2"]},{"1397026614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026592, 1397026613, 1397026612, 1397026596, 1397026600, 1397026614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18012452125549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:54:12.508934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_32_2674.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_36_3648.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_38_2718.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_41_2585.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_47_2685.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_50_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_32_2674.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_36_3648.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_38_2718.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_41_2585.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_47_2685.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_50_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026623","1397026617","1397026615","1397026626","1397026629","1397026620"],"photo_ids_order":["1397026615","1397026617","1397026620","1397026623","1397026626","1397026629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa268dde0bb06c66fa8515986ab59e9a.jpg","text":"TemporaryFile(/tmp/multipartBody91213981622068188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_41_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/30/54a1e86d539466379b124e5cec0ab859.jpg","text":"TemporaryFile(/tmp/multipartBody6126768943593465028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_36_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/30/d414ddcd9b636e0f36d59bf888a01797.jpg","text":"TemporaryFile(/tmp/multipartBody6164647698550008579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_32_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1733bde60633c8a6b18f55117ce0420.jpg","text":"TemporaryFile(/tmp/multipartBody7366172232722372660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_47_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f42332de8f3625c31855cd0ee2bc7483.jpg","text":"TemporaryFile(/tmp/multipartBody3646209734230977512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_50_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f545e671405505be61545f8263fb1329.jpg","text":"TemporaryFile(/tmp/multipartBody3465959563252195912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482114398,"filename":"image_25112025_19_52_38_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026620","file1":"1397026617","file0":"1397026615","file4":"1397026626","file5":"1397026629","file3":"1397026623"},"map_files_photo_id_array":[{"photo_id":"1397026629","filename":"file5"},{"photo_id":"1397026620","filename":"file2"},{"photo_id":"1397026626","filename":"file4"},{"photo_id":"1397026617","filename":"file1"},{"photo_id":"1397026615","filename":"file0"},{"photo_id":"1397026623","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026623":["hashtag1","hashtag2"]},{"1397026617":["hashtag1","hashtag2"]},{"1397026615":["hashtag1","hashtag2"]},{"1397026626":["hashtag1","hashtag2"]},{"1397026629":["hashtag1","hashtag2"]},{"1397026620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026623, 1397026617, 1397026615, 1397026626, 1397026629, 1397026620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21561574935913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:55:03.255962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_15_10636.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_24_9723.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_45_10715.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_55_9802.jpg', '/home/pi/Desktop/images/30112025/05/22/image_30112025_05_23_04_9713.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_15_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_15_10636.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_24_9723.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_45_10715.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_22_55_9802.jpg
/home/pi/Desktop/images/30112025/05/22/image_30112025_05_23_04_9713.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_15_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026634","1397026633","1397026642","1397026636","1397026638","1397026635"],"photo_ids_order":["1397026633","1397026634","1397026635","1397026636","1397026638","1397026642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8e92690ef86a9ef21c2c13a295b4afd.jpg","text":"TemporaryFile(/tmp/multipartBody98314096024045549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_22_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efcf02b4903ce96976d36117d9a6958e.jpg","text":"TemporaryFile(/tmp/multipartBody6201260742810523379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_22_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/becf720dc0c7cfc5053aba69876df2b3.jpg","text":"TemporaryFile(/tmp/multipartBody5953593464458129752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_23_15_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/293fe55dbed4d5fb15b6ade07888df0b.jpg","text":"TemporaryFile(/tmp/multipartBody3271376880991660697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_22_55_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4179c0290f16d08d4d97c15ca5c5784.jpg","text":"TemporaryFile(/tmp/multipartBody3792886316566957936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_23_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0dca0e449b67ced4c92cddc6dbf1557.jpg","text":"TemporaryFile(/tmp/multipartBody6791902716082558557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482164020,"filename":"image_30112025_05_22_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026635","file1":"1397026634","file0":"1397026633","file4":"1397026638","file5":"1397026642","file3":"1397026636"},"map_files_photo_id_array":[{"photo_id":"1397026642","filename":"file5"},{"photo_id":"1397026635","filename":"file2"},{"photo_id":"1397026638","filename":"file4"},{"photo_id":"1397026634","filename":"file1"},{"photo_id":"1397026633","filename":"file0"},{"photo_id":"1397026636","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026634":["hashtag1","hashtag2"]},{"1397026633":["hashtag1","hashtag2"]},{"1397026642":["hashtag1","hashtag2"]},{"1397026636":["hashtag1","hashtag2"]},{"1397026638":["hashtag1","hashtag2"]},{"1397026635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026634, 1397026633, 1397026642, 1397026636, 1397026638, 1397026635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.883105993270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 06:55:42.737506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/00/image_31102025_12_00_44_2658.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_48_3619.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_51_2727.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_53_2647.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_57_3647.jpg', '/home/pi/Desktop/images/31102025/12/00/image_31102025_12_01_00_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_44_2658.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_48_3619.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_51_2727.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_53_2647.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_00_57_3647.jpg
/home/pi/Desktop/images/31102025/12/00/image_31102025_12_01_00_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026655","1397026649","1397026652","1397026654","1397026650","1397026653"],"photo_ids_order":["1397026649","1397026650","1397026652","1397026653","1397026654","1397026655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a9bd1fda597d9d8358957503c087a46.jpg","text":"TemporaryFile(/tmp/multipartBody1144335135727768408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_01_00_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/30/8734de28d38b1c10f0cd25a365e54b51.jpg","text":"TemporaryFile(/tmp/multipartBody6639408902490201680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_00_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/30/8ba480a143285c816aff33444bc0b20c.jpg","text":"TemporaryFile(/tmp/multipartBody4002569811443899664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_00_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/30/6674396bc2b2d15198558e0b362faec2.jpg","text":"TemporaryFile(/tmp/multipartBody7985297988966446188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_00_57_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89a71a34f87c9415ba75eb39046834a0.jpg","text":"TemporaryFile(/tmp/multipartBody5438827970344353141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_00_48_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b7575fc8adb446f3c69e98b619882d6.jpg","text":"TemporaryFile(/tmp/multipartBody4301826598174283051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482203653,"filename":"image_31102025_12_00_53_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026652","file1":"1397026650","file0":"1397026649","file4":"1397026654","file5":"1397026655","file3":"1397026653"},"map_files_photo_id_array":[{"photo_id":"1397026655","filename":"file5"},{"photo_id":"1397026652","filename":"file2"},{"photo_id":"1397026654","filename":"file4"},{"photo_id":"1397026650","filename":"file1"},{"photo_id":"1397026649","filename":"file0"},{"photo_id":"1397026653","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397026655":["hashtag1","hashtag2"]},{"1397026649":["hashtag1","hashtag2"]},{"1397026652":["hashtag1","hashtag2"]},{"1397026654":["hashtag1","hashtag2"]},{"1397026650":["hashtag1","hashtag2"]},{"1397026653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397026655, 1397026649, 1397026652, 1397026654, 1397026650, 1397026653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.685914754867554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 06:56:21.891063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_25_9704.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_34_9764.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_45_10658.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_55_9598.jpg', '/home/pi/Desktop/images/30112025/05/23/image_30112025_05_24_04_9658.jpg', '/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_15_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_25_9704.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_34_9764.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_45_10658.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_23_55_9598.jpg
/home/pi/Desktop/images/30112025/05/23/image_30112025_05_24_04_9658.jpg
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_15_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026661","1397026658","1397026663","1397026671","1397026665","1397026668"],"photo_ids_order":["1397026658","1397026661","1397026663","1397026665","1397026668","1397026671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c2fc0b07e6719a0dd629e52f7ec647d.jpg","text":"TemporaryFile(/tmp/multipartBody4437038378723049582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_23_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71a3d26ae16e52c6723899048f9aff65.jpg","text":"TemporaryFile(/tmp/multipartBody6919249278587237751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_23_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60a997a280f69aba30ff55ecc646844e.jpg","text":"TemporaryFile(/tmp/multipartBody5017497379764265023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_23_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdc7f342c4b9fd728b5b76316fdbc315.jpg","text":"TemporaryFile(/tmp/multipartBody1327282039758304231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_24_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9132dbd0a1706ed21f94cd252333ed6a.jpg","text":"TemporaryFile(/tmp/multipartBody5660471740105549000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_23_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69a78e4b260e0da16255d88b659fc000.jpg","text":"TemporaryFile(/tmp/multipartBody3692936519798825060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482242607,"filename":"image_30112025_05_24_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026663","file1":"1397026661","file0":"1397026658","file4":"1397026668","file5":"1397026671","file3":"1397026665"},"map_files_photo_id_array":[{"photo_id":"1397026671","filename":"file5"},{"photo_id":"1397026663","filename":"file2"},{"photo_id":"1397026668","filename":"file4"},{"photo_id":"1397026661","filename":"file1"},{"photo_id":"1397026658","filename":"file0"},{"photo_id":"1397026665","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026661":["hashtag1","hashtag2"]},{"1397026658":["hashtag1","hashtag2"]},{"1397026663":["hashtag1","hashtag2"]},{"1397026671":["hashtag1","hashtag2"]},{"1397026665":["hashtag1","hashtag2"]},{"1397026668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026661, 1397026658, 1397026663, 1397026671, 1397026665, 1397026668)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.41608023643494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 06:57:12.035667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_54_3704.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_56_2654.jpg', '/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_59_2856.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_02_2692.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_05_3637.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_11_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_54_3704.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_56_2654.jpg
/home/pi/Desktop/images/25112025/19/52/image_25112025_19_52_59_2856.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_02_2692.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_05_3637.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_11_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026679","1397026676","1397026681","1397026672","1397026674","1397026683"],"photo_ids_order":["1397026672","1397026674","1397026676","1397026679","1397026681","1397026683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/267fcbaa3782b6567d5441abf43fecf2.jpg","text":"TemporaryFile(/tmp/multipartBody1189626033662008891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_53_02_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/30/9847ae850c0bfa9da0667a537e2a48e4.jpg","text":"TemporaryFile(/tmp/multipartBody586986915862665903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_52_59_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/30/ed03b29917c45b4b8e6c955f31594806.jpg","text":"TemporaryFile(/tmp/multipartBody1194914426443193969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_53_05_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54e0e333f01b06d1a6bc7b7898fabf36.jpg","text":"TemporaryFile(/tmp/multipartBody1948029834570662225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_52_54_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12fb85aa985b68b38228b8368ac41e59.jpg","text":"TemporaryFile(/tmp/multipartBody8985790388843500276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_52_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/30/3214595fd3584dda2d8231de9c0c7eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3741915979718789007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482293699,"filename":"image_25112025_19_53_11_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026676","file1":"1397026674","file0":"1397026672","file4":"1397026681","file5":"1397026683","file3":"1397026679"},"map_files_photo_id_array":[{"photo_id":"1397026683","filename":"file5"},{"photo_id":"1397026676","filename":"file2"},{"photo_id":"1397026681","filename":"file4"},{"photo_id":"1397026674","filename":"file1"},{"photo_id":"1397026672","filename":"file0"},{"photo_id":"1397026679","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397026679":["hashtag1","hashtag2"]},{"1397026676":["hashtag1","hashtag2"]},{"1397026681":["hashtag1","hashtag2"]},{"1397026672":["hashtag1","hashtag2"]},{"1397026674":["hashtag1","hashtag2"]},{"1397026683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397026679, 1397026676, 1397026681, 1397026672, 1397026674, 1397026683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90717387199402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 06:59:03.481827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_25_9807.jpg', '/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_34_9246.jpg', '/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_45_10724.jpg', '/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_54_9668.jpg', '/home/pi/Desktop/images/30112025/05/24/image_30112025_05_25_04_9631.jpg', '/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_25_9807.jpg
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_34_9246.jpg
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_45_10724.jpg
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_24_54_9668.jpg
/home/pi/Desktop/images/30112025/05/24/image_30112025_05_25_04_9631.jpg
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_15_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026691","1397026704","1397026694","1397026700","1397026702","1397026698"],"photo_ids_order":["1397026691","1397026694","1397026698","1397026700","1397026702","1397026704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8a719b996d618a7e0660a2bc80416d1.jpg","text":"TemporaryFile(/tmp/multipartBody3087135531910367483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_24_25_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15cc16d3d1ddd74b8fa23a6b7db67f34.jpg","text":"TemporaryFile(/tmp/multipartBody2288919358884205338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_25_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f363aaff89a3c24a04167d495d6144d.jpg","text":"TemporaryFile(/tmp/multipartBody2750472721701000329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_24_34_9246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ce68c13ea16dd865cad5fc874eac3d6.jpg","text":"TemporaryFile(/tmp/multipartBody9197084004780036045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_24_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13542559a2429f15c8ffe600d5208567.jpg","text":"TemporaryFile(/tmp/multipartBody3483913302753029573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_25_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41fb4ca78068f846edc17279ce422e85.jpg","text":"TemporaryFile(/tmp/multipartBody3908770506618787384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482406735,"filename":"image_30112025_05_24_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026698","file1":"1397026694","file0":"1397026691","file4":"1397026702","file5":"1397026704","file3":"1397026700"},"map_files_photo_id_array":[{"photo_id":"1397026704","filename":"file5"},{"photo_id":"1397026698","filename":"file2"},{"photo_id":"1397026702","filename":"file4"},{"photo_id":"1397026694","filename":"file1"},{"photo_id":"1397026691","filename":"file0"},{"photo_id":"1397026700","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026691":["hashtag1","hashtag2"]},{"1397026704":["hashtag1","hashtag2"]},{"1397026694":["hashtag1","hashtag2"]},{"1397026700":["hashtag1","hashtag2"]},{"1397026702":["hashtag1","hashtag2"]},{"1397026698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026691, 1397026704, 1397026694, 1397026700, 1397026702, 1397026698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17441248893738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:00:02.985315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_24_9741.jpg', '/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_34_9794.jpg', '/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_45_10541.jpg', '/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_54_9664.jpg', '/home/pi/Desktop/images/30112025/05/25/image_30112025_05_26_04_9566.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_15_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_24_9741.jpg
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_34_9794.jpg
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_45_10541.jpg
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_25_54_9664.jpg
/home/pi/Desktop/images/30112025/05/25/image_30112025_05_26_04_9566.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_15_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397026724","1397026727","1397026732","1397026726","1397026729","1397026725"],"photo_ids_order":["1397026724","1397026725","1397026726","1397026727","1397026729","1397026732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/116641d20b48318bd49f4a340981772f.jpg","text":"TemporaryFile(/tmp/multipartBody6336415641106151295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_25_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4936fef5521b0ba26e907dba080c315f.jpg","text":"TemporaryFile(/tmp/multipartBody2848199360928538268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_25_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fff49bd321096be4b13a56ea08d275e1.jpg","text":"TemporaryFile(/tmp/multipartBody8607895176795354488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_26_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21341104154215ea0f72e756a4a30e86.jpg","text":"TemporaryFile(/tmp/multipartBody7503454062161188438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_25_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff7ce1d7ec86cf814d9564a6e006862e.jpg","text":"TemporaryFile(/tmp/multipartBody1072812134229935525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_26_04_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0d9cc647dc16c67558e03863329a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2298635341087634531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482463703,"filename":"image_30112025_05_25_34_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397026726","file1":"1397026725","file0":"1397026724","file4":"1397026729","file5":"1397026732","file3":"1397026727"},"map_files_photo_id_array":[{"photo_id":"1397026732","filename":"file5"},{"photo_id":"1397026726","filename":"file2"},{"photo_id":"1397026729","filename":"file4"},{"photo_id":"1397026725","filename":"file1"},{"photo_id":"1397026724","filename":"file0"},{"photo_id":"1397026727","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397026724":["hashtag1","hashtag2"]},{"1397026727":["hashtag1","hashtag2"]},{"1397026732":["hashtag1","hashtag2"]},{"1397026726":["hashtag1","hashtag2"]},{"1397026729":["hashtag1","hashtag2"]},{"1397026725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397026724, 1397026727, 1397026732, 1397026726, 1397026729, 1397026725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77721905708313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:00:42.737531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/01/image_31102025_12_01_02_2663.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_05_2800.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_11_2667.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_20_2707.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_23_2748.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_27_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_02_2663.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_05_2800.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_11_2667.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_20_2707.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_23_2748.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_27_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397027012","1397027152","1397026939","1397027220","1397027081","1397026839"],"photo_ids_order":["1397026839","1397026939","1397027012","1397027081","1397027152","1397027220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4d6430ef887c2ecc0daefe3f11c6370.jpg","text":"TemporaryFile(/tmp/multipartBody929283392384083868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_11_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/30/da4f2fedd982d04a2a6ca7ed6ee37fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8382806619843431153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_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/30/3b245d75c71d462275035c3c077b4c77.jpg","text":"TemporaryFile(/tmp/multipartBody6170926318332352266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_05_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b76dbabc647e318bf9b5db8983b2184e.jpg","text":"TemporaryFile(/tmp/multipartBody8409734391222987896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_27_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/30/d339289b817da91caba5b19a3a22ac7d.jpg","text":"TemporaryFile(/tmp/multipartBody9114823381135517328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_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/30/40b8f5c854add2890371ae0bb856cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody7314328388900859367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482503658,"filename":"image_31102025_12_01_02_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397027012","file1":"1397026939","file0":"1397026839","file4":"1397027152","file5":"1397027220","file3":"1397027081"},"map_files_photo_id_array":[{"photo_id":"1397027220","filename":"file5"},{"photo_id":"1397027012","filename":"file2"},{"photo_id":"1397027152","filename":"file4"},{"photo_id":"1397026939","filename":"file1"},{"photo_id":"1397026839","filename":"file0"},{"photo_id":"1397027081","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397027012":["hashtag1","hashtag2"]},{"1397027152":["hashtag1","hashtag2"]},{"1397026939":["hashtag1","hashtag2"]},{"1397027220":["hashtag1","hashtag2"]},{"1397027081":["hashtag1","hashtag2"]},{"1397026839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397027012, 1397027152, 1397026939, 1397027220, 1397027081, 1397026839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1594443321228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:01:21.913380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_25_9708.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_34_9676.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_45_10785.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_55_9685.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_27_04_9709.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_25_9708.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_34_9676.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_45_10785.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_55_9685.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_27_04_9709.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_14_9733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.603975772857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:01:31.858558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_17_4346.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_18_1493.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_20_1729.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_24_3760.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_26_2782.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_29_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_17_4346.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_18_1493.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_20_1729.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_24_3760.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_26_2782.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_29_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":["1397027846","1397027953","1397027896","1397027776","1397027698","1397027631"],"photo_ids_order":["1397027631","1397027698","1397027776","1397027846","1397027896","1397027953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc9e5efcb887d065ef60fc6bd75191db.jpg","text":"TemporaryFile(/tmp/multipartBody3488080487774806062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_24_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/30/0ef5782d6fc8dd99f9462ce431075d56.jpg","text":"TemporaryFile(/tmp/multipartBody557283236497853485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_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/30/70d01f06415fbc63888201e2c582c5e0.jpg","text":"TemporaryFile(/tmp/multipartBody3558065844642401602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_26_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fe28a0105479a1839ee0c8b5403e423.jpg","text":"TemporaryFile(/tmp/multipartBody2204063077847256322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_20_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/30/fdf857c3abeac67ff7caf807e0c811a1.jpg","text":"TemporaryFile(/tmp/multipartBody1870454386543214692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_18_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0392e11f86b7a19120f5c6756760f395.jpg","text":"TemporaryFile(/tmp/multipartBody3137213087480177724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482553836,"filename":"image_25112025_19_53_17_4346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397027776","file1":"1397027698","file0":"1397027631","file4":"1397027896","file5":"1397027953","file3":"1397027846"},"map_files_photo_id_array":[{"photo_id":"1397027953","filename":"file5"},{"photo_id":"1397027776","filename":"file2"},{"photo_id":"1397027896","filename":"file4"},{"photo_id":"1397027698","filename":"file1"},{"photo_id":"1397027631","filename":"file0"},{"photo_id":"1397027846","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397027846":["hashtag1","hashtag2"]},{"1397027953":["hashtag1","hashtag2"]},{"1397027896":["hashtag1","hashtag2"]},{"1397027776":["hashtag1","hashtag2"]},{"1397027698":["hashtag1","hashtag2"]},{"1397027631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397027846, 1397027953, 1397027896, 1397027776, 1397027698, 1397027631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69156837463379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:02:12.048108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_33_3615.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_35_2602.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_38_2762.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_42_3588.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_47_2561.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_51_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_33_3615.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_35_2602.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_38_2762.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_42_3588.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_47_2561.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_51_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397028623","1397028469","1397028274","1397028375","1397028557","1397028509"],"photo_ids_order":["1397028274","1397028375","1397028469","1397028509","1397028557","1397028623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ed376866c7f8b51f08e6b3d0e7e0236.jpg","text":"TemporaryFile(/tmp/multipartBody4931061595093197894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_51_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c925c02a6d773b44b2e6339dbb8d8a4.jpg","text":"TemporaryFile(/tmp/multipartBody2997252863649128778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_38_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd1f10b39fd6d8c93f6c1782e1e8049f.jpg","text":"TemporaryFile(/tmp/multipartBody6072950309610808556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_33_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/30/66442078d4959ec9946ecc51fd68c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4314746884719314355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_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/30/351b739fd1b6cd267b49c9381bcc2c93.jpg","text":"TemporaryFile(/tmp/multipartBody3090565431703399927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_47_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fd04373006e4e13c7f058263a0acad5.jpg","text":"TemporaryFile(/tmp/multipartBody6880845455140346659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482593923,"filename":"image_25112025_19_53_42_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397028469","file1":"1397028375","file0":"1397028274","file4":"1397028557","file5":"1397028623","file3":"1397028509"},"map_files_photo_id_array":[{"photo_id":"1397028623","filename":"file5"},{"photo_id":"1397028469","filename":"file2"},{"photo_id":"1397028557","filename":"file4"},{"photo_id":"1397028375","filename":"file1"},{"photo_id":"1397028274","filename":"file0"},{"photo_id":"1397028509","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397028623":["hashtag1","hashtag2"]},{"1397028469":["hashtag1","hashtag2"]},{"1397028274":["hashtag1","hashtag2"]},{"1397028375":["hashtag1","hashtag2"]},{"1397028557":["hashtag1","hashtag2"]},{"1397028509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397028623, 1397028469, 1397028274, 1397028375, 1397028557, 1397028509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.017839431762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:03:02.996019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_25_9708.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_34_9676.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_45_10785.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_55_9685.jpg', '/home/pi/Desktop/images/30112025/05/26/image_30112025_05_27_04_9709.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_25_9708.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_34_9676.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_45_10785.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_26_55_9685.jpg
/home/pi/Desktop/images/30112025/05/26/image_30112025_05_27_04_9709.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_14_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397029002","1397029145","1397028866","1397029220","1397028920","1397029069"],"photo_ids_order":["1397028866","1397028920","1397029002","1397029069","1397029145","1397029220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/763a933ff77a98325f3a30ff88a08c50.jpg","text":"TemporaryFile(/tmp/multipartBody7339128854468043417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_26_45_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70b2e7c5f40542cf2c175c7141c1c838.jpg","text":"TemporaryFile(/tmp/multipartBody1855416214858435101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_27_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b20f6ecb0aee2347067a8de489d6a73.jpg","text":"TemporaryFile(/tmp/multipartBody3947917167286682519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_26_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbecf3d42d3c635f85d51a9200eadd64.jpg","text":"TemporaryFile(/tmp/multipartBody8275539422113929694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_27_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad1dec31fc0912f7222671395962372d.jpg","text":"TemporaryFile(/tmp/multipartBody8311265764059214510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_26_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/906637d7613a04fb2952b2de00be90c5.jpg","text":"TemporaryFile(/tmp/multipartBody8811714822357341832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482643755,"filename":"image_30112025_05_26_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397029002","file1":"1397028920","file0":"1397028866","file4":"1397029145","file5":"1397029220","file3":"1397029069"},"map_files_photo_id_array":[{"photo_id":"1397029220","filename":"file5"},{"photo_id":"1397029002","filename":"file2"},{"photo_id":"1397029145","filename":"file4"},{"photo_id":"1397028920","filename":"file1"},{"photo_id":"1397028866","filename":"file0"},{"photo_id":"1397029069","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397029002":["hashtag1","hashtag2"]},{"1397029145":["hashtag1","hashtag2"]},{"1397028866":["hashtag1","hashtag2"]},{"1397029220":["hashtag1","hashtag2"]},{"1397028920":["hashtag1","hashtag2"]},{"1397029069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397029002, 1397029145, 1397028866, 1397029220, 1397028920, 1397029069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41171884536743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:03:42.312620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/01/image_31102025_12_01_29_2588.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_32_2704.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_36_3567.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_42_3683.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_45_2705.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_47_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_29_2588.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_32_2704.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_36_3567.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_42_3683.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_45_2705.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_47_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":["1397029576","1397029456","1397029621","1397029506","1397029421","1397029666"],"photo_ids_order":["1397029421","1397029456","1397029506","1397029576","1397029621","1397029666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d88d16349f00065309978f1d177354c3.jpg","text":"TemporaryFile(/tmp/multipartBody5948266101951270775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_42_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/30/b96ddc28f299f005d28ed6ee657574c3.jpg","text":"TemporaryFile(/tmp/multipartBody960667182627267093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_32_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2d8605c4749a6df69e0f4f161cbdb1b.jpg","text":"TemporaryFile(/tmp/multipartBody1174818761613949697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_45_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/30/5d7be316e5a4a1774de9b5c6fac3552a.jpg","text":"TemporaryFile(/tmp/multipartBody3396885469220671304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_36_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cc76fa22ead4a447f552dd013c8a255.jpg","text":"TemporaryFile(/tmp/multipartBody414543890190292132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_29_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/30/cb70d314b88e22c1aeaac70a54826ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3760963962806704522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482683285,"filename":"image_31102025_12_01_47_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397029506","file1":"1397029456","file0":"1397029421","file4":"1397029621","file5":"1397029666","file3":"1397029576"},"map_files_photo_id_array":[{"photo_id":"1397029666","filename":"file5"},{"photo_id":"1397029506","filename":"file2"},{"photo_id":"1397029621","filename":"file4"},{"photo_id":"1397029456","filename":"file1"},{"photo_id":"1397029421","filename":"file0"},{"photo_id":"1397029576","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397029576":["hashtag1","hashtag2"]},{"1397029456":["hashtag1","hashtag2"]},{"1397029621":["hashtag1","hashtag2"]},{"1397029506":["hashtag1","hashtag2"]},{"1397029421":["hashtag1","hashtag2"]},{"1397029666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397029576, 1397029456, 1397029621, 1397029506, 1397029421, 1397029666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73645544052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:04:22.523117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_25_10825.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_35_9666.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_44_9592.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_55_10792.jpg', '/home/pi/Desktop/images/30112025/05/27/image_30112025_05_28_05_9659.jpg', '/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_14_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_25_10825.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_35_9666.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_44_9592.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_27_55_10792.jpg
/home/pi/Desktop/images/30112025/05/27/image_30112025_05_28_05_9659.jpg
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_14_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397029833","1397029850","1397029853","1397029847","1397029841","1397029844"],"photo_ids_order":["1397029833","1397029841","1397029844","1397029847","1397029850","1397029853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3fbc3ea96195605c4481664f0d1e24b.jpg","text":"TemporaryFile(/tmp/multipartBody8998310257968126964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_27_25_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1fa23d260e355e521de593a1b6d024f.jpg","text":"TemporaryFile(/tmp/multipartBody8404688119828107346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_28_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f16274ee52e621bbb621442da776e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2243351435728549314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_28_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e5a57a246871fea41be3bfc13c5002a.jpg","text":"TemporaryFile(/tmp/multipartBody2378139305841062636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_27_55_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98e4cddc3987d1049ccff701003ddefb.jpg","text":"TemporaryFile(/tmp/multipartBody4346536669177850440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_27_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/298b7b960ebe38e552092a297b5f7848.jpg","text":"TemporaryFile(/tmp/multipartBody273985517010067153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482723233,"filename":"image_30112025_05_27_44_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397029844","file1":"1397029841","file0":"1397029833","file4":"1397029850","file5":"1397029853","file3":"1397029847"},"map_files_photo_id_array":[{"photo_id":"1397029853","filename":"file5"},{"photo_id":"1397029844","filename":"file2"},{"photo_id":"1397029850","filename":"file4"},{"photo_id":"1397029841","filename":"file1"},{"photo_id":"1397029833","filename":"file0"},{"photo_id":"1397029847","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397029833":["hashtag1","hashtag2"]},{"1397029850":["hashtag1","hashtag2"]},{"1397029853":["hashtag1","hashtag2"]},{"1397029847":["hashtag1","hashtag2"]},{"1397029841":["hashtag1","hashtag2"]},{"1397029844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397029833, 1397029850, 1397029853, 1397029847, 1397029841, 1397029844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.110875844955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:05:03.240523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_25_10613.jpg', '/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_35_9897.jpg', '/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_45_9789.jpg', '/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_54_9559.jpg', '/home/pi/Desktop/images/30112025/05/28/image_30112025_05_29_05_10604.jpg', '/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_14_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_25_10613.jpg
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_35_9897.jpg
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_45_9789.jpg
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_28_54_9559.jpg
/home/pi/Desktop/images/30112025/05/28/image_30112025_05_29_05_10604.jpg
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_14_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397029857","1397029865","1397029859","1397029862","1397029856","1397029855"],"photo_ids_order":["1397029855","1397029856","1397029857","1397029859","1397029862","1397029865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34a7670959b5b4d5e705b4dbd33bf0a7.jpg","text":"TemporaryFile(/tmp/multipartBody8927924756456089375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_28_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92abe25b1e7c05dda7c49fdd9436ce89.jpg","text":"TemporaryFile(/tmp/multipartBody2632141976878927057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_29_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2ef477c4a03cdbd1713ff63ba6b593a.jpg","text":"TemporaryFile(/tmp/multipartBody8296410652849979752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_28_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbe953781661f008051bd50a560fe4e1.jpg","text":"TemporaryFile(/tmp/multipartBody7605807932662756627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_29_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ead2ee713185ca5a56a7a1f9ad7c0bc.jpg","text":"TemporaryFile(/tmp/multipartBody7493701554020183521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_28_35_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce65b15f3df75fb404a553ee9d1f39a0.jpg","text":"TemporaryFile(/tmp/multipartBody8048011612587800020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482766621,"filename":"image_30112025_05_28_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397029857","file1":"1397029856","file0":"1397029855","file4":"1397029862","file5":"1397029865","file3":"1397029859"},"map_files_photo_id_array":[{"photo_id":"1397029865","filename":"file5"},{"photo_id":"1397029857","filename":"file2"},{"photo_id":"1397029862","filename":"file4"},{"photo_id":"1397029856","filename":"file1"},{"photo_id":"1397029855","filename":"file0"},{"photo_id":"1397029859","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397029857":["hashtag1","hashtag2"]},{"1397029865":["hashtag1","hashtag2"]},{"1397029859":["hashtag1","hashtag2"]},{"1397029862":["hashtag1","hashtag2"]},{"1397029856":["hashtag1","hashtag2"]},{"1397029855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397029857, 1397029865, 1397029859, 1397029862, 1397029856, 1397029855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.379558801651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:06:03.342081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_24_9714.jpg', '/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_35_10665.jpg', '/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_44_9586.jpg', '/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_55_10620.jpg', '/home/pi/Desktop/images/30112025/05/29/image_30112025_05_30_05_9673.jpg', '/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_14_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_24_9714.jpg
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_35_10665.jpg
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_44_9586.jpg
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_29_55_10620.jpg
/home/pi/Desktop/images/30112025/05/29/image_30112025_05_30_05_9673.jpg
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_14_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030018","1397029945","1397030089","1397029980","1397030052","1397030130"],"photo_ids_order":["1397029945","1397029980","1397030018","1397030052","1397030089","1397030130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a84b30aa7d2321e086ca74b1d8794465.jpg","text":"TemporaryFile(/tmp/multipartBody5325131215636406682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_29_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1b4b2af4c8b61e138f53dba2dac9d62.jpg","text":"TemporaryFile(/tmp/multipartBody5278771096315157805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_29_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32664db4a698d8449158a82d4cba88a0.jpg","text":"TemporaryFile(/tmp/multipartBody2008043445310273435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_30_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a82fc554b1b6810910317eba6e55fe04.jpg","text":"TemporaryFile(/tmp/multipartBody9041130034135259727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_29_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af6b0530f0454a020c1842b2c92a053d.jpg","text":"TemporaryFile(/tmp/multipartBody4255817874617271836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_29_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1aa19a7bd694ff0462baf881d56239be.jpg","text":"TemporaryFile(/tmp/multipartBody7515306289150816348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482824066,"filename":"image_30112025_05_30_14_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030018","file1":"1397029980","file0":"1397029945","file4":"1397030089","file5":"1397030130","file3":"1397030052"},"map_files_photo_id_array":[{"photo_id":"1397030130","filename":"file5"},{"photo_id":"1397030018","filename":"file2"},{"photo_id":"1397030089","filename":"file4"},{"photo_id":"1397029980","filename":"file1"},{"photo_id":"1397029945","filename":"file0"},{"photo_id":"1397030052","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030018":["hashtag1","hashtag2"]},{"1397029945":["hashtag1","hashtag2"]},{"1397030089":["hashtag1","hashtag2"]},{"1397029980":["hashtag1","hashtag2"]},{"1397030052":["hashtag1","hashtag2"]},{"1397030130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030018, 1397029945, 1397030089, 1397029980, 1397030052, 1397030130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.171391010284424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:06:42.869045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/01/image_31102025_12_01_50_2614.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_56_2643.jpg', '/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_59_2680.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_03_3802.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_05_2648.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_08_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_50_2614.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_56_2643.jpg
/home/pi/Desktop/images/31102025/12/01/image_31102025_12_01_59_2680.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_03_3802.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_05_2648.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_08_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":["1397030347","1397030346","1397030301","1397030336","1397030267","1397030348"],"photo_ids_order":["1397030267","1397030301","1397030336","1397030346","1397030347","1397030348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed5d6957d75cb57fc99304637710f89f.jpg","text":"TemporaryFile(/tmp/multipartBody2657475344743397629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_02_05_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/30/878dd6ff25eb1b7069517649d1a7a325.jpg","text":"TemporaryFile(/tmp/multipartBody7982038425885893716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_02_03_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/30/8686a35888312d479d3970e91cd79a08.jpg","text":"TemporaryFile(/tmp/multipartBody4330286593254686614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_01_56_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dd3fa5609b31dbb85e4da1f372741a3.jpg","text":"TemporaryFile(/tmp/multipartBody899615097827579429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_01_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/30/b1ecd3f948e57dfa7a961bf1499b7563.jpg","text":"TemporaryFile(/tmp/multipartBody6849428912369981745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_01_50_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/30/863b04d625ffd86fdf96496128d87192.jpg","text":"TemporaryFile(/tmp/multipartBody2978533030100972664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482863775,"filename":"image_31102025_12_02_08_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030336","file1":"1397030301","file0":"1397030267","file4":"1397030347","file5":"1397030348","file3":"1397030346"},"map_files_photo_id_array":[{"photo_id":"1397030348","filename":"file5"},{"photo_id":"1397030336","filename":"file2"},{"photo_id":"1397030347","filename":"file4"},{"photo_id":"1397030301","filename":"file1"},{"photo_id":"1397030267","filename":"file0"},{"photo_id":"1397030346","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030347":["hashtag1","hashtag2"]},{"1397030346":["hashtag1","hashtag2"]},{"1397030301":["hashtag1","hashtag2"]},{"1397030336":["hashtag1","hashtag2"]},{"1397030267":["hashtag1","hashtag2"]},{"1397030348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030347, 1397030346, 1397030301, 1397030336, 1397030267, 1397030348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.114354848861694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:07:22.070285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_25_10796.jpg', '/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_35_9656.jpg', '/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_44_9728.jpg', '/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_55_10594.jpg', '/home/pi/Desktop/images/30112025/05/30/image_30112025_05_31_05_9694.jpg', '/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_15_10093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_25_10796.jpg
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_35_9656.jpg
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_44_9728.jpg
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_30_55_10594.jpg
/home/pi/Desktop/images/30112025/05/30/image_30112025_05_31_05_9694.jpg
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_15_10093.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030431","1397030428","1397030481","1397030490","1397030442","1397030502"],"photo_ids_order":["1397030428","1397030431","1397030442","1397030481","1397030490","1397030502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de3d1274ba815e616be827e659b679e8.jpg","text":"TemporaryFile(/tmp/multipartBody5411708174142872617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_30_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01bccd20e9e9d9c56e472547a74320be.jpg","text":"TemporaryFile(/tmp/multipartBody7836068782824602324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_30_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67e83c3fb3e02f5c21a6aac53dc1d6a3.jpg","text":"TemporaryFile(/tmp/multipartBody7705103722408150739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_30_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9abf3694fce7f4481e9abb0f26de6479.jpg","text":"TemporaryFile(/tmp/multipartBody7435413834133698161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_31_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5786a1d783831d696f41bc879b2d0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7217720130173551922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_30_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8686de4803e070630481f93f7868e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8502862704964311698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482902795,"filename":"image_30112025_05_31_15_10093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030442","file1":"1397030431","file0":"1397030428","file4":"1397030490","file5":"1397030502","file3":"1397030481"},"map_files_photo_id_array":[{"photo_id":"1397030502","filename":"file5"},{"photo_id":"1397030442","filename":"file2"},{"photo_id":"1397030490","filename":"file4"},{"photo_id":"1397030431","filename":"file1"},{"photo_id":"1397030428","filename":"file0"},{"photo_id":"1397030481","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030431":["hashtag1","hashtag2"]},{"1397030428":["hashtag1","hashtag2"]},{"1397030481":["hashtag1","hashtag2"]},{"1397030490":["hashtag1","hashtag2"]},{"1397030442":["hashtag1","hashtag2"]},{"1397030502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030431, 1397030428, 1397030481, 1397030490, 1397030442, 1397030502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75564885139465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:08:02.624384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_25_9792.jpg', '/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_34_9761.jpg', '/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_44_9945.jpg', '/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_54_9804.jpg', '/home/pi/Desktop/images/30112025/05/31/image_30112025_05_32_05_10694.jpg', '/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_24_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_25_9792.jpg
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_34_9761.jpg
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_44_9945.jpg
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_31_54_9804.jpg
/home/pi/Desktop/images/30112025/05/31/image_30112025_05_32_05_10694.jpg
/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_24_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030503","1397030506","1397030505","1397030508","1397030510","1397030504"],"photo_ids_order":["1397030503","1397030504","1397030505","1397030506","1397030508","1397030510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1af2c79d00cfcce8df7f94e2554eea60.jpg","text":"TemporaryFile(/tmp/multipartBody4780595839308274793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_31_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/237aa86cc836a2b3ee75612b648d1527.jpg","text":"TemporaryFile(/tmp/multipartBody3666999962083967627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_31_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a56e03dc2b122c4d6c92243a559b365b.jpg","text":"TemporaryFile(/tmp/multipartBody8996121461180114579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_31_44_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53337f5aa0df6f8487447dbc855306cd.jpg","text":"TemporaryFile(/tmp/multipartBody5618851570639386726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_32_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d319c5caea58c475e5e7f337c786392d.jpg","text":"TemporaryFile(/tmp/multipartBody2430436853289037127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_32_24_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f25b73fb9e39dc2451de63bbdfeb299.jpg","text":"TemporaryFile(/tmp/multipartBody7086475017781589729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482943338,"filename":"image_30112025_05_31_34_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030505","file1":"1397030504","file0":"1397030503","file4":"1397030508","file5":"1397030510","file3":"1397030506"},"map_files_photo_id_array":[{"photo_id":"1397030510","filename":"file5"},{"photo_id":"1397030505","filename":"file2"},{"photo_id":"1397030508","filename":"file4"},{"photo_id":"1397030504","filename":"file1"},{"photo_id":"1397030503","filename":"file0"},{"photo_id":"1397030506","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030503":["hashtag1","hashtag2"]},{"1397030506":["hashtag1","hashtag2"]},{"1397030505":["hashtag1","hashtag2"]},{"1397030508":["hashtag1","hashtag2"]},{"1397030510":["hashtag1","hashtag2"]},{"1397030504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030503, 1397030506, 1397030505, 1397030508, 1397030510, 1397030504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.971455335617065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:08:42.154130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/02/image_31102025_12_02_12_3602.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_14_2688.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_17_2774.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_21_3586.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_24_3238.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_41_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_12_3602.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_14_2688.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_17_2774.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_21_3586.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_24_3238.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_41_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397030530","1397030524","1397030532","1397030526","1397030528","1397030519"],"photo_ids_order":["1397030519","1397030524","1397030526","1397030528","1397030530","1397030532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbf10193753d19b7d3f97c87c3e012aa.jpg","text":"TemporaryFile(/tmp/multipartBody5336597761028504838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_24_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97adde1fda6170c3de46b27d0fd58eb9.jpg","text":"TemporaryFile(/tmp/multipartBody289446949071362535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_14_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/30/f30477a370287ad60aeef39bb996c952.jpg","text":"TemporaryFile(/tmp/multipartBody7370000880036959677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_41_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a195e08af80efdfddc5d4fb0a5f3c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5588256644815177140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_17_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/30/db4ff080af439b8cb2eddf514bc9285f.jpg","text":"TemporaryFile(/tmp/multipartBody9007939777484710748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_21_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/30/3604422f29cab245947e52a6472882aa.jpg","text":"TemporaryFile(/tmp/multipartBody861098920230874069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764482983063,"filename":"image_31102025_12_02_12_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030526","file1":"1397030524","file0":"1397030519","file4":"1397030530","file5":"1397030532","file3":"1397030528"},"map_files_photo_id_array":[{"photo_id":"1397030532","filename":"file5"},{"photo_id":"1397030526","filename":"file2"},{"photo_id":"1397030530","filename":"file4"},{"photo_id":"1397030524","filename":"file1"},{"photo_id":"1397030519","filename":"file0"},{"photo_id":"1397030528","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030530":["hashtag1","hashtag2"]},{"1397030524":["hashtag1","hashtag2"]},{"1397030532":["hashtag1","hashtag2"]},{"1397030526":["hashtag1","hashtag2"]},{"1397030528":["hashtag1","hashtag2"]},{"1397030519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030530, 1397030524, 1397030532, 1397030526, 1397030528, 1397030519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.717729330062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-30 07:09:32.324539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_53_2732.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_56_2584.jpg', '/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_59_3604.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_02_2772.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_05_2625.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_08_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_53_2732.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_56_2584.jpg
/home/pi/Desktop/images/25112025/19/53/image_25112025_19_53_59_3604.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_02_2772.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_05_2625.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_08_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030545","1397030548","1397030544","1397030546","1397030549","1397030543"],"photo_ids_order":["1397030543","1397030544","1397030545","1397030546","1397030548","1397030549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4d66e73346a6d3379c805af39f5d524.jpg","text":"TemporaryFile(/tmp/multipartBody8124429504197553690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_53_59_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/30/dc72212d24696f6f3c93b01d716c065a.jpg","text":"TemporaryFile(/tmp/multipartBody7093193805157939129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_54_05_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73d39cca5a62016eacdc053cac484c38.jpg","text":"TemporaryFile(/tmp/multipartBody192683050386963890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_53_56_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbc0d793ea8c3f18112bfc8303a6299b.jpg","text":"TemporaryFile(/tmp/multipartBody1418827273043600847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_54_02_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/30/6197e6be7be152291d4262a8c039e767.jpg","text":"TemporaryFile(/tmp/multipartBody281647809551544192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_54_08_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/30/0de069ae56cd4d8027a469594af6caab.jpg","text":"TemporaryFile(/tmp/multipartBody5472238297910822630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483046328,"filename":"image_25112025_19_53_53_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030545","file1":"1397030544","file0":"1397030543","file4":"1397030548","file5":"1397030549","file3":"1397030546"},"map_files_photo_id_array":[{"photo_id":"1397030549","filename":"file5"},{"photo_id":"1397030545","filename":"file2"},{"photo_id":"1397030548","filename":"file4"},{"photo_id":"1397030544","filename":"file1"},{"photo_id":"1397030543","filename":"file0"},{"photo_id":"1397030546","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030545":["hashtag1","hashtag2"]},{"1397030548":["hashtag1","hashtag2"]},{"1397030544":["hashtag1","hashtag2"]},{"1397030546":["hashtag1","hashtag2"]},{"1397030549":["hashtag1","hashtag2"]},{"1397030543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030545, 1397030548, 1397030544, 1397030546, 1397030549, 1397030543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.70538067817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:10:32.610254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_11_2554.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_14_2754.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_17_3599.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_20_2799.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_23_2662.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_26_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_11_2554.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_14_2754.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_17_3599.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_20_2799.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_23_2662.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_26_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":["1397030557","1397030566","1397030560","1397030562","1397030565","1397030564"],"photo_ids_order":["1397030557","1397030560","1397030562","1397030564","1397030565","1397030566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/065dd87e7691c9314afde4928af4ba50.jpg","text":"TemporaryFile(/tmp/multipartBody3256129572607695098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_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/30/ec1f45ac3dca75cb3156b61507700c84.jpg","text":"TemporaryFile(/tmp/multipartBody3706241006627676480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_26_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f2bdac82e9d1d043e04ae228a3f3515.jpg","text":"TemporaryFile(/tmp/multipartBody3901369567924522588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_14_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/30/5838e849b8f94b4ef859acd097c4cafe.jpg","text":"TemporaryFile(/tmp/multipartBody4845427127152085672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_17_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/30/35b74ee2db05c7928aad8348478f2f67.jpg","text":"TemporaryFile(/tmp/multipartBody4907291369832458520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_23_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/30/9a3b6b545336d56f1783a7850e646524.jpg","text":"TemporaryFile(/tmp/multipartBody6023484100602237514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483094608,"filename":"image_25112025_19_54_20_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030562","file1":"1397030560","file0":"1397030557","file4":"1397030565","file5":"1397030566","file3":"1397030564"},"map_files_photo_id_array":[{"photo_id":"1397030566","filename":"file5"},{"photo_id":"1397030562","filename":"file2"},{"photo_id":"1397030565","filename":"file4"},{"photo_id":"1397030560","filename":"file1"},{"photo_id":"1397030557","filename":"file0"},{"photo_id":"1397030564","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030557":["hashtag1","hashtag2"]},{"1397030566":["hashtag1","hashtag2"]},{"1397030560":["hashtag1","hashtag2"]},{"1397030562":["hashtag1","hashtag2"]},{"1397030565":["hashtag1","hashtag2"]},{"1397030564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030557, 1397030566, 1397030560, 1397030562, 1397030565, 1397030564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50049090385437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:11:12.885212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_29_2834.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_32_2836.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_38_2763.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_46_1572.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_48_1550.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_50_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_29_2834.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_32_2836.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_38_2763.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_46_1572.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_48_1550.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_50_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":["1397030575","1397030572","1397030569","1397030577","1397030579","1397030567"],"photo_ids_order":["1397030567","1397030569","1397030572","1397030575","1397030577","1397030579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b3b19a7d70e519c2f53164c4e1a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4291933428607369961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_46_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/30/90c22a9d2bf8db9b0105857295e73270.jpg","text":"TemporaryFile(/tmp/multipartBody8939429458166584419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_38_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/30/dc57e04a17c6459b2179412ba2cf9a31.jpg","text":"TemporaryFile(/tmp/multipartBody4101716454543795661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_32_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/30/c88c2cd840d736825544602d44e56705.jpg","text":"TemporaryFile(/tmp/multipartBody8574795099193203523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_48_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97e0eb3752aae8a792e5bb11be89a4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6060932885928886041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_50_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/226c8bf95dc07877ac7fc8481ca957cb.jpg","text":"TemporaryFile(/tmp/multipartBody1311827182157149865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483134777,"filename":"image_25112025_19_54_29_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030572","file1":"1397030569","file0":"1397030567","file4":"1397030577","file5":"1397030579","file3":"1397030575"},"map_files_photo_id_array":[{"photo_id":"1397030579","filename":"file5"},{"photo_id":"1397030572","filename":"file2"},{"photo_id":"1397030577","filename":"file4"},{"photo_id":"1397030569","filename":"file1"},{"photo_id":"1397030567","filename":"file0"},{"photo_id":"1397030575","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030575":["hashtag1","hashtag2"]},{"1397030572":["hashtag1","hashtag2"]},{"1397030569":["hashtag1","hashtag2"]},{"1397030577":["hashtag1","hashtag2"]},{"1397030579":["hashtag1","hashtag2"]},{"1397030567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030575, 1397030572, 1397030569, 1397030577, 1397030579, 1397030567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22105264663696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:12:02.413906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_34_9648.jpg', '/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_45_10661.jpg', '/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_55_9874.jpg', '/home/pi/Desktop/images/30112025/05/32/image_30112025_05_33_05_10142.jpg', '/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_15_9731.jpg', '/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_34_9648.jpg
/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_45_10661.jpg
/home/pi/Desktop/images/30112025/05/32/image_30112025_05_32_55_9874.jpg
/home/pi/Desktop/images/30112025/05/32/image_30112025_05_33_05_10142.jpg
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_15_9731.jpg
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_24_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030590","1397030592","1397030589","1397030597","1397030591","1397030594"],"photo_ids_order":["1397030589","1397030590","1397030591","1397030592","1397030594","1397030597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d10d849b645b3e5893d4737dbeaef5e.jpg","text":"TemporaryFile(/tmp/multipartBody7145937377069535684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_32_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32dcb493a9507dacc054dbc5c4f2d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7386403866611576035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_33_05_10142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2681515ac301f28dcc5a4d4f216508bf.jpg","text":"TemporaryFile(/tmp/multipartBody808819904252910528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_32_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bba256dce42b17bbf54931978f78a686.jpg","text":"TemporaryFile(/tmp/multipartBody1424850507002648759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_33_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10f446ebedbcb205aba6eb0c22eff944.jpg","text":"TemporaryFile(/tmp/multipartBody2358545800927773522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_32_55_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46d59efc5e0c93c5763d77de35cba644.jpg","text":"TemporaryFile(/tmp/multipartBody721815984679203000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483183123,"filename":"image_30112025_05_33_15_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030591","file1":"1397030590","file0":"1397030589","file4":"1397030594","file5":"1397030597","file3":"1397030592"},"map_files_photo_id_array":[{"photo_id":"1397030597","filename":"file5"},{"photo_id":"1397030591","filename":"file2"},{"photo_id":"1397030594","filename":"file4"},{"photo_id":"1397030590","filename":"file1"},{"photo_id":"1397030589","filename":"file0"},{"photo_id":"1397030592","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030590":["hashtag1","hashtag2"]},{"1397030592":["hashtag1","hashtag2"]},{"1397030589":["hashtag1","hashtag2"]},{"1397030597":["hashtag1","hashtag2"]},{"1397030591":["hashtag1","hashtag2"]},{"1397030594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030590, 1397030592, 1397030589, 1397030597, 1397030591, 1397030594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.278993129730225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:12:41.983580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/02/image_31102025_12_02_44_2592.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_50_3601.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_53_2863.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_56_2620.jpg', '/home/pi/Desktop/images/31102025/12/02/image_31102025_12_03_00_3598.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_02_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_44_2592.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_50_3601.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_53_2863.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_02_56_2620.jpg
/home/pi/Desktop/images/31102025/12/02/image_31102025_12_03_00_3598.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_02_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030608","1397030605","1397030610","1397030607","1397030609","1397030603"],"photo_ids_order":["1397030603","1397030605","1397030607","1397030608","1397030609","1397030610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/612c4e6187ba477d88bf6adc05829ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6935881517123549458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_02_56_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98070195d43af03931166be65c554cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2083981611209316942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_02_50_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/30/736a096fed3bc936be4358b2a5006eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3210253685357162105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_03_02_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/30/ead61e9ba1b62e3a6d90a363c7b90081.jpg","text":"TemporaryFile(/tmp/multipartBody3351495476583758509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_02_53_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/30/627c04d6f0aabb1d527e4edfd61c4b4f.jpg","text":"TemporaryFile(/tmp/multipartBody8803729984170471012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_03_00_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45354ae1bd9ed80a85e14a3e8e301422.jpg","text":"TemporaryFile(/tmp/multipartBody2418641015230716715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483222874,"filename":"image_31102025_12_02_44_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030607","file1":"1397030605","file0":"1397030603","file4":"1397030609","file5":"1397030610","file3":"1397030608"},"map_files_photo_id_array":[{"photo_id":"1397030610","filename":"file5"},{"photo_id":"1397030607","filename":"file2"},{"photo_id":"1397030609","filename":"file4"},{"photo_id":"1397030605","filename":"file1"},{"photo_id":"1397030603","filename":"file0"},{"photo_id":"1397030608","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030608":["hashtag1","hashtag2"]},{"1397030605":["hashtag1","hashtag2"]},{"1397030610":["hashtag1","hashtag2"]},{"1397030607":["hashtag1","hashtag2"]},{"1397030609":["hashtag1","hashtag2"]},{"1397030603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030608, 1397030605, 1397030610, 1397030607, 1397030609, 1397030603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337706565856934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:13:22.229506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_35_10624.jpg', '/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_45_9754.jpg', '/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_54_9666.jpg', '/home/pi/Desktop/images/30112025/05/33/image_30112025_05_34_05_10655.jpg', '/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_14_9567.jpg', '/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_24_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_35_10624.jpg
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_45_9754.jpg
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_33_54_9666.jpg
/home/pi/Desktop/images/30112025/05/33/image_30112025_05_34_05_10655.jpg
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_14_9567.jpg
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_24_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030622","1397030619","1397030613","1397030616","1397030627","1397030624"],"photo_ids_order":["1397030613","1397030616","1397030619","1397030622","1397030624","1397030627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2ac7a4b30546954fcd885dea4de27a2.jpg","text":"TemporaryFile(/tmp/multipartBody955225458005878534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_34_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da71214ae121f9373dba397d2fbee8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8093257922815644641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_33_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bbef2cdd828c1ac18c26292cdda8003.jpg","text":"TemporaryFile(/tmp/multipartBody2852266786203508370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_33_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aaa6756cb25a0852f23b7e3f0aef302a.jpg","text":"TemporaryFile(/tmp/multipartBody7717244530510167400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_33_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/544fda6ee2f715112725485a2ed94e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3969053033676654960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_34_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4999c11759e1285145335ddd7fbb9ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6773872796321354626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483262919,"filename":"image_30112025_05_34_14_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030619","file1":"1397030616","file0":"1397030613","file4":"1397030624","file5":"1397030627","file3":"1397030622"},"map_files_photo_id_array":[{"photo_id":"1397030627","filename":"file5"},{"photo_id":"1397030619","filename":"file2"},{"photo_id":"1397030624","filename":"file4"},{"photo_id":"1397030616","filename":"file1"},{"photo_id":"1397030613","filename":"file0"},{"photo_id":"1397030622","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030622":["hashtag1","hashtag2"]},{"1397030619":["hashtag1","hashtag2"]},{"1397030613":["hashtag1","hashtag2"]},{"1397030616":["hashtag1","hashtag2"]},{"1397030627":["hashtag1","hashtag2"]},{"1397030624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030622, 1397030619, 1397030613, 1397030616, 1397030627, 1397030624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39115524291992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:14:02.957583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_35_10570.jpg', '/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_44_9678.jpg', '/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_54_9723.jpg', '/home/pi/Desktop/images/30112025/05/34/image_30112025_05_35_05_10786.jpg', '/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_15_9640.jpg', '/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_24_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_35_10570.jpg
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_44_9678.jpg
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_34_54_9723.jpg
/home/pi/Desktop/images/30112025/05/34/image_30112025_05_35_05_10786.jpg
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_15_9640.jpg
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_24_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030638","1397030632","1397030635","1397030629","1397030631","1397030633"],"photo_ids_order":["1397030629","1397030631","1397030632","1397030633","1397030635","1397030638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8f08e10691a6244d15243c72af96a76.jpg","text":"TemporaryFile(/tmp/multipartBody2399573949616876072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_35_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f5bebd779a88edf316795aeb1267129.jpg","text":"TemporaryFile(/tmp/multipartBody1545025531459147677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_34_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49b6c8265e7629bd7446550ebc7e1626.jpg","text":"TemporaryFile(/tmp/multipartBody2753305116509515021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_35_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2baed7eab1ae2e29be74fcf05f23ea33.jpg","text":"TemporaryFile(/tmp/multipartBody108766246579157310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_34_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8d8196cce1e8e3e8e54e9c06052179a.jpg","text":"TemporaryFile(/tmp/multipartBody8845136403530651886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_34_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/151dfb636b50618b63b18eb95ac5c4c2.jpg","text":"TemporaryFile(/tmp/multipartBody337422277903363217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483303728,"filename":"image_30112025_05_35_05_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030632","file1":"1397030631","file0":"1397030629","file4":"1397030635","file5":"1397030638","file3":"1397030633"},"map_files_photo_id_array":[{"photo_id":"1397030638","filename":"file5"},{"photo_id":"1397030632","filename":"file2"},{"photo_id":"1397030635","filename":"file4"},{"photo_id":"1397030631","filename":"file1"},{"photo_id":"1397030629","filename":"file0"},{"photo_id":"1397030633","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030638":["hashtag1","hashtag2"]},{"1397030632":["hashtag1","hashtag2"]},{"1397030635":["hashtag1","hashtag2"]},{"1397030629":["hashtag1","hashtag2"]},{"1397030631":["hashtag1","hashtag2"]},{"1397030633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030638, 1397030632, 1397030635, 1397030629, 1397030631, 1397030633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.167943716049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:14:42.379550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/03/image_31102025_12_03_05_2669.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_09_3741.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_11_2637.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_14_2926.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_17_2677.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_21_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_05_2669.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_09_3741.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_11_2637.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_14_2926.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_17_2677.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_21_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030656","1397030659","1397030655","1397030649","1397030658","1397030657"],"photo_ids_order":["1397030649","1397030655","1397030656","1397030657","1397030658","1397030659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a660ce4918fb494ec9e65a8996f9b498.jpg","text":"TemporaryFile(/tmp/multipartBody5535258583639357794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_11_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/30/f7c13549bdb1a699914f4c4a071e7af9.jpg","text":"TemporaryFile(/tmp/multipartBody7341511401464940337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_21_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/30/759d175d833e4a5c8a64c37f6676f241.jpg","text":"TemporaryFile(/tmp/multipartBody12378216979424978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_09_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a6860847e8d031eb9983b725beb720c.jpg","text":"TemporaryFile(/tmp/multipartBody2979633334588062471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_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/30/0bb63659f3792473b02db0938769798c.jpg","text":"TemporaryFile(/tmp/multipartBody2685704465452440588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_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/30/f7cfee9607ddc11d26cfe6ca2345482e.jpg","text":"TemporaryFile(/tmp/multipartBody722615824705941194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483343260,"filename":"image_31102025_12_03_14_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030656","file1":"1397030655","file0":"1397030649","file4":"1397030658","file5":"1397030659","file3":"1397030657"},"map_files_photo_id_array":[{"photo_id":"1397030659","filename":"file5"},{"photo_id":"1397030656","filename":"file2"},{"photo_id":"1397030658","filename":"file4"},{"photo_id":"1397030655","filename":"file1"},{"photo_id":"1397030649","filename":"file0"},{"photo_id":"1397030657","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030656":["hashtag1","hashtag2"]},{"1397030659":["hashtag1","hashtag2"]},{"1397030655":["hashtag1","hashtag2"]},{"1397030649":["hashtag1","hashtag2"]},{"1397030658":["hashtag1","hashtag2"]},{"1397030657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030656, 1397030659, 1397030655, 1397030649, 1397030658, 1397030657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29140329360962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:15:22.531186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_34_9700.jpg', '/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_45_10525.jpg', '/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_54_9729.jpg', '/home/pi/Desktop/images/30112025/05/35/image_30112025_05_36_04_9650.jpg', '/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_15_10868.jpg', '/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_25_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_34_9700.jpg
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_45_10525.jpg
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_35_54_9729.jpg
/home/pi/Desktop/images/30112025/05/35/image_30112025_05_36_04_9650.jpg
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_15_10868.jpg
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_25_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030674","1397030677","1397030663","1397030672","1397030666","1397030669"],"photo_ids_order":["1397030663","1397030666","1397030669","1397030672","1397030674","1397030677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53d1b429d1ce2151856db5460e13aee8.jpg","text":"TemporaryFile(/tmp/multipartBody2226417557471806327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_36_15_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/781eeb7bf5d40c55847649a69c67ba87.jpg","text":"TemporaryFile(/tmp/multipartBody1616185284473828338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_36_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b53cb19c0dae0457951fa8555fcf484f.jpg","text":"TemporaryFile(/tmp/multipartBody5691655721233734412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_35_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aff321e2e239089a753d8c7c270bbc64.jpg","text":"TemporaryFile(/tmp/multipartBody9051409502743358033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_36_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce1251286b8810403a52cb656141ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody4842294697262249134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_35_45_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b35dc752a26b9c3881bb95731df6a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7702256487619782768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483383213,"filename":"image_30112025_05_35_54_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030669","file1":"1397030666","file0":"1397030663","file4":"1397030674","file5":"1397030677","file3":"1397030672"},"map_files_photo_id_array":[{"photo_id":"1397030677","filename":"file5"},{"photo_id":"1397030669","filename":"file2"},{"photo_id":"1397030674","filename":"file4"},{"photo_id":"1397030666","filename":"file1"},{"photo_id":"1397030663","filename":"file0"},{"photo_id":"1397030672","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030674":["hashtag1","hashtag2"]},{"1397030677":["hashtag1","hashtag2"]},{"1397030663":["hashtag1","hashtag2"]},{"1397030672":["hashtag1","hashtag2"]},{"1397030666":["hashtag1","hashtag2"]},{"1397030669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030674, 1397030677, 1397030663, 1397030672, 1397030666, 1397030669)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.449050188064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:16:12.674817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_53_2518.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_56_2727.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_59_2927.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_05_2818.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_08_2600.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_14_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_53_2518.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_56_2727.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_59_2927.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_05_2818.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_08_2600.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_14_3575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5691070556640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:16:23.168873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_34_9563.jpg', '/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_45_10820.jpg', '/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_55_9729.jpg', '/home/pi/Desktop/images/30112025/05/36/image_30112025_05_37_04_9574.jpg', '/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_15_10695.jpg', '/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_25_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_34_9563.jpg
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_45_10820.jpg
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_36_55_9729.jpg
/home/pi/Desktop/images/30112025/05/36/image_30112025_05_37_04_9574.jpg
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_15_10695.jpg
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_25_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030691","1397030685","1397030688","1397030696","1397030699","1397030693"],"photo_ids_order":["1397030685","1397030688","1397030691","1397030693","1397030696","1397030699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/971e41124488807853ad5767eab70386.jpg","text":"TemporaryFile(/tmp/multipartBody1191444209136463838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_36_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f69c0e0fb4139e233da6437beb71d9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1988725540667210078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_36_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df6991591162246fe531c39b80fe4b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2135115745141988956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_36_45_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eff2b21befd3af3c38a996a1401c83e7.jpg","text":"TemporaryFile(/tmp/multipartBody1971380982199515294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_37_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd25fe9d3c94b62e14e9ad9f51b2b756.jpg","text":"TemporaryFile(/tmp/multipartBody7324238784236260582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_37_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f47f4074147fa7f6d13bd69635ee627.jpg","text":"TemporaryFile(/tmp/multipartBody2383732846715565770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483446248,"filename":"image_30112025_05_37_04_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030691","file1":"1397030688","file0":"1397030685","file4":"1397030696","file5":"1397030699","file3":"1397030693"},"map_files_photo_id_array":[{"photo_id":"1397030699","filename":"file5"},{"photo_id":"1397030691","filename":"file2"},{"photo_id":"1397030696","filename":"file4"},{"photo_id":"1397030688","filename":"file1"},{"photo_id":"1397030685","filename":"file0"},{"photo_id":"1397030693","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030691":["hashtag1","hashtag2"]},{"1397030685":["hashtag1","hashtag2"]},{"1397030688":["hashtag1","hashtag2"]},{"1397030696":["hashtag1","hashtag2"]},{"1397030699":["hashtag1","hashtag2"]},{"1397030693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030691, 1397030685, 1397030688, 1397030696, 1397030699, 1397030693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13482213020325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:17:11.977531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_53_2518.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_56_2727.jpg', '/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_59_2927.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_05_2818.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_08_2600.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_14_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_53_2518.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_56_2727.jpg
/home/pi/Desktop/images/25112025/19/54/image_25112025_19_54_59_2927.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_05_2818.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_08_2600.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_14_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030705","1397030710","1397030713","1397030707","1397030701","1397030703"],"photo_ids_order":["1397030701","1397030703","1397030705","1397030707","1397030710","1397030713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0b103943bddc1139d8b9024476fd016.jpg","text":"TemporaryFile(/tmp/multipartBody1634890305842106074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_54_59_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/30/5f8b76d99a584102c6b51465f4591a13.jpg","text":"TemporaryFile(/tmp/multipartBody7158436693366718657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_55_08_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/30/c5450acc9a898b46486dc3efcf8fe3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3470037383366930932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_55_14_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d4d950f6bb5feba1530c2583d135f52.jpg","text":"TemporaryFile(/tmp/multipartBody5413718219272746598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_55_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/30/2c0a2238d6bad5c9eb7912d8c7a4ac01.jpg","text":"TemporaryFile(/tmp/multipartBody6965499040087775524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_54_53_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/30/78456feeda4f29a48f5cb799ae011fac.jpg","text":"TemporaryFile(/tmp/multipartBody8181836334281715340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483493560,"filename":"image_25112025_19_54_56_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030705","file1":"1397030703","file0":"1397030701","file4":"1397030710","file5":"1397030713","file3":"1397030707"},"map_files_photo_id_array":[{"photo_id":"1397030713","filename":"file5"},{"photo_id":"1397030705","filename":"file2"},{"photo_id":"1397030710","filename":"file4"},{"photo_id":"1397030703","filename":"file1"},{"photo_id":"1397030701","filename":"file0"},{"photo_id":"1397030707","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030705":["hashtag1","hashtag2"]},{"1397030710":["hashtag1","hashtag2"]},{"1397030713":["hashtag1","hashtag2"]},{"1397030707":["hashtag1","hashtag2"]},{"1397030701":["hashtag1","hashtag2"]},{"1397030703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030705, 1397030710, 1397030713, 1397030707, 1397030701, 1397030703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39042615890503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:18:02.424343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_35_9794.jpg', '/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_44_9715.jpg', '/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_55_10651.jpg', '/home/pi/Desktop/images/30112025/05/37/image_30112025_05_38_04_9546.jpg', '/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_14_9633.jpg', '/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_25_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_35_9794.jpg
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_44_9715.jpg
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_37_55_10651.jpg
/home/pi/Desktop/images/30112025/05/37/image_30112025_05_38_04_9546.jpg
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_14_9633.jpg
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_25_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030719","1397030722","1397030721","1397030724","1397030727","1397030720"],"photo_ids_order":["1397030719","1397030720","1397030721","1397030722","1397030724","1397030727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b69c9443d60282f3af6f44172c6a9dea.jpg","text":"TemporaryFile(/tmp/multipartBody4969835105566003392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_37_35_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e3379c63257bc09a4b11884b663a69a.jpg","text":"TemporaryFile(/tmp/multipartBody1342110838034632567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_38_04_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87d9210da9ff9ad981b9fdc4b7a0269d.jpg","text":"TemporaryFile(/tmp/multipartBody1615800929783561516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_37_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb90885076fc9adae8ae4bafe6b0504d.jpg","text":"TemporaryFile(/tmp/multipartBody8937500220967749222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_38_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd2d88e5aa23ff992bb4c0375027d560.jpg","text":"TemporaryFile(/tmp/multipartBody6398650224471723911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_38_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cacf234cf6e3ae5342ece443af0884bb.jpg","text":"TemporaryFile(/tmp/multipartBody8682544178914004583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483543136,"filename":"image_30112025_05_37_44_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030721","file1":"1397030720","file0":"1397030719","file4":"1397030724","file5":"1397030727","file3":"1397030722"},"map_files_photo_id_array":[{"photo_id":"1397030727","filename":"file5"},{"photo_id":"1397030721","filename":"file2"},{"photo_id":"1397030724","filename":"file4"},{"photo_id":"1397030720","filename":"file1"},{"photo_id":"1397030719","filename":"file0"},{"photo_id":"1397030722","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030719":["hashtag1","hashtag2"]},{"1397030722":["hashtag1","hashtag2"]},{"1397030721":["hashtag1","hashtag2"]},{"1397030724":["hashtag1","hashtag2"]},{"1397030727":["hashtag1","hashtag2"]},{"1397030720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030719, 1397030722, 1397030721, 1397030724, 1397030727, 1397030720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.572510957717896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:18:42.188207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/03/image_31102025_12_03_23_2554.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_26_2684.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_38_12191.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_40_1758.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_41_1682.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_45_1764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_23_2554.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_26_2684.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_38_12191.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_40_1758.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_41_1682.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_45_1764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030737","1397030734","1397030733","1397030739","1397030732","1397030735"],"photo_ids_order":["1397030732","1397030733","1397030734","1397030735","1397030737","1397030739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c85b9ec78aafa3a053ac5907fd2ef450.jpg","text":"TemporaryFile(/tmp/multipartBody7773492390161956854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_41_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/30/ad2ca20429023301df89d254d2c11426.jpg","text":"TemporaryFile(/tmp/multipartBody8355222680671179964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_38_12191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0d2cee5c03d408109861e8d01539df4.jpg","text":"TemporaryFile(/tmp/multipartBody3294041236195945653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_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/30/cec4686028e2aaf9ba85e4cd072e3f17.jpg","text":"TemporaryFile(/tmp/multipartBody306062356744425569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_45_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/30/80401f1d0f94d80ad30fb18fccb7d985.jpg","text":"TemporaryFile(/tmp/multipartBody31270274679952779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_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/30/35c24d68099e33ff9c66c965edb34b93.jpg","text":"TemporaryFile(/tmp/multipartBody2435492812541815631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483583057,"filename":"image_31102025_12_03_40_1758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030734","file1":"1397030733","file0":"1397030732","file4":"1397030737","file5":"1397030739","file3":"1397030735"},"map_files_photo_id_array":[{"photo_id":"1397030739","filename":"file5"},{"photo_id":"1397030734","filename":"file2"},{"photo_id":"1397030737","filename":"file4"},{"photo_id":"1397030733","filename":"file1"},{"photo_id":"1397030732","filename":"file0"},{"photo_id":"1397030735","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030737":["hashtag1","hashtag2"]},{"1397030734":["hashtag1","hashtag2"]},{"1397030733":["hashtag1","hashtag2"]},{"1397030739":["hashtag1","hashtag2"]},{"1397030732":["hashtag1","hashtag2"]},{"1397030735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030737, 1397030734, 1397030733, 1397030739, 1397030732, 1397030735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.157986879348755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:19:22.342114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_34_9665.jpg', '/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_45_10567.jpg', '/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_55_9807.jpg', '/home/pi/Desktop/images/30112025/05/38/image_30112025_05_39_05_9703.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_14_9757.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_25_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_34_9665.jpg
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_45_10567.jpg
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_38_55_9807.jpg
/home/pi/Desktop/images/30112025/05/38/image_30112025_05_39_05_9703.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_14_9757.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_25_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030743","1397030757","1397030750","1397030753","1397030747","1397030756"],"photo_ids_order":["1397030743","1397030747","1397030750","1397030753","1397030756","1397030757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89dbaa2d59825584be1b32a693798032.jpg","text":"TemporaryFile(/tmp/multipartBody5958135019483669806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_38_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9dba5eef6d556fb354ffca936ea3fa83.jpg","text":"TemporaryFile(/tmp/multipartBody8955656260150020742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_39_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90bc71d0f5fcf89cd3d24129131f9ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6300017279774514499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_38_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2747696cd91666836c34ca6360b9256.jpg","text":"TemporaryFile(/tmp/multipartBody793901454039199159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_39_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d17ee96127c3b635f851a8185937484c.jpg","text":"TemporaryFile(/tmp/multipartBody5106147185489288990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_38_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81993c9dca90e15a72345c8ac4277d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7374918521980345207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483623063,"filename":"image_30112025_05_39_14_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030750","file1":"1397030747","file0":"1397030743","file4":"1397030756","file5":"1397030757","file3":"1397030753"},"map_files_photo_id_array":[{"photo_id":"1397030757","filename":"file5"},{"photo_id":"1397030750","filename":"file2"},{"photo_id":"1397030756","filename":"file4"},{"photo_id":"1397030747","filename":"file1"},{"photo_id":"1397030743","filename":"file0"},{"photo_id":"1397030753","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030743":["hashtag1","hashtag2"]},{"1397030757":["hashtag1","hashtag2"]},{"1397030750":["hashtag1","hashtag2"]},{"1397030753":["hashtag1","hashtag2"]},{"1397030747":["hashtag1","hashtag2"]},{"1397030756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030743, 1397030757, 1397030750, 1397030753, 1397030747, 1397030756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29199028015137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:20:02.513534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_34_9555.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_44_9761.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_55_10698.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_40_05_9665.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_14_9673.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_24_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_34_9555.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_44_9761.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_55_10698.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_40_05_9665.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_14_9673.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_24_9864.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6052367687225342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:20:11.937896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_17_2572.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_26_2589.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_29_3673.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_32_2682.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_35_2609.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_41_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_17_2572.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_26_2589.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_29_3673.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_32_2682.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_35_2609.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_41_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030776","1397030761","1397030772","1397030766","1397030769","1397030763"],"photo_ids_order":["1397030761","1397030763","1397030766","1397030769","1397030772","1397030776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a59c0b3926c31ec6e930585972f5e71e.jpg","text":"TemporaryFile(/tmp/multipartBody6367387932742024516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_41_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e78b4e421cc4b1656be93907f8e075d.jpg","text":"TemporaryFile(/tmp/multipartBody1819103688704976600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_17_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4c8d3c1921e1f2fde4cf72d359e374d.jpg","text":"TemporaryFile(/tmp/multipartBody6693951327481428845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_35_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b95032e836ed756b8935323c56ba5d94.jpg","text":"TemporaryFile(/tmp/multipartBody1045781775489542408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_29_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/30/4afd227d8f72d4885e0d628b763e402e.jpg","text":"TemporaryFile(/tmp/multipartBody8461124224446684670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b41d6e5828f4dfaeedf2d90fae1081b.jpg","text":"TemporaryFile(/tmp/multipartBody4821240373856418368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483673750,"filename":"image_25112025_19_55_26_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030766","file1":"1397030763","file0":"1397030761","file4":"1397030772","file5":"1397030776","file3":"1397030769"},"map_files_photo_id_array":[{"photo_id":"1397030776","filename":"file5"},{"photo_id":"1397030766","filename":"file2"},{"photo_id":"1397030772","filename":"file4"},{"photo_id":"1397030763","filename":"file1"},{"photo_id":"1397030761","filename":"file0"},{"photo_id":"1397030769","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030776":["hashtag1","hashtag2"]},{"1397030761":["hashtag1","hashtag2"]},{"1397030772":["hashtag1","hashtag2"]},{"1397030766":["hashtag1","hashtag2"]},{"1397030769":["hashtag1","hashtag2"]},{"1397030763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030776, 1397030761, 1397030772, 1397030766, 1397030769, 1397030763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92601823806763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:21:03.008337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_34_9555.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_44_9761.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_55_10698.jpg', '/home/pi/Desktop/images/30112025/05/39/image_30112025_05_40_05_9665.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_14_9673.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_24_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_34_9555.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_44_9761.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_39_55_10698.jpg
/home/pi/Desktop/images/30112025/05/39/image_30112025_05_40_05_9665.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_14_9673.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_24_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030788","1397030782","1397030785","1397030784","1397030786","1397030791"],"photo_ids_order":["1397030782","1397030784","1397030785","1397030786","1397030788","1397030791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/314d80c27205b0eb7f92578d74d5786b.jpg","text":"TemporaryFile(/tmp/multipartBody4469334557866038488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_40_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1f352fb8856e861e158b71477f32234.jpg","text":"TemporaryFile(/tmp/multipartBody1356874499326944324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_39_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f41a3ea5691edc8c572a4cf7da10850.jpg","text":"TemporaryFile(/tmp/multipartBody339594689527840709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_39_55_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/605dd3db128ac9a345e7eece3f85159a.jpg","text":"TemporaryFile(/tmp/multipartBody5908234448466126782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_39_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45e184f648ce7aa85127003103112b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3627686548052071674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_40_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/679744c877ac3364f938ff0f765a9839.jpg","text":"TemporaryFile(/tmp/multipartBody7916316817812614646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483723769,"filename":"image_30112025_05_40_24_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030785","file1":"1397030784","file0":"1397030782","file4":"1397030788","file5":"1397030791","file3":"1397030786"},"map_files_photo_id_array":[{"photo_id":"1397030791","filename":"file5"},{"photo_id":"1397030785","filename":"file2"},{"photo_id":"1397030788","filename":"file4"},{"photo_id":"1397030784","filename":"file1"},{"photo_id":"1397030782","filename":"file0"},{"photo_id":"1397030786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030788":["hashtag1","hashtag2"]},{"1397030782":["hashtag1","hashtag2"]},{"1397030785":["hashtag1","hashtag2"]},{"1397030784":["hashtag1","hashtag2"]},{"1397030786":["hashtag1","hashtag2"]},{"1397030791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030788, 1397030782, 1397030785, 1397030784, 1397030786, 1397030791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92653942108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:21:42.280245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/03/image_31102025_12_03_46_1618.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_48_1654.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_54_3839.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_56_2671.jpg', '/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_59_2644.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_02_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/12/03/image_31102025_12_03_46_1618.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_48_1654.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_54_3839.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_56_2671.jpg
/home/pi/Desktop/images/31102025/12/03/image_31102025_12_03_59_2644.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_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":["1397030804","1397030800","1397030803","1397030802","1397030805","1397030801"],"photo_ids_order":["1397030800","1397030801","1397030802","1397030803","1397030804","1397030805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bcd4c456dbc532bd226adbabaac6653.jpg","text":"TemporaryFile(/tmp/multipartBody4158671545686563466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_03_59_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8768570d688c707769709636f9722ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8179540483621812669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_03_46_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/30/9ad0a4c29c134174d4ded5cd0818b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1768789361625008914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_03_56_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/30/ea487f8935f09655412135e151c59120.jpg","text":"TemporaryFile(/tmp/multipartBody1043114159135449439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_03_54_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/30/1382a5f0949bbc603fa035dfc4128c91.jpg","text":"TemporaryFile(/tmp/multipartBody7801349428945425376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_04_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/30/f36c843a830f34b7499ec9a2555746b2.jpg","text":"TemporaryFile(/tmp/multipartBody7883096697933984853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483763158,"filename":"image_31102025_12_03_48_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030802","file1":"1397030801","file0":"1397030800","file4":"1397030804","file5":"1397030805","file3":"1397030803"},"map_files_photo_id_array":[{"photo_id":"1397030805","filename":"file5"},{"photo_id":"1397030802","filename":"file2"},{"photo_id":"1397030804","filename":"file4"},{"photo_id":"1397030801","filename":"file1"},{"photo_id":"1397030800","filename":"file0"},{"photo_id":"1397030803","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030804":["hashtag1","hashtag2"]},{"1397030800":["hashtag1","hashtag2"]},{"1397030803":["hashtag1","hashtag2"]},{"1397030802":["hashtag1","hashtag2"]},{"1397030805":["hashtag1","hashtag2"]},{"1397030801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030804, 1397030800, 1397030803, 1397030802, 1397030805, 1397030801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65954637527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:22:22.559502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_35_10773.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_44_9588.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_54_9702.jpg', '/home/pi/Desktop/images/30112025/05/40/image_30112025_05_41_05_10734.jpg', '/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_15_9612.jpg', '/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_24_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_35_10773.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_44_9588.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_40_54_9702.jpg
/home/pi/Desktop/images/30112025/05/40/image_30112025_05_41_05_10734.jpg
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_15_9612.jpg
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_24_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030819","1397030812","1397030809","1397030814","1397030817","1397030816"],"photo_ids_order":["1397030809","1397030812","1397030814","1397030816","1397030817","1397030819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c9e482f4e3ade1c6f5538b5ec0a6ff0.jpg","text":"TemporaryFile(/tmp/multipartBody859058027661260486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_41_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/826e5b0ebdbf9ba2d009a450591a5b8f.jpg","text":"TemporaryFile(/tmp/multipartBody2887281347272049814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_40_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aadda662b7e8a590126f803de5d26f30.jpg","text":"TemporaryFile(/tmp/multipartBody8178481532498329846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_40_35_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/511f9910410577e1f359dd78d1665254.jpg","text":"TemporaryFile(/tmp/multipartBody3409366668811719824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_40_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3621e3f1ef40f4ed577ca197823a430c.jpg","text":"TemporaryFile(/tmp/multipartBody366042780419697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_41_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9072836729f232f0dc175cc1cae746ce.jpg","text":"TemporaryFile(/tmp/multipartBody1765513518503608383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483803238,"filename":"image_30112025_05_41_05_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030814","file1":"1397030812","file0":"1397030809","file4":"1397030817","file5":"1397030819","file3":"1397030816"},"map_files_photo_id_array":[{"photo_id":"1397030819","filename":"file5"},{"photo_id":"1397030814","filename":"file2"},{"photo_id":"1397030817","filename":"file4"},{"photo_id":"1397030812","filename":"file1"},{"photo_id":"1397030809","filename":"file0"},{"photo_id":"1397030816","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030819":["hashtag1","hashtag2"]},{"1397030812":["hashtag1","hashtag2"]},{"1397030809":["hashtag1","hashtag2"]},{"1397030814":["hashtag1","hashtag2"]},{"1397030817":["hashtag1","hashtag2"]},{"1397030816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030819, 1397030812, 1397030809, 1397030814, 1397030817, 1397030816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34380125999451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:23:03.367543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_35_10715.jpg', '/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_44_9625.jpg', '/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_54_9813.jpg', '/home/pi/Desktop/images/30112025/05/41/image_30112025_05_42_05_10687.jpg', '/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_15_9652.jpg', '/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_35_10715.jpg
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_44_9625.jpg
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_41_54_9813.jpg
/home/pi/Desktop/images/30112025/05/41/image_30112025_05_42_05_10687.jpg
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_15_9652.jpg
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_24_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030830","1397030824","1397030821","1397030823","1397030826","1397030822"],"photo_ids_order":["1397030821","1397030822","1397030823","1397030824","1397030826","1397030830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/293f1ecba1bf0e5c80083e79bd0afd22.jpg","text":"TemporaryFile(/tmp/multipartBody3514553267960981441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_42_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf9ca849cbb9b148f908306597623c24.jpg","text":"TemporaryFile(/tmp/multipartBody1647626537992382198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_42_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5c9824ff506020d62cc377b0e70cdab.jpg","text":"TemporaryFile(/tmp/multipartBody3099276100976642365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_41_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a30f60b72f53e38e484f470032f52a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7742197941002587763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_41_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a61cf081a8f525d1c93ea88b60e8723c.jpg","text":"TemporaryFile(/tmp/multipartBody2809643822538299335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_42_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1088584c5868c5a66ce390fc027343d.jpg","text":"TemporaryFile(/tmp/multipartBody8115095368113519936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483844102,"filename":"image_30112025_05_41_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030823","file1":"1397030822","file0":"1397030821","file4":"1397030826","file5":"1397030830","file3":"1397030824"},"map_files_photo_id_array":[{"photo_id":"1397030830","filename":"file5"},{"photo_id":"1397030823","filename":"file2"},{"photo_id":"1397030826","filename":"file4"},{"photo_id":"1397030822","filename":"file1"},{"photo_id":"1397030821","filename":"file0"},{"photo_id":"1397030824","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030830":["hashtag1","hashtag2"]},{"1397030824":["hashtag1","hashtag2"]},{"1397030821":["hashtag1","hashtag2"]},{"1397030823":["hashtag1","hashtag2"]},{"1397030826":["hashtag1","hashtag2"]},{"1397030822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030830, 1397030824, 1397030821, 1397030823, 1397030826, 1397030822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32283139228821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:23:42.707292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/04/image_31102025_12_04_05_3685.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_08_2775.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_11_2695.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_22_11072.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_23_1502.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_27_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_05_3685.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_08_2775.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_11_2695.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_22_11072.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_23_1502.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_27_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030836","1397030839","1397030835","1397030838","1397030840","1397030837"],"photo_ids_order":["1397030835","1397030836","1397030837","1397030838","1397030839","1397030840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c10776ee6c74791874c8d15cfc0143d.jpg","text":"TemporaryFile(/tmp/multipartBody8362671927767841072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_08_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a37d147be6813e8fa8609bd46c624d69.jpg","text":"TemporaryFile(/tmp/multipartBody7871183850161938485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_23_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/30/d6742c6bdfc77e5a266088ababded9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2014547012390833945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_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/30/ed7c38b6658005dcfb7d186f6a012ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5833428010878259398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_22_11072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb41d6f44a850f614de035e45ab5c8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4763844796239685195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_27_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/30/484d56cd29b2f6c36e4c80c372e8819c.jpg","text":"TemporaryFile(/tmp/multipartBody5932280754060127832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483883620,"filename":"image_31102025_12_04_11_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030837","file1":"1397030836","file0":"1397030835","file4":"1397030839","file5":"1397030840","file3":"1397030838"},"map_files_photo_id_array":[{"photo_id":"1397030840","filename":"file5"},{"photo_id":"1397030837","filename":"file2"},{"photo_id":"1397030839","filename":"file4"},{"photo_id":"1397030836","filename":"file1"},{"photo_id":"1397030835","filename":"file0"},{"photo_id":"1397030838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030836":["hashtag1","hashtag2"]},{"1397030839":["hashtag1","hashtag2"]},{"1397030835":["hashtag1","hashtag2"]},{"1397030838":["hashtag1","hashtag2"]},{"1397030840":["hashtag1","hashtag2"]},{"1397030837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030836, 1397030839, 1397030835, 1397030838, 1397030840, 1397030837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15288329124451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:24:21.901844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_34_9852.jpg', '/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_45_10564.jpg', '/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_54_9718.jpg', '/home/pi/Desktop/images/30112025/05/42/image_30112025_05_43_04_9659.jpg', '/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_15_10787.jpg', '/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_25_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_34_9852.jpg
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_45_10564.jpg
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_42_54_9718.jpg
/home/pi/Desktop/images/30112025/05/42/image_30112025_05_43_04_9659.jpg
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_15_10787.jpg
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_25_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030848","1397030842","1397030851","1397030845","1397030853","1397030856"],"photo_ids_order":["1397030842","1397030845","1397030848","1397030851","1397030853","1397030856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/009bb21f8e680dfe27544790f5d53228.jpg","text":"TemporaryFile(/tmp/multipartBody3614891588593570093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_42_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ea88d763e1128664b0b4ec5c9d38b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7530790084703422927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_42_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bcd69a79bd5a1075b9c1bc18ec2e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4635065664256444292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_43_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f13029066055131fb839b220cccf03.jpg","text":"TemporaryFile(/tmp/multipartBody4451916969369585884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_42_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12c416c697dac1cd3168c53917cf2341.jpg","text":"TemporaryFile(/tmp/multipartBody613975438457946623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_43_15_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96f26002aa9c468a80ed06643e510e97.jpg","text":"TemporaryFile(/tmp/multipartBody2690965711356622106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483922590,"filename":"image_30112025_05_43_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030848","file1":"1397030845","file0":"1397030842","file4":"1397030853","file5":"1397030856","file3":"1397030851"},"map_files_photo_id_array":[{"photo_id":"1397030856","filename":"file5"},{"photo_id":"1397030848","filename":"file2"},{"photo_id":"1397030853","filename":"file4"},{"photo_id":"1397030845","filename":"file1"},{"photo_id":"1397030842","filename":"file0"},{"photo_id":"1397030851","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030848":["hashtag1","hashtag2"]},{"1397030842":["hashtag1","hashtag2"]},{"1397030851":["hashtag1","hashtag2"]},{"1397030845":["hashtag1","hashtag2"]},{"1397030853":["hashtag1","hashtag2"]},{"1397030856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030848, 1397030842, 1397030851, 1397030845, 1397030853, 1397030856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51424598693848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:25:02.643204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_34_9911.jpg', '/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_44_9704.jpg', '/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_55_10538.jpg', '/home/pi/Desktop/images/30112025/05/43/image_30112025_05_44_04_9662.jpg', '/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_15_10660.jpg', '/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_25_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_34_9911.jpg
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_44_9704.jpg
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_43_55_10538.jpg
/home/pi/Desktop/images/30112025/05/43/image_30112025_05_44_04_9662.jpg
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_15_10660.jpg
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_25_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030860","1397030863","1397030865","1397030859","1397030861","1397030867"],"photo_ids_order":["1397030859","1397030860","1397030861","1397030863","1397030865","1397030867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/680d8842162ee3e508ebe70889a3f01c.jpg","text":"TemporaryFile(/tmp/multipartBody5031863538815887558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_43_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f48689dd1916618f0c72733d845b0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3329137870540777973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_44_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ccf48346d0aa8a1de454c49cbe7fdf3.jpg","text":"TemporaryFile(/tmp/multipartBody3804847362211695771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_44_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac69bc02323146932f55a0ded9e6c56a.jpg","text":"TemporaryFile(/tmp/multipartBody4220005466454745411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_43_34_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdf5c4716aa015a95fda19cc2d8373b7.jpg","text":"TemporaryFile(/tmp/multipartBody3318950389828694461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_43_55_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2e3d6e8863a5475f16694530634e573.jpg","text":"TemporaryFile(/tmp/multipartBody4394027793031641293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764483966186,"filename":"image_30112025_05_44_25_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030861","file1":"1397030860","file0":"1397030859","file4":"1397030865","file5":"1397030867","file3":"1397030863"},"map_files_photo_id_array":[{"photo_id":"1397030867","filename":"file5"},{"photo_id":"1397030861","filename":"file2"},{"photo_id":"1397030865","filename":"file4"},{"photo_id":"1397030860","filename":"file1"},{"photo_id":"1397030859","filename":"file0"},{"photo_id":"1397030863","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030860":["hashtag1","hashtag2"]},{"1397030863":["hashtag1","hashtag2"]},{"1397030865":["hashtag1","hashtag2"]},{"1397030859":["hashtag1","hashtag2"]},{"1397030861":["hashtag1","hashtag2"]},{"1397030867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030860, 1397030863, 1397030865, 1397030859, 1397030861, 1397030867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.266095876693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:26:02.696338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_35_9921.jpg', '/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_44_9632.jpg', '/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_54_10254.jpg', '/home/pi/Desktop/images/30112025/05/44/image_30112025_05_45_04_9660.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_15_10753.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_24_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_35_9921.jpg
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_44_9632.jpg
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_44_54_10254.jpg
/home/pi/Desktop/images/30112025/05/44/image_30112025_05_45_04_9660.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_15_10753.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_24_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030875","1397030878","1397030880","1397030874","1397030876","1397030873"],"photo_ids_order":["1397030873","1397030874","1397030875","1397030876","1397030878","1397030880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/974ae1d514ad477ba29b0e5287504463.jpg","text":"TemporaryFile(/tmp/multipartBody7891360545060119928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_44_54_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/30/b2dc925f5aa317d356502e93bf7b6ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8941414618378803839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_45_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77afa9eb496a8ce9e8fdf4067a5e2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8078689811271099614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_45_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e99478ca8723f7d44c4508fb4079628.jpg","text":"TemporaryFile(/tmp/multipartBody3903236839309873194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_44_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fbfc324411c821c6dc729fb42683fa8.jpg","text":"TemporaryFile(/tmp/multipartBody5248208439399417459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_45_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c5718ef4fb514d66801e44416d700c4.jpg","text":"TemporaryFile(/tmp/multipartBody8033245553286262689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484023413,"filename":"image_30112025_05_44_35_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030875","file1":"1397030874","file0":"1397030873","file4":"1397030878","file5":"1397030880","file3":"1397030876"},"map_files_photo_id_array":[{"photo_id":"1397030880","filename":"file5"},{"photo_id":"1397030875","filename":"file2"},{"photo_id":"1397030878","filename":"file4"},{"photo_id":"1397030874","filename":"file1"},{"photo_id":"1397030873","filename":"file0"},{"photo_id":"1397030876","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030875":["hashtag1","hashtag2"]},{"1397030878":["hashtag1","hashtag2"]},{"1397030880":["hashtag1","hashtag2"]},{"1397030874":["hashtag1","hashtag2"]},{"1397030876":["hashtag1","hashtag2"]},{"1397030873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030875, 1397030878, 1397030880, 1397030874, 1397030876, 1397030873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36987924575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:26:42.333721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/04/image_31102025_12_04_29_1852.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_30_1605.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_32_1616.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_35_2745.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_38_3650.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_41_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_29_1852.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_30_1605.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_32_1616.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_35_2745.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_38_3650.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_41_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030887","1397030896","1397030898","1397030892","1397030894","1397030899"],"photo_ids_order":["1397030887","1397030892","1397030894","1397030896","1397030898","1397030899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e6575e6282dae7c5fa7ab0b2de335fe.jpg","text":"TemporaryFile(/tmp/multipartBody5359555728102695443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_29_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/30/3e62c5c24ad3318c4929d5158fcd0cee.jpg","text":"TemporaryFile(/tmp/multipartBody2388087329043298791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_35_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef042f0d6ac12c22d0ac023400015a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7891484210872240434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_38_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/30/6eabc25005c71fcb82cca08a9ad3c19e.jpg","text":"TemporaryFile(/tmp/multipartBody3328442314491865809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_30_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/30/aeabcb2f7a360ba2c8c16528847733d4.jpg","text":"TemporaryFile(/tmp/multipartBody4739815065924165615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_32_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/30/50d1a01257a6f49652501b6be86c69fc.jpg","text":"TemporaryFile(/tmp/multipartBody6969682906417137912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484063252,"filename":"image_31102025_12_04_41_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030894","file1":"1397030892","file0":"1397030887","file4":"1397030898","file5":"1397030899","file3":"1397030896"},"map_files_photo_id_array":[{"photo_id":"1397030899","filename":"file5"},{"photo_id":"1397030894","filename":"file2"},{"photo_id":"1397030898","filename":"file4"},{"photo_id":"1397030892","filename":"file1"},{"photo_id":"1397030887","filename":"file0"},{"photo_id":"1397030896","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030887":["hashtag1","hashtag2"]},{"1397030896":["hashtag1","hashtag2"]},{"1397030898":["hashtag1","hashtag2"]},{"1397030892":["hashtag1","hashtag2"]},{"1397030894":["hashtag1","hashtag2"]},{"1397030899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030887, 1397030896, 1397030898, 1397030892, 1397030894, 1397030899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.240256786346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:27:22.499618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_34_9600.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_45_10571.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_55_10785.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_46_04_8612.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_15_10651.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_24_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_34_9600.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_45_10571.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_55_10785.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_46_04_8612.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_15_10651.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_24_9593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6255300045013428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:27:32.552685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_44_3800.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_47_2731.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_50_2572.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_53_3661.jpg', '/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_59_2605.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_02_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_44_3800.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_47_2731.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_50_2572.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_53_3661.jpg
/home/pi/Desktop/images/25112025/19/55/image_25112025_19_55_59_2605.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_02_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030918","1397030917","1397030920","1397030913","1397030919","1397030910"],"photo_ids_order":["1397030910","1397030913","1397030917","1397030918","1397030919","1397030920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47dcd13b6ea3c34530900efdadac5447.jpg","text":"TemporaryFile(/tmp/multipartBody3437906485743896745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_55_53_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff907b2beddc346ce77f1462e794c278.jpg","text":"TemporaryFile(/tmp/multipartBody6993453066679887767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_55_50_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8a1f16ad9fad2ec472aa01ddb238a88.jpg","text":"TemporaryFile(/tmp/multipartBody4477345653092945647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_56_02_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/30/41db3acfc6c73e485e3659ab56a85e65.jpg","text":"TemporaryFile(/tmp/multipartBody1863116075966904820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_55_47_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/066c14a056d8e92c83e95d1e357538c7.jpg","text":"TemporaryFile(/tmp/multipartBody6445426540062743431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_55_59_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdb3cba5f51efcc988d467c625a66b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4055228401745352601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484114561,"filename":"image_25112025_19_55_44_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030917","file1":"1397030913","file0":"1397030910","file4":"1397030919","file5":"1397030920","file3":"1397030918"},"map_files_photo_id_array":[{"photo_id":"1397030920","filename":"file5"},{"photo_id":"1397030917","filename":"file2"},{"photo_id":"1397030919","filename":"file4"},{"photo_id":"1397030913","filename":"file1"},{"photo_id":"1397030910","filename":"file0"},{"photo_id":"1397030918","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030918":["hashtag1","hashtag2"]},{"1397030917":["hashtag1","hashtag2"]},{"1397030920":["hashtag1","hashtag2"]},{"1397030913":["hashtag1","hashtag2"]},{"1397030919":["hashtag1","hashtag2"]},{"1397030910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030918, 1397030917, 1397030920, 1397030913, 1397030919, 1397030910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.851102113723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:28:12.747095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_05_2628.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_08_2780.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_10_2599.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_14_3550.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_17_2623.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_20_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_05_2628.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_08_2780.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_10_2599.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_14_3550.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_17_2623.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_20_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030929","1397030923","1397030932","1397030926","1397030933","1397030921"],"photo_ids_order":["1397030921","1397030923","1397030926","1397030929","1397030932","1397030933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2126ff557871ca65f41c091645ca0794.jpg","text":"TemporaryFile(/tmp/multipartBody6062350261395650795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_14_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/30/f76213d694e50589b6fe1a9d61471d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2912350069617846826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_08_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/30/4208bb6faec40b0df2d9c04a4cc246d1.jpg","text":"TemporaryFile(/tmp/multipartBody779422931433420069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_17_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/30/44ca423a37efb3e0eef16e454f99f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2390206171255168682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_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/30/345f6f502ac38e22610acb9ba5c3af5f.jpg","text":"TemporaryFile(/tmp/multipartBody5682112721625624918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_20_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00c8ef1dafe3b17cbe0e105f9cd1839e.jpg","text":"TemporaryFile(/tmp/multipartBody1316861446008504613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484154684,"filename":"image_25112025_19_56_05_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030926","file1":"1397030923","file0":"1397030921","file4":"1397030932","file5":"1397030933","file3":"1397030929"},"map_files_photo_id_array":[{"photo_id":"1397030933","filename":"file5"},{"photo_id":"1397030926","filename":"file2"},{"photo_id":"1397030932","filename":"file4"},{"photo_id":"1397030923","filename":"file1"},{"photo_id":"1397030921","filename":"file0"},{"photo_id":"1397030929","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030929":["hashtag1","hashtag2"]},{"1397030923":["hashtag1","hashtag2"]},{"1397030932":["hashtag1","hashtag2"]},{"1397030926":["hashtag1","hashtag2"]},{"1397030933":["hashtag1","hashtag2"]},{"1397030921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030929, 1397030923, 1397030932, 1397030926, 1397030933, 1397030921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59015774726868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:29:02.963974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_34_9600.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_45_10571.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_55_10785.jpg', '/home/pi/Desktop/images/30112025/05/45/image_30112025_05_46_04_8612.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_15_10651.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_24_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_34_9600.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_45_10571.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_45_55_10785.jpg
/home/pi/Desktop/images/30112025/05/45/image_30112025_05_46_04_8612.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_15_10651.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_24_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030949","1397030940","1397030943","1397030942","1397030945","1397030939"],"photo_ids_order":["1397030939","1397030940","1397030942","1397030943","1397030945","1397030949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f75e116a210a48fd979b95abae774f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3886904292356366124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_46_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d27f4004f86fd8f4b316538c05bc6252.jpg","text":"TemporaryFile(/tmp/multipartBody1901528949600915761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_45_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/512b8b1745f3257f62dbdc5d3a197af9.jpg","text":"TemporaryFile(/tmp/multipartBody7376899659370248555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_46_04_8612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db8fac0a85330703e72f21c7e859141a.jpg","text":"TemporaryFile(/tmp/multipartBody8796673403557687378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_45_55_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf80b7c4c937ad6b6e01352ec59b87b3.jpg","text":"TemporaryFile(/tmp/multipartBody4735700706020206347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_46_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb7e2704621b8d05d0dfec072480e858.jpg","text":"TemporaryFile(/tmp/multipartBody9118903033909070189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484203894,"filename":"image_30112025_05_45_34_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030942","file1":"1397030940","file0":"1397030939","file4":"1397030945","file5":"1397030949","file3":"1397030943"},"map_files_photo_id_array":[{"photo_id":"1397030949","filename":"file5"},{"photo_id":"1397030942","filename":"file2"},{"photo_id":"1397030945","filename":"file4"},{"photo_id":"1397030940","filename":"file1"},{"photo_id":"1397030939","filename":"file0"},{"photo_id":"1397030943","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030949":["hashtag1","hashtag2"]},{"1397030940":["hashtag1","hashtag2"]},{"1397030943":["hashtag1","hashtag2"]},{"1397030942":["hashtag1","hashtag2"]},{"1397030945":["hashtag1","hashtag2"]},{"1397030939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030949, 1397030940, 1397030943, 1397030942, 1397030945, 1397030939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07892966270447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:29:41.984334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/04/image_31102025_12_04_44_2656.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_47_2661.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_51_4297.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_53_1736.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_56_3587.jpg', '/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_59_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_44_2656.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_47_2661.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_51_4297.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_53_1736.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_56_3587.jpg
/home/pi/Desktop/images/31102025/12/04/image_31102025_12_04_59_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030965","1397030962","1397030959","1397030964","1397030961","1397030963"],"photo_ids_order":["1397030959","1397030961","1397030962","1397030963","1397030964","1397030965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8fde5fe7fab7b19e51995c2b337dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody6560841766531557586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_59_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/274583798213854468231695fd42ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody3582834030999584703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_51_4297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b20151405fef63c658997ce9902b0e9.jpg","text":"TemporaryFile(/tmp/multipartBody9170295827671691267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_44_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/30/02b5142a4e8fc01dea1c92a0ef7cc564.jpg","text":"TemporaryFile(/tmp/multipartBody358468273816992945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_56_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/30/ca0187de250d14de6dbabc4c086cf1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2252065236124310743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_47_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/30/9086aa644e6ac8172ce7ab32413c7282.jpg","text":"TemporaryFile(/tmp/multipartBody1436281519070566973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484242879,"filename":"image_31102025_12_04_53_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030962","file1":"1397030961","file0":"1397030959","file4":"1397030964","file5":"1397030965","file3":"1397030963"},"map_files_photo_id_array":[{"photo_id":"1397030965","filename":"file5"},{"photo_id":"1397030962","filename":"file2"},{"photo_id":"1397030964","filename":"file4"},{"photo_id":"1397030961","filename":"file1"},{"photo_id":"1397030959","filename":"file0"},{"photo_id":"1397030963","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397030965":["hashtag1","hashtag2"]},{"1397030962":["hashtag1","hashtag2"]},{"1397030959":["hashtag1","hashtag2"]},{"1397030964":["hashtag1","hashtag2"]},{"1397030961":["hashtag1","hashtag2"]},{"1397030963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397030965, 1397030962, 1397030959, 1397030964, 1397030961, 1397030963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.236573457717896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:30:22.139153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_35_10692.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_45_9814.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_55_9806.jpg', '/home/pi/Desktop/images/30112025/05/46/image_30112025_05_47_04_9772.jpg', '/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_14_9754.jpg', '/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_25_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_35_10692.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_45_9814.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_46_55_9806.jpg
/home/pi/Desktop/images/30112025/05/46/image_30112025_05_47_04_9772.jpg
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_14_9754.jpg
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_25_10775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030977","1397030982","1397030976","1397030979","1397030967","1397030981"],"photo_ids_order":["1397030967","1397030976","1397030977","1397030979","1397030981","1397030982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15bd9615f3671094fed1d637e424ce96.jpg","text":"TemporaryFile(/tmp/multipartBody4426965179159504647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_46_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aec56be33cfa6adfb1ddfedc5a708cf6.jpg","text":"TemporaryFile(/tmp/multipartBody5867808852808795059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_47_25_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/780c52240f8292ed92d9f288b3dd8d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6729836377707340374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_46_45_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aaa88b2119e321d46bdc27c66d743855.jpg","text":"TemporaryFile(/tmp/multipartBody1183328934381456751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_47_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54c2d19e794234954192ae24c55af474.jpg","text":"TemporaryFile(/tmp/multipartBody5554194156889684125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_46_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fcaeef00cadbc3fdb5ea7f0c5697060b.jpg","text":"TemporaryFile(/tmp/multipartBody6427117149637311971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484282824,"filename":"image_30112025_05_47_14_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030977","file1":"1397030976","file0":"1397030967","file4":"1397030981","file5":"1397030982","file3":"1397030979"},"map_files_photo_id_array":[{"photo_id":"1397030982","filename":"file5"},{"photo_id":"1397030977","filename":"file2"},{"photo_id":"1397030981","filename":"file4"},{"photo_id":"1397030976","filename":"file1"},{"photo_id":"1397030967","filename":"file0"},{"photo_id":"1397030979","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397030977":["hashtag1","hashtag2"]},{"1397030982":["hashtag1","hashtag2"]},{"1397030976":["hashtag1","hashtag2"]},{"1397030979":["hashtag1","hashtag2"]},{"1397030967":["hashtag1","hashtag2"]},{"1397030981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397030977, 1397030982, 1397030976, 1397030979, 1397030967, 1397030981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.98883509635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:31:12.398552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_23_2556.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_26_2636.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_29_3756.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_35_2653.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_41_2881.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_44_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_23_2556.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_26_2636.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_29_3756.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_35_2653.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_41_2881.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_44_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397030993","1397030987","1397030996","1397030990","1397030984","1397030983"],"photo_ids_order":["1397030983","1397030984","1397030987","1397030990","1397030993","1397030996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c7a087b8701f2e72c82464f9d0ee1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5281986871900783028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_41_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6e75f494b0bfe424dcb85f5ada799a3.jpg","text":"TemporaryFile(/tmp/multipartBody3153538255797080490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_29_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/30/b55d6b6f23838b398c6df200823d999d.jpg","text":"TemporaryFile(/tmp/multipartBody6132519900661214553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_44_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85dd246ccbf95d38990271c29b78933b.jpg","text":"TemporaryFile(/tmp/multipartBody8698736120333171216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_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/30/fa39d6e3c82b617277ce76a583b95d3e.jpg","text":"TemporaryFile(/tmp/multipartBody104125600296026074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_26_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d817ad7a41f128b195d899cbe5469eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4742649985541504651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484334309,"filename":"image_25112025_19_56_23_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397030987","file1":"1397030984","file0":"1397030983","file4":"1397030993","file5":"1397030996","file3":"1397030990"},"map_files_photo_id_array":[{"photo_id":"1397030996","filename":"file5"},{"photo_id":"1397030987","filename":"file2"},{"photo_id":"1397030993","filename":"file4"},{"photo_id":"1397030984","filename":"file1"},{"photo_id":"1397030983","filename":"file0"},{"photo_id":"1397030990","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397030993":["hashtag1","hashtag2"]},{"1397030987":["hashtag1","hashtag2"]},{"1397030996":["hashtag1","hashtag2"]},{"1397030990":["hashtag1","hashtag2"]},{"1397030984":["hashtag1","hashtag2"]},{"1397030983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397030993, 1397030987, 1397030996, 1397030990, 1397030984, 1397030983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.541528940200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:32:03.147462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_35_9706.jpg', '/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_44_9632.jpg', '/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_55_10721.jpg', '/home/pi/Desktop/images/30112025/05/47/image_30112025_05_48_05_9716.jpg', '/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_14_9716.jpg', '/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_35_9706.jpg
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_44_9632.jpg
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_47_55_10721.jpg
/home/pi/Desktop/images/30112025/05/47/image_30112025_05_48_05_9716.jpg
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_14_9716.jpg
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_24_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031004","1397031001","1397031009","1397031003","1397031006","1397031002"],"photo_ids_order":["1397031001","1397031002","1397031003","1397031004","1397031006","1397031009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f2a9100438e07ec91f14a846b7cdbe7.jpg","text":"TemporaryFile(/tmp/multipartBody2436450937801936408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_48_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38951087e244d5aab1274f0a3d67b95b.jpg","text":"TemporaryFile(/tmp/multipartBody1151501955063666977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_47_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d74b20188d74c56a6df5def2cd10174d.jpg","text":"TemporaryFile(/tmp/multipartBody1108753133326316452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_48_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbfdef109292e08db0b9f4a3ce699f90.jpg","text":"TemporaryFile(/tmp/multipartBody7901504140651479652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_47_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc9aa823ab5303fcf6415c8a0b1ab20d.jpg","text":"TemporaryFile(/tmp/multipartBody5849770511731391246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_48_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb438073aff72d64c4bb90c2ce69bb80.jpg","text":"TemporaryFile(/tmp/multipartBody3807482588483995897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484383856,"filename":"image_30112025_05_47_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031003","file1":"1397031002","file0":"1397031001","file4":"1397031006","file5":"1397031009","file3":"1397031004"},"map_files_photo_id_array":[{"photo_id":"1397031009","filename":"file5"},{"photo_id":"1397031003","filename":"file2"},{"photo_id":"1397031006","filename":"file4"},{"photo_id":"1397031002","filename":"file1"},{"photo_id":"1397031001","filename":"file0"},{"photo_id":"1397031004","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031004":["hashtag1","hashtag2"]},{"1397031001":["hashtag1","hashtag2"]},{"1397031009":["hashtag1","hashtag2"]},{"1397031003":["hashtag1","hashtag2"]},{"1397031006":["hashtag1","hashtag2"]},{"1397031002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031004, 1397031001, 1397031009, 1397031003, 1397031006, 1397031002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72816872596741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:32:42.542307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/05/image_31102025_12_05_02_2819.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_06_3649.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_14_8037.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_15_1715.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_17_1626.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_19_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_02_2819.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_06_3649.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_14_8037.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_15_1715.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_17_1626.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_19_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031022","1397031025","1397031019","1397031027","1397031024","1397031023"],"photo_ids_order":["1397031019","1397031022","1397031023","1397031024","1397031025","1397031027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de85e767d4cdc756713aeded629ec631.jpg","text":"TemporaryFile(/tmp/multipartBody3740805129993134544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_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/30/c398a53e861fff79fdbe2d7339458730.jpg","text":"TemporaryFile(/tmp/multipartBody8762674952394386165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_17_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/30/98dbf64cdd881e737ea5f14a0a9cccda.jpg","text":"TemporaryFile(/tmp/multipartBody4148359022568212192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_02_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/30/a9a0bb47589d4820910c998b10c09eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1874259330782535043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_19_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/30/888e37780587cd610884f9e940fd6ef2.jpg","text":"TemporaryFile(/tmp/multipartBody1061948896968367330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_15_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/30/d5ac9b7e2d3571cd2b1196a99de47ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8487716002196654139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484423409,"filename":"image_31102025_12_05_14_8037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031023","file1":"1397031022","file0":"1397031019","file4":"1397031025","file5":"1397031027","file3":"1397031024"},"map_files_photo_id_array":[{"photo_id":"1397031027","filename":"file5"},{"photo_id":"1397031023","filename":"file2"},{"photo_id":"1397031025","filename":"file4"},{"photo_id":"1397031022","filename":"file1"},{"photo_id":"1397031019","filename":"file0"},{"photo_id":"1397031024","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031022":["hashtag1","hashtag2"]},{"1397031025":["hashtag1","hashtag2"]},{"1397031019":["hashtag1","hashtag2"]},{"1397031027":["hashtag1","hashtag2"]},{"1397031024":["hashtag1","hashtag2"]},{"1397031023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031022, 1397031025, 1397031019, 1397031027, 1397031024, 1397031023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313560247421265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:33:22.736374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_35_10629.jpg', '/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_44_9791.jpg', '/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_54_9724.jpg', '/home/pi/Desktop/images/30112025/05/48/image_30112025_05_49_05_10642.jpg', '/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_15_9729.jpg', '/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_24_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_35_10629.jpg
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_44_9791.jpg
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_48_54_9724.jpg
/home/pi/Desktop/images/30112025/05/48/image_30112025_05_49_05_10642.jpg
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_15_9729.jpg
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_24_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031040","1397031034","1397031043","1397031037","1397031031","1397031044"],"photo_ids_order":["1397031031","1397031034","1397031037","1397031040","1397031043","1397031044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5978b09532d7050874242a960b756e95.jpg","text":"TemporaryFile(/tmp/multipartBody4340883038053781632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_49_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/542b408a04ae8d67a071b003a58b742f.jpg","text":"TemporaryFile(/tmp/multipartBody4706641559812790796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_48_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4e58d6f47cb593228867c5da48dcdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6996312390332746208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_49_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b3d55f995daec1b6888d0e2253d321a.jpg","text":"TemporaryFile(/tmp/multipartBody40636032762551726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_48_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3addf4aefe616ce081690b90fa6587ec.jpg","text":"TemporaryFile(/tmp/multipartBody6399029879343817660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_48_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58563a03424f1ce53a1f1916ae74d186.jpg","text":"TemporaryFile(/tmp/multipartBody5088944243414084781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484463411,"filename":"image_30112025_05_49_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031037","file1":"1397031034","file0":"1397031031","file4":"1397031043","file5":"1397031044","file3":"1397031040"},"map_files_photo_id_array":[{"photo_id":"1397031044","filename":"file5"},{"photo_id":"1397031037","filename":"file2"},{"photo_id":"1397031043","filename":"file4"},{"photo_id":"1397031034","filename":"file1"},{"photo_id":"1397031031","filename":"file0"},{"photo_id":"1397031040","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031040":["hashtag1","hashtag2"]},{"1397031034":["hashtag1","hashtag2"]},{"1397031043":["hashtag1","hashtag2"]},{"1397031037":["hashtag1","hashtag2"]},{"1397031031":["hashtag1","hashtag2"]},{"1397031044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031040, 1397031034, 1397031043, 1397031037, 1397031031, 1397031044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99037575721741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:34:02.459953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_34_10170.jpg', '/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_44_9649.jpg', '/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_55_10569.jpg', '/home/pi/Desktop/images/30112025/05/49/image_30112025_05_50_04_9675.jpg', '/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_14_9771.jpg', '/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_25_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_34_10170.jpg
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_44_9649.jpg
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_49_55_10569.jpg
/home/pi/Desktop/images/30112025/05/49/image_30112025_05_50_04_9675.jpg
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_14_9771.jpg
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_25_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031045","1397031048","1397031050","1397031053","1397031047","1397031046"],"photo_ids_order":["1397031045","1397031046","1397031047","1397031048","1397031050","1397031053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fe2f20b39a139951970e9e326224629.jpg","text":"TemporaryFile(/tmp/multipartBody8831141915926690183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_49_34_10170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35ed71cf2535f5424a4418b81bc2f26c.jpg","text":"TemporaryFile(/tmp/multipartBody1670845744401694483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_50_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f854177e09764f4108b984db7edd47ef.jpg","text":"TemporaryFile(/tmp/multipartBody3141308585619316926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_50_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95fbd0ccc9f29536f12b3b0f27e83d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5421779288067656504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_50_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b377285ac35592ca51efd41345246caa.jpg","text":"TemporaryFile(/tmp/multipartBody7550083136801421356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_49_55_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7f098bc054f4e1c4ac37f4ae1c8f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody337752013211306660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484503264,"filename":"image_30112025_05_49_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031047","file1":"1397031046","file0":"1397031045","file4":"1397031050","file5":"1397031053","file3":"1397031048"},"map_files_photo_id_array":[{"photo_id":"1397031053","filename":"file5"},{"photo_id":"1397031047","filename":"file2"},{"photo_id":"1397031050","filename":"file4"},{"photo_id":"1397031046","filename":"file1"},{"photo_id":"1397031045","filename":"file0"},{"photo_id":"1397031048","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031045":["hashtag1","hashtag2"]},{"1397031048":["hashtag1","hashtag2"]},{"1397031050":["hashtag1","hashtag2"]},{"1397031053":["hashtag1","hashtag2"]},{"1397031047":["hashtag1","hashtag2"]},{"1397031046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031045, 1397031048, 1397031050, 1397031053, 1397031047, 1397031046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94209885597229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:34:41.919031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/05/image_31102025_12_05_20_1655.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_23_3163.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_26_2951.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_29_2670.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_32_2517.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_35_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_20_1655.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_23_3163.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_26_2951.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_29_2670.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_32_2517.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_35_3745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031061","1397031066","1397031069","1397031068","1397031064","1397031067"],"photo_ids_order":["1397031061","1397031064","1397031066","1397031067","1397031068","1397031069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df84d2d9a0b188b60f9f6ed70ad973b9.jpg","text":"TemporaryFile(/tmp/multipartBody9044481074451182762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_20_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/30/88ad6d798939339f059059b63e352504.jpg","text":"TemporaryFile(/tmp/multipartBody1624244596800088913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_26_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/30/3f95e078b222867340a376b77bed16d6.jpg","text":"TemporaryFile(/tmp/multipartBody7662884534392273211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_35_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/30/5145a81ca09aac242930a3f295c1783f.jpg","text":"TemporaryFile(/tmp/multipartBody2628307704307799619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_32_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/30/c934e8628be38a77504b5dc1d3725946.jpg","text":"TemporaryFile(/tmp/multipartBody6359752765002461889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_23_3163.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/accb2d802daa502373a12fc438a77115.jpg","text":"TemporaryFile(/tmp/multipartBody687981757046766454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484542846,"filename":"image_31102025_12_05_29_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031066","file1":"1397031064","file0":"1397031061","file4":"1397031068","file5":"1397031069","file3":"1397031067"},"map_files_photo_id_array":[{"photo_id":"1397031069","filename":"file5"},{"photo_id":"1397031066","filename":"file2"},{"photo_id":"1397031068","filename":"file4"},{"photo_id":"1397031064","filename":"file1"},{"photo_id":"1397031061","filename":"file0"},{"photo_id":"1397031067","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031061":["hashtag1","hashtag2"]},{"1397031066":["hashtag1","hashtag2"]},{"1397031069":["hashtag1","hashtag2"]},{"1397031068":["hashtag1","hashtag2"]},{"1397031064":["hashtag1","hashtag2"]},{"1397031067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031061, 1397031066, 1397031069, 1397031068, 1397031064, 1397031067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.893664598464966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:35:22.471241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_35_9733.jpg', '/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_44_9620.jpg', '/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_55_10802.jpg', '/home/pi/Desktop/images/30112025/05/50/image_30112025_05_51_05_9677.jpg', '/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_14_9755.jpg', '/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_24_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_35_9733.jpg
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_44_9620.jpg
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_50_55_10802.jpg
/home/pi/Desktop/images/30112025/05/50/image_30112025_05_51_05_9677.jpg
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_14_9755.jpg
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_24_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031076","1397031084","1397031086","1397031082","1397031079","1397031073"],"photo_ids_order":["1397031073","1397031076","1397031079","1397031082","1397031084","1397031086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32accbb06b14547c0f22796e132b85d6.jpg","text":"TemporaryFile(/tmp/multipartBody8902115184435804253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_50_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32a195521a49419b674f8df94d748420.jpg","text":"TemporaryFile(/tmp/multipartBody8576493225231532170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_51_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f77eade7de537f4c259a9a47577c9671.jpg","text":"TemporaryFile(/tmp/multipartBody3056483011230274297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_51_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2d8fdc0aed5aef4163acf592d3ef4b3.jpg","text":"TemporaryFile(/tmp/multipartBody8175295037716144246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_51_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbe0828a3c64b86673726f44d35a02c1.jpg","text":"TemporaryFile(/tmp/multipartBody6631636218067984509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_50_55_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/210caf82d04796bf695b393f05056949.jpg","text":"TemporaryFile(/tmp/multipartBody1471608853988036138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484583149,"filename":"image_30112025_05_50_35_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031079","file1":"1397031076","file0":"1397031073","file4":"1397031084","file5":"1397031086","file3":"1397031082"},"map_files_photo_id_array":[{"photo_id":"1397031086","filename":"file5"},{"photo_id":"1397031079","filename":"file2"},{"photo_id":"1397031084","filename":"file4"},{"photo_id":"1397031076","filename":"file1"},{"photo_id":"1397031073","filename":"file0"},{"photo_id":"1397031082","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031076":["hashtag1","hashtag2"]},{"1397031084":["hashtag1","hashtag2"]},{"1397031086":["hashtag1","hashtag2"]},{"1397031082":["hashtag1","hashtag2"]},{"1397031079":["hashtag1","hashtag2"]},{"1397031073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031076, 1397031084, 1397031086, 1397031082, 1397031079, 1397031073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08560800552368 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 --only_old 1
2025-11-30 07:36:14.256810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_47_3581.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_50_2579.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_52_2570.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_56_3627.jpg', '/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_59_2610.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_01_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_47_3581.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_50_2579.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_52_2570.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_56_3627.jpg
/home/pi/Desktop/images/25112025/19/56/image_25112025_19_56_59_2610.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_01_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031087","1397031098","1397031102","1397031092","1397031095","1397031089"],"photo_ids_order":["1397031087","1397031089","1397031092","1397031095","1397031098","1397031102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d67fe47a33e363663ea343fe347f34b4.jpg","text":"TemporaryFile(/tmp/multipartBody5206111672392340384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_56_47_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/30/8facc5cb318f1eabfbe6d5e830f7fda1.jpg","text":"TemporaryFile(/tmp/multipartBody4104025946707465212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_56_59_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/30/988bed5f53b7850bd9a24d14bd8f91d5.jpg","text":"TemporaryFile(/tmp/multipartBody3820014617197308101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_57_01_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/30/6db54803f5c013819b2337bf914bb5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4241112171644557149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_56_52_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/30/b6d2c6d53272100a56cd431fbc4dc1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7795995923858174359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_56_56_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78f1dd0b025a6a628aa703fc4b362d27.jpg","text":"TemporaryFile(/tmp/multipartBody5758488186763333042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484635911,"filename":"image_25112025_19_56_50_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031092","file1":"1397031089","file0":"1397031087","file4":"1397031098","file5":"1397031102","file3":"1397031095"},"map_files_photo_id_array":[{"photo_id":"1397031102","filename":"file5"},{"photo_id":"1397031092","filename":"file2"},{"photo_id":"1397031098","filename":"file4"},{"photo_id":"1397031089","filename":"file1"},{"photo_id":"1397031087","filename":"file0"},{"photo_id":"1397031095","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031087":["hashtag1","hashtag2"]},{"1397031098":["hashtag1","hashtag2"]},{"1397031102":["hashtag1","hashtag2"]},{"1397031092":["hashtag1","hashtag2"]},{"1397031095":["hashtag1","hashtag2"]},{"1397031089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031087, 1397031098, 1397031102, 1397031092, 1397031095, 1397031089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04747200012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:37:03.097742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_35_10881.jpg', '/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_45_9624.jpg', '/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_54_9548.jpg', '/home/pi/Desktop/images/30112025/05/51/image_30112025_05_52_05_10668.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_14_9711.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_24_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_35_10881.jpg
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_45_9624.jpg
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_51_54_9548.jpg
/home/pi/Desktop/images/30112025/05/51/image_30112025_05_52_05_10668.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_14_9711.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_24_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031109","1397031111","1397031108","1397031110","1397031113","1397031116"],"photo_ids_order":["1397031108","1397031109","1397031110","1397031111","1397031113","1397031116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef481655a06938ec6b7b786a811bea1e.jpg","text":"TemporaryFile(/tmp/multipartBody1446407268712805305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_51_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18051378cbc9d0fdcc6d19f03a768a97.jpg","text":"TemporaryFile(/tmp/multipartBody4083392736381531910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_52_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7dfdb2efd670d61f0a50d206949566b.jpg","text":"TemporaryFile(/tmp/multipartBody1228435137819792758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_51_35_10881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c50ba8da2ebdbc631998e030da8d0345.jpg","text":"TemporaryFile(/tmp/multipartBody3931437844633497043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_51_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/462d85cd0ab200f9484fd85bd5d9a3fc.jpg","text":"TemporaryFile(/tmp/multipartBody171600466129144501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_52_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84ff61dc243850f71daec706ddaae39f.jpg","text":"TemporaryFile(/tmp/multipartBody2636099571353279991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484683874,"filename":"image_30112025_05_52_24_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031110","file1":"1397031109","file0":"1397031108","file4":"1397031113","file5":"1397031116","file3":"1397031111"},"map_files_photo_id_array":[{"photo_id":"1397031116","filename":"file5"},{"photo_id":"1397031110","filename":"file2"},{"photo_id":"1397031113","filename":"file4"},{"photo_id":"1397031109","filename":"file1"},{"photo_id":"1397031108","filename":"file0"},{"photo_id":"1397031111","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031109":["hashtag1","hashtag2"]},{"1397031111":["hashtag1","hashtag2"]},{"1397031108":["hashtag1","hashtag2"]},{"1397031110":["hashtag1","hashtag2"]},{"1397031113":["hashtag1","hashtag2"]},{"1397031116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031109, 1397031111, 1397031108, 1397031110, 1397031113, 1397031116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.589893102645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:37:42.415936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/05/image_31102025_12_05_41_6056.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_43_1557.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_44_1579.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_47_2575.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_50_2664.jpg', '/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_53_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_41_6056.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_43_1557.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_44_1579.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_47_2575.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_50_2664.jpg
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_53_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031136","1397031130","1397031132","1397031126","1397031134","1397031128"],"photo_ids_order":["1397031126","1397031128","1397031130","1397031132","1397031134","1397031136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94ff79ec8041126fcb0611f213752d10.jpg","text":"TemporaryFile(/tmp/multipartBody38653254973729271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_53_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/30/58f91b2b9e9e5180360c9bbd3aa057cd.jpg","text":"TemporaryFile(/tmp/multipartBody5608220987200570653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_44_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/30/74087639b98671a64dce7169c91d060e.jpg","text":"TemporaryFile(/tmp/multipartBody3699267475726492592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_47_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62ecd24b2972146a5065a6c87166bdea.jpg","text":"TemporaryFile(/tmp/multipartBody4296712181669106943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_41_6056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4e33a57a2a16ed90e4908a5ef29f290.jpg","text":"TemporaryFile(/tmp/multipartBody2036902270156437337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_50_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/30/af60b40ee906a11d0a1a82cf9376ce97.jpg","text":"TemporaryFile(/tmp/multipartBody4763748247768427997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484723250,"filename":"image_31102025_12_05_43_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031130","file1":"1397031128","file0":"1397031126","file4":"1397031134","file5":"1397031136","file3":"1397031132"},"map_files_photo_id_array":[{"photo_id":"1397031136","filename":"file5"},{"photo_id":"1397031130","filename":"file2"},{"photo_id":"1397031134","filename":"file4"},{"photo_id":"1397031128","filename":"file1"},{"photo_id":"1397031126","filename":"file0"},{"photo_id":"1397031132","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031136":["hashtag1","hashtag2"]},{"1397031130":["hashtag1","hashtag2"]},{"1397031132":["hashtag1","hashtag2"]},{"1397031126":["hashtag1","hashtag2"]},{"1397031134":["hashtag1","hashtag2"]},{"1397031128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031136, 1397031130, 1397031132, 1397031126, 1397031134, 1397031128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213334798812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:38:22.674719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_35_10564.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_44_9559.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_55_10599.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_53_05_9614.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_14_9731.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_25_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_35_10564.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_44_9559.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_55_10599.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_53_05_9614.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_14_9731.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_25_10672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5911755561828613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:38:32.660841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_05_3696.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_08_2833.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_14_3565.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_17_2765.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_20_2696.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_22_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_05_3696.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_08_2833.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_14_3565.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_17_2765.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_20_2696.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_22_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031160","1397031148","1397031159","1397031155","1397031158","1397031151"],"photo_ids_order":["1397031148","1397031151","1397031155","1397031158","1397031159","1397031160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f5e1d41cfeef186a92ff5cd687d9cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5265637664890824542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_22_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/30/9209c790d023a3c4603839277f8f4b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2138840053327650730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_05_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/30/40c48ce6922b7d7951c2b7c22a8433df.jpg","text":"TemporaryFile(/tmp/multipartBody2680486534071650367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_20_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/30/702208f9d7eebaa57687e620c88579cd.jpg","text":"TemporaryFile(/tmp/multipartBody562471919315033448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_14_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/30/d82f97bf133f3365aa4e23afa5e0fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody7004913892036454997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_17_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/30/c4db1ee6fc1894c0056f122f7176683d.jpg","text":"TemporaryFile(/tmp/multipartBody5570500189060265147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484774652,"filename":"image_25112025_19_57_08_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031155","file1":"1397031151","file0":"1397031148","file4":"1397031159","file5":"1397031160","file3":"1397031158"},"map_files_photo_id_array":[{"photo_id":"1397031160","filename":"file5"},{"photo_id":"1397031155","filename":"file2"},{"photo_id":"1397031159","filename":"file4"},{"photo_id":"1397031151","filename":"file1"},{"photo_id":"1397031148","filename":"file0"},{"photo_id":"1397031158","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031160":["hashtag1","hashtag2"]},{"1397031148":["hashtag1","hashtag2"]},{"1397031159":["hashtag1","hashtag2"]},{"1397031155":["hashtag1","hashtag2"]},{"1397031158":["hashtag1","hashtag2"]},{"1397031151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031160, 1397031148, 1397031159, 1397031155, 1397031158, 1397031151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70533561706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:39:12.884272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_26_3627.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_29_2570.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_32_3624.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_35_2604.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_37_2603.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_41_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_26_3627.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_29_2570.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_32_3624.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_35_2604.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_37_2603.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_41_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031162","1397031173","1397031167","1397031176","1397031170","1397031164"],"photo_ids_order":["1397031162","1397031164","1397031167","1397031170","1397031173","1397031176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80528bb7bd520032f64cd27417c92368.jpg","text":"TemporaryFile(/tmp/multipartBody2301462712809956979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_26_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/30/80b50d4216a9b9dd66c66f5ca0e1af3e.jpg","text":"TemporaryFile(/tmp/multipartBody5602764008701533231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_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/30/35c4cf17dbccd8cd9665400ffc31e082.jpg","text":"TemporaryFile(/tmp/multipartBody7226890400639606482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_32_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/30/8ba45415ded4a20f4ef638078799458a.jpg","text":"TemporaryFile(/tmp/multipartBody7100345338677484487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_41_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/30/62b7cda259e86f93553c3db4c16b5422.jpg","text":"TemporaryFile(/tmp/multipartBody3394074122024213501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_35_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/30/649c5d04f6db6269622a21878a1abe6c.jpg","text":"TemporaryFile(/tmp/multipartBody2991117263860666007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484814795,"filename":"image_25112025_19_57_29_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031167","file1":"1397031164","file0":"1397031162","file4":"1397031173","file5":"1397031176","file3":"1397031170"},"map_files_photo_id_array":[{"photo_id":"1397031176","filename":"file5"},{"photo_id":"1397031167","filename":"file2"},{"photo_id":"1397031173","filename":"file4"},{"photo_id":"1397031164","filename":"file1"},{"photo_id":"1397031162","filename":"file0"},{"photo_id":"1397031170","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031162":["hashtag1","hashtag2"]},{"1397031173":["hashtag1","hashtag2"]},{"1397031167":["hashtag1","hashtag2"]},{"1397031176":["hashtag1","hashtag2"]},{"1397031170":["hashtag1","hashtag2"]},{"1397031164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031162, 1397031173, 1397031167, 1397031176, 1397031170, 1397031164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.023728132247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:40:02.459831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_35_10564.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_44_9559.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_55_10599.jpg', '/home/pi/Desktop/images/30112025/05/52/image_30112025_05_53_05_9614.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_14_9731.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_25_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_35_10564.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_44_9559.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_52_55_10599.jpg
/home/pi/Desktop/images/30112025/05/52/image_30112025_05_53_05_9614.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_14_9731.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_25_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031192","1397031179","1397031181","1397031190","1397031184","1397031187"],"photo_ids_order":["1397031179","1397031181","1397031184","1397031187","1397031190","1397031192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7c634a321c5e97b0ae9e507e015621b.jpg","text":"TemporaryFile(/tmp/multipartBody30338925515200243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_53_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d66fccd88f9a1483b2bb53b827d58f9.jpg","text":"TemporaryFile(/tmp/multipartBody5562305747691651177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_52_35_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7646121f633468fbf0ae87498e5aab34.jpg","text":"TemporaryFile(/tmp/multipartBody5620011735507205770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_52_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72f01c8c2a585890948d7c9574d7e033.jpg","text":"TemporaryFile(/tmp/multipartBody5317666112109223460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_53_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4bd483bd3236fd9a5e3d4d022a70b52.jpg","text":"TemporaryFile(/tmp/multipartBody8654740084200096865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_52_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/123dcb6c597b59fc5dec13538523e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1817050534032159934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484865783,"filename":"image_30112025_05_53_05_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031184","file1":"1397031181","file0":"1397031179","file4":"1397031190","file5":"1397031192","file3":"1397031187"},"map_files_photo_id_array":[{"photo_id":"1397031192","filename":"file5"},{"photo_id":"1397031184","filename":"file2"},{"photo_id":"1397031190","filename":"file4"},{"photo_id":"1397031181","filename":"file1"},{"photo_id":"1397031179","filename":"file0"},{"photo_id":"1397031187","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031192":["hashtag1","hashtag2"]},{"1397031179":["hashtag1","hashtag2"]},{"1397031181":["hashtag1","hashtag2"]},{"1397031190":["hashtag1","hashtag2"]},{"1397031184":["hashtag1","hashtag2"]},{"1397031187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031192, 1397031179, 1397031181, 1397031190, 1397031184, 1397031187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.072847843170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:41:02.951037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_35_9621.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_44_9770.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_55_10638.jpg', '/home/pi/Desktop/images/30112025/05/53/image_30112025_05_54_05_9736.jpg', '/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_14_9695.jpg', '/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_24_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_35_9621.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_44_9770.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_53_55_10638.jpg
/home/pi/Desktop/images/30112025/05/53/image_30112025_05_54_05_9736.jpg
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_14_9695.jpg
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_24_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397031202","1397031205","1397031198","1397031197","1397031196","1397031200"],"photo_ids_order":["1397031196","1397031197","1397031198","1397031200","1397031202","1397031205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf987646c5c918134cb1905bf2a579e8.jpg","text":"TemporaryFile(/tmp/multipartBody1678483658324451785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_54_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57a788ac7f4dfcb9a90d53a54684f94b.jpg","text":"TemporaryFile(/tmp/multipartBody5682882712854750147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_54_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e53fa466a0b43163cded18ae368cdace.jpg","text":"TemporaryFile(/tmp/multipartBody7566221328991185492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_53_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c61e215c21f03e71ce89a5f590074caf.jpg","text":"TemporaryFile(/tmp/multipartBody8174563343637950541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_53_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dda7ed638d4656e330fd7ec02564b76.jpg","text":"TemporaryFile(/tmp/multipartBody4307199983083299308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_53_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24364f3ba0bef39fa5c0a9b3d12d01cc.jpg","text":"TemporaryFile(/tmp/multipartBody860068620298289369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484923696,"filename":"image_30112025_05_54_05_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031198","file1":"1397031197","file0":"1397031196","file4":"1397031202","file5":"1397031205","file3":"1397031200"},"map_files_photo_id_array":[{"photo_id":"1397031205","filename":"file5"},{"photo_id":"1397031198","filename":"file2"},{"photo_id":"1397031202","filename":"file4"},{"photo_id":"1397031197","filename":"file1"},{"photo_id":"1397031196","filename":"file0"},{"photo_id":"1397031200","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031202":["hashtag1","hashtag2"]},{"1397031205":["hashtag1","hashtag2"]},{"1397031198":["hashtag1","hashtag2"]},{"1397031197":["hashtag1","hashtag2"]},{"1397031196":["hashtag1","hashtag2"]},{"1397031200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031202, 1397031205, 1397031198, 1397031197, 1397031196, 1397031200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65330171585083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:42:02.785738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_35_10629.jpg', '/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_44_9741.jpg', '/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_54_9612.jpg', '/home/pi/Desktop/images/30112025/05/54/image_30112025_05_55_05_10826.jpg', '/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_15_9816.jpg', '/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_24_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_35_10629.jpg
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_44_9741.jpg
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_54_54_9612.jpg
/home/pi/Desktop/images/30112025/05/54/image_30112025_05_55_05_10826.jpg
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_15_9816.jpg
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_24_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031226","1397031217","1397031219","1397031222","1397031216","1397031215"],"photo_ids_order":["1397031215","1397031216","1397031217","1397031219","1397031222","1397031226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb1029dd63e11823c5613f87345d741f.jpg","text":"TemporaryFile(/tmp/multipartBody547637178893740752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_55_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/891d357f10b4716902f5a5696fc85940.jpg","text":"TemporaryFile(/tmp/multipartBody3280730219442939577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_54_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d444aba0e67f62072c3038dd844f28ff.jpg","text":"TemporaryFile(/tmp/multipartBody6766321002875515243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_55_05_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34a0d5926e992623895fd2d0db875c92.jpg","text":"TemporaryFile(/tmp/multipartBody4931948014973313913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_55_15_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d77ff04f5167da6a4efe46a1411f82a8.jpg","text":"TemporaryFile(/tmp/multipartBody8066985512981735281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_54_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e68602987426893fa65b582c7ed07987.jpg","text":"TemporaryFile(/tmp/multipartBody1238186112029932190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764484983506,"filename":"image_30112025_05_54_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031217","file1":"1397031216","file0":"1397031215","file4":"1397031222","file5":"1397031226","file3":"1397031219"},"map_files_photo_id_array":[{"photo_id":"1397031226","filename":"file5"},{"photo_id":"1397031217","filename":"file2"},{"photo_id":"1397031222","filename":"file4"},{"photo_id":"1397031216","filename":"file1"},{"photo_id":"1397031215","filename":"file0"},{"photo_id":"1397031219","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031226":["hashtag1","hashtag2"]},{"1397031217":["hashtag1","hashtag2"]},{"1397031219":["hashtag1","hashtag2"]},{"1397031222":["hashtag1","hashtag2"]},{"1397031216":["hashtag1","hashtag2"]},{"1397031215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031226, 1397031217, 1397031219, 1397031222, 1397031216, 1397031215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25636267662048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:42:42.274436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/05/image_31102025_12_05_56_2901.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_01_4797.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_03_1934.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_05_1644.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_08_3698.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_11_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/05/image_31102025_12_05_56_2901.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_01_4797.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_03_1934.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_05_1644.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_08_3698.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_11_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":["1397031235","1397031238","1397031237","1397031231","1397031234","1397031236"],"photo_ids_order":["1397031231","1397031234","1397031235","1397031236","1397031237","1397031238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a804a1a22af3a08d5b0d0f67128f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2170924333230866381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_06_03_1934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d76dc312c12056aacd1d4b687de3fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6905637850718959526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_06_11_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/30/f9fce387bc1e84f03e0389dd12425dac.jpg","text":"TemporaryFile(/tmp/multipartBody6184516729416786341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_06_08_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/30/c156272a6a1d3dbc989383a9a052124e.jpg","text":"TemporaryFile(/tmp/multipartBody4369867797004600554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_05_56_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0459aa49eb9dfd253841ed7377056e13.jpg","text":"TemporaryFile(/tmp/multipartBody1933928117754548949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_06_01_4797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4464f65c2ceff7a79a58cd7df2fe1b31.jpg","text":"TemporaryFile(/tmp/multipartBody5585438572733526667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485023154,"filename":"image_31102025_12_06_05_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031235","file1":"1397031234","file0":"1397031231","file4":"1397031237","file5":"1397031238","file3":"1397031236"},"map_files_photo_id_array":[{"photo_id":"1397031238","filename":"file5"},{"photo_id":"1397031235","filename":"file2"},{"photo_id":"1397031237","filename":"file4"},{"photo_id":"1397031234","filename":"file1"},{"photo_id":"1397031231","filename":"file0"},{"photo_id":"1397031236","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031235":["hashtag1","hashtag2"]},{"1397031238":["hashtag1","hashtag2"]},{"1397031237":["hashtag1","hashtag2"]},{"1397031231":["hashtag1","hashtag2"]},{"1397031234":["hashtag1","hashtag2"]},{"1397031236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031235, 1397031238, 1397031237, 1397031231, 1397031234, 1397031236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0750412940979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:43:22.438746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_35_10564.jpg', '/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_45_9893.jpg', '/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_54_9590.jpg', '/home/pi/Desktop/images/30112025/05/55/image_30112025_05_56_05_10652.jpg', '/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_15_9662.jpg', '/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_24_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_35_10564.jpg
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_45_9893.jpg
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_55_54_9590.jpg
/home/pi/Desktop/images/30112025/05/55/image_30112025_05_56_05_10652.jpg
/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_15_9662.jpg
/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_24_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031253","1397031246","1397031248","1397031242","1397031250","1397031244"],"photo_ids_order":["1397031242","1397031244","1397031246","1397031248","1397031250","1397031253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dec5fcc6b395f181e6e4635a2f1221ee.jpg","text":"TemporaryFile(/tmp/multipartBody4035291394808213267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_56_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9df35ea43faccbc525d5a14a9ffa2eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6809962564853160606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_55_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/042fa302f499a38e3470ec49a4dfb4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3718373517611757974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_56_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61fd0bc23a2836d8564230205b51b38f.jpg","text":"TemporaryFile(/tmp/multipartBody2139475987823373111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_55_35_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9635fdf99c6b77692a4259c32f09ada.jpg","text":"TemporaryFile(/tmp/multipartBody7639263272369567504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_56_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eef18351eef27d4f6f87a849604894c0.jpg","text":"TemporaryFile(/tmp/multipartBody8670461424882346552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485063111,"filename":"image_30112025_05_55_45_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031246","file1":"1397031244","file0":"1397031242","file4":"1397031250","file5":"1397031253","file3":"1397031248"},"map_files_photo_id_array":[{"photo_id":"1397031253","filename":"file5"},{"photo_id":"1397031246","filename":"file2"},{"photo_id":"1397031250","filename":"file4"},{"photo_id":"1397031244","filename":"file1"},{"photo_id":"1397031242","filename":"file0"},{"photo_id":"1397031248","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031253":["hashtag1","hashtag2"]},{"1397031246":["hashtag1","hashtag2"]},{"1397031248":["hashtag1","hashtag2"]},{"1397031242":["hashtag1","hashtag2"]},{"1397031250":["hashtag1","hashtag2"]},{"1397031244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031253, 1397031246, 1397031248, 1397031242, 1397031250, 1397031244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20478367805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:44:03.340602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_35_10621.jpg', '/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_45_9752.jpg', '/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_54_9612.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_05_10526.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_15_9745.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_24_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_35_10621.jpg
/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_45_9752.jpg
/home/pi/Desktop/images/30112025/05/56/image_30112025_05_56_54_9612.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_05_10526.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_15_9745.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_24_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031255","1397031264","1397031258","1397031260","1397031254","1397031257"],"photo_ids_order":["1397031254","1397031255","1397031257","1397031258","1397031260","1397031264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cecfebaa52c4c2cb46f9001dc95c7d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1717534831665258911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_56_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a109f2f8937a85be9ca65f6be52614f.jpg","text":"TemporaryFile(/tmp/multipartBody6745492647936221745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_57_24_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9045c231e376c6418a7a59f96a7e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody3753025753978892095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_57_05_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5334fdf44f83f27b24eec166d78ee91f.jpg","text":"TemporaryFile(/tmp/multipartBody2003410149239654895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_57_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8df825bb3d9b1b0efac2feeea9a0221b.jpg","text":"TemporaryFile(/tmp/multipartBody8013021634007945982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_56_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/880e9790efd1284f07b9058cab8cccf9.jpg","text":"TemporaryFile(/tmp/multipartBody4999996156840672825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485104083,"filename":"image_30112025_05_56_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031257","file1":"1397031255","file0":"1397031254","file4":"1397031260","file5":"1397031264","file3":"1397031258"},"map_files_photo_id_array":[{"photo_id":"1397031264","filename":"file5"},{"photo_id":"1397031257","filename":"file2"},{"photo_id":"1397031260","filename":"file4"},{"photo_id":"1397031255","filename":"file1"},{"photo_id":"1397031254","filename":"file0"},{"photo_id":"1397031258","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031255":["hashtag1","hashtag2"]},{"1397031264":["hashtag1","hashtag2"]},{"1397031258":["hashtag1","hashtag2"]},{"1397031260":["hashtag1","hashtag2"]},{"1397031254":["hashtag1","hashtag2"]},{"1397031257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031255, 1397031264, 1397031258, 1397031260, 1397031254, 1397031257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84606695175171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:44:42.599480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/06/image_31102025_12_06_14_2675.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_21_7147.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_23_1679.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_24_1593.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_26_1522.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_29_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_14_2675.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_21_7147.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_23_1679.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_24_1593.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_26_1522.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_29_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031274","1397031276","1397031278","1397031275","1397031277","1397031271"],"photo_ids_order":["1397031271","1397031274","1397031275","1397031276","1397031277","1397031278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30663c561078f5eb4e29fcce666d23fb.jpg","text":"TemporaryFile(/tmp/multipartBody8449943752536499652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_21_7147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6134095a80fdfcad172199f769adc56f.jpg","text":"TemporaryFile(/tmp/multipartBody3653998854138065103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_24_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/30/1cad4c9c1e41929ba521bf2431f31ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7579043903488661135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_29_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d69bafe38a1d7dff005ba16d32f0b96.jpg","text":"TemporaryFile(/tmp/multipartBody7571779273335335589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_23_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/424e906696327ebe63c2864a86f02838.jpg","text":"TemporaryFile(/tmp/multipartBody8825357275257779967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_26_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/30/eec0f9acbb20ffed92282a820dd6056f.jpg","text":"TemporaryFile(/tmp/multipartBody6760725504839035751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485143519,"filename":"image_31102025_12_06_14_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031275","file1":"1397031274","file0":"1397031271","file4":"1397031277","file5":"1397031278","file3":"1397031276"},"map_files_photo_id_array":[{"photo_id":"1397031278","filename":"file5"},{"photo_id":"1397031275","filename":"file2"},{"photo_id":"1397031277","filename":"file4"},{"photo_id":"1397031274","filename":"file1"},{"photo_id":"1397031271","filename":"file0"},{"photo_id":"1397031276","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031274":["hashtag1","hashtag2"]},{"1397031276":["hashtag1","hashtag2"]},{"1397031278":["hashtag1","hashtag2"]},{"1397031275":["hashtag1","hashtag2"]},{"1397031277":["hashtag1","hashtag2"]},{"1397031271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031274, 1397031276, 1397031278, 1397031275, 1397031277, 1397031271)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.866426944732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:45:32.722081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_44_2539.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_47_2970.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_50_3236.jpg', '/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_52_2666.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_01_8873.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_05_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_44_2539.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_47_2970.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_50_3236.jpg
/home/pi/Desktop/images/25112025/19/57/image_25112025_19_57_52_2666.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_01_8873.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_05_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031291","1397031294","1397031288","1397031293","1397031295","1397031286"],"photo_ids_order":["1397031286","1397031288","1397031291","1397031293","1397031294","1397031295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d097ded13088082b006e730baf57ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2330772021894335809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_57_50_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/170439328988432a58c2ef0a71fbc8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4039979223066168753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_58_01_8873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/380a163660b29d87881cd096cd2d0515.jpg","text":"TemporaryFile(/tmp/multipartBody2521598636210480986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_57_47_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/30/4b582d0bbdfefa3a3b01c3e7a67c8996.jpg","text":"TemporaryFile(/tmp/multipartBody7634617053502071075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_57_52_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/30/d36ed90d0d0e2e6c00b5d5a4c7de20ce.jpg","text":"TemporaryFile(/tmp/multipartBody8471562472112144479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_58_05_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/30/ed68e2993381de9da8fbe7ab5ecd4cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7744156507500853884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485194723,"filename":"image_25112025_19_57_44_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031291","file1":"1397031288","file0":"1397031286","file4":"1397031294","file5":"1397031295","file3":"1397031293"},"map_files_photo_id_array":[{"photo_id":"1397031295","filename":"file5"},{"photo_id":"1397031291","filename":"file2"},{"photo_id":"1397031294","filename":"file4"},{"photo_id":"1397031288","filename":"file1"},{"photo_id":"1397031286","filename":"file0"},{"photo_id":"1397031293","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031291":["hashtag1","hashtag2"]},{"1397031294":["hashtag1","hashtag2"]},{"1397031288":["hashtag1","hashtag2"]},{"1397031293":["hashtag1","hashtag2"]},{"1397031295":["hashtag1","hashtag2"]},{"1397031286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031291, 1397031294, 1397031288, 1397031293, 1397031295, 1397031286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85391163825989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 07:46:12.651972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_06_1546.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_10_2748.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_14_3679.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_17_2593.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_19_2785.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_23_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_06_1546.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_10_2748.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_14_3679.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_17_2593.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_19_2785.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_23_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031304","1397031297","1397031306","1397031296","1397031309","1397031300"],"photo_ids_order":["1397031296","1397031297","1397031300","1397031304","1397031306","1397031309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17de22e14b4ef59978fff3c65b35af87.jpg","text":"TemporaryFile(/tmp/multipartBody4927671575504294289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_17_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84c5a81751fad4d3c3d91c6e776e5ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8845251714834812589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_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/30/463332ef733b0dc36dcc388f11c659f6.jpg","text":"TemporaryFile(/tmp/multipartBody2878984982925016932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_19_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/30/d6e9e23d5f35c7d6ac0bcac413552b0a.jpg","text":"TemporaryFile(/tmp/multipartBody6594203878076420402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_06_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/30/79b705f8faadfa0f7e243b25f491a93c.jpg","text":"TemporaryFile(/tmp/multipartBody5273209036675080438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_23_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43f9503d86ee3f91decbe8d9fadcf48f.jpg","text":"TemporaryFile(/tmp/multipartBody6889105309353787343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485234528,"filename":"image_25112025_19_58_14_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031300","file1":"1397031297","file0":"1397031296","file4":"1397031306","file5":"1397031309","file3":"1397031304"},"map_files_photo_id_array":[{"photo_id":"1397031309","filename":"file5"},{"photo_id":"1397031300","filename":"file2"},{"photo_id":"1397031306","filename":"file4"},{"photo_id":"1397031297","filename":"file1"},{"photo_id":"1397031296","filename":"file0"},{"photo_id":"1397031304","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031304":["hashtag1","hashtag2"]},{"1397031297":["hashtag1","hashtag2"]},{"1397031306":["hashtag1","hashtag2"]},{"1397031296":["hashtag1","hashtag2"]},{"1397031309":["hashtag1","hashtag2"]},{"1397031300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031304, 1397031297, 1397031306, 1397031296, 1397031309, 1397031300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67034435272217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:47:03.502521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_35_10565.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_44_9665.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_55_10610.jpg', '/home/pi/Desktop/images/30112025/05/57/image_30112025_05_58_05_9707.jpg', '/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_14_9553.jpg', '/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_35_10565.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_44_9665.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_57_55_10610.jpg
/home/pi/Desktop/images/30112025/05/57/image_30112025_05_58_05_9707.jpg
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_14_9553.jpg
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_24_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031322","1397031316","1397031318","1397031315","1397031320","1397031317"],"photo_ids_order":["1397031315","1397031316","1397031317","1397031318","1397031320","1397031322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15ddc2af753872300bf009eaa0f65c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6164359588637285333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_58_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ad5e339071f3e5abce4d308510a7206.jpg","text":"TemporaryFile(/tmp/multipartBody3602002259860203035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_57_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14be60b4f916f315afd4bbc36f533ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2401881890592805539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_58_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccc1ef662d585305ada1e85b74302fe7.jpg","text":"TemporaryFile(/tmp/multipartBody3930439409570454377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_57_35_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51d216e6ecf1dcb6eac184e4c728881c.jpg","text":"TemporaryFile(/tmp/multipartBody5655377349712820437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_58_14_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3233572b16417988a8ec1e8da10cef18.jpg","text":"TemporaryFile(/tmp/multipartBody986223136843137970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485284222,"filename":"image_30112025_05_57_55_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031317","file1":"1397031316","file0":"1397031315","file4":"1397031320","file5":"1397031322","file3":"1397031318"},"map_files_photo_id_array":[{"photo_id":"1397031322","filename":"file5"},{"photo_id":"1397031317","filename":"file2"},{"photo_id":"1397031320","filename":"file4"},{"photo_id":"1397031316","filename":"file1"},{"photo_id":"1397031315","filename":"file0"},{"photo_id":"1397031318","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031322":["hashtag1","hashtag2"]},{"1397031316":["hashtag1","hashtag2"]},{"1397031318":["hashtag1","hashtag2"]},{"1397031315":["hashtag1","hashtag2"]},{"1397031320":["hashtag1","hashtag2"]},{"1397031317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031322, 1397031316, 1397031318, 1397031315, 1397031320, 1397031317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89008092880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:47:42.812254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/06/image_31102025_12_06_32_2664.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_35_2577.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_38_3647.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_41_2580.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_44_3237.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_47_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_32_2664.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_35_2577.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_38_3647.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_41_2580.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_44_3237.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_47_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":["1397031340","1397031334","1397031336","1397031339","1397031332","1397031338"],"photo_ids_order":["1397031332","1397031334","1397031336","1397031338","1397031339","1397031340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01f2bf4f9a2b7ccef41062d7390975fb.jpg","text":"TemporaryFile(/tmp/multipartBody7047912974405004438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_47_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/30/e2cab8e310e424c53d6a22d4ab5b0f63.jpg","text":"TemporaryFile(/tmp/multipartBody2657846190232096606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_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/30/fe3fb0232c4a8cb9cc11d6952d5b1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1704456972547799512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_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/30/baef2799010bb829c4010901d1a41b50.jpg","text":"TemporaryFile(/tmp/multipartBody6186807082919464237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_44_3237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a96e8175fa5a153ec479fa5cbe943d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8957996848027776492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_32_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/30/8e2472434731196780932ea8079f4555.jpg","text":"TemporaryFile(/tmp/multipartBody1901340275383100720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485323773,"filename":"image_31102025_12_06_41_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031336","file1":"1397031334","file0":"1397031332","file4":"1397031339","file5":"1397031340","file3":"1397031338"},"map_files_photo_id_array":[{"photo_id":"1397031340","filename":"file5"},{"photo_id":"1397031336","filename":"file2"},{"photo_id":"1397031339","filename":"file4"},{"photo_id":"1397031334","filename":"file1"},{"photo_id":"1397031332","filename":"file0"},{"photo_id":"1397031338","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031340":["hashtag1","hashtag2"]},{"1397031334":["hashtag1","hashtag2"]},{"1397031336":["hashtag1","hashtag2"]},{"1397031339":["hashtag1","hashtag2"]},{"1397031332":["hashtag1","hashtag2"]},{"1397031338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031340, 1397031334, 1397031336, 1397031339, 1397031332, 1397031338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49123930931091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:48:22.019629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_35_10598.jpg', '/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_44_9536.jpg', '/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_55_10706.jpg', '/home/pi/Desktop/images/30112025/05/58/image_30112025_05_59_04_9598.jpg', '/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_25_10643.jpg', '/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_34_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_35_10598.jpg
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_44_9536.jpg
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_58_55_10706.jpg
/home/pi/Desktop/images/30112025/05/58/image_30112025_05_59_04_9598.jpg
/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_25_10643.jpg
/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_34_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031352","1397031346","1397031349","1397031354","1397031342","1397031356"],"photo_ids_order":["1397031342","1397031346","1397031349","1397031352","1397031354","1397031356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4af716a9a050be688d8aabcacf58154.jpg","text":"TemporaryFile(/tmp/multipartBody5662160213989286377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_59_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ce137a59f5269bf704c87c7416875d6.jpg","text":"TemporaryFile(/tmp/multipartBody7835652429662111191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_58_44_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9709f9b96c3d641e1cddd3c5ab0fa25.jpg","text":"TemporaryFile(/tmp/multipartBody1222293608926559198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_58_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6e38ee7bf860d41874f6379611c47b7.jpg","text":"TemporaryFile(/tmp/multipartBody8645200046420017831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_59_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acdeabb4deb6b94622d5e854304b524d.jpg","text":"TemporaryFile(/tmp/multipartBody8746480281656987064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_58_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/223afa3ab982418b2b09e0b02be4e33a.jpg","text":"TemporaryFile(/tmp/multipartBody5050718966680838719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485362725,"filename":"image_30112025_05_59_34_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031349","file1":"1397031346","file0":"1397031342","file4":"1397031354","file5":"1397031356","file3":"1397031352"},"map_files_photo_id_array":[{"photo_id":"1397031356","filename":"file5"},{"photo_id":"1397031349","filename":"file2"},{"photo_id":"1397031354","filename":"file4"},{"photo_id":"1397031346","filename":"file1"},{"photo_id":"1397031342","filename":"file0"},{"photo_id":"1397031352","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031352":["hashtag1","hashtag2"]},{"1397031346":["hashtag1","hashtag2"]},{"1397031349":["hashtag1","hashtag2"]},{"1397031354":["hashtag1","hashtag2"]},{"1397031342":["hashtag1","hashtag2"]},{"1397031356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031352, 1397031346, 1397031349, 1397031354, 1397031342, 1397031356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53077268600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:49:02.899138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_55_10654.jpg', '/home/pi/Desktop/images/30112025/05/59/image_30112025_06_00_05_9839.jpg', '/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_14_9798.jpg', '/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_24_9779.jpg', '/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_35_10540.jpg', '/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/05/59/image_30112025_05_59_55_10654.jpg
/home/pi/Desktop/images/30112025/05/59/image_30112025_06_00_05_9839.jpg
/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_14_9798.jpg
/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_24_9779.jpg
/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_35_10540.jpg
/home/pi/Desktop/images/30112025/06/00/image_30112025_06_00_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031367","1397031360","1397031363","1397031359","1397031361","1397031358"],"photo_ids_order":["1397031358","1397031359","1397031360","1397031361","1397031363","1397031367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e44cf3adf41249e509cd095b336e97e.jpg","text":"TemporaryFile(/tmp/multipartBody6952988474965063376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_06_00_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/630a3d483fda14eeeb0c2f6858c8fc16.jpg","text":"TemporaryFile(/tmp/multipartBody686424859061881372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_06_00_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c2a8d10c8b1da5d076f6af9b5f1c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody8575100128638181357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_06_00_35_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abebfbd9b65ed26754efdafe5fe2bfca.jpg","text":"TemporaryFile(/tmp/multipartBody7856930087906925734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_06_00_05_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f0dfc84e57be67c2751e32051ff80b3.jpg","text":"TemporaryFile(/tmp/multipartBody2462396693588765698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_06_00_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e94cdf691700d7e3ecf77ff3bbe50782.jpg","text":"TemporaryFile(/tmp/multipartBody2189585597609291100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485403770,"filename":"image_30112025_05_59_55_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031360","file1":"1397031359","file0":"1397031358","file4":"1397031363","file5":"1397031367","file3":"1397031361"},"map_files_photo_id_array":[{"photo_id":"1397031367","filename":"file5"},{"photo_id":"1397031360","filename":"file2"},{"photo_id":"1397031363","filename":"file4"},{"photo_id":"1397031359","filename":"file1"},{"photo_id":"1397031358","filename":"file0"},{"photo_id":"1397031361","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031367":["hashtag1","hashtag2"]},{"1397031360":["hashtag1","hashtag2"]},{"1397031363":["hashtag1","hashtag2"]},{"1397031359":["hashtag1","hashtag2"]},{"1397031361":["hashtag1","hashtag2"]},{"1397031358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031367, 1397031360, 1397031363, 1397031359, 1397031361, 1397031358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78431677818298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:49:42.181047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/06/image_31102025_12_06_50_2649.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_52_2820.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_56_3521.jpg', '/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_59_2878.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_02_2813.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_04_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_50_2649.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_52_2820.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_56_3521.jpg
/home/pi/Desktop/images/31102025/12/06/image_31102025_12_06_59_2878.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_02_2813.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_04_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":["1397031373","1397031375","1397031378","1397031377","1397031376","1397031379"],"photo_ids_order":["1397031373","1397031375","1397031376","1397031377","1397031378","1397031379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a57c67243f5620dce50d0ff1d83a2f10.jpg","text":"TemporaryFile(/tmp/multipartBody7487987314945664294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_06_50_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/30/ca71a5c30e19c7bd967b6eace4434532.jpg","text":"TemporaryFile(/tmp/multipartBody5544554586512961337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_06_52_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f29577b5163ddc2f429b2893dc56aade.jpg","text":"TemporaryFile(/tmp/multipartBody7394066172931179284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_07_02_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/30/3ce6927838e8dce1440beda0d9d5d72d.jpg","text":"TemporaryFile(/tmp/multipartBody3163972722713885739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_06_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/30/c028e6f988cdab52f693c61e902b4594.jpg","text":"TemporaryFile(/tmp/multipartBody9057574650813619342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_06_56_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/30/2bc24ae49549526e5e3cadab78fb5814.jpg","text":"TemporaryFile(/tmp/multipartBody6000768260904470561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485443113,"filename":"image_31102025_12_07_04_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031376","file1":"1397031375","file0":"1397031373","file4":"1397031378","file5":"1397031379","file3":"1397031377"},"map_files_photo_id_array":[{"photo_id":"1397031379","filename":"file5"},{"photo_id":"1397031376","filename":"file2"},{"photo_id":"1397031378","filename":"file4"},{"photo_id":"1397031375","filename":"file1"},{"photo_id":"1397031373","filename":"file0"},{"photo_id":"1397031377","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031373":["hashtag1","hashtag2"]},{"1397031375":["hashtag1","hashtag2"]},{"1397031378":["hashtag1","hashtag2"]},{"1397031377":["hashtag1","hashtag2"]},{"1397031376":["hashtag1","hashtag2"]},{"1397031379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031373, 1397031375, 1397031378, 1397031377, 1397031376, 1397031379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30218696594238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:50:22.320695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/00/image_30112025_06_01_05_9553.jpg', '/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_14_9624.jpg', '/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_25_10821.jpg', '/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_35_9764.jpg', '/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_44_9656.jpg', '/home/pi/Desktop/images/30112025/06/01/image_30112025_06_02_05_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/00/image_30112025_06_01_05_9553.jpg
/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_14_9624.jpg
/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_25_10821.jpg
/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_35_9764.jpg
/home/pi/Desktop/images/30112025/06/01/image_30112025_06_01_44_9656.jpg
/home/pi/Desktop/images/30112025/06/01/image_30112025_06_02_05_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031398","1397031383","1397031392","1397031386","1397031389","1397031394"],"photo_ids_order":["1397031383","1397031386","1397031389","1397031392","1397031394","1397031398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bffae88ca5f20a1616da989be79f7292.jpg","text":"TemporaryFile(/tmp/multipartBody7273222111113962541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_02_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec2c0c83d4323526694abdd066cbf862.jpg","text":"TemporaryFile(/tmp/multipartBody2130663737457642979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_01_05_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee01ce9de4e3bf2e560db7996cfbe587.jpg","text":"TemporaryFile(/tmp/multipartBody3412140356418519092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_01_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28e4dec20f5319362dd47ce362776170.jpg","text":"TemporaryFile(/tmp/multipartBody4882338820544729328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_01_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66289b63f5bb0de8b62692127a3f4c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2965633823588554908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_01_25_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5a42a2db9d172d3702c2861e925f7fa.jpg","text":"TemporaryFile(/tmp/multipartBody6063036220784803495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485483001,"filename":"image_30112025_06_01_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031389","file1":"1397031386","file0":"1397031383","file4":"1397031394","file5":"1397031398","file3":"1397031392"},"map_files_photo_id_array":[{"photo_id":"1397031398","filename":"file5"},{"photo_id":"1397031389","filename":"file2"},{"photo_id":"1397031394","filename":"file4"},{"photo_id":"1397031386","filename":"file1"},{"photo_id":"1397031383","filename":"file0"},{"photo_id":"1397031392","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031398":["hashtag1","hashtag2"]},{"1397031383":["hashtag1","hashtag2"]},{"1397031392":["hashtag1","hashtag2"]},{"1397031386":["hashtag1","hashtag2"]},{"1397031389":["hashtag1","hashtag2"]},{"1397031394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031398, 1397031383, 1397031392, 1397031386, 1397031389, 1397031394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49241876602173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:51:03.285996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_14_9716.jpg', '/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_24_9615.jpg', '/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_34_10392.jpg', '/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_44_9777.jpg', '/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_55_10718.jpg', '/home/pi/Desktop/images/30112025/06/02/image_30112025_06_03_05_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_14_9716.jpg
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_24_9615.jpg
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_34_10392.jpg
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_44_9777.jpg
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_02_55_10718.jpg
/home/pi/Desktop/images/30112025/06/02/image_30112025_06_03_05_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031409","1397031400","1397031403","1397031405","1397031402","1397031401"],"photo_ids_order":["1397031400","1397031401","1397031402","1397031403","1397031405","1397031409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c667a583eaed7b26d7c48e67929fd54.jpg","text":"TemporaryFile(/tmp/multipartBody2292164850901920971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_03_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e59d6eddeb72f7d8b687afadc219bf94.jpg","text":"TemporaryFile(/tmp/multipartBody5479040418966863696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_02_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/118f7a15aff4e44045963e734c6a47a6.jpg","text":"TemporaryFile(/tmp/multipartBody4734937811876941717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_02_44_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d902c23ffe37d639fc70541a423dd37.jpg","text":"TemporaryFile(/tmp/multipartBody8777406617457491177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_02_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7deeead803d35fef63589fb2350d16b6.jpg","text":"TemporaryFile(/tmp/multipartBody7450865135896079056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_02_34_10392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc008cf0e59d020008d1a23dbd84cacf.jpg","text":"TemporaryFile(/tmp/multipartBody8021601456156536384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485524032,"filename":"image_30112025_06_02_24_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031402","file1":"1397031401","file0":"1397031400","file4":"1397031405","file5":"1397031409","file3":"1397031403"},"map_files_photo_id_array":[{"photo_id":"1397031409","filename":"file5"},{"photo_id":"1397031402","filename":"file2"},{"photo_id":"1397031405","filename":"file4"},{"photo_id":"1397031401","filename":"file1"},{"photo_id":"1397031400","filename":"file0"},{"photo_id":"1397031403","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031409":["hashtag1","hashtag2"]},{"1397031400":["hashtag1","hashtag2"]},{"1397031403":["hashtag1","hashtag2"]},{"1397031405":["hashtag1","hashtag2"]},{"1397031402":["hashtag1","hashtag2"]},{"1397031401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031409, 1397031400, 1397031403, 1397031405, 1397031402, 1397031401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32561731338501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:51:42.564602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/07/image_31102025_12_07_08_3791.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_11_2737.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_14_2829.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_16_2653.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_20_3793.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_23_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/12/07/image_31102025_12_07_08_3791.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_11_2737.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_14_2829.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_16_2653.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_20_3793.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_23_2794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031421","1397031423","1397031417","1397031420","1397031422","1397031419"],"photo_ids_order":["1397031417","1397031419","1397031420","1397031421","1397031422","1397031423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0d43f5182ecd16db3b8222b144a9b57.jpg","text":"TemporaryFile(/tmp/multipartBody5416814615944866851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daa986c99951789d91f1000c9ddaa924.jpg","text":"TemporaryFile(/tmp/multipartBody5074204424018483613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_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/30/832542d780d043e3b2d93edfe31a6be8.jpg","text":"TemporaryFile(/tmp/multipartBody6090919873581336531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_08_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/30/e52b6a6a894a0deeb925ca712b334fed.jpg","text":"TemporaryFile(/tmp/multipartBody4932238444073120620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_14_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/30/d775d0fceafb62581a3d75c77472afbf.jpg","text":"TemporaryFile(/tmp/multipartBody2172121687659342682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_20_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/30/129cdd805ca5d1b9bc31042a4450f057.jpg","text":"TemporaryFile(/tmp/multipartBody4702925555876471234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485563446,"filename":"image_31102025_12_07_11_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031420","file1":"1397031419","file0":"1397031417","file4":"1397031422","file5":"1397031423","file3":"1397031421"},"map_files_photo_id_array":[{"photo_id":"1397031423","filename":"file5"},{"photo_id":"1397031420","filename":"file2"},{"photo_id":"1397031422","filename":"file4"},{"photo_id":"1397031419","filename":"file1"},{"photo_id":"1397031417","filename":"file0"},{"photo_id":"1397031421","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031421":["hashtag1","hashtag2"]},{"1397031423":["hashtag1","hashtag2"]},{"1397031417":["hashtag1","hashtag2"]},{"1397031420":["hashtag1","hashtag2"]},{"1397031422":["hashtag1","hashtag2"]},{"1397031419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031421, 1397031423, 1397031417, 1397031420, 1397031422, 1397031419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99866700172424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:52:22.769213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_14_9820.jpg', '/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_24_9821.jpg', '/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_35_10727.jpg', '/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_45_9698.jpg', '/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_54_9638.jpg', '/home/pi/Desktop/images/30112025/06/03/image_30112025_06_04_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_14_9820.jpg
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_24_9821.jpg
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_35_10727.jpg
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_45_9698.jpg
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_03_54_9638.jpg
/home/pi/Desktop/images/30112025/06/03/image_30112025_06_04_05_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031430","1397031427","1397031441","1397031435","1397031438","1397031432"],"photo_ids_order":["1397031427","1397031430","1397031432","1397031435","1397031438","1397031441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d058aa6d970abd41ceea9d5223acce5.jpg","text":"TemporaryFile(/tmp/multipartBody5209914881586720577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_03_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6c27a0232857f47e56966ab1ae73959.jpg","text":"TemporaryFile(/tmp/multipartBody4099588817117937802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_03_14_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9fa5578d44a7c72450833c5a4a148bf.jpg","text":"TemporaryFile(/tmp/multipartBody6979159059544897240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_04_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67d5ac5a83fe417a69a7488da53de4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4768797256493932280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_03_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/971232350e64b08eac66e097bb69c684.jpg","text":"TemporaryFile(/tmp/multipartBody4283708809802208202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_03_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4b16a890ff61e61bb067ed3ebac866b.jpg","text":"TemporaryFile(/tmp/multipartBody8930601159062434001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485603479,"filename":"image_30112025_06_03_35_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031432","file1":"1397031430","file0":"1397031427","file4":"1397031438","file5":"1397031441","file3":"1397031435"},"map_files_photo_id_array":[{"photo_id":"1397031441","filename":"file5"},{"photo_id":"1397031432","filename":"file2"},{"photo_id":"1397031438","filename":"file4"},{"photo_id":"1397031430","filename":"file1"},{"photo_id":"1397031427","filename":"file0"},{"photo_id":"1397031435","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031430":["hashtag1","hashtag2"]},{"1397031427":["hashtag1","hashtag2"]},{"1397031441":["hashtag1","hashtag2"]},{"1397031435":["hashtag1","hashtag2"]},{"1397031438":["hashtag1","hashtag2"]},{"1397031432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031430, 1397031427, 1397031441, 1397031435, 1397031438, 1397031432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93383002281189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:53:02.639635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_24_9555.jpg', '/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_35_10650.jpg', '/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_45_9619.jpg', '/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_54_9782.jpg', '/home/pi/Desktop/images/30112025/06/04/image_30112025_06_05_04_9701.jpg', '/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_15_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_24_9555.jpg
/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_35_10650.jpg
/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_45_9619.jpg
/home/pi/Desktop/images/30112025/06/04/image_30112025_06_04_54_9782.jpg
/home/pi/Desktop/images/30112025/06/04/image_30112025_06_05_04_9701.jpg
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_15_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031445","1397031453","1397031447","1397031446","1397031449","1397031443"],"photo_ids_order":["1397031443","1397031445","1397031446","1397031447","1397031449","1397031453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f58fbcbe9cfa5ecc559b7ef0b76e7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8400870050079956908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_04_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbeaa273b1e446268ebe81187cec7ed5.jpg","text":"TemporaryFile(/tmp/multipartBody619227027897813637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_05_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a0ddd7b86999e2892b8892cc0a71f21.jpg","text":"TemporaryFile(/tmp/multipartBody6188082732161712587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_04_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86fb161116bd497aef7a087befe88028.jpg","text":"TemporaryFile(/tmp/multipartBody2501851870376214528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_04_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/903e82ece5b0c55e39237ebabeaa2024.jpg","text":"TemporaryFile(/tmp/multipartBody923454530246768743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_05_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a62fc70acdbf126bc6f3e835e3b9475.jpg","text":"TemporaryFile(/tmp/multipartBody8374586530053032024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485643397,"filename":"image_30112025_06_04_24_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031446","file1":"1397031445","file0":"1397031443","file4":"1397031449","file5":"1397031453","file3":"1397031447"},"map_files_photo_id_array":[{"photo_id":"1397031453","filename":"file5"},{"photo_id":"1397031446","filename":"file2"},{"photo_id":"1397031449","filename":"file4"},{"photo_id":"1397031445","filename":"file1"},{"photo_id":"1397031443","filename":"file0"},{"photo_id":"1397031447","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031445":["hashtag1","hashtag2"]},{"1397031453":["hashtag1","hashtag2"]},{"1397031447":["hashtag1","hashtag2"]},{"1397031446":["hashtag1","hashtag2"]},{"1397031449":["hashtag1","hashtag2"]},{"1397031443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031445, 1397031453, 1397031447, 1397031446, 1397031449, 1397031443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.557170391082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:53:41.919727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/07/image_31102025_12_07_26_2688.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_28_2757.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_31_2916.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_35_3665.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_38_2843.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_40_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_26_2688.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_28_2757.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_31_2916.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_35_3665.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_38_2843.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_40_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031466","1397031465","1397031468","1397031462","1397031464","1397031467"],"photo_ids_order":["1397031462","1397031464","1397031465","1397031466","1397031467","1397031468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d851664f810bb2a02d2501a618a77a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4562994923915645190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_35_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/30/6a7b96ceb9260486555409fdd5d67dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5048763063639400585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_31_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c73f3e714ad5e57994dc151779458125.jpg","text":"TemporaryFile(/tmp/multipartBody6251954923631500346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_40_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/30/0c216cbe3c28699a4cea4f021d9cf750.jpg","text":"TemporaryFile(/tmp/multipartBody2611415560436315383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_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/30/0982819d0c006366a5afee6ae38441cc.jpg","text":"TemporaryFile(/tmp/multipartBody6323630254205876527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_28_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/30/86fd27500f7b13440b298af3346ca47e.jpg","text":"TemporaryFile(/tmp/multipartBody4377780379433276386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485682805,"filename":"image_31102025_12_07_38_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031465","file1":"1397031464","file0":"1397031462","file4":"1397031467","file5":"1397031468","file3":"1397031466"},"map_files_photo_id_array":[{"photo_id":"1397031468","filename":"file5"},{"photo_id":"1397031465","filename":"file2"},{"photo_id":"1397031467","filename":"file4"},{"photo_id":"1397031464","filename":"file1"},{"photo_id":"1397031462","filename":"file0"},{"photo_id":"1397031466","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031466":["hashtag1","hashtag2"]},{"1397031465":["hashtag1","hashtag2"]},{"1397031468":["hashtag1","hashtag2"]},{"1397031462":["hashtag1","hashtag2"]},{"1397031464":["hashtag1","hashtag2"]},{"1397031467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031466, 1397031465, 1397031468, 1397031462, 1397031464, 1397031467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.873990297317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:54:22.274524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_24_9519.jpg', '/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_35_10624.jpg', '/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_45_9811.jpg', '/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_54_9550.jpg', '/home/pi/Desktop/images/30112025/06/05/image_30112025_06_06_05_10656.jpg', '/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_15_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_24_9519.jpg
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_35_10624.jpg
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_45_9811.jpg
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_05_54_9550.jpg
/home/pi/Desktop/images/30112025/06/05/image_30112025_06_06_05_10656.jpg
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_15_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031486","1397031471","1397031482","1397031475","1397031490","1397031478"],"photo_ids_order":["1397031471","1397031475","1397031478","1397031482","1397031486","1397031490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04d9abb8ed832e378b4dac329f28ccac.jpg","text":"TemporaryFile(/tmp/multipartBody5645728040671291740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_06_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd1e4fd79f0a80a5e4576eb07be9facd.jpg","text":"TemporaryFile(/tmp/multipartBody8442077492579273768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_05_24_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8eb319832dc7db62deb01e326406a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody6369171592658174020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_05_54_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/997e8ab30688b3291e0292942a361104.jpg","text":"TemporaryFile(/tmp/multipartBody8163172987447283914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_05_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95e7ea49c54ef4af69c779ac8f898adb.jpg","text":"TemporaryFile(/tmp/multipartBody5373802999034449477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_06_15_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e544e80c7dc58d3ecc668b099a87ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3785243002172025000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485723041,"filename":"image_30112025_06_05_45_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031478","file1":"1397031475","file0":"1397031471","file4":"1397031486","file5":"1397031490","file3":"1397031482"},"map_files_photo_id_array":[{"photo_id":"1397031490","filename":"file5"},{"photo_id":"1397031478","filename":"file2"},{"photo_id":"1397031486","filename":"file4"},{"photo_id":"1397031475","filename":"file1"},{"photo_id":"1397031471","filename":"file0"},{"photo_id":"1397031482","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031486":["hashtag1","hashtag2"]},{"1397031471":["hashtag1","hashtag2"]},{"1397031482":["hashtag1","hashtag2"]},{"1397031475":["hashtag1","hashtag2"]},{"1397031490":["hashtag1","hashtag2"]},{"1397031478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031486, 1397031471, 1397031482, 1397031475, 1397031490, 1397031478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.046390533447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:55:03.010004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_24_9830.jpg', '/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_35_10569.jpg', '/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_45_9765.jpg', '/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_54_9697.jpg', '/home/pi/Desktop/images/30112025/06/06/image_30112025_06_07_04_9716.jpg', '/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_15_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_24_9830.jpg
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_35_10569.jpg
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_45_9765.jpg
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_06_54_9697.jpg
/home/pi/Desktop/images/30112025/06/06/image_30112025_06_07_04_9716.jpg
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_15_10546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031498","1397031495","1397031494","1397031500","1397031493","1397031496"],"photo_ids_order":["1397031493","1397031494","1397031495","1397031496","1397031498","1397031500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fedd17b928520b42a2ca96907634f21b.jpg","text":"TemporaryFile(/tmp/multipartBody3181582104145800232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_07_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e835989cec8e6ad30bafa60b28974275.jpg","text":"TemporaryFile(/tmp/multipartBody1143264710898727160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_06_45_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f488f2b3d749866129bf0a680d804901.jpg","text":"TemporaryFile(/tmp/multipartBody6311050749745081325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_06_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/946f338cbfb66241d7f0f49d8bb520ee.jpg","text":"TemporaryFile(/tmp/multipartBody5136541509057413940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_07_15_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a613ec833029199328de11bc974c84df.jpg","text":"TemporaryFile(/tmp/multipartBody695838335272888942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_06_24_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e65e7aece707f419b2b6a001ef2f15f.jpg","text":"TemporaryFile(/tmp/multipartBody1927868599441548509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485763776,"filename":"image_30112025_06_06_54_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031495","file1":"1397031494","file0":"1397031493","file4":"1397031498","file5":"1397031500","file3":"1397031496"},"map_files_photo_id_array":[{"photo_id":"1397031500","filename":"file5"},{"photo_id":"1397031495","filename":"file2"},{"photo_id":"1397031498","filename":"file4"},{"photo_id":"1397031494","filename":"file1"},{"photo_id":"1397031493","filename":"file0"},{"photo_id":"1397031496","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031498":["hashtag1","hashtag2"]},{"1397031495":["hashtag1","hashtag2"]},{"1397031494":["hashtag1","hashtag2"]},{"1397031500":["hashtag1","hashtag2"]},{"1397031493":["hashtag1","hashtag2"]},{"1397031496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031498, 1397031495, 1397031494, 1397031500, 1397031493, 1397031496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80376219749451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:55:42.308969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/07/image_31102025_12_07_44_3883.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_47_2668.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_52_2571.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_56_3682.jpg', '/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_59_2635.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_01_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/12/07/image_31102025_12_07_44_3883.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_47_2668.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_52_2571.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_56_3682.jpg
/home/pi/Desktop/images/31102025/12/07/image_31102025_12_07_59_2635.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_01_2858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031514","1397031508","1397031517","1397031516","1397031519","1397031512"],"photo_ids_order":["1397031508","1397031512","1397031514","1397031516","1397031517","1397031519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff0f6dbc9a8148712f48ed962a4b1028.jpg","text":"TemporaryFile(/tmp/multipartBody6475215775277994542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_07_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/30/9ad0f0bb82f8d56735be9fc23924b056.jpg","text":"TemporaryFile(/tmp/multipartBody2599728226641681672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_07_44_3883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2936deb3f65686368908f38f6489556.jpg","text":"TemporaryFile(/tmp/multipartBody8897462243482751845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_07_59_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/30/70019b9c1f58158d4b6e179cf4d67521.jpg","text":"TemporaryFile(/tmp/multipartBody8522627587576852058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_07_56_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/30/3bb2802240815703a3c1e1f8941ecb13.jpg","text":"TemporaryFile(/tmp/multipartBody3907628603259941563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_08_01_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/30/5eb85c1029104616b140c0ec769fe947.jpg","text":"TemporaryFile(/tmp/multipartBody7809955639672430197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485803206,"filename":"image_31102025_12_07_47_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031514","file1":"1397031512","file0":"1397031508","file4":"1397031517","file5":"1397031519","file3":"1397031516"},"map_files_photo_id_array":[{"photo_id":"1397031519","filename":"file5"},{"photo_id":"1397031514","filename":"file2"},{"photo_id":"1397031517","filename":"file4"},{"photo_id":"1397031512","filename":"file1"},{"photo_id":"1397031508","filename":"file0"},{"photo_id":"1397031516","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397031514":["hashtag1","hashtag2"]},{"1397031508":["hashtag1","hashtag2"]},{"1397031517":["hashtag1","hashtag2"]},{"1397031516":["hashtag1","hashtag2"]},{"1397031519":["hashtag1","hashtag2"]},{"1397031512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397031514, 1397031508, 1397031517, 1397031516, 1397031519, 1397031512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042542457580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 07:56:22.468576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_25_9885.jpg', '/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_34_9551.jpg', '/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_45_10784.jpg', '/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_55_9669.jpg', '/home/pi/Desktop/images/30112025/06/07/image_30112025_06_08_04_9549.jpg', '/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_15_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_25_9885.jpg
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_34_9551.jpg
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_45_10784.jpg
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_07_55_9669.jpg
/home/pi/Desktop/images/30112025/06/07/image_30112025_06_08_04_9549.jpg
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_15_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031523","1397031537","1397031530","1397031533","1397031527","1397031535"],"photo_ids_order":["1397031523","1397031527","1397031530","1397031533","1397031535","1397031537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48c0cbe54edf05c8bba0d0b1238d424b.jpg","text":"TemporaryFile(/tmp/multipartBody7657540787346001837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_07_25_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3090ccfedf169f0ca875d152d4e41216.jpg","text":"TemporaryFile(/tmp/multipartBody4217049653385160871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_08_15_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b33421c915fae13d6451e92307a51912.jpg","text":"TemporaryFile(/tmp/multipartBody2385753649688018388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_07_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05417c9ad21d76882830f3329582c6c1.jpg","text":"TemporaryFile(/tmp/multipartBody4922399055005229590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_07_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d3c8e6f6b967bd6eae72f446fa1716.jpg","text":"TemporaryFile(/tmp/multipartBody1396364652390757247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_07_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f545566b2b2d210896b47f1b79caf76.jpg","text":"TemporaryFile(/tmp/multipartBody198675055333139076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485843163,"filename":"image_30112025_06_08_04_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031530","file1":"1397031527","file0":"1397031523","file4":"1397031535","file5":"1397031537","file3":"1397031533"},"map_files_photo_id_array":[{"photo_id":"1397031537","filename":"file5"},{"photo_id":"1397031530","filename":"file2"},{"photo_id":"1397031535","filename":"file4"},{"photo_id":"1397031527","filename":"file1"},{"photo_id":"1397031523","filename":"file0"},{"photo_id":"1397031533","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031523":["hashtag1","hashtag2"]},{"1397031537":["hashtag1","hashtag2"]},{"1397031530":["hashtag1","hashtag2"]},{"1397031533":["hashtag1","hashtag2"]},{"1397031527":["hashtag1","hashtag2"]},{"1397031535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031523, 1397031537, 1397031530, 1397031533, 1397031527, 1397031535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23568844795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:57:03.199728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_24_9619.jpg', '/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_35_10525.jpg', '/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_44_9391.jpg', '/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_55_10739.jpg', '/home/pi/Desktop/images/30112025/06/08/image_30112025_06_09_05_9730.jpg', '/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_15_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_24_9619.jpg
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_35_10525.jpg
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_44_9391.jpg
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_08_55_10739.jpg
/home/pi/Desktop/images/30112025/06/08/image_30112025_06_09_05_9730.jpg
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_15_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031544","1397031546","1397031549","1397031543","1397031539","1397031541"],"photo_ids_order":["1397031539","1397031541","1397031543","1397031544","1397031546","1397031549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f74afdd6da3ce32dfcbc9b7e94d71d.jpg","text":"TemporaryFile(/tmp/multipartBody7668458466232876879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_08_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76a9ad87a4d55a8e737d7f0930e04120.jpg","text":"TemporaryFile(/tmp/multipartBody862138131461076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_09_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c265f5076f65e6edf5a68ba6d1221c4.jpg","text":"TemporaryFile(/tmp/multipartBody108495366848698621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_09_15_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e883b9bd7a7c610d25a5952148549ae.jpg","text":"TemporaryFile(/tmp/multipartBody8970299170043003096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_08_44_9391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e67bf7342c31bd86d1914a45e5024b9.jpg","text":"TemporaryFile(/tmp/multipartBody4776430928922769177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_08_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b72207b82c7f07fe7ee98838c0248642.jpg","text":"TemporaryFile(/tmp/multipartBody240565171090120403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764485883943,"filename":"image_30112025_06_08_35_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031543","file1":"1397031541","file0":"1397031539","file4":"1397031546","file5":"1397031549","file3":"1397031544"},"map_files_photo_id_array":[{"photo_id":"1397031549","filename":"file5"},{"photo_id":"1397031543","filename":"file2"},{"photo_id":"1397031546","filename":"file4"},{"photo_id":"1397031541","filename":"file1"},{"photo_id":"1397031539","filename":"file0"},{"photo_id":"1397031544","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031544":["hashtag1","hashtag2"]},{"1397031546":["hashtag1","hashtag2"]},{"1397031549":["hashtag1","hashtag2"]},{"1397031543":["hashtag1","hashtag2"]},{"1397031539":["hashtag1","hashtag2"]},{"1397031541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031544, 1397031546, 1397031549, 1397031543, 1397031539, 1397031541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92281746864319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 07:57:42.748942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/08/image_31102025_12_08_05_3543.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_08_2644.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_10_2717.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_14_3637.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_19_2676.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_23_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_05_3543.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_08_2644.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_10_2717.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_14_3637.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_19_2676.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_23_3555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8909897804260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 07:59:03.002492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_24_9565.jpg', '/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_35_10826.jpg', '/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_45_9691.jpg', '/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_54_9600.jpg', '/home/pi/Desktop/images/30112025/06/09/image_30112025_06_10_05_10672.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_15_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_24_9565.jpg
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_35_10826.jpg
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_45_9691.jpg
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_09_54_9600.jpg
/home/pi/Desktop/images/30112025/06/09/image_30112025_06_10_05_10672.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_15_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031565","1397031579","1397031573","1397031576","1397031571","1397031568"],"photo_ids_order":["1397031565","1397031568","1397031571","1397031573","1397031576","1397031579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddc82a24538c33cd2e843aeb3a8f5619.jpg","text":"TemporaryFile(/tmp/multipartBody7246678325735939280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_09_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/598b967ae120d3e7cebb6f889eff8120.jpg","text":"TemporaryFile(/tmp/multipartBody5082462157546583778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_10_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00ed7c06278043a0afae7869edc942c9.jpg","text":"TemporaryFile(/tmp/multipartBody5849951031112615862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_09_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11efdfd743a26d7a52eac7fe253e5aec.jpg","text":"TemporaryFile(/tmp/multipartBody2774572631142896673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_10_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f17ab80364d3c39830a81517039e571.jpg","text":"TemporaryFile(/tmp/multipartBody3309365203616740666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_09_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4870f0c047e98cda3f816f500f6e9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3593719600118907449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486003863,"filename":"image_30112025_06_09_35_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031571","file1":"1397031568","file0":"1397031565","file4":"1397031576","file5":"1397031579","file3":"1397031573"},"map_files_photo_id_array":[{"photo_id":"1397031579","filename":"file5"},{"photo_id":"1397031571","filename":"file2"},{"photo_id":"1397031576","filename":"file4"},{"photo_id":"1397031568","filename":"file1"},{"photo_id":"1397031565","filename":"file0"},{"photo_id":"1397031573","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031565":["hashtag1","hashtag2"]},{"1397031579":["hashtag1","hashtag2"]},{"1397031573":["hashtag1","hashtag2"]},{"1397031576":["hashtag1","hashtag2"]},{"1397031571":["hashtag1","hashtag2"]},{"1397031568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031565, 1397031579, 1397031573, 1397031576, 1397031571, 1397031568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73120427131653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:00:02.614905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_24_9684.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_35_10611.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_45_9671.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_54_9688.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_11_05_10562.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_15_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_24_9684.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_35_10611.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_45_9671.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_54_9688.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_11_05_10562.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_15_9978.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6288042068481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:00:12.159209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_26_2706.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_29_2641.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_31_2949.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_35_3713.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_38_2896.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_41_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_26_2706.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_29_2641.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_31_2949.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_35_3713.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_38_2896.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_41_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031643","1397031604","1397031607","1397031601","1397031680","1397031599"],"photo_ids_order":["1397031599","1397031601","1397031604","1397031607","1397031643","1397031680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/425986b007edf98c47a7c6c1a8911f85.jpg","text":"TemporaryFile(/tmp/multipartBody4439661193345636023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_38_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/30/161496b1a68c2c66ab678108cd80583f.jpg","text":"TemporaryFile(/tmp/multipartBody1937935564904831824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_31_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/375e8e23a931c33ff63099b00831317b.jpg","text":"TemporaryFile(/tmp/multipartBody5503242877111000595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_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/30/736b950ccb23dd3f024ed02a05428ef6.jpg","text":"TemporaryFile(/tmp/multipartBody164592675100194471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b1af836e3242172ad84d08815c265eb.jpg","text":"TemporaryFile(/tmp/multipartBody8273375106281677535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_41_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/30/28a9139b017dccdad6f87ffbb7b5647b.jpg","text":"TemporaryFile(/tmp/multipartBody8587755158513437953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486073901,"filename":"image_25112025_19_58_26_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397031604","file1":"1397031601","file0":"1397031599","file4":"1397031643","file5":"1397031680","file3":"1397031607"},"map_files_photo_id_array":[{"photo_id":"1397031680","filename":"file5"},{"photo_id":"1397031604","filename":"file2"},{"photo_id":"1397031643","filename":"file4"},{"photo_id":"1397031601","filename":"file1"},{"photo_id":"1397031599","filename":"file0"},{"photo_id":"1397031607","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397031643":["hashtag1","hashtag2"]},{"1397031604":["hashtag1","hashtag2"]},{"1397031607":["hashtag1","hashtag2"]},{"1397031601":["hashtag1","hashtag2"]},{"1397031680":["hashtag1","hashtag2"]},{"1397031599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397031643, 1397031604, 1397031607, 1397031601, 1397031680, 1397031599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38356685638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:01:03.127779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_24_9684.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_35_10611.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_45_9671.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_54_9688.jpg', '/home/pi/Desktop/images/30112025/06/10/image_30112025_06_11_05_10562.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_15_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_24_9684.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_35_10611.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_45_9671.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_10_54_9688.jpg
/home/pi/Desktop/images/30112025/06/10/image_30112025_06_11_05_10562.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_15_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397031960","1397032295","1397032029","1397032190","1397031902","1397032108"],"photo_ids_order":["1397031902","1397031960","1397032029","1397032108","1397032190","1397032295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9063bec9cbea78ac3d118696236c34b.jpg","text":"TemporaryFile(/tmp/multipartBody4361885578670580015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_10_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/868f493085f8f13b18dbaf95977277d1.jpg","text":"TemporaryFile(/tmp/multipartBody1069178626483775415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_11_15_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f12b1b17c8106fb1ab88a9980cf13d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1697277143421845546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_10_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f63ecc37b378f9cb1204402588aa73a3.jpg","text":"TemporaryFile(/tmp/multipartBody5328282651627726030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_11_05_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f00d70172def9be29295f07b3f0867ee.jpg","text":"TemporaryFile(/tmp/multipartBody959256693123579193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_10_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/182cab414e7601665ec73947a5fcd14a.jpg","text":"TemporaryFile(/tmp/multipartBody7663765414972119590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486123863,"filename":"image_30112025_06_10_54_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397032029","file1":"1397031960","file0":"1397031902","file4":"1397032190","file5":"1397032295","file3":"1397032108"},"map_files_photo_id_array":[{"photo_id":"1397032295","filename":"file5"},{"photo_id":"1397032029","filename":"file2"},{"photo_id":"1397032190","filename":"file4"},{"photo_id":"1397031960","filename":"file1"},{"photo_id":"1397031902","filename":"file0"},{"photo_id":"1397032108","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397031960":["hashtag1","hashtag2"]},{"1397032295":["hashtag1","hashtag2"]},{"1397032029":["hashtag1","hashtag2"]},{"1397032190":["hashtag1","hashtag2"]},{"1397031902":["hashtag1","hashtag2"]},{"1397032108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397031960, 1397032295, 1397032029, 1397032190, 1397031902, 1397032108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32692098617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:01:42.518704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/08/image_31102025_12_08_05_3543.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_08_2644.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_10_2717.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_14_3637.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_19_2676.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_23_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_05_3543.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_08_2644.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_10_2717.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_14_3637.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_19_2676.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_23_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":["1397033040","1397032668","1397033106","1397032888","1397032969","1397032785"],"photo_ids_order":["1397032668","1397032785","1397032888","1397032969","1397033040","1397033106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83e5b9e7e6c259bcf764459dbf43f341.jpg","text":"TemporaryFile(/tmp/multipartBody502649741921882864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_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/30/69ea96cc69df67385bdfdaf2de383a35.jpg","text":"TemporaryFile(/tmp/multipartBody2706526129414032859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_05_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/837706f7c439b797cfbf27534e3dd683.jpg","text":"TemporaryFile(/tmp/multipartBody5026249474377229455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_23_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/30/eac24836cdd4169fccef12a8c1cc76d7.jpg","text":"TemporaryFile(/tmp/multipartBody8896992609992233044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_10_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/30/134a859a124ddc8d84f1ab6bdd5675f0.jpg","text":"TemporaryFile(/tmp/multipartBody1924745256733793205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_14_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/30/6835feed3668328d65a6eef2f41721e6.jpg","text":"TemporaryFile(/tmp/multipartBody8785868963759863949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486163263,"filename":"image_31102025_12_08_08_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397032888","file1":"1397032785","file0":"1397032668","file4":"1397033040","file5":"1397033106","file3":"1397032969"},"map_files_photo_id_array":[{"photo_id":"1397033106","filename":"file5"},{"photo_id":"1397032888","filename":"file2"},{"photo_id":"1397033040","filename":"file4"},{"photo_id":"1397032785","filename":"file1"},{"photo_id":"1397032668","filename":"file0"},{"photo_id":"1397032969","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397033040":["hashtag1","hashtag2"]},{"1397032668":["hashtag1","hashtag2"]},{"1397033106":["hashtag1","hashtag2"]},{"1397032888":["hashtag1","hashtag2"]},{"1397032969":["hashtag1","hashtag2"]},{"1397032785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397033040, 1397032668, 1397033106, 1397032888, 1397032969, 1397032785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.542728900909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:02:22.681875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_25_9773.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_34_9721.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_44_9740.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_55_10583.jpg', '/home/pi/Desktop/images/30112025/06/11/image_30112025_06_12_04_9683.jpg', '/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_25_9773.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_34_9721.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_44_9740.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_11_55_10583.jpg
/home/pi/Desktop/images/30112025/06/11/image_30112025_06_12_04_9683.jpg
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_14_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397033421","1397033779","1397033851","1397033527","1397033707","1397033629"],"photo_ids_order":["1397033421","1397033527","1397033629","1397033707","1397033779","1397033851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b96a400f5f75e6b488ec3f090746e84.jpg","text":"TemporaryFile(/tmp/multipartBody6239982142471456217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_11_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c04342f9d38e433d819f35286a067da2.jpg","text":"TemporaryFile(/tmp/multipartBody8005421080617714853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_12_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e226d14f5df212b457f2228a9eca2e22.jpg","text":"TemporaryFile(/tmp/multipartBody3974099135052752432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_12_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fadb7e16501533de77694bbcf3224d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1576789834785434354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_11_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad20237af34118c22a722fb7a6ac4601.jpg","text":"TemporaryFile(/tmp/multipartBody8393570464328132784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_11_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b1a59dafcc956a717a1d5f4d340447a.jpg","text":"TemporaryFile(/tmp/multipartBody1002432564989725794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486203397,"filename":"image_30112025_06_11_44_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397033629","file1":"1397033527","file0":"1397033421","file4":"1397033779","file5":"1397033851","file3":"1397033707"},"map_files_photo_id_array":[{"photo_id":"1397033851","filename":"file5"},{"photo_id":"1397033629","filename":"file2"},{"photo_id":"1397033779","filename":"file4"},{"photo_id":"1397033527","filename":"file1"},{"photo_id":"1397033421","filename":"file0"},{"photo_id":"1397033707","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397033421":["hashtag1","hashtag2"]},{"1397033779":["hashtag1","hashtag2"]},{"1397033851":["hashtag1","hashtag2"]},{"1397033527":["hashtag1","hashtag2"]},{"1397033707":["hashtag1","hashtag2"]},{"1397033629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397033421, 1397033779, 1397033851, 1397033527, 1397033707, 1397033629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.325929403305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:03:02.456733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_25_10755.jpg', '/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_35_9707.jpg', '/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_44_9709.jpg', '/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_55_10592.jpg', '/home/pi/Desktop/images/30112025/06/12/image_30112025_06_13_05_9673.jpg', '/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_14_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_25_10755.jpg
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_35_9707.jpg
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_44_9709.jpg
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_12_55_10592.jpg
/home/pi/Desktop/images/30112025/06/12/image_30112025_06_13_05_9673.jpg
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_14_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397034089","1397034158","1397034196","1397034049","1397034124","1397034240"],"photo_ids_order":["1397034049","1397034089","1397034124","1397034158","1397034196","1397034240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1fbf08f259ab6c08edead09deb2b960.jpg","text":"TemporaryFile(/tmp/multipartBody6325247735707031176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_12_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65288e44fa3ef5f760cc4621b10bc48a.jpg","text":"TemporaryFile(/tmp/multipartBody4746271969295571291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_12_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e879ec52bc2f7cbafe1b3c16c37d9ea.jpg","text":"TemporaryFile(/tmp/multipartBody645262390221096716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_13_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4674bc8750c3b74b91b4789004a19b4.jpg","text":"TemporaryFile(/tmp/multipartBody7409526654031058951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_12_25_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80ebe3b64b744b91ed41c56de45b59fa.jpg","text":"TemporaryFile(/tmp/multipartBody1294346515497233816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_12_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47031d8f6bd4e35a0a2b8bc179856cb3.jpg","text":"TemporaryFile(/tmp/multipartBody2162564185982912599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486243217,"filename":"image_30112025_06_13_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397034124","file1":"1397034089","file0":"1397034049","file4":"1397034196","file5":"1397034240","file3":"1397034158"},"map_files_photo_id_array":[{"photo_id":"1397034240","filename":"file5"},{"photo_id":"1397034124","filename":"file2"},{"photo_id":"1397034196","filename":"file4"},{"photo_id":"1397034089","filename":"file1"},{"photo_id":"1397034049","filename":"file0"},{"photo_id":"1397034158","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397034089":["hashtag1","hashtag2"]},{"1397034158":["hashtag1","hashtag2"]},{"1397034196":["hashtag1","hashtag2"]},{"1397034049":["hashtag1","hashtag2"]},{"1397034124":["hashtag1","hashtag2"]},{"1397034240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397034089, 1397034158, 1397034196, 1397034049, 1397034124, 1397034240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22749137878418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:03:41.966607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/08/image_31102025_12_08_25_2677.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_29_3652.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_32_2787.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_34_2562.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_38_3626.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_41_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_25_2677.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_29_3652.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_32_2787.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_34_2562.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_38_3626.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_41_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397034584","1397034524","1397034452","1397034583","1397034562","1397034489"],"photo_ids_order":["1397034452","1397034489","1397034524","1397034562","1397034583","1397034584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abc46b5a40f6f5b8a1d36f5df01d7947.jpg","text":"TemporaryFile(/tmp/multipartBody5704928313830622257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_41_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/30/913bc4be5410cdbfc83a268cd501ca19.jpg","text":"TemporaryFile(/tmp/multipartBody3794203989968837351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_32_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/30/96055fb8d28b722a30051c8105bd7ece.jpg","text":"TemporaryFile(/tmp/multipartBody4171654169940927304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_25_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/30/423124364c30d5cf89f6d80773e97ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1282030257089046113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_38_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/30/9dfb4852f4ab358e177d38a1de62ff83.jpg","text":"TemporaryFile(/tmp/multipartBody383498165203586601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_34_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/30/f9c74c3d76ed11e56a1986b33d393913.jpg","text":"TemporaryFile(/tmp/multipartBody1071408838190561399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486282862,"filename":"image_31102025_12_08_29_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397034524","file1":"1397034489","file0":"1397034452","file4":"1397034583","file5":"1397034584","file3":"1397034562"},"map_files_photo_id_array":[{"photo_id":"1397034584","filename":"file5"},{"photo_id":"1397034524","filename":"file2"},{"photo_id":"1397034583","filename":"file4"},{"photo_id":"1397034489","filename":"file1"},{"photo_id":"1397034452","filename":"file0"},{"photo_id":"1397034562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397034584":["hashtag1","hashtag2"]},{"1397034524":["hashtag1","hashtag2"]},{"1397034452":["hashtag1","hashtag2"]},{"1397034583":["hashtag1","hashtag2"]},{"1397034562":["hashtag1","hashtag2"]},{"1397034489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397034584, 1397034524, 1397034452, 1397034583, 1397034562, 1397034489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.654247760772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:04:22.331891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_25_10632.jpg', '/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_34_9652.jpg', '/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_44_9615.jpg', '/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_55_10603.jpg', '/home/pi/Desktop/images/30112025/06/13/image_30112025_06_14_04_9695.jpg', '/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_25_10632.jpg
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_34_9652.jpg
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_44_9615.jpg
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_13_55_10603.jpg
/home/pi/Desktop/images/30112025/06/13/image_30112025_06_14_04_9695.jpg
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_14_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397034680","1397034683","1397034679","1397034676","1397034661","1397034639"],"photo_ids_order":["1397034639","1397034661","1397034676","1397034679","1397034680","1397034683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c2906cbe75d06e543d758f44838aedd.jpg","text":"TemporaryFile(/tmp/multipartBody6019438467206996645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_14_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d87c727f1bebb988d194eeb27978d270.jpg","text":"TemporaryFile(/tmp/multipartBody9051645944651548436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_14_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6a9b71bc7ddc0d9b025f5a8551d40e9.jpg","text":"TemporaryFile(/tmp/multipartBody955884993027411319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_13_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fa9bfb747c7f5d1285465dc88d6eb28.jpg","text":"TemporaryFile(/tmp/multipartBody6356226280770221591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_13_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2dd8ac10999e826bf6c86e4c45be124b.jpg","text":"TemporaryFile(/tmp/multipartBody6370429643320755371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_13_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b0df0d9cf9b64a00bf5744fb0c1880c.jpg","text":"TemporaryFile(/tmp/multipartBody5264151806950021124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486323017,"filename":"image_30112025_06_13_25_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397034676","file1":"1397034661","file0":"1397034639","file4":"1397034680","file5":"1397034683","file3":"1397034679"},"map_files_photo_id_array":[{"photo_id":"1397034683","filename":"file5"},{"photo_id":"1397034676","filename":"file2"},{"photo_id":"1397034680","filename":"file4"},{"photo_id":"1397034661","filename":"file1"},{"photo_id":"1397034639","filename":"file0"},{"photo_id":"1397034679","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397034680":["hashtag1","hashtag2"]},{"1397034683":["hashtag1","hashtag2"]},{"1397034679":["hashtag1","hashtag2"]},{"1397034676":["hashtag1","hashtag2"]},{"1397034661":["hashtag1","hashtag2"]},{"1397034639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397034680, 1397034683, 1397034679, 1397034676, 1397034661, 1397034639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5911226272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:05:02.995938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_25_10643.jpg', '/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_34_9719.jpg', '/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_44_9631.jpg', '/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_55_10768.jpg', '/home/pi/Desktop/images/30112025/06/14/image_30112025_06_15_04_9583.jpg', '/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_14_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_25_10643.jpg
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_34_9719.jpg
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_44_9631.jpg
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_14_55_10768.jpg
/home/pi/Desktop/images/30112025/06/14/image_30112025_06_15_04_9583.jpg
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_14_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397034776","1397034920","1397034847","1397034739","1397034811","1397034882"],"photo_ids_order":["1397034739","1397034776","1397034811","1397034847","1397034882","1397034920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e113009d716ed345f46f969c39a02ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7996219369524403880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_14_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1469e08436372ac4952a8c1208c120a5.jpg","text":"TemporaryFile(/tmp/multipartBody9050210977571678398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_15_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3352adf9df7cf44d69f55308df0c8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5610456100601182592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_14_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae1b79463d16e81ff35bc4da6305ae91.jpg","text":"TemporaryFile(/tmp/multipartBody8109916731452417460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_14_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34d12af95295f492c3533cd0c0b4740e.jpg","text":"TemporaryFile(/tmp/multipartBody6300697693130239990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_14_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ee9152b70ee09a2a2f1922a5bbb590f.jpg","text":"TemporaryFile(/tmp/multipartBody287514515233526691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486363735,"filename":"image_30112025_06_15_04_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397034811","file1":"1397034776","file0":"1397034739","file4":"1397034882","file5":"1397034920","file3":"1397034847"},"map_files_photo_id_array":[{"photo_id":"1397034920","filename":"file5"},{"photo_id":"1397034811","filename":"file2"},{"photo_id":"1397034882","filename":"file4"},{"photo_id":"1397034776","filename":"file1"},{"photo_id":"1397034739","filename":"file0"},{"photo_id":"1397034847","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397034776":["hashtag1","hashtag2"]},{"1397034920":["hashtag1","hashtag2"]},{"1397034847":["hashtag1","hashtag2"]},{"1397034739":["hashtag1","hashtag2"]},{"1397034811":["hashtag1","hashtag2"]},{"1397034882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397034776, 1397034920, 1397034847, 1397034739, 1397034811, 1397034882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.286617040634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:05:42.297300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/08/image_31102025_12_08_43_2774.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_47_3713.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_50_2694.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_53_2644.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_55_2708.jpg', '/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_59_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_43_2774.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_47_3713.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_50_2694.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_53_2644.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_55_2708.jpg
/home/pi/Desktop/images/31102025/12/08/image_31102025_12_08_59_3763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035087","1397035084","1397035086","1397035089","1397035059","1397035088"],"photo_ids_order":["1397035059","1397035084","1397035086","1397035087","1397035088","1397035089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3376e4d696461b25993cffc076e99196.jpg","text":"TemporaryFile(/tmp/multipartBody3824653396041388398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_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/30/c9de2602286c46ef8364cefdab506466.jpg","text":"TemporaryFile(/tmp/multipartBody5232823538177435992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_47_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/781d17e01468af29675823c7733a4723.jpg","text":"TemporaryFile(/tmp/multipartBody2341814211720961785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_50_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0a8dfb7a31af0ca5775be75804bf270.jpg","text":"TemporaryFile(/tmp/multipartBody6474575183617344392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_59_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06c6432e75febf42e5859aed680d4f03.jpg","text":"TemporaryFile(/tmp/multipartBody4190198437333604011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_43_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4b9a29be8defcaa139e56ae67fff5f5.jpg","text":"TemporaryFile(/tmp/multipartBody7775097652218342122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486403177,"filename":"image_31102025_12_08_55_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035086","file1":"1397035084","file0":"1397035059","file4":"1397035088","file5":"1397035089","file3":"1397035087"},"map_files_photo_id_array":[{"photo_id":"1397035089","filename":"file5"},{"photo_id":"1397035086","filename":"file2"},{"photo_id":"1397035088","filename":"file4"},{"photo_id":"1397035084","filename":"file1"},{"photo_id":"1397035059","filename":"file0"},{"photo_id":"1397035087","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035087":["hashtag1","hashtag2"]},{"1397035084":["hashtag1","hashtag2"]},{"1397035086":["hashtag1","hashtag2"]},{"1397035089":["hashtag1","hashtag2"]},{"1397035059":["hashtag1","hashtag2"]},{"1397035088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035087, 1397035084, 1397035086, 1397035089, 1397035059, 1397035088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.658665895462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:06:22.433512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_25_10758.jpg', '/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_35_9634.jpg', '/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_44_9673.jpg', '/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_55_10596.jpg', '/home/pi/Desktop/images/30112025/06/15/image_30112025_06_16_04_9606.jpg', '/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_15_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_25_10758.jpg
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_35_9634.jpg
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_44_9673.jpg
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_15_55_10596.jpg
/home/pi/Desktop/images/30112025/06/15/image_30112025_06_16_04_9606.jpg
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_15_10586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035232","1397035182","1397035245","1397035254","1397035212","1397035184"],"photo_ids_order":["1397035182","1397035184","1397035212","1397035232","1397035245","1397035254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffd2b56557a3eaaedc44505740900600.jpg","text":"TemporaryFile(/tmp/multipartBody3042201343842211958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_15_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37b3150b9723d489b74ea64628d4f66e.jpg","text":"TemporaryFile(/tmp/multipartBody605998685452225283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_15_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/139583ad7e78cb22813fd2a0b031524c.jpg","text":"TemporaryFile(/tmp/multipartBody5317136667305449895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_16_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f53504f0365bac3c1a421f3d51bf2f5e.jpg","text":"TemporaryFile(/tmp/multipartBody181694249216752274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_16_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5274d53a9f216ed27d1dec6f21ab11d6.jpg","text":"TemporaryFile(/tmp/multipartBody7924252130003900042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_15_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53ee0b2de7ce56eae976b32497a9a444.jpg","text":"TemporaryFile(/tmp/multipartBody4925714907438391337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486443109,"filename":"image_30112025_06_15_35_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035212","file1":"1397035184","file0":"1397035182","file4":"1397035245","file5":"1397035254","file3":"1397035232"},"map_files_photo_id_array":[{"photo_id":"1397035254","filename":"file5"},{"photo_id":"1397035212","filename":"file2"},{"photo_id":"1397035245","filename":"file4"},{"photo_id":"1397035184","filename":"file1"},{"photo_id":"1397035182","filename":"file0"},{"photo_id":"1397035232","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035232":["hashtag1","hashtag2"]},{"1397035182":["hashtag1","hashtag2"]},{"1397035245":["hashtag1","hashtag2"]},{"1397035254":["hashtag1","hashtag2"]},{"1397035212":["hashtag1","hashtag2"]},{"1397035184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035232, 1397035182, 1397035245, 1397035254, 1397035212, 1397035184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.520071506500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:07:03.215075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_25_9680.jpg', '/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_34_9716.jpg', '/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_44_9735.jpg', '/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_55_10770.jpg', '/home/pi/Desktop/images/30112025/06/16/image_30112025_06_17_04_9561.jpg', '/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_14_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_25_9680.jpg
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_34_9716.jpg
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_44_9735.jpg
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_16_55_10770.jpg
/home/pi/Desktop/images/30112025/06/16/image_30112025_06_17_04_9561.jpg
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_14_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035261","1397035258","1397035263","1397035266","1397035260","1397035259"],"photo_ids_order":["1397035258","1397035259","1397035260","1397035261","1397035263","1397035266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d64196617cb07a105e216bbf935acfe6.jpg","text":"TemporaryFile(/tmp/multipartBody8666219374743612028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_16_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de0629e8d0bf78195b8897ba2dee2476.jpg","text":"TemporaryFile(/tmp/multipartBody6686076274651675654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_16_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25059e791bf2cdab74df935a0b6317d5.jpg","text":"TemporaryFile(/tmp/multipartBody1473542044981322872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_17_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af1a35ab067922be6e484a9f6ec9e809.jpg","text":"TemporaryFile(/tmp/multipartBody355925217523877849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_17_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a7b2785c0e0b2589d3cc4d61e67b190.jpg","text":"TemporaryFile(/tmp/multipartBody4569868169918100751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_16_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2ff08a37242ebe639d767553b48da44.jpg","text":"TemporaryFile(/tmp/multipartBody4520935137483415405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486483945,"filename":"image_30112025_06_16_34_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035260","file1":"1397035259","file0":"1397035258","file4":"1397035263","file5":"1397035266","file3":"1397035261"},"map_files_photo_id_array":[{"photo_id":"1397035266","filename":"file5"},{"photo_id":"1397035260","filename":"file2"},{"photo_id":"1397035263","filename":"file4"},{"photo_id":"1397035259","filename":"file1"},{"photo_id":"1397035258","filename":"file0"},{"photo_id":"1397035261","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035261":["hashtag1","hashtag2"]},{"1397035258":["hashtag1","hashtag2"]},{"1397035263":["hashtag1","hashtag2"]},{"1397035266":["hashtag1","hashtag2"]},{"1397035260":["hashtag1","hashtag2"]},{"1397035259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035261, 1397035258, 1397035263, 1397035266, 1397035260, 1397035259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.284963607788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:07:42.618236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/09/image_31102025_12_09_02_2861.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_04_2585.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_08_3684.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_11_2677.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_14_2900.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_16_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_02_2861.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_04_2585.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_08_3684.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_11_2677.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_14_2900.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_16_2610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.782839298248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:08:03.198864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_25_10627.jpg', '/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_34_9608.jpg', '/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_44_9891.jpg', '/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_55_10619.jpg', '/home/pi/Desktop/images/30112025/06/17/image_30112025_06_18_04_9597.jpg', '/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_14_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_25_10627.jpg
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_34_9608.jpg
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_44_9891.jpg
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_17_55_10619.jpg
/home/pi/Desktop/images/30112025/06/17/image_30112025_06_18_04_9597.jpg
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_14_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035285","1397035282","1397035281","1397035293","1397035289","1397035283"],"photo_ids_order":["1397035281","1397035282","1397035283","1397035285","1397035289","1397035293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/654ad8b3e831c9a933ea16e04d4801a4.jpg","text":"TemporaryFile(/tmp/multipartBody7869228624319461381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_17_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09a205ba5a2a4d96387becdd0d68a737.jpg","text":"TemporaryFile(/tmp/multipartBody779911606365226934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_17_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89b92b908ef9af5674a5d36ec846e37b.jpg","text":"TemporaryFile(/tmp/multipartBody3923518900385569413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_17_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77ba6bd1d5f62b35efca06250278f8a4.jpg","text":"TemporaryFile(/tmp/multipartBody4180845829771793532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_18_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa58e07a178bea46da18e0134f6abd2d.jpg","text":"TemporaryFile(/tmp/multipartBody2232015777496433177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_18_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dac3f927f092f8f1a557550c0ce1a99.jpg","text":"TemporaryFile(/tmp/multipartBody8476025812951923787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486548992,"filename":"image_30112025_06_17_44_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035283","file1":"1397035282","file0":"1397035281","file4":"1397035289","file5":"1397035293","file3":"1397035285"},"map_files_photo_id_array":[{"photo_id":"1397035293","filename":"file5"},{"photo_id":"1397035283","filename":"file2"},{"photo_id":"1397035289","filename":"file4"},{"photo_id":"1397035282","filename":"file1"},{"photo_id":"1397035281","filename":"file0"},{"photo_id":"1397035285","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035285":["hashtag1","hashtag2"]},{"1397035282":["hashtag1","hashtag2"]},{"1397035281":["hashtag1","hashtag2"]},{"1397035293":["hashtag1","hashtag2"]},{"1397035289":["hashtag1","hashtag2"]},{"1397035283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035285, 1397035282, 1397035281, 1397035293, 1397035289, 1397035283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88626456260681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:09:02.940558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_25_10737.jpg', '/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_35_9736.jpg', '/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_44_9681.jpg', '/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_54_9742.jpg', '/home/pi/Desktop/images/30112025/06/18/image_30112025_06_19_05_10634.jpg', '/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_15_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_25_10737.jpg
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_35_9736.jpg
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_44_9681.jpg
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_18_54_9742.jpg
/home/pi/Desktop/images/30112025/06/18/image_30112025_06_19_05_10634.jpg
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_15_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035301","1397035306","1397035309","1397035300","1397035299","1397035302"],"photo_ids_order":["1397035299","1397035300","1397035301","1397035302","1397035306","1397035309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c91ceaa5706b15551717c0be49084e69.jpg","text":"TemporaryFile(/tmp/multipartBody1987726092805151343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_18_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e08fcbf5d7bc31eefbc7d34b475f7796.jpg","text":"TemporaryFile(/tmp/multipartBody3312241791670605145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_19_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fea1ea66208053d43378881ed34b34f.jpg","text":"TemporaryFile(/tmp/multipartBody4735715273499059607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_19_15_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce4cf1354cec2bdc97e44a99c62bc220.jpg","text":"TemporaryFile(/tmp/multipartBody6153742189021756154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_18_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77074943965f4f8fe53d9239bf423c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7396139916915863847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_18_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b669ac4c591e35e54bc19c6b18b070e.jpg","text":"TemporaryFile(/tmp/multipartBody4495222477416422091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486603838,"filename":"image_30112025_06_18_54_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035301","file1":"1397035300","file0":"1397035299","file4":"1397035306","file5":"1397035309","file3":"1397035302"},"map_files_photo_id_array":[{"photo_id":"1397035309","filename":"file5"},{"photo_id":"1397035301","filename":"file2"},{"photo_id":"1397035306","filename":"file4"},{"photo_id":"1397035300","filename":"file1"},{"photo_id":"1397035299","filename":"file0"},{"photo_id":"1397035302","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035301":["hashtag1","hashtag2"]},{"1397035306":["hashtag1","hashtag2"]},{"1397035309":["hashtag1","hashtag2"]},{"1397035300":["hashtag1","hashtag2"]},{"1397035299":["hashtag1","hashtag2"]},{"1397035302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035301, 1397035306, 1397035309, 1397035300, 1397035299, 1397035302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19537353515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:09:41.954178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/09/image_31102025_12_09_02_2861.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_04_2585.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_08_3684.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_11_2677.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_14_2900.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_16_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_02_2861.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_04_2585.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_08_3684.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_11_2677.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_14_2900.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_16_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":["1397035319","1397035321","1397035318","1397035320","1397035314","1397035317"],"photo_ids_order":["1397035314","1397035317","1397035318","1397035319","1397035320","1397035321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c480411344f933f1f09893d17511e64.jpg","text":"TemporaryFile(/tmp/multipartBody4684352048095424026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_11_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0e0821f4718d5b7a078838ba5120ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2949904422052480208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_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/30/51e7cf461f6e0f245efd10a1c34980b2.jpg","text":"TemporaryFile(/tmp/multipartBody8335641680462557055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_08_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/30/7b64a8fde9de271129b1d8b476bd1b80.jpg","text":"TemporaryFile(/tmp/multipartBody5420976637986266268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_14_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/30/805dd999742255c9a0986e382a1c7f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7921008088518420258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_02_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/30/f0d5cea7961c5acdfb49f2e776a59021.jpg","text":"TemporaryFile(/tmp/multipartBody4868243349352236653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486642759,"filename":"image_31102025_12_09_04_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035318","file1":"1397035317","file0":"1397035314","file4":"1397035320","file5":"1397035321","file3":"1397035319"},"map_files_photo_id_array":[{"photo_id":"1397035321","filename":"file5"},{"photo_id":"1397035318","filename":"file2"},{"photo_id":"1397035320","filename":"file4"},{"photo_id":"1397035317","filename":"file1"},{"photo_id":"1397035314","filename":"file0"},{"photo_id":"1397035319","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035319":["hashtag1","hashtag2"]},{"1397035321":["hashtag1","hashtag2"]},{"1397035318":["hashtag1","hashtag2"]},{"1397035320":["hashtag1","hashtag2"]},{"1397035314":["hashtag1","hashtag2"]},{"1397035317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035319, 1397035321, 1397035318, 1397035320, 1397035314, 1397035317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95069479942322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:10:22.148636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_24_9678.jpg', '/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_35_10548.jpg', '/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_45_9708.jpg', '/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_54_9707.jpg', '/home/pi/Desktop/images/30112025/06/19/image_30112025_06_20_05_10661.jpg', '/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_14_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_24_9678.jpg
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_35_10548.jpg
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_45_9708.jpg
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_19_54_9707.jpg
/home/pi/Desktop/images/30112025/06/19/image_30112025_06_20_05_10661.jpg
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_14_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035331","1397035325","1397035334","1397035336","1397035333","1397035327"],"photo_ids_order":["1397035325","1397035327","1397035331","1397035333","1397035334","1397035336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/463edefe193111a6ce40fa78d9853435.jpg","text":"TemporaryFile(/tmp/multipartBody7014174290338310663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_19_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aa587bb4d58b5abd21d5139f3ec2b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5530114789540707638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_19_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/011122f2cdb69cad90b7a91144fb3a45.jpg","text":"TemporaryFile(/tmp/multipartBody8180298351385378901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_20_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd1371ba50015c05b3b983b88b2524ec.jpg","text":"TemporaryFile(/tmp/multipartBody4804421980077854691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_20_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7990d7c5b1893e1516b5b7359293250a.jpg","text":"TemporaryFile(/tmp/multipartBody2309366557472799052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_19_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46f53a6283bea9d235cca02665567f7b.jpg","text":"TemporaryFile(/tmp/multipartBody700325231940671088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486682829,"filename":"image_30112025_06_19_35_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035331","file1":"1397035327","file0":"1397035325","file4":"1397035334","file5":"1397035336","file3":"1397035333"},"map_files_photo_id_array":[{"photo_id":"1397035336","filename":"file5"},{"photo_id":"1397035331","filename":"file2"},{"photo_id":"1397035334","filename":"file4"},{"photo_id":"1397035327","filename":"file1"},{"photo_id":"1397035325","filename":"file0"},{"photo_id":"1397035333","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035331":["hashtag1","hashtag2"]},{"1397035325":["hashtag1","hashtag2"]},{"1397035334":["hashtag1","hashtag2"]},{"1397035336":["hashtag1","hashtag2"]},{"1397035333":["hashtag1","hashtag2"]},{"1397035327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035331, 1397035325, 1397035334, 1397035336, 1397035333, 1397035327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91584873199463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:11:02.945713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_24_9643.jpg', '/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_35_10628.jpg', '/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_45_9742.jpg', '/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_54_9618.jpg', '/home/pi/Desktop/images/30112025/06/20/image_30112025_06_21_05_10549.jpg', '/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_14_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_24_9643.jpg
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_35_10628.jpg
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_45_9742.jpg
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_20_54_9618.jpg
/home/pi/Desktop/images/30112025/06/20/image_30112025_06_21_05_10549.jpg
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_14_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035346","1397035340","1397035339","1397035338","1397035343","1397035337"],"photo_ids_order":["1397035337","1397035338","1397035339","1397035340","1397035343","1397035346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13c081e870e1296e86fa20bd25fd3f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8655338541017255759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_21_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18d09692115c9e28ab5d9c9d613c0122.jpg","text":"TemporaryFile(/tmp/multipartBody6278323344253352089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_20_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f71c4105a8c7bb58030f7f32e2ddb292.jpg","text":"TemporaryFile(/tmp/multipartBody1220423136516400113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_20_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc6530320458d51ecdc4b94bb47c8b43.jpg","text":"TemporaryFile(/tmp/multipartBody1288528370936802100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_20_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a709c698aa548edcde7624b1f07f024.jpg","text":"TemporaryFile(/tmp/multipartBody5623429241655729926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_21_05_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2275015b93b9d2ecbb00630bd430de67.jpg","text":"TemporaryFile(/tmp/multipartBody4032090572753430856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486723701,"filename":"image_30112025_06_20_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035339","file1":"1397035338","file0":"1397035337","file4":"1397035343","file5":"1397035346","file3":"1397035340"},"map_files_photo_id_array":[{"photo_id":"1397035346","filename":"file5"},{"photo_id":"1397035339","filename":"file2"},{"photo_id":"1397035343","filename":"file4"},{"photo_id":"1397035338","filename":"file1"},{"photo_id":"1397035337","filename":"file0"},{"photo_id":"1397035340","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035346":["hashtag1","hashtag2"]},{"1397035340":["hashtag1","hashtag2"]},{"1397035339":["hashtag1","hashtag2"]},{"1397035338":["hashtag1","hashtag2"]},{"1397035343":["hashtag1","hashtag2"]},{"1397035337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035346, 1397035340, 1397035339, 1397035338, 1397035343, 1397035337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551894664764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:11:42.289053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/09/image_31102025_12_09_20_3543.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_23_2643.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_26_3627.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_29_2704.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_32_2773.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_35_2934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_20_3543.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_23_2643.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_26_3627.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_29_2704.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_32_2773.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_35_2934.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035360","1397035357","1397035359","1397035353","1397035361","1397035358"],"photo_ids_order":["1397035353","1397035357","1397035358","1397035359","1397035360","1397035361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/825ff327de887095b45bfe4a97d6441a.jpg","text":"TemporaryFile(/tmp/multipartBody2185412827690000539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_32_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3031dfd2c8dabf63c96381aba09488c9.jpg","text":"TemporaryFile(/tmp/multipartBody5695125247580771103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_23_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95fcf69ef9a8a3856f6390de44ee7a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1718188581051929319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_29_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9ba5f0f23255e009e62ab9c11c9cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody6522099204712479001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_20_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/30/1c072b0ba7d694618611f87a98f2151b.jpg","text":"TemporaryFile(/tmp/multipartBody3656280806023745692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_35_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/30/21e306531f89b6f888a6661f822528ff.jpg","text":"TemporaryFile(/tmp/multipartBody2447768983024473451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486763232,"filename":"image_31102025_12_09_26_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035358","file1":"1397035357","file0":"1397035353","file4":"1397035360","file5":"1397035361","file3":"1397035359"},"map_files_photo_id_array":[{"photo_id":"1397035361","filename":"file5"},{"photo_id":"1397035358","filename":"file2"},{"photo_id":"1397035360","filename":"file4"},{"photo_id":"1397035357","filename":"file1"},{"photo_id":"1397035353","filename":"file0"},{"photo_id":"1397035359","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035360":["hashtag1","hashtag2"]},{"1397035357":["hashtag1","hashtag2"]},{"1397035359":["hashtag1","hashtag2"]},{"1397035353":["hashtag1","hashtag2"]},{"1397035361":["hashtag1","hashtag2"]},{"1397035358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035360, 1397035357, 1397035359, 1397035353, 1397035361, 1397035358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88301634788513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:12:22.461228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_24_9682.jpg', '/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_35_10618.jpg', '/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_44_9679.jpg', '/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_55_10646.jpg', '/home/pi/Desktop/images/30112025/06/21/image_30112025_06_22_05_9651.jpg', '/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_24_9682.jpg
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_35_10618.jpg
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_44_9679.jpg
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_21_55_10646.jpg
/home/pi/Desktop/images/30112025/06/21/image_30112025_06_22_05_9651.jpg
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_14_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035365","1397035368","1397035373","1397035376","1397035379","1397035370"],"photo_ids_order":["1397035365","1397035368","1397035370","1397035373","1397035376","1397035379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff8da92c7e2e4bfbee9813b7ba26c8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3484205562210557116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_21_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/945bb50ac1d9afd1c237742e2b95badf.jpg","text":"TemporaryFile(/tmp/multipartBody2227585790298339955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_21_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/250318a8812365ef216b47d7ae946f75.jpg","text":"TemporaryFile(/tmp/multipartBody890855998040561838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_21_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/564874166c75e48170942fc355bd3b29.jpg","text":"TemporaryFile(/tmp/multipartBody6817405717747709281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_22_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/005e76ffde2d72bbafbde340504ff208.jpg","text":"TemporaryFile(/tmp/multipartBody4224096243780246330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_22_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e70beccc728113982ea4dfba5e3780e9.jpg","text":"TemporaryFile(/tmp/multipartBody3643381013507868639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486803182,"filename":"image_30112025_06_21_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035370","file1":"1397035368","file0":"1397035365","file4":"1397035376","file5":"1397035379","file3":"1397035373"},"map_files_photo_id_array":[{"photo_id":"1397035379","filename":"file5"},{"photo_id":"1397035370","filename":"file2"},{"photo_id":"1397035376","filename":"file4"},{"photo_id":"1397035368","filename":"file1"},{"photo_id":"1397035365","filename":"file0"},{"photo_id":"1397035373","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035365":["hashtag1","hashtag2"]},{"1397035368":["hashtag1","hashtag2"]},{"1397035373":["hashtag1","hashtag2"]},{"1397035376":["hashtag1","hashtag2"]},{"1397035379":["hashtag1","hashtag2"]},{"1397035370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035365, 1397035368, 1397035373, 1397035376, 1397035379, 1397035370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48051619529724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:13:03.388061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_25_10737.jpg', '/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_35_9626.jpg', '/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_44_9642.jpg', '/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_55_10658.jpg', '/home/pi/Desktop/images/30112025/06/22/image_30112025_06_23_05_9641.jpg', '/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_14_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_25_10737.jpg
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_35_9626.jpg
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_44_9642.jpg
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_22_55_10658.jpg
/home/pi/Desktop/images/30112025/06/22/image_30112025_06_23_05_9641.jpg
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_14_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035381","1397035380","1397035383","1397035386","1397035388","1397035382"],"photo_ids_order":["1397035380","1397035381","1397035382","1397035383","1397035386","1397035388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7cc885fa20170fa8239e6866339cdab.jpg","text":"TemporaryFile(/tmp/multipartBody1906302398674416548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_22_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d232c0f946c24225a785dda0a6ed959b.jpg","text":"TemporaryFile(/tmp/multipartBody9082427268278138251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_22_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/666be1ec045f7f247dc63259eab6b6df.jpg","text":"TemporaryFile(/tmp/multipartBody7591461069371117365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_22_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e043502764714a06935f4a2ddecc5d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6605716086104590758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_23_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/088fa8a5479f18df8c5000a80382339e.jpg","text":"TemporaryFile(/tmp/multipartBody8383296640734239358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_23_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/201416878a6aa20ba3c7c187462021ea.jpg","text":"TemporaryFile(/tmp/multipartBody5678450486565921150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486844212,"filename":"image_30112025_06_22_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035382","file1":"1397035381","file0":"1397035380","file4":"1397035386","file5":"1397035388","file3":"1397035383"},"map_files_photo_id_array":[{"photo_id":"1397035388","filename":"file5"},{"photo_id":"1397035382","filename":"file2"},{"photo_id":"1397035386","filename":"file4"},{"photo_id":"1397035381","filename":"file1"},{"photo_id":"1397035380","filename":"file0"},{"photo_id":"1397035383","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035381":["hashtag1","hashtag2"]},{"1397035380":["hashtag1","hashtag2"]},{"1397035383":["hashtag1","hashtag2"]},{"1397035386":["hashtag1","hashtag2"]},{"1397035388":["hashtag1","hashtag2"]},{"1397035382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035381, 1397035380, 1397035383, 1397035386, 1397035388, 1397035382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44312238693237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:13:42.823589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/09/image_31102025_12_09_37_2574.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_41_3749.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_44_2649.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_46_2609.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_50_3640.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_52_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_37_2574.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_41_3749.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_44_2649.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_46_2609.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_50_3640.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_52_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":["1397035400","1397035403","1397035402","1397035395","1397035398","1397035401"],"photo_ids_order":["1397035395","1397035398","1397035400","1397035401","1397035402","1397035403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea3dae605c57dbd0987aa4b3427fbace.jpg","text":"TemporaryFile(/tmp/multipartBody3095595942619761270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_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/30/994195b0cd89896227455947da737421.jpg","text":"TemporaryFile(/tmp/multipartBody4769213262329910629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a429e9192692138f6e9e15635e8b43e.jpg","text":"TemporaryFile(/tmp/multipartBody5695550383319811445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_50_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/806b509a978ec79ed63f1636d63357fb.jpg","text":"TemporaryFile(/tmp/multipartBody5533952534122927235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_37_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/30/fb92cbc688be1160a62222d44989d689.jpg","text":"TemporaryFile(/tmp/multipartBody1194198578694179312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_41_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/30/a6eded7a8a1a878f3603088709157b77.jpg","text":"TemporaryFile(/tmp/multipartBody388619151313658126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486883714,"filename":"image_31102025_12_09_46_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035400","file1":"1397035398","file0":"1397035395","file4":"1397035402","file5":"1397035403","file3":"1397035401"},"map_files_photo_id_array":[{"photo_id":"1397035403","filename":"file5"},{"photo_id":"1397035400","filename":"file2"},{"photo_id":"1397035402","filename":"file4"},{"photo_id":"1397035398","filename":"file1"},{"photo_id":"1397035395","filename":"file0"},{"photo_id":"1397035401","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035400":["hashtag1","hashtag2"]},{"1397035403":["hashtag1","hashtag2"]},{"1397035402":["hashtag1","hashtag2"]},{"1397035395":["hashtag1","hashtag2"]},{"1397035398":["hashtag1","hashtag2"]},{"1397035401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035400, 1397035403, 1397035402, 1397035395, 1397035398, 1397035401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7922158241272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:14:21.984910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_24_10188.jpg', '/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_35_10105.jpg', '/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_44_9585.jpg', '/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_54_10228.jpg', '/home/pi/Desktop/images/30112025/06/23/image_30112025_06_24_04_9689.jpg', '/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_14_10192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_24_10188.jpg
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_35_10105.jpg
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_44_9585.jpg
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_23_54_10228.jpg
/home/pi/Desktop/images/30112025/06/23/image_30112025_06_24_04_9689.jpg
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_14_10192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035415","1397035417","1397035407","1397035422","1397035419","1397035410"],"photo_ids_order":["1397035407","1397035410","1397035415","1397035417","1397035419","1397035422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0870791b15925baca775d6045f7edf17.jpg","text":"TemporaryFile(/tmp/multipartBody2174819045473804105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_23_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7792cc7f139f83382b9e1e3f05704fad.jpg","text":"TemporaryFile(/tmp/multipartBody7592856130683003704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_23_54_10228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b25157eb2a66997010713729231e79c9.jpg","text":"TemporaryFile(/tmp/multipartBody8113804097507962720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_23_24_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5cfb2f1a3b44506eb92f2d86026eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody6432708262148121000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_24_14_10192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e580ed221ef751952084e0fbd59772c3.jpg","text":"TemporaryFile(/tmp/multipartBody2764634178475938301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_24_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88687c9eb1d407c1492df06091c05554.jpg","text":"TemporaryFile(/tmp/multipartBody7975557324920863771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486922728,"filename":"image_30112025_06_23_35_10105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035415","file1":"1397035410","file0":"1397035407","file4":"1397035419","file5":"1397035422","file3":"1397035417"},"map_files_photo_id_array":[{"photo_id":"1397035422","filename":"file5"},{"photo_id":"1397035415","filename":"file2"},{"photo_id":"1397035419","filename":"file4"},{"photo_id":"1397035410","filename":"file1"},{"photo_id":"1397035407","filename":"file0"},{"photo_id":"1397035417","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035415":["hashtag1","hashtag2"]},{"1397035417":["hashtag1","hashtag2"]},{"1397035407":["hashtag1","hashtag2"]},{"1397035422":["hashtag1","hashtag2"]},{"1397035419":["hashtag1","hashtag2"]},{"1397035410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035415, 1397035417, 1397035407, 1397035422, 1397035419, 1397035410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65973663330078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:15:02.792813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_25_10558.jpg', '/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_35_9698.jpg', '/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_44_9650.jpg', '/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_55_10705.jpg', '/home/pi/Desktop/images/30112025/06/24/image_30112025_06_25_04_9585.jpg', '/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_14_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_25_10558.jpg
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_35_9698.jpg
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_44_9650.jpg
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_24_55_10705.jpg
/home/pi/Desktop/images/30112025/06/24/image_30112025_06_25_04_9585.jpg
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_14_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035430","1397035424","1397035433","1397035427","1397035426","1397035428"],"photo_ids_order":["1397035424","1397035426","1397035427","1397035428","1397035430","1397035433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afe2157b3a37a60bb365bc71bf87476f.jpg","text":"TemporaryFile(/tmp/multipartBody5833662703225661768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_25_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/427862e715c9340dca1884648817d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody9176535040777919231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_24_25_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1fe62d7bd7d6a5974972250a6afb864.jpg","text":"TemporaryFile(/tmp/multipartBody2871211624022602446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_25_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7283ef2008c7477bdeca5265636be6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2480842211234768819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_24_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72dacf270b4b46a568125f1d48e15383.jpg","text":"TemporaryFile(/tmp/multipartBody5761100949493896109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_24_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea94f2520bfa8abe00555aaa7f71c77f.jpg","text":"TemporaryFile(/tmp/multipartBody1747397943426793799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764486963549,"filename":"image_30112025_06_24_55_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035427","file1":"1397035426","file0":"1397035424","file4":"1397035430","file5":"1397035433","file3":"1397035428"},"map_files_photo_id_array":[{"photo_id":"1397035433","filename":"file5"},{"photo_id":"1397035427","filename":"file2"},{"photo_id":"1397035430","filename":"file4"},{"photo_id":"1397035426","filename":"file1"},{"photo_id":"1397035424","filename":"file0"},{"photo_id":"1397035428","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035430":["hashtag1","hashtag2"]},{"1397035424":["hashtag1","hashtag2"]},{"1397035433":["hashtag1","hashtag2"]},{"1397035427":["hashtag1","hashtag2"]},{"1397035426":["hashtag1","hashtag2"]},{"1397035428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035430, 1397035424, 1397035433, 1397035427, 1397035426, 1397035428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18998193740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:15:42.201083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/09/image_31102025_12_09_56_3557.jpg', '/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_59_2821.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_01_2571.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_04_2906.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_08_3552.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_10_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/12/09/image_31102025_12_09_56_3557.jpg
/home/pi/Desktop/images/31102025/12/09/image_31102025_12_09_59_2821.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_01_2571.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_04_2906.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_08_3552.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_10_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":["1397035445","1397035448","1397035447","1397035444","1397035446","1397035440"],"photo_ids_order":["1397035440","1397035444","1397035445","1397035446","1397035447","1397035448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb49c054c4797ac8a540acdde8e5f9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5551572012762521163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_10_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/30/1b8c0fd5fe2eb57f02879830f67c0e13.jpg","text":"TemporaryFile(/tmp/multipartBody5830612530486681406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_10_10_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4a51407851b0ef1cde17934ec8a381e.jpg","text":"TemporaryFile(/tmp/multipartBody7998920166460927269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_10_08_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/30/8cdf638fca5b99c438513af227d2513d.jpg","text":"TemporaryFile(/tmp/multipartBody506820767521160178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_09_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/30/2e9f8b181d01e62626cd3e7dad362450.jpg","text":"TemporaryFile(/tmp/multipartBody1352829269374887670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_10_04_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/30/dac50cbea2eb77d69a775e65db4c01a1.jpg","text":"TemporaryFile(/tmp/multipartBody8354433010704733413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487003106,"filename":"image_31102025_12_09_56_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035445","file1":"1397035444","file0":"1397035440","file4":"1397035447","file5":"1397035448","file3":"1397035446"},"map_files_photo_id_array":[{"photo_id":"1397035448","filename":"file5"},{"photo_id":"1397035445","filename":"file2"},{"photo_id":"1397035447","filename":"file4"},{"photo_id":"1397035444","filename":"file1"},{"photo_id":"1397035440","filename":"file0"},{"photo_id":"1397035446","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035445":["hashtag1","hashtag2"]},{"1397035448":["hashtag1","hashtag2"]},{"1397035447":["hashtag1","hashtag2"]},{"1397035444":["hashtag1","hashtag2"]},{"1397035446":["hashtag1","hashtag2"]},{"1397035440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035445, 1397035448, 1397035447, 1397035444, 1397035446, 1397035440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.492889642715454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:16:22.350074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_25_10584.jpg', '/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_35_10131.jpg', '/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_44_9570.jpg', '/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_55_10582.jpg', '/home/pi/Desktop/images/30112025/06/25/image_30112025_06_26_05_9576.jpg', '/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_14_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_25_10584.jpg
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_35_10131.jpg
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_44_9570.jpg
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_25_55_10582.jpg
/home/pi/Desktop/images/30112025/06/25/image_30112025_06_26_05_9576.jpg
/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_14_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035451","1397035461","1397035464","1397035467","1397035454","1397035457"],"photo_ids_order":["1397035451","1397035454","1397035457","1397035461","1397035464","1397035467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f567e970d4779a242126435d9b8602cd.jpg","text":"TemporaryFile(/tmp/multipartBody9015324954542512897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_25_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d327f83585aec4eedb110733815c9ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3208843435387848758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_25_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffe3e02a42380a1380e36f5108cb73bc.jpg","text":"TemporaryFile(/tmp/multipartBody4596239248623237411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_26_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e02bdf331f2e4e6424535a23dc800b26.jpg","text":"TemporaryFile(/tmp/multipartBody1572758732280859856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_26_14_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/183397150a16c063dd979045b3d08158.jpg","text":"TemporaryFile(/tmp/multipartBody8087985234915180019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_25_35_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/282fe2e3c3280a856dd082f2a5ee932f.jpg","text":"TemporaryFile(/tmp/multipartBody8898777842907991969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487043033,"filename":"image_30112025_06_25_44_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035457","file1":"1397035454","file0":"1397035451","file4":"1397035464","file5":"1397035467","file3":"1397035461"},"map_files_photo_id_array":[{"photo_id":"1397035467","filename":"file5"},{"photo_id":"1397035457","filename":"file2"},{"photo_id":"1397035464","filename":"file4"},{"photo_id":"1397035454","filename":"file1"},{"photo_id":"1397035451","filename":"file0"},{"photo_id":"1397035461","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035451":["hashtag1","hashtag2"]},{"1397035461":["hashtag1","hashtag2"]},{"1397035464":["hashtag1","hashtag2"]},{"1397035467":["hashtag1","hashtag2"]},{"1397035454":["hashtag1","hashtag2"]},{"1397035457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035451, 1397035461, 1397035464, 1397035467, 1397035454, 1397035457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.794492959976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:17:03.410008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_24_10153.jpg', '/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_34_9660.jpg', '/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_45_10708.jpg', '/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_55_9694.jpg', '/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_15_10607.jpg', '/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_25_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_24_10153.jpg
/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_34_9660.jpg
/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_45_10708.jpg
/home/pi/Desktop/images/30112025/06/26/image_30112025_06_26_55_9694.jpg
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_15_10607.jpg
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_25_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035471","1397035474","1397035470","1397035472","1397035469","1397035478"],"photo_ids_order":["1397035469","1397035470","1397035471","1397035472","1397035474","1397035478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf9bddf063ddbf1cda06b61334260df9.jpg","text":"TemporaryFile(/tmp/multipartBody8648917232418586814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_26_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d328c141c965f8484cf14cfe77225c7.jpg","text":"TemporaryFile(/tmp/multipartBody4113284457421150288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_27_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8896133d7b45e1c687e1ec911e331dc.jpg","text":"TemporaryFile(/tmp/multipartBody1736332926211843648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_26_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59a340065bf9c055c0198177e098273c.jpg","text":"TemporaryFile(/tmp/multipartBody4586429712388665327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_26_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb2c5ce634ff7993da0eb3fd2736c30f.jpg","text":"TemporaryFile(/tmp/multipartBody5343819622805612345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_26_24_10153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9657854138e13522d969450f55f7c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4134278216958146941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487084191,"filename":"image_30112025_06_27_25_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035471","file1":"1397035470","file0":"1397035469","file4":"1397035474","file5":"1397035478","file3":"1397035472"},"map_files_photo_id_array":[{"photo_id":"1397035478","filename":"file5"},{"photo_id":"1397035471","filename":"file2"},{"photo_id":"1397035474","filename":"file4"},{"photo_id":"1397035470","filename":"file1"},{"photo_id":"1397035469","filename":"file0"},{"photo_id":"1397035472","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035471":["hashtag1","hashtag2"]},{"1397035474":["hashtag1","hashtag2"]},{"1397035470":["hashtag1","hashtag2"]},{"1397035472":["hashtag1","hashtag2"]},{"1397035469":["hashtag1","hashtag2"]},{"1397035478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035471, 1397035474, 1397035470, 1397035472, 1397035469, 1397035478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36215281486511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:17:42.559487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/10/image_31102025_12_10_17_3561.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_20_2707.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_22_2659.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_25_2730.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_29_3690.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_31_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_17_3561.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_20_2707.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_22_2659.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_25_2730.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_29_3690.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_31_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":["1397035492","1397035486","1397035489","1397035491","1397035490","1397035493"],"photo_ids_order":["1397035486","1397035489","1397035490","1397035491","1397035492","1397035493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e94e4c0f8090c095772404f8a342a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3773316371898075422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_29_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97a3526b1af668b9d69a0049078fa276.jpg","text":"TemporaryFile(/tmp/multipartBody9218231126930190010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_17_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/255a5c3429552e6e8797f07d3a2caff6.jpg","text":"TemporaryFile(/tmp/multipartBody544986061511357282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_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/30/d5fc627853747683f19e97df59f5109d.jpg","text":"TemporaryFile(/tmp/multipartBody8771328076335729494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_25_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1db5455f41efd86eb812ae16886b7457.jpg","text":"TemporaryFile(/tmp/multipartBody1369181895075556871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_22_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a18e34d73c5ce107d854abaec3fb0821.jpg","text":"TemporaryFile(/tmp/multipartBody3207279768968508222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487123450,"filename":"image_31102025_12_10_31_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035490","file1":"1397035489","file0":"1397035486","file4":"1397035492","file5":"1397035493","file3":"1397035491"},"map_files_photo_id_array":[{"photo_id":"1397035493","filename":"file5"},{"photo_id":"1397035490","filename":"file2"},{"photo_id":"1397035492","filename":"file4"},{"photo_id":"1397035489","filename":"file1"},{"photo_id":"1397035486","filename":"file0"},{"photo_id":"1397035491","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397035492":["hashtag1","hashtag2"]},{"1397035486":["hashtag1","hashtag2"]},{"1397035489":["hashtag1","hashtag2"]},{"1397035491":["hashtag1","hashtag2"]},{"1397035490":["hashtag1","hashtag2"]},{"1397035493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397035492, 1397035486, 1397035489, 1397035491, 1397035490, 1397035493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07989454269409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:18:22.811668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_34_9587.jpg', '/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_44_9899.jpg', '/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_55_10637.jpg', '/home/pi/Desktop/images/30112025/06/27/image_30112025_06_28_04_9738.jpg', '/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_14_9627.jpg', '/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_25_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_34_9587.jpg
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_44_9899.jpg
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_27_55_10637.jpg
/home/pi/Desktop/images/30112025/06/27/image_30112025_06_28_04_9738.jpg
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_14_9627.jpg
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_25_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397035736","1397035700","1397035662","1397035590","1397035626","1397035554"],"photo_ids_order":["1397035554","1397035590","1397035626","1397035662","1397035700","1397035736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70a76ea7e3bfa4f818438ad4dcc47bc3.jpg","text":"TemporaryFile(/tmp/multipartBody2418030273089882644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_28_25_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7cce1b9122a3110c3bd0c0715482436.jpg","text":"TemporaryFile(/tmp/multipartBody8431450902415578787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_28_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf9b883fa458a54a22dc13b515a65f30.jpg","text":"TemporaryFile(/tmp/multipartBody6009126694960703517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_28_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e80b32e66e24995d5550cd5d566fd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4943377718482173129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_27_44_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2183a11cb431052799ea0aaa0f44b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody948632072333180546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_27_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bd53e7954949cbe81f98d236f46b428.jpg","text":"TemporaryFile(/tmp/multipartBody8657436931862370681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487163517,"filename":"image_30112025_06_27_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035626","file1":"1397035590","file0":"1397035554","file4":"1397035700","file5":"1397035736","file3":"1397035662"},"map_files_photo_id_array":[{"photo_id":"1397035736","filename":"file5"},{"photo_id":"1397035626","filename":"file2"},{"photo_id":"1397035700","filename":"file4"},{"photo_id":"1397035590","filename":"file1"},{"photo_id":"1397035554","filename":"file0"},{"photo_id":"1397035662","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397035736":["hashtag1","hashtag2"]},{"1397035700":["hashtag1","hashtag2"]},{"1397035662":["hashtag1","hashtag2"]},{"1397035590":["hashtag1","hashtag2"]},{"1397035626":["hashtag1","hashtag2"]},{"1397035554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397035736, 1397035700, 1397035662, 1397035590, 1397035626, 1397035554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.686970233917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:19:02.843613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_35_9702.jpg', '/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_44_9587.jpg', '/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_55_10729.jpg', '/home/pi/Desktop/images/30112025/06/28/image_30112025_06_29_05_9656.jpg', '/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_14_9737.jpg', '/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_25_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_35_9702.jpg
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_44_9587.jpg
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_28_55_10729.jpg
/home/pi/Desktop/images/30112025/06/28/image_30112025_06_29_05_9656.jpg
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_14_9737.jpg
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_25_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036018","1397036056","1397035983","1397035950","1397035914","1397035874"],"photo_ids_order":["1397035874","1397035914","1397035950","1397035983","1397036018","1397036056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90a7543fbb2c4f5171629e260654d459.jpg","text":"TemporaryFile(/tmp/multipartBody3159512520938453701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_29_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bad2d9379e0bd2d3cc3c4fb07a0fb7c.jpg","text":"TemporaryFile(/tmp/multipartBody8956004964595972005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_29_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce4acd9c303150c7f823f2c422e6f4ff.jpg","text":"TemporaryFile(/tmp/multipartBody393653270168477755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_29_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ff0db6a94e25dcea4d7eb132bd7ae98.jpg","text":"TemporaryFile(/tmp/multipartBody6743024378749494941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_28_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf8ef4ea93065566708c155851e101b8.jpg","text":"TemporaryFile(/tmp/multipartBody7999923122523642425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_28_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c16de35998d7117fbaa451a26eb55912.jpg","text":"TemporaryFile(/tmp/multipartBody3848676457186799812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487203685,"filename":"image_30112025_06_28_35_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397035950","file1":"1397035914","file0":"1397035874","file4":"1397036018","file5":"1397036056","file3":"1397035983"},"map_files_photo_id_array":[{"photo_id":"1397036056","filename":"file5"},{"photo_id":"1397035950","filename":"file2"},{"photo_id":"1397036018","filename":"file4"},{"photo_id":"1397035914","filename":"file1"},{"photo_id":"1397035874","filename":"file0"},{"photo_id":"1397035983","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036018":["hashtag1","hashtag2"]},{"1397036056":["hashtag1","hashtag2"]},{"1397035983":["hashtag1","hashtag2"]},{"1397035950":["hashtag1","hashtag2"]},{"1397035914":["hashtag1","hashtag2"]},{"1397035874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036018, 1397036056, 1397035983, 1397035950, 1397035914, 1397035874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82890605926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:19:41.884789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/10/image_31102025_12_10_35_3555.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_38_2669.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_40_2737.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_43_2791.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_47_3911.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_50_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_35_3555.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_38_2669.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_40_2737.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_43_2791.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_47_3911.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_50_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036181","1397036184","1397036180","1397036183","1397036177","1397036182"],"photo_ids_order":["1397036177","1397036180","1397036181","1397036182","1397036183","1397036184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e75f1b19a2914cf7303c85531891743.jpg","text":"TemporaryFile(/tmp/multipartBody5143795190317326715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_40_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/30/9fecb3268539c5ce19486add67ba6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1607747127980967952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_50_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/803f8b8506d1eba7253bfa020318fa4a.jpg","text":"TemporaryFile(/tmp/multipartBody8930785645318448165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_38_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/30/62fdc226628299481c717d43ca178217.jpg","text":"TemporaryFile(/tmp/multipartBody2595709254801176070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_47_3911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be7998915f9e0671e4d937c1dc9224e1.jpg","text":"TemporaryFile(/tmp/multipartBody7303563815327445717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_35_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/30/22074fd5a8a82f7935093d08f2376c14.jpg","text":"TemporaryFile(/tmp/multipartBody5412421212952716504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487242848,"filename":"image_31102025_12_10_43_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036181","file1":"1397036180","file0":"1397036177","file4":"1397036183","file5":"1397036184","file3":"1397036182"},"map_files_photo_id_array":[{"photo_id":"1397036184","filename":"file5"},{"photo_id":"1397036181","filename":"file2"},{"photo_id":"1397036183","filename":"file4"},{"photo_id":"1397036180","filename":"file1"},{"photo_id":"1397036177","filename":"file0"},{"photo_id":"1397036182","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036181":["hashtag1","hashtag2"]},{"1397036184":["hashtag1","hashtag2"]},{"1397036180":["hashtag1","hashtag2"]},{"1397036183":["hashtag1","hashtag2"]},{"1397036177":["hashtag1","hashtag2"]},{"1397036182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036181, 1397036184, 1397036180, 1397036183, 1397036177, 1397036182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9517879486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:20:22.071851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_35_9622.jpg', '/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_44_9580.jpg', '/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_55_10609.jpg', '/home/pi/Desktop/images/30112025/06/29/image_30112025_06_30_04_9540.jpg', '/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_14_9808.jpg', '/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_35_9622.jpg
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_44_9580.jpg
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_29_55_10609.jpg
/home/pi/Desktop/images/30112025/06/29/image_30112025_06_30_04_9540.jpg
/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_14_9808.jpg
/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_34_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036338","1397036302","1397036397","1397036265","1397036223","1397036372"],"photo_ids_order":["1397036223","1397036265","1397036302","1397036338","1397036372","1397036397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7ddb1888dd954939213f997822685c9.jpg","text":"TemporaryFile(/tmp/multipartBody957110940534213487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_30_04_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f545395d56a2853f591a2de3099250db.jpg","text":"TemporaryFile(/tmp/multipartBody982905005025054575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_29_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bf80cfb854e8443a52d1cbd1bd307a2.jpg","text":"TemporaryFile(/tmp/multipartBody9003310335823328970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_30_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7b22d4a505a5e871c6d9465610f6e99.jpg","text":"TemporaryFile(/tmp/multipartBody5817088368094716445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_29_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8eeb5f663b4e5193460cafc00a4013f4.jpg","text":"TemporaryFile(/tmp/multipartBody4834558731625705079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_29_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338f23e2c9d81be084880942e5ef5416.jpg","text":"TemporaryFile(/tmp/multipartBody3484266772369895068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487282762,"filename":"image_30112025_06_30_14_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036302","file1":"1397036265","file0":"1397036223","file4":"1397036372","file5":"1397036397","file3":"1397036338"},"map_files_photo_id_array":[{"photo_id":"1397036397","filename":"file5"},{"photo_id":"1397036302","filename":"file2"},{"photo_id":"1397036372","filename":"file4"},{"photo_id":"1397036265","filename":"file1"},{"photo_id":"1397036223","filename":"file0"},{"photo_id":"1397036338","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036338":["hashtag1","hashtag2"]},{"1397036302":["hashtag1","hashtag2"]},{"1397036397":["hashtag1","hashtag2"]},{"1397036265":["hashtag1","hashtag2"]},{"1397036223":["hashtag1","hashtag2"]},{"1397036372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036338, 1397036302, 1397036397, 1397036265, 1397036223, 1397036372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05925512313843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:21:02.893810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_45_10596.jpg', '/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_55_9717.jpg', '/home/pi/Desktop/images/30112025/06/30/image_30112025_06_31_04_9582.jpg', '/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_15_10634.jpg', '/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_25_9744.jpg', '/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_45_10596.jpg
/home/pi/Desktop/images/30112025/06/30/image_30112025_06_30_55_9717.jpg
/home/pi/Desktop/images/30112025/06/30/image_30112025_06_31_04_9582.jpg
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_15_10634.jpg
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_25_9744.jpg
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036452","1397036490","1397036493","1397036487","1397036451","1397036483"],"photo_ids_order":["1397036451","1397036452","1397036483","1397036487","1397036490","1397036493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9da5612f5c40572846bfc6c71db5598a.jpg","text":"TemporaryFile(/tmp/multipartBody788662880533918890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_30_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70ff58c9384364c8d84f57303ab7a016.jpg","text":"TemporaryFile(/tmp/multipartBody6184664782904952693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_31_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72fb17a425440dd4c68e04437daf0993.jpg","text":"TemporaryFile(/tmp/multipartBody2688420290206387888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_31_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57ff2344796998888332313d93e73b94.jpg","text":"TemporaryFile(/tmp/multipartBody3285692341253386722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_31_15_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b3dcc907cc85a040ec4ee575188b21f.jpg","text":"TemporaryFile(/tmp/multipartBody6091137714870982212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_30_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e3122a327a6e68f64f3518d9613df05.jpg","text":"TemporaryFile(/tmp/multipartBody4376889660800135623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487323643,"filename":"image_30112025_06_31_04_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036483","file1":"1397036452","file0":"1397036451","file4":"1397036490","file5":"1397036493","file3":"1397036487"},"map_files_photo_id_array":[{"photo_id":"1397036493","filename":"file5"},{"photo_id":"1397036483","filename":"file2"},{"photo_id":"1397036490","filename":"file4"},{"photo_id":"1397036452","filename":"file1"},{"photo_id":"1397036451","filename":"file0"},{"photo_id":"1397036487","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036452":["hashtag1","hashtag2"]},{"1397036490":["hashtag1","hashtag2"]},{"1397036493":["hashtag1","hashtag2"]},{"1397036487":["hashtag1","hashtag2"]},{"1397036451":["hashtag1","hashtag2"]},{"1397036483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036452, 1397036490, 1397036493, 1397036487, 1397036451, 1397036483)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.19811534881592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:22:03.145795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_45_10587.jpg', '/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_55_9707.jpg', '/home/pi/Desktop/images/30112025/06/31/image_30112025_06_32_04_9719.jpg', '/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_14_9746.jpg', '/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_25_10639.jpg', '/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_45_10587.jpg
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_31_55_9707.jpg
/home/pi/Desktop/images/30112025/06/31/image_30112025_06_32_04_9719.jpg
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_14_9746.jpg
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_25_10639.jpg
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_34_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397036507","1397036500","1397036499","1397036502","1397036501","1397036504"],"photo_ids_order":["1397036499","1397036500","1397036501","1397036502","1397036504","1397036507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d455dc95d53efb8dc8fc561c0157df8.jpg","text":"TemporaryFile(/tmp/multipartBody1251444008238183358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_32_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03b19111e54cc61514e30c2ab075a672.jpg","text":"TemporaryFile(/tmp/multipartBody1374483912388162210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_31_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/047e22df291543603389f4cb96525f88.jpg","text":"TemporaryFile(/tmp/multipartBody7799160267772075857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_31_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19c48692bffa382686ac0cfd0a421053.jpg","text":"TemporaryFile(/tmp/multipartBody2411474141278001094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_32_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efdda0b56c086982f3337ccb58500a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5905155259141103083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_32_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e9b4c81d7efaf66089a7c21bf1d8032.jpg","text":"TemporaryFile(/tmp/multipartBody822471210014266446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487383846,"filename":"image_30112025_06_32_25_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036501","file1":"1397036500","file0":"1397036499","file4":"1397036504","file5":"1397036507","file3":"1397036502"},"map_files_photo_id_array":[{"photo_id":"1397036507","filename":"file5"},{"photo_id":"1397036501","filename":"file2"},{"photo_id":"1397036504","filename":"file4"},{"photo_id":"1397036500","filename":"file1"},{"photo_id":"1397036499","filename":"file0"},{"photo_id":"1397036502","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036507":["hashtag1","hashtag2"]},{"1397036500":["hashtag1","hashtag2"]},{"1397036499":["hashtag1","hashtag2"]},{"1397036502":["hashtag1","hashtag2"]},{"1397036501":["hashtag1","hashtag2"]},{"1397036504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036507, 1397036500, 1397036499, 1397036502, 1397036501, 1397036504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.181299924850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:23:09.681574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_44_9662.jpg', '/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_55_10727.jpg', '/home/pi/Desktop/images/30112025/06/32/image_30112025_06_33_04_9603.jpg', '/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_14_9629.jpg', '/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_25_10790.jpg', '/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_35_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_44_9662.jpg
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_32_55_10727.jpg
/home/pi/Desktop/images/30112025/06/32/image_30112025_06_33_04_9603.jpg
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_14_9629.jpg
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_25_10790.jpg
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_35_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036524","1397036521","1397036529","1397036532","1397036526","1397036522"],"photo_ids_order":["1397036521","1397036522","1397036524","1397036526","1397036529","1397036532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79e8602fee659c16dd45a68e19113e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7562403244839360936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_33_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/391073aa8be70b2d178654b195853131.jpg","text":"TemporaryFile(/tmp/multipartBody3447656909862608386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_32_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82ade31904315f56cc2fe356cce8b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3282704242259423786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_33_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/451f642bfc6a82cd1dd30d91c41c8526.jpg","text":"TemporaryFile(/tmp/multipartBody7845603243569831790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_33_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c04624255ca14d180520de8bbd35b65b.jpg","text":"TemporaryFile(/tmp/multipartBody2170653876180089252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_33_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a98380c175e0657b186dd91a67bf0510.jpg","text":"TemporaryFile(/tmp/multipartBody1951188602451123931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487450410,"filename":"image_30112025_06_32_55_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036524","file1":"1397036522","file0":"1397036521","file4":"1397036529","file5":"1397036532","file3":"1397036526"},"map_files_photo_id_array":[{"photo_id":"1397036532","filename":"file5"},{"photo_id":"1397036524","filename":"file2"},{"photo_id":"1397036529","filename":"file4"},{"photo_id":"1397036522","filename":"file1"},{"photo_id":"1397036521","filename":"file0"},{"photo_id":"1397036526","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036524":["hashtag1","hashtag2"]},{"1397036521":["hashtag1","hashtag2"]},{"1397036529":["hashtag1","hashtag2"]},{"1397036532":["hashtag1","hashtag2"]},{"1397036526":["hashtag1","hashtag2"]},{"1397036522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036524, 1397036521, 1397036529, 1397036532, 1397036526, 1397036522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24854278564453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:23:49.039146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/10/image_31102025_12_10_53_3315.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_56_2669.jpg', '/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_58_2630.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_02_3653.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_04_2586.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_07_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_53_3315.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_56_2669.jpg
/home/pi/Desktop/images/31102025/12/10/image_31102025_12_10_58_2630.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_02_3653.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_04_2586.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_07_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036545","1397036539","1397036547","1397036541","1397036546","1397036543"],"photo_ids_order":["1397036539","1397036541","1397036543","1397036545","1397036546","1397036547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fbc780d8bdc9aa84825e5712efdf42e.jpg","text":"TemporaryFile(/tmp/multipartBody3318657385519439387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_11_02_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/30/e50cf86e7d757fa2a95deea6a37aa35e.jpg","text":"TemporaryFile(/tmp/multipartBody7209135885888605188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_10_53_3315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0c6fe46b212fe50001f3a405d8adba2.jpg","text":"TemporaryFile(/tmp/multipartBody6703959096769444490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_11_07_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/30/35f7bfa73773d5c98292bf5f8a5dc476.jpg","text":"TemporaryFile(/tmp/multipartBody3858216147909714153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_10_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/30/00a6e3b32601beac60e148f644454dc2.jpg","text":"TemporaryFile(/tmp/multipartBody225874828888271276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_11_04_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/30/c8e89b9493bddcf80a01353a56cd5d77.jpg","text":"TemporaryFile(/tmp/multipartBody6933961815993898982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487489986,"filename":"image_31102025_12_10_58_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036543","file1":"1397036541","file0":"1397036539","file4":"1397036546","file5":"1397036547","file3":"1397036545"},"map_files_photo_id_array":[{"photo_id":"1397036547","filename":"file5"},{"photo_id":"1397036543","filename":"file2"},{"photo_id":"1397036546","filename":"file4"},{"photo_id":"1397036541","filename":"file1"},{"photo_id":"1397036539","filename":"file0"},{"photo_id":"1397036545","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036545":["hashtag1","hashtag2"]},{"1397036539":["hashtag1","hashtag2"]},{"1397036547":["hashtag1","hashtag2"]},{"1397036541":["hashtag1","hashtag2"]},{"1397036546":["hashtag1","hashtag2"]},{"1397036543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036545, 1397036539, 1397036547, 1397036541, 1397036546, 1397036543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00352239608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:24:32.343481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_43_2529.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_47_3675.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_50_2673.jpg', '/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_53_2796.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_02_2790.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_04_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_43_2529.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_47_3675.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_50_2673.jpg
/home/pi/Desktop/images/25112025/19/58/image_25112025_19_58_53_2796.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_02_2790.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_04_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036560","1397036554","1397036562","1397036556","1397036558","1397036561"],"photo_ids_order":["1397036554","1397036556","1397036558","1397036560","1397036561","1397036562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cef9ba21e159252e2876b4f2f0c7de1.jpg","text":"TemporaryFile(/tmp/multipartBody1826568842601600774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_58_53_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a7f5caae9bed5a82c46dcdd83bc66be.jpg","text":"TemporaryFile(/tmp/multipartBody1381271613633589777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_58_43_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/30/bfef986179d3cec71d2b600a3731b700.jpg","text":"TemporaryFile(/tmp/multipartBody184216669118081622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_59_04_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/30/9cd410aa0fb1f380757f665c78956080.jpg","text":"TemporaryFile(/tmp/multipartBody2185621324208157457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_58_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/30/5aead9b111e7f09b00a4d98ea6e9d687.jpg","text":"TemporaryFile(/tmp/multipartBody2822831602972549510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_58_50_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/30/11678f41ae1b2c03fe4ecc8da5f8b463.jpg","text":"TemporaryFile(/tmp/multipartBody3601582561018173211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487534350,"filename":"image_25112025_19_59_02_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036558","file1":"1397036556","file0":"1397036554","file4":"1397036561","file5":"1397036562","file3":"1397036560"},"map_files_photo_id_array":[{"photo_id":"1397036562","filename":"file5"},{"photo_id":"1397036558","filename":"file2"},{"photo_id":"1397036561","filename":"file4"},{"photo_id":"1397036556","filename":"file1"},{"photo_id":"1397036554","filename":"file0"},{"photo_id":"1397036560","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036560":["hashtag1","hashtag2"]},{"1397036554":["hashtag1","hashtag2"]},{"1397036562":["hashtag1","hashtag2"]},{"1397036556":["hashtag1","hashtag2"]},{"1397036558":["hashtag1","hashtag2"]},{"1397036561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036560, 1397036554, 1397036562, 1397036556, 1397036558, 1397036561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47720384597778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:25:12.441273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_08_3586.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_11_2740.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_13_2745.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_17_3732.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_20_2619.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_22_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_08_3586.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_11_2740.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_13_2745.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_17_3732.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_20_2619.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_22_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":["1397036575","1397036578","1397036571","1397036565","1397036568","1397036564"],"photo_ids_order":["1397036564","1397036565","1397036568","1397036571","1397036575","1397036578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd6ee01916eefeb4752e9c508e9907a8.jpg","text":"TemporaryFile(/tmp/multipartBody4634271570233647174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_20_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/30/566ee4abc451e4e23ab6d6bc6e28dca5.jpg","text":"TemporaryFile(/tmp/multipartBody7222164702680665010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_22_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/30/c908727f6c5a172a8d428b39cf262896.jpg","text":"TemporaryFile(/tmp/multipartBody6114831650496649816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_17_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/30/4164d64d21340d2aba9e2b748fe8ea85.jpg","text":"TemporaryFile(/tmp/multipartBody486314211360576985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_11_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/30/bdc0425f21bd0eb7f164307e7fe670eb.jpg","text":"TemporaryFile(/tmp/multipartBody7577215522045263189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_13_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/30/bfb4822b8629ee7e06d515c46361cc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1964582653320591932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487574342,"filename":"image_25112025_19_59_08_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036568","file1":"1397036565","file0":"1397036564","file4":"1397036575","file5":"1397036578","file3":"1397036571"},"map_files_photo_id_array":[{"photo_id":"1397036578","filename":"file5"},{"photo_id":"1397036568","filename":"file2"},{"photo_id":"1397036575","filename":"file4"},{"photo_id":"1397036565","filename":"file1"},{"photo_id":"1397036564","filename":"file0"},{"photo_id":"1397036571","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036575":["hashtag1","hashtag2"]},{"1397036578":["hashtag1","hashtag2"]},{"1397036571":["hashtag1","hashtag2"]},{"1397036565":["hashtag1","hashtag2"]},{"1397036568":["hashtag1","hashtag2"]},{"1397036564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036575, 1397036578, 1397036571, 1397036565, 1397036568, 1397036564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40574288368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:26:03.007971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_44_9671.jpg', '/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_55_10704.jpg', '/home/pi/Desktop/images/30112025/06/33/image_30112025_06_34_05_9680.jpg', '/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_14_9671.jpg', '/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_25_10650.jpg', '/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_35_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_44_9671.jpg
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_33_55_10704.jpg
/home/pi/Desktop/images/30112025/06/33/image_30112025_06_34_05_9680.jpg
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_14_9671.jpg
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_25_10650.jpg
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_35_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036584","1397036583","1397036586","1397036591","1397036585","1397036588"],"photo_ids_order":["1397036583","1397036584","1397036585","1397036586","1397036588","1397036591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/041b134db633a6a34689a7cc9933ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody1337407367089049786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_33_55_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd6f0c534bd9f6baead4795d654603a9.jpg","text":"TemporaryFile(/tmp/multipartBody296625649554803307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_33_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/395fe2d879e01365b9e5b34889890b7c.jpg","text":"TemporaryFile(/tmp/multipartBody216540757414774620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_34_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45d152d2a6393ddfe5fd8282dad658a3.jpg","text":"TemporaryFile(/tmp/multipartBody586360235617628476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_34_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d01ccf9968d4a14c08d0d283bd0f9b78.jpg","text":"TemporaryFile(/tmp/multipartBody3183083964172054885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_34_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a38137fa0be656695336bf31145a1836.jpg","text":"TemporaryFile(/tmp/multipartBody9157828186700038237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487623707,"filename":"image_30112025_06_34_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036585","file1":"1397036584","file0":"1397036583","file4":"1397036588","file5":"1397036591","file3":"1397036586"},"map_files_photo_id_array":[{"photo_id":"1397036591","filename":"file5"},{"photo_id":"1397036585","filename":"file2"},{"photo_id":"1397036588","filename":"file4"},{"photo_id":"1397036584","filename":"file1"},{"photo_id":"1397036583","filename":"file0"},{"photo_id":"1397036586","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036584":["hashtag1","hashtag2"]},{"1397036583":["hashtag1","hashtag2"]},{"1397036586":["hashtag1","hashtag2"]},{"1397036591":["hashtag1","hashtag2"]},{"1397036585":["hashtag1","hashtag2"]},{"1397036588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036584, 1397036583, 1397036586, 1397036591, 1397036585, 1397036588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64458465576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:26:42.566761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/11/image_31102025_12_11_11_3607.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_13_2548.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_17_3619.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_20_2725.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_27_1600.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_28_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_11_3607.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_13_2548.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_17_3619.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_20_2725.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_27_1600.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_28_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036605","1397036602","1397036601","1397036604","1397036600","1397036603"],"photo_ids_order":["1397036600","1397036601","1397036602","1397036603","1397036604","1397036605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0902ef8dcc1743fed6a17da191403403.jpg","text":"TemporaryFile(/tmp/multipartBody5875239929692060220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_28_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26c41f595dcd0e3135155b74f2f6bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody1915567879951970291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_17_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/30/583228ef4116cde1af9d34fffa7d934f.jpg","text":"TemporaryFile(/tmp/multipartBody2618803524836503689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_13_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/30/e08f0d39e670096ab1b31a5304fc4d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7350807107178136220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_27_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/30/e3523d6b24086c7d82505144a1c80aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7559325855401592913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_11_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffc4178e1a973edc2028cdbc73d8c246.jpg","text":"TemporaryFile(/tmp/multipartBody1676327948115167149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487663504,"filename":"image_31102025_12_11_20_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036602","file1":"1397036601","file0":"1397036600","file4":"1397036604","file5":"1397036605","file3":"1397036603"},"map_files_photo_id_array":[{"photo_id":"1397036605","filename":"file5"},{"photo_id":"1397036602","filename":"file2"},{"photo_id":"1397036604","filename":"file4"},{"photo_id":"1397036601","filename":"file1"},{"photo_id":"1397036600","filename":"file0"},{"photo_id":"1397036603","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036605":["hashtag1","hashtag2"]},{"1397036602":["hashtag1","hashtag2"]},{"1397036601":["hashtag1","hashtag2"]},{"1397036604":["hashtag1","hashtag2"]},{"1397036600":["hashtag1","hashtag2"]},{"1397036603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036605, 1397036602, 1397036601, 1397036604, 1397036600, 1397036603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.096189975738525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:27:22.732909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_44_9704.jpg', '/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_54_9782.jpg', '/home/pi/Desktop/images/30112025/06/34/image_30112025_06_35_05_10661.jpg', '/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_14_9616.jpg', '/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_24_9678.jpg', '/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_35_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_44_9704.jpg
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_34_54_9782.jpg
/home/pi/Desktop/images/30112025/06/34/image_30112025_06_35_05_10661.jpg
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_14_9616.jpg
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_24_9678.jpg
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_35_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036611","1397036620","1397036614","1397036622","1397036609","1397036618"],"photo_ids_order":["1397036609","1397036611","1397036614","1397036618","1397036620","1397036622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4167f8d278abfa42a1439a074dafd61.jpg","text":"TemporaryFile(/tmp/multipartBody3619921030462537321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_34_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16926a3ba9c0bc951322fbaed9bf28c3.jpg","text":"TemporaryFile(/tmp/multipartBody214768012298150965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_35_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ec5dffa7acb3ba5c892f38e835498d4.jpg","text":"TemporaryFile(/tmp/multipartBody5871011415270443944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_35_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95d0831f39b7ac8df61198faf89a1a30.jpg","text":"TemporaryFile(/tmp/multipartBody7755252269340364870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_35_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4fc1d0b26b7e0ae10f4d4569b15eb22.jpg","text":"TemporaryFile(/tmp/multipartBody27348654086249868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_34_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3198c6ccf925708e8f3cf287136b6a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1927100174036663860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487703455,"filename":"image_30112025_06_35_14_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036614","file1":"1397036611","file0":"1397036609","file4":"1397036620","file5":"1397036622","file3":"1397036618"},"map_files_photo_id_array":[{"photo_id":"1397036622","filename":"file5"},{"photo_id":"1397036614","filename":"file2"},{"photo_id":"1397036620","filename":"file4"},{"photo_id":"1397036611","filename":"file1"},{"photo_id":"1397036609","filename":"file0"},{"photo_id":"1397036618","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036611":["hashtag1","hashtag2"]},{"1397036620":["hashtag1","hashtag2"]},{"1397036614":["hashtag1","hashtag2"]},{"1397036622":["hashtag1","hashtag2"]},{"1397036609":["hashtag1","hashtag2"]},{"1397036618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036611, 1397036620, 1397036614, 1397036622, 1397036609, 1397036618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80754375457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:28:02.347975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_45_9668.jpg', '/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_54_9698.jpg', '/home/pi/Desktop/images/30112025/06/35/image_30112025_06_36_05_10617.jpg', '/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_14_9624.jpg', '/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_24_9670.jpg', '/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_35_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_45_9668.jpg
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_35_54_9698.jpg
/home/pi/Desktop/images/30112025/06/35/image_30112025_06_36_05_10617.jpg
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_14_9624.jpg
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_24_9670.jpg
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_35_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036632","1397036626","1397036629","1397036625","1397036627","1397036624"],"photo_ids_order":["1397036624","1397036625","1397036626","1397036627","1397036629","1397036632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6acf84c2bb341bf0e17d4a2d999ffbd.jpg","text":"TemporaryFile(/tmp/multipartBody9165897377435379414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_36_35_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8769882901318e21a7d93e5922c0cb44.jpg","text":"TemporaryFile(/tmp/multipartBody672343320516744519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_36_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfddaacfb6c546501d1dd836787dce8e.jpg","text":"TemporaryFile(/tmp/multipartBody4006472900466788577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_36_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d5fa3d2d4d71f37565b4ff1fa3878ed.jpg","text":"TemporaryFile(/tmp/multipartBody2559698404841129665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_35_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdac9fed1bb2b5b160876f2d118f54c8.jpg","text":"TemporaryFile(/tmp/multipartBody8708353953710020139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_36_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3bb8364d5a745d61cf23dd9176d0557f.jpg","text":"TemporaryFile(/tmp/multipartBody5123336529997332042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487743091,"filename":"image_30112025_06_35_45_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036626","file1":"1397036625","file0":"1397036624","file4":"1397036629","file5":"1397036632","file3":"1397036627"},"map_files_photo_id_array":[{"photo_id":"1397036632","filename":"file5"},{"photo_id":"1397036626","filename":"file2"},{"photo_id":"1397036629","filename":"file4"},{"photo_id":"1397036625","filename":"file1"},{"photo_id":"1397036624","filename":"file0"},{"photo_id":"1397036627","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036632":["hashtag1","hashtag2"]},{"1397036626":["hashtag1","hashtag2"]},{"1397036629":["hashtag1","hashtag2"]},{"1397036625":["hashtag1","hashtag2"]},{"1397036627":["hashtag1","hashtag2"]},{"1397036624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036632, 1397036626, 1397036629, 1397036625, 1397036627, 1397036624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.640231132507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:28:41.987543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/11/image_31102025_12_11_31_2790.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_34_2735.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_38_3636.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_40_2702.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_44_3685.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_50_5816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_31_2790.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_34_2735.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_38_3636.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_40_2702.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_44_3685.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_50_5816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036641","1397036644","1397036638","1397036640","1397036643","1397036642"],"photo_ids_order":["1397036638","1397036640","1397036641","1397036642","1397036643","1397036644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dab8c832f07cc54e55eb0acbb1e7dc34.jpg","text":"TemporaryFile(/tmp/multipartBody6961869093111567598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_38_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/30/8c674e7885027fc9cdad97339b08db75.jpg","text":"TemporaryFile(/tmp/multipartBody6856750036788828882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_50_5816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89ebc675f238124770b712a7af449bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5392069812859954077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_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/30/0df597848abef15f9a5d0f1867954517.jpg","text":"TemporaryFile(/tmp/multipartBody3782946403941101423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_34_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/30/18721ae38b863975c3e6c59dfe29d22a.jpg","text":"TemporaryFile(/tmp/multipartBody6441167411942861205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_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/30/ed93cabec71c3171e1af502afcbf91ab.jpg","text":"TemporaryFile(/tmp/multipartBody1789719307149588520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487782924,"filename":"image_31102025_12_11_40_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036641","file1":"1397036640","file0":"1397036638","file4":"1397036643","file5":"1397036644","file3":"1397036642"},"map_files_photo_id_array":[{"photo_id":"1397036644","filename":"file5"},{"photo_id":"1397036641","filename":"file2"},{"photo_id":"1397036643","filename":"file4"},{"photo_id":"1397036640","filename":"file1"},{"photo_id":"1397036638","filename":"file0"},{"photo_id":"1397036642","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036641":["hashtag1","hashtag2"]},{"1397036644":["hashtag1","hashtag2"]},{"1397036638":["hashtag1","hashtag2"]},{"1397036640":["hashtag1","hashtag2"]},{"1397036643":["hashtag1","hashtag2"]},{"1397036642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036641, 1397036644, 1397036638, 1397036640, 1397036643, 1397036642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39865303039551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:29:23.725313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_44_9588.jpg', '/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_55_10219.jpg', '/home/pi/Desktop/images/30112025/06/36/image_30112025_06_37_04_9825.jpg', '/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_14_9626.jpg', '/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_25_10713.jpg', '/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_34_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_44_9588.jpg
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_36_55_10219.jpg
/home/pi/Desktop/images/30112025/06/36/image_30112025_06_37_04_9825.jpg
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_14_9626.jpg
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_25_10713.jpg
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_34_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036653","1397036656","1397036659","1397036661","1397036655","1397036649"],"photo_ids_order":["1397036649","1397036653","1397036655","1397036656","1397036659","1397036661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca6525e37c47906f1868c077a272cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody3832218511219251091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_36_55_10219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce3345caa97f3faab903c07a03645add.jpg","text":"TemporaryFile(/tmp/multipartBody4611542594167732955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_37_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5529623cde4969748185173c1faf0511.jpg","text":"TemporaryFile(/tmp/multipartBody3159606266638484051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_37_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0170287cd23022f6cef68a68dcb89835.jpg","text":"TemporaryFile(/tmp/multipartBody3822863157774630085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_37_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/829fa7cca7af60b31aad1b3279a82163.jpg","text":"TemporaryFile(/tmp/multipartBody5639906964651045288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_37_04_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c47cc7102b4d16823be8bf333d5c28e.jpg","text":"TemporaryFile(/tmp/multipartBody5745308500994213576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487824380,"filename":"image_30112025_06_36_44_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036655","file1":"1397036653","file0":"1397036649","file4":"1397036659","file5":"1397036661","file3":"1397036656"},"map_files_photo_id_array":[{"photo_id":"1397036661","filename":"file5"},{"photo_id":"1397036655","filename":"file2"},{"photo_id":"1397036659","filename":"file4"},{"photo_id":"1397036653","filename":"file1"},{"photo_id":"1397036649","filename":"file0"},{"photo_id":"1397036656","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036653":["hashtag1","hashtag2"]},{"1397036656":["hashtag1","hashtag2"]},{"1397036659":["hashtag1","hashtag2"]},{"1397036661":["hashtag1","hashtag2"]},{"1397036655":["hashtag1","hashtag2"]},{"1397036649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036653, 1397036656, 1397036659, 1397036661, 1397036655, 1397036649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50689649581909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:30:02.402350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_45_10525.jpg', '/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_55_9824.jpg', '/home/pi/Desktop/images/30112025/06/37/image_30112025_06_38_04_9616.jpg', '/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_15_10614.jpg', '/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_25_9587.jpg', '/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_34_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_45_10525.jpg
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_37_55_9824.jpg
/home/pi/Desktop/images/30112025/06/37/image_30112025_06_38_04_9616.jpg
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_15_10614.jpg
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_25_9587.jpg
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_34_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036662","1397036665","1397036670","1397036664","1397036667","1397036663"],"photo_ids_order":["1397036662","1397036663","1397036664","1397036665","1397036667","1397036670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30970d7272bfe055a96aaa515e586b57.jpg","text":"TemporaryFile(/tmp/multipartBody7833649705663908844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_37_45_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acebce70acfb8ccd870df3bd989b1d49.jpg","text":"TemporaryFile(/tmp/multipartBody6931687721860924585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_38_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17450d81d4ed5a0c8d1245de89dbd07e.jpg","text":"TemporaryFile(/tmp/multipartBody2625847890713698277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_38_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e8408cea0e46bcd20b8713419efee2c.jpg","text":"TemporaryFile(/tmp/multipartBody264465432188577505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_38_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26aa98bc1508ce14005d243f0c34a4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2785656952872094985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_38_25_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/210b51ceb873618738e2dc3a1863d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody8323150290304279127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487863112,"filename":"image_30112025_06_37_55_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036664","file1":"1397036663","file0":"1397036662","file4":"1397036667","file5":"1397036670","file3":"1397036665"},"map_files_photo_id_array":[{"photo_id":"1397036670","filename":"file5"},{"photo_id":"1397036664","filename":"file2"},{"photo_id":"1397036667","filename":"file4"},{"photo_id":"1397036663","filename":"file1"},{"photo_id":"1397036662","filename":"file0"},{"photo_id":"1397036665","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036662":["hashtag1","hashtag2"]},{"1397036665":["hashtag1","hashtag2"]},{"1397036670":["hashtag1","hashtag2"]},{"1397036664":["hashtag1","hashtag2"]},{"1397036667":["hashtag1","hashtag2"]},{"1397036663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036662, 1397036665, 1397036670, 1397036664, 1397036667, 1397036663)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.56503367424011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:31:03.476967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_44_9780.jpg', '/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_55_10549.jpg', '/home/pi/Desktop/images/30112025/06/38/image_30112025_06_39_04_9667.jpg', '/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_15_10683.jpg', '/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_25_9755.jpg', '/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_34_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_44_9780.jpg
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_38_55_10549.jpg
/home/pi/Desktop/images/30112025/06/38/image_30112025_06_39_04_9667.jpg
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_15_10683.jpg
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_25_9755.jpg
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_34_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397036677","1397036679","1397036681","1397036684","1397036678","1397036687"],"photo_ids_order":["1397036677","1397036678","1397036679","1397036681","1397036684","1397036687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad2ceaddfe339f9971447c2931a0beb8.jpg","text":"TemporaryFile(/tmp/multipartBody6024122443758970503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_38_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ac7544d6e90839153dc62a6981d22cd.jpg","text":"TemporaryFile(/tmp/multipartBody3160455115807207708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_39_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba954a07a68188003c2609d69cdd8736.jpg","text":"TemporaryFile(/tmp/multipartBody7705189111664242601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_39_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9aacc01ec9d74035388e7d984f15ade9.jpg","text":"TemporaryFile(/tmp/multipartBody848524886272558019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_39_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2e65cd743adbf6e84d085f71cde6a17.jpg","text":"TemporaryFile(/tmp/multipartBody5760703388825487182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_38_55_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f16df512cfeb40cb6a63c869c874fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6274060067872090031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487924221,"filename":"image_30112025_06_39_34_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036679","file1":"1397036678","file0":"1397036677","file4":"1397036684","file5":"1397036687","file3":"1397036681"},"map_files_photo_id_array":[{"photo_id":"1397036687","filename":"file5"},{"photo_id":"1397036679","filename":"file2"},{"photo_id":"1397036684","filename":"file4"},{"photo_id":"1397036678","filename":"file1"},{"photo_id":"1397036677","filename":"file0"},{"photo_id":"1397036681","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036677":["hashtag1","hashtag2"]},{"1397036679":["hashtag1","hashtag2"]},{"1397036681":["hashtag1","hashtag2"]},{"1397036684":["hashtag1","hashtag2"]},{"1397036678":["hashtag1","hashtag2"]},{"1397036687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036677, 1397036679, 1397036681, 1397036684, 1397036678, 1397036687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.83422660827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:32:13.276032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_44_9809.jpg', '/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_55_10847.jpg', '/home/pi/Desktop/images/30112025/06/39/image_30112025_06_40_05_9709.jpg', '/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_15_10190.jpg', '/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_25_9723.jpg', '/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_34_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_44_9809.jpg
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_39_55_10847.jpg
/home/pi/Desktop/images/30112025/06/39/image_30112025_06_40_05_9709.jpg
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_15_10190.jpg
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_25_9723.jpg
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_34_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036694","1397036706","1397036696","1397036699","1397036708","1397036702"],"photo_ids_order":["1397036694","1397036696","1397036699","1397036702","1397036706","1397036708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a5216525d0884c28aef5abc3d968908.jpg","text":"TemporaryFile(/tmp/multipartBody7615103617038068905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_39_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52102863b2ac5a7a816dc3a073b9a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5817092406927662300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_40_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f7a1778578d9581d7c8fea7b087a3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2984654524489364018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_39_55_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b31f313f32c6b5bbb7dc8db4f578ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7884889957069657857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_40_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cd72a7faeee213997b5848425b0164e.jpg","text":"TemporaryFile(/tmp/multipartBody2852729745635859140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_40_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7f1859ff74eb9343e6a2c794eb986a1.jpg","text":"TemporaryFile(/tmp/multipartBody2113625029081034967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764487996582,"filename":"image_30112025_06_40_15_10190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036699","file1":"1397036696","file0":"1397036694","file4":"1397036706","file5":"1397036708","file3":"1397036702"},"map_files_photo_id_array":[{"photo_id":"1397036708","filename":"file5"},{"photo_id":"1397036699","filename":"file2"},{"photo_id":"1397036706","filename":"file4"},{"photo_id":"1397036696","filename":"file1"},{"photo_id":"1397036694","filename":"file0"},{"photo_id":"1397036702","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036694":["hashtag1","hashtag2"]},{"1397036706":["hashtag1","hashtag2"]},{"1397036696":["hashtag1","hashtag2"]},{"1397036699":["hashtag1","hashtag2"]},{"1397036708":["hashtag1","hashtag2"]},{"1397036702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036694, 1397036706, 1397036696, 1397036699, 1397036708, 1397036702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.668452501297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:33:03.243868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:33:12.543641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_25_2767.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_29_3696.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_38_3647.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_40_2606.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_43_2659.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_47_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_25_2767.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_29_3696.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_38_3647.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_40_2606.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_43_2659.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_47_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036722","1397036710","1397036715","1397036712","1397036720","1397036717"],"photo_ids_order":["1397036710","1397036712","1397036715","1397036717","1397036720","1397036722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc54ead2cb9cd674a68b7ccd69c458e7.jpg","text":"TemporaryFile(/tmp/multipartBody614881784984804784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_47_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/30/a8a98a37a742540ab503cbd30117bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody8445910628417757876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_25_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cac300902076d72f5a0942bbb958ac51.jpg","text":"TemporaryFile(/tmp/multipartBody1031606444194174224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_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/30/37915ba4267e2d8afaf6a24bbd523200.jpg","text":"TemporaryFile(/tmp/multipartBody3708923134606929794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_29_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/30/28cd3454cf8379cfff49b7bec3daf187.jpg","text":"TemporaryFile(/tmp/multipartBody853325857209847725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_43_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b28e820a7879763d01401bb17576a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2082332858236492790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488054535,"filename":"image_25112025_19_59_40_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036715","file1":"1397036712","file0":"1397036710","file4":"1397036720","file5":"1397036722","file3":"1397036717"},"map_files_photo_id_array":[{"photo_id":"1397036722","filename":"file5"},{"photo_id":"1397036715","filename":"file2"},{"photo_id":"1397036720","filename":"file4"},{"photo_id":"1397036712","filename":"file1"},{"photo_id":"1397036710","filename":"file0"},{"photo_id":"1397036717","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036722":["hashtag1","hashtag2"]},{"1397036710":["hashtag1","hashtag2"]},{"1397036715":["hashtag1","hashtag2"]},{"1397036712":["hashtag1","hashtag2"]},{"1397036720":["hashtag1","hashtag2"]},{"1397036717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036722, 1397036710, 1397036715, 1397036712, 1397036720, 1397036717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31748676300049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:34:03.454132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:34:12.714805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_49_2664.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_53_3565.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_55_2513.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_58_2619.jpg', '/home/pi/Desktop/images/25112025/19/59/image_25112025_20_00_02_3616.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_07_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_49_2664.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_53_3565.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_55_2513.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_19_59_58_2619.jpg
/home/pi/Desktop/images/25112025/19/59/image_25112025_20_00_02_3616.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_07_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036728","1397036727","1397036742","1397036738","1397036732","1397036735"],"photo_ids_order":["1397036727","1397036728","1397036732","1397036735","1397036738","1397036742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38aa8a39f4ac230a6e585107ece141fd.jpg","text":"TemporaryFile(/tmp/multipartBody7143432397675164582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_19_59_53_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/30/89c846662a8bbc505353914a5859a89d.jpg","text":"TemporaryFile(/tmp/multipartBody5239930311969303779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_19_59_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/30/ce9d0dd8a7ffd8854a78b769137ab166.jpg","text":"TemporaryFile(/tmp/multipartBody7076207422676064218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_20_00_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/30/431c813bc53c96808614c1147922f16d.jpg","text":"TemporaryFile(/tmp/multipartBody8346142232518900094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_20_00_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/30/5dc9d3dba27f402adadd7778ed592d59.jpg","text":"TemporaryFile(/tmp/multipartBody7368642547015613726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_19_59_55_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ee807f9e0766b3856e3fecff3368cac.jpg","text":"TemporaryFile(/tmp/multipartBody3806136639723119509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488115233,"filename":"image_25112025_19_59_58_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036732","file1":"1397036728","file0":"1397036727","file4":"1397036738","file5":"1397036742","file3":"1397036735"},"map_files_photo_id_array":[{"photo_id":"1397036742","filename":"file5"},{"photo_id":"1397036732","filename":"file2"},{"photo_id":"1397036738","filename":"file4"},{"photo_id":"1397036728","filename":"file1"},{"photo_id":"1397036727","filename":"file0"},{"photo_id":"1397036735","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036728":["hashtag1","hashtag2"]},{"1397036727":["hashtag1","hashtag2"]},{"1397036742":["hashtag1","hashtag2"]},{"1397036738":["hashtag1","hashtag2"]},{"1397036732":["hashtag1","hashtag2"]},{"1397036735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036728, 1397036727, 1397036742, 1397036738, 1397036732, 1397036735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81002473831177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:35:02.497209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_45_10738.jpg', '/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_54_9627.jpg', '/home/pi/Desktop/images/30112025/06/40/image_30112025_06_41_04_9798.jpg', '/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_15_10681.jpg', '/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_25_9644.jpg', '/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_35_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_45_10738.jpg
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_40_54_9627.jpg
/home/pi/Desktop/images/30112025/06/40/image_30112025_06_41_04_9798.jpg
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_15_10681.jpg
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_25_9644.jpg
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_35_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036749","1397036751","1397036748","1397036756","1397036750","1397036753"],"photo_ids_order":["1397036748","1397036749","1397036750","1397036751","1397036753","1397036756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7760532ecf8ad56036e05929e145055e.jpg","text":"TemporaryFile(/tmp/multipartBody3171061470838586867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_40_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/682ea6bc5d4d134b5a459f8ca286d954.jpg","text":"TemporaryFile(/tmp/multipartBody7642508353799246606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_41_15_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/30/80a30af71a78598e4e422d404ecf1fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1513348628986594496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_40_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7efb878040da715dd0996596a333edf.jpg","text":"TemporaryFile(/tmp/multipartBody4299677420467964353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_41_35_10342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48fd2934c282ccb8350bcda3266ff6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4912672613702530539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_41_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8a4e0dbea6d534bfa54384565998396.jpg","text":"TemporaryFile(/tmp/multipartBody6333135941176097551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488163239,"filename":"image_30112025_06_41_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036750","file1":"1397036749","file0":"1397036748","file4":"1397036753","file5":"1397036756","file3":"1397036751"},"map_files_photo_id_array":[{"photo_id":"1397036756","filename":"file5"},{"photo_id":"1397036750","filename":"file2"},{"photo_id":"1397036753","filename":"file4"},{"photo_id":"1397036749","filename":"file1"},{"photo_id":"1397036748","filename":"file0"},{"photo_id":"1397036751","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036749":["hashtag1","hashtag2"]},{"1397036751":["hashtag1","hashtag2"]},{"1397036748":["hashtag1","hashtag2"]},{"1397036756":["hashtag1","hashtag2"]},{"1397036750":["hashtag1","hashtag2"]},{"1397036753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036749, 1397036751, 1397036748, 1397036756, 1397036750, 1397036753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.410202741622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:35:41.758781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/11/image_31102025_12_11_57_7220.jpg', '/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_59_1909.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_01_1825.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_06_5060.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_08_1734.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_09_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_57_7220.jpg
/home/pi/Desktop/images/31102025/12/11/image_31102025_12_11_59_1909.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_01_1825.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_06_5060.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_08_1734.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_09_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":["1397036773","1397036767","1397036769","1397036774","1397036768","1397036770"],"photo_ids_order":["1397036767","1397036768","1397036769","1397036770","1397036773","1397036774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52183b8602bd1a846c92094e4b06a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody9140247470108401389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_12_08_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/30/5856bfb4e2a9ecc62170415e08ce364a.jpg","text":"TemporaryFile(/tmp/multipartBody8593382642288688410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_11_57_7220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6435360b414de90578d4a60bdeb4c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7840499215121037911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_12_01_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/30/40591900b26b6f87c05f9cf764e74ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6392219894904114739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_12_09_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1c134786a4452b7edfe2fa6ecc207ac.jpg","text":"TemporaryFile(/tmp/multipartBody5461878461760508002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_11_59_1909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/242a577e75bb31187d4f0abf3caf9d42.jpg","text":"TemporaryFile(/tmp/multipartBody4745281303725657139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488210013,"filename":"image_31102025_12_12_06_5060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036769","file1":"1397036768","file0":"1397036767","file4":"1397036773","file5":"1397036774","file3":"1397036770"},"map_files_photo_id_array":[{"photo_id":"1397036774","filename":"file5"},{"photo_id":"1397036769","filename":"file2"},{"photo_id":"1397036773","filename":"file4"},{"photo_id":"1397036768","filename":"file1"},{"photo_id":"1397036767","filename":"file0"},{"photo_id":"1397036770","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036773":["hashtag1","hashtag2"]},{"1397036767":["hashtag1","hashtag2"]},{"1397036769":["hashtag1","hashtag2"]},{"1397036774":["hashtag1","hashtag2"]},{"1397036768":["hashtag1","hashtag2"]},{"1397036770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036773, 1397036767, 1397036769, 1397036774, 1397036768, 1397036770)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 77.93872094154358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:37:04.104274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_45_10076.jpg', '/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_55_9692.jpg', '/home/pi/Desktop/images/30112025/06/41/image_30112025_06_42_05_10160.jpg', '/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_15_9778.jpg', '/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_24_9670.jpg', '/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_45_10076.jpg
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_41_55_9692.jpg
/home/pi/Desktop/images/30112025/06/41/image_30112025_06_42_05_10160.jpg
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_15_9778.jpg
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_24_9670.jpg
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_34_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036784","1397036786","1397036789","1397036783","1397036791","1397036785"],"photo_ids_order":["1397036783","1397036784","1397036785","1397036786","1397036789","1397036791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/272ed8c7fe616d241cf76167fd58bea4.jpg","text":"TemporaryFile(/tmp/multipartBody5555041103801184023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_41_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a7faca0b00e7d580d4060a56f7be58d.jpg","text":"TemporaryFile(/tmp/multipartBody6355059160483897772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_42_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/923682bc387fd8f4caa211b592fdc325.jpg","text":"TemporaryFile(/tmp/multipartBody2149854877868289537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_42_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeb90d339789818ed65f490015d44de1.jpg","text":"TemporaryFile(/tmp/multipartBody227003314689737469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_41_45_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2354a923aaec120d73441519e2244af0.jpg","text":"TemporaryFile(/tmp/multipartBody9065811877416538328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_42_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec3c7ae4d5690aabddca853d95493427.jpg","text":"TemporaryFile(/tmp/multipartBody4975801264696455829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488284850,"filename":"image_30112025_06_42_05_10160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036785","file1":"1397036784","file0":"1397036783","file4":"1397036789","file5":"1397036791","file3":"1397036786"},"map_files_photo_id_array":[{"photo_id":"1397036791","filename":"file5"},{"photo_id":"1397036785","filename":"file2"},{"photo_id":"1397036789","filename":"file4"},{"photo_id":"1397036784","filename":"file1"},{"photo_id":"1397036783","filename":"file0"},{"photo_id":"1397036786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036784":["hashtag1","hashtag2"]},{"1397036786":["hashtag1","hashtag2"]},{"1397036789":["hashtag1","hashtag2"]},{"1397036783":["hashtag1","hashtag2"]},{"1397036791":["hashtag1","hashtag2"]},{"1397036785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036784, 1397036786, 1397036789, 1397036783, 1397036791, 1397036785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00781869888306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:37:43.481911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/12/image_31102025_12_12_11_1754.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_17_6490.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_19_1681.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_21_1594.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_22_1661.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_26_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_11_1754.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_17_6490.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_19_1681.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_21_1594.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_22_1661.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_26_1575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036804","1397036803","1397036800","1397036799","1397036802","1397036801"],"photo_ids_order":["1397036799","1397036800","1397036801","1397036802","1397036803","1397036804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e544e629235066ec07c69606458ea185.jpg","text":"TemporaryFile(/tmp/multipartBody3028589942908389272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_26_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/30/6db6a692bf6db5d0d20a19247b86f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody8075866876731292268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_22_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/30/01f023933fd347b6a6ccc7e4fb46e931.jpg","text":"TemporaryFile(/tmp/multipartBody3362026741934645487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_17_6490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81309bc4d9a128bdaea9569bce2d4000.jpg","text":"TemporaryFile(/tmp/multipartBody5718933966399520733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_11_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32b1d6e9e71746f09c1baa121cc8c9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8785887892108137841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_21_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8d5ee0ac448cdc4ddaf830f4aac0ead.jpg","text":"TemporaryFile(/tmp/multipartBody9213441626279902128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488329458,"filename":"image_31102025_12_12_19_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036801","file1":"1397036800","file0":"1397036799","file4":"1397036803","file5":"1397036804","file3":"1397036802"},"map_files_photo_id_array":[{"photo_id":"1397036804","filename":"file5"},{"photo_id":"1397036801","filename":"file2"},{"photo_id":"1397036803","filename":"file4"},{"photo_id":"1397036800","filename":"file1"},{"photo_id":"1397036799","filename":"file0"},{"photo_id":"1397036802","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036804":["hashtag1","hashtag2"]},{"1397036803":["hashtag1","hashtag2"]},{"1397036800":["hashtag1","hashtag2"]},{"1397036799":["hashtag1","hashtag2"]},{"1397036802":["hashtag1","hashtag2"]},{"1397036801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036804, 1397036803, 1397036800, 1397036799, 1397036802, 1397036801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.598960399627686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:38:32.696046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_11_3670.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_14_2521.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_16_2597.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_20_3638.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_22_2582.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_26_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_11_3670.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_14_2521.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_16_2597.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_20_3638.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_22_2582.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_26_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036815","1397036812","1397036814","1397036817","1397036810","1397036816"],"photo_ids_order":["1397036810","1397036812","1397036814","1397036815","1397036816","1397036817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08751d1f153e8f8932a54b23e0fc7731.jpg","text":"TemporaryFile(/tmp/multipartBody4630479054682084927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_20_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/30/195831bbf8b0ee341c8b6b6049d60466.jpg","text":"TemporaryFile(/tmp/multipartBody9048403238831197502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_14_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/30/2466c1cf14e0de69a46f678b603ed7c7.jpg","text":"TemporaryFile(/tmp/multipartBody2501462703804731301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_16_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/617410c49a7a65e72ab97057407a8784.jpg","text":"TemporaryFile(/tmp/multipartBody8554061458489703546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_26_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f34fc7a972e9e8b39804339af1a2798.jpg","text":"TemporaryFile(/tmp/multipartBody5052051139415400199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_11_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/30/d551c55c1339159525e432c32ddf4acf.jpg","text":"TemporaryFile(/tmp/multipartBody6743664437172333221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488374707,"filename":"image_25112025_20_00_22_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036814","file1":"1397036812","file0":"1397036810","file4":"1397036816","file5":"1397036817","file3":"1397036815"},"map_files_photo_id_array":[{"photo_id":"1397036817","filename":"file5"},{"photo_id":"1397036814","filename":"file2"},{"photo_id":"1397036816","filename":"file4"},{"photo_id":"1397036812","filename":"file1"},{"photo_id":"1397036810","filename":"file0"},{"photo_id":"1397036815","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036815":["hashtag1","hashtag2"]},{"1397036812":["hashtag1","hashtag2"]},{"1397036814":["hashtag1","hashtag2"]},{"1397036817":["hashtag1","hashtag2"]},{"1397036810":["hashtag1","hashtag2"]},{"1397036816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036815, 1397036812, 1397036814, 1397036817, 1397036810, 1397036816)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.265865087509155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:39:21.782563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_45_10529.jpg', '/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_55_10266.jpg', '/home/pi/Desktop/images/30112025/06/42/image_30112025_06_43_05_9664.jpg', '/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_14_9758.jpg', '/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_25_10739.jpg', '/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_35_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_45_10529.jpg
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_42_55_10266.jpg
/home/pi/Desktop/images/30112025/06/42/image_30112025_06_43_05_9664.jpg
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_14_9758.jpg
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_25_10739.jpg
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_35_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036832","1397036826","1397036835","1397036829","1397036820","1397036823"],"photo_ids_order":["1397036820","1397036823","1397036826","1397036829","1397036832","1397036835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb4bc5580059c6d25ecce735f451ba85.jpg","text":"TemporaryFile(/tmp/multipartBody8832279070515884579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_43_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44a6e754306906a48b56a5ef77abfc0d.jpg","text":"TemporaryFile(/tmp/multipartBody3763762035498725893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_43_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0370f36b6abc2ce3c6074aa8b63bc135.jpg","text":"TemporaryFile(/tmp/multipartBody877733853806391519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_43_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06e879b15c516a01c52f5fa6fd1881b2.jpg","text":"TemporaryFile(/tmp/multipartBody3612551825518346087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_43_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8e3cf4aebeb5c18c5507c05e567ee59.jpg","text":"TemporaryFile(/tmp/multipartBody526242066416784637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_42_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae9020f092d910323ab5dfa626a12957.jpg","text":"TemporaryFile(/tmp/multipartBody7907953029980229481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488422463,"filename":"image_30112025_06_42_55_10266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036826","file1":"1397036823","file0":"1397036820","file4":"1397036832","file5":"1397036835","file3":"1397036829"},"map_files_photo_id_array":[{"photo_id":"1397036835","filename":"file5"},{"photo_id":"1397036826","filename":"file2"},{"photo_id":"1397036832","filename":"file4"},{"photo_id":"1397036823","filename":"file1"},{"photo_id":"1397036820","filename":"file0"},{"photo_id":"1397036829","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036832":["hashtag1","hashtag2"]},{"1397036826":["hashtag1","hashtag2"]},{"1397036835":["hashtag1","hashtag2"]},{"1397036829":["hashtag1","hashtag2"]},{"1397036820":["hashtag1","hashtag2"]},{"1397036823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036832, 1397036826, 1397036835, 1397036829, 1397036820, 1397036823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27105689048767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:40:02.499780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_45_9817.jpg', '/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_55_10053.jpg', '/home/pi/Desktop/images/30112025/06/43/image_30112025_06_44_04_9674.jpg', '/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_15_10691.jpg', '/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_25_9807.jpg', '/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_34_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_45_9817.jpg
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_43_55_10053.jpg
/home/pi/Desktop/images/30112025/06/43/image_30112025_06_44_04_9674.jpg
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_15_10691.jpg
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_25_9807.jpg
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_34_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036839","1397036844","1397036847","1397036841","1397036838","1397036837"],"photo_ids_order":["1397036837","1397036838","1397036839","1397036841","1397036844","1397036847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ded969435c5757529a482d013c2eba3.jpg","text":"TemporaryFile(/tmp/multipartBody5125181883365366504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_44_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05062dd96a14c146bdb202c7acc6257e.jpg","text":"TemporaryFile(/tmp/multipartBody258257248076358236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_44_25_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b995a51854d5d4ee2f379be333df2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8918478150485755161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_44_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80382151199feb0fad39cd2832769fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2746313047295146843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_44_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2af2a69921867c8e137dbdc7a19d8cce.jpg","text":"TemporaryFile(/tmp/multipartBody1288828621168619770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_43_55_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab8119625bcba180b7ba249a44d06a10.jpg","text":"TemporaryFile(/tmp/multipartBody1778074701354049849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488465917,"filename":"image_30112025_06_43_45_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036839","file1":"1397036838","file0":"1397036837","file4":"1397036844","file5":"1397036847","file3":"1397036841"},"map_files_photo_id_array":[{"photo_id":"1397036847","filename":"file5"},{"photo_id":"1397036839","filename":"file2"},{"photo_id":"1397036844","filename":"file4"},{"photo_id":"1397036838","filename":"file1"},{"photo_id":"1397036837","filename":"file0"},{"photo_id":"1397036841","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036839":["hashtag1","hashtag2"]},{"1397036844":["hashtag1","hashtag2"]},{"1397036847":["hashtag1","hashtag2"]},{"1397036841":["hashtag1","hashtag2"]},{"1397036838":["hashtag1","hashtag2"]},{"1397036837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036839, 1397036844, 1397036847, 1397036841, 1397036838, 1397036837)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.519389152526855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:41:06.227467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_45_10579.jpg', '/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_55_9907.jpg', '/home/pi/Desktop/images/30112025/06/44/image_30112025_06_45_04_9588.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_14_9920.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_24_9887.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_35_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_45_10579.jpg
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_44_55_9907.jpg
/home/pi/Desktop/images/30112025/06/44/image_30112025_06_45_04_9588.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_14_9920.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_24_9887.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_35_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036866","1397036863","1397036857","1397036859","1397036856","1397036855"],"photo_ids_order":["1397036855","1397036856","1397036857","1397036859","1397036863","1397036866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46ea0fb27c3b597da3283ead2a2f27a1.jpg","text":"TemporaryFile(/tmp/multipartBody5065781256713732988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_45_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbeb455c6d834bdcc57d59df17f0c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5292978014188714225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_45_24_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31c5ba4f3f2db8cce9de2c59ef242f6b.jpg","text":"TemporaryFile(/tmp/multipartBody800335332062892870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_45_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95a16f5c153fd94492f7e62e8710b195.jpg","text":"TemporaryFile(/tmp/multipartBody4416998192418441912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_45_14_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d4f8ac1b5b26a616b60e44be6956318.jpg","text":"TemporaryFile(/tmp/multipartBody6496617971333024858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_44_55_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10d3234250ea143ba1b2cdad40bb80a7.jpg","text":"TemporaryFile(/tmp/multipartBody68471430186766013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488526998,"filename":"image_30112025_06_44_45_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036857","file1":"1397036856","file0":"1397036855","file4":"1397036863","file5":"1397036866","file3":"1397036859"},"map_files_photo_id_array":[{"photo_id":"1397036866","filename":"file5"},{"photo_id":"1397036857","filename":"file2"},{"photo_id":"1397036863","filename":"file4"},{"photo_id":"1397036856","filename":"file1"},{"photo_id":"1397036855","filename":"file0"},{"photo_id":"1397036859","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036866":["hashtag1","hashtag2"]},{"1397036863":["hashtag1","hashtag2"]},{"1397036857":["hashtag1","hashtag2"]},{"1397036859":["hashtag1","hashtag2"]},{"1397036856":["hashtag1","hashtag2"]},{"1397036855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036866, 1397036863, 1397036857, 1397036859, 1397036856, 1397036855)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.7385356426239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:42:10.248765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_45_9683.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_54_9642.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_46_05_10733.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_15_9587.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_25_9957.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_34_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_45_9683.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_54_9642.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_46_05_10733.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_15_9587.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_25_9957.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_34_9687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6870226860046387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:42:19.758029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_29_2568.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_31_2702.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_34_3158.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_37_2677.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_52_2797.jpg', '/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_55_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_29_2568.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_31_2702.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_34_3158.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_37_2677.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_52_2797.jpg
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_55_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036887","1397036889","1397036880","1397036892","1397036885","1397036876"],"photo_ids_order":["1397036876","1397036880","1397036885","1397036887","1397036889","1397036892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b038fb895aa398eccf21bb8540f2f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8297345272074505624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_37_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec1b7123773d82bd662e5a1349088efc.jpg","text":"TemporaryFile(/tmp/multipartBody621258439734420908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_52_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e62b03b5b39765e5f084e5a639a4f455.jpg","text":"TemporaryFile(/tmp/multipartBody6793815731894606015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_31_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/30/2c0042779f1ffabe3904d7737d732497.jpg","text":"TemporaryFile(/tmp/multipartBody6966949536279614455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_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/30/d5b1dbfdb18e3411bb4ea90bbd99a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6684189069552738146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_34_3158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a26b1060e3864c64d1ad773ec445064.jpg","text":"TemporaryFile(/tmp/multipartBody2616240280507892354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488601577,"filename":"image_25112025_20_00_29_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036885","file1":"1397036880","file0":"1397036876","file4":"1397036889","file5":"1397036892","file3":"1397036887"},"map_files_photo_id_array":[{"photo_id":"1397036892","filename":"file5"},{"photo_id":"1397036885","filename":"file2"},{"photo_id":"1397036889","filename":"file4"},{"photo_id":"1397036880","filename":"file1"},{"photo_id":"1397036876","filename":"file0"},{"photo_id":"1397036887","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036887":["hashtag1","hashtag2"]},{"1397036889":["hashtag1","hashtag2"]},{"1397036880":["hashtag1","hashtag2"]},{"1397036892":["hashtag1","hashtag2"]},{"1397036885":["hashtag1","hashtag2"]},{"1397036876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036887, 1397036889, 1397036880, 1397036892, 1397036885, 1397036876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87914800643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:43:02.597362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:43:14.443117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_59_3559.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_01_2625.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_04_2785.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_08_3685.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_15_7425.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_17_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/00/image_25112025_20_00_59_3559.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_01_2625.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_04_2785.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_08_3685.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_15_7425.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_17_1553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036902","1397036904","1397036894","1397036906","1397036896","1397036899"],"photo_ids_order":["1397036894","1397036896","1397036899","1397036902","1397036904","1397036906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb27a8f08c31074fcda4ed3802b6d302.jpg","text":"TemporaryFile(/tmp/multipartBody151169338740095977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_01_08_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/30/7950e45fc762cc4259b9a47b5cc34746.jpg","text":"TemporaryFile(/tmp/multipartBody1110014292513741507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_01_15_7425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbfb5f55481791d597591878dcd2f115.jpg","text":"TemporaryFile(/tmp/multipartBody389512824667132365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_00_59_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/30/e9e30ed860c6b8e0664b49af77ece00a.jpg","text":"TemporaryFile(/tmp/multipartBody114189961412332205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_01_17_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/30/b680d58b9d59ef530857da2aa5a1ff4c.jpg","text":"TemporaryFile(/tmp/multipartBody7435927514713596502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_01_01_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4dd9fd59d40c2493a7d2af8f23c06e6.jpg","text":"TemporaryFile(/tmp/multipartBody3438833451638399094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488658446,"filename":"image_25112025_20_01_04_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036899","file1":"1397036896","file0":"1397036894","file4":"1397036904","file5":"1397036906","file3":"1397036902"},"map_files_photo_id_array":[{"photo_id":"1397036906","filename":"file5"},{"photo_id":"1397036899","filename":"file2"},{"photo_id":"1397036904","filename":"file4"},{"photo_id":"1397036896","filename":"file1"},{"photo_id":"1397036894","filename":"file0"},{"photo_id":"1397036902","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397036902":["hashtag1","hashtag2"]},{"1397036904":["hashtag1","hashtag2"]},{"1397036894":["hashtag1","hashtag2"]},{"1397036906":["hashtag1","hashtag2"]},{"1397036896":["hashtag1","hashtag2"]},{"1397036899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397036902, 1397036904, 1397036894, 1397036906, 1397036896, 1397036899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2224235534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:44:03.756828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_45_9683.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_54_9642.jpg', '/home/pi/Desktop/images/30112025/06/45/image_30112025_06_46_05_10733.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_15_9587.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_25_9957.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_34_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_45_9683.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_45_54_9642.jpg
/home/pi/Desktop/images/30112025/06/45/image_30112025_06_46_05_10733.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_15_9587.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_25_9957.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_34_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036914","1397036911","1397036916","1397036921","1397036918","1397036912"],"photo_ids_order":["1397036911","1397036912","1397036914","1397036916","1397036918","1397036921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d5ce6530a595dd17da3a4672262cfa1.jpg","text":"TemporaryFile(/tmp/multipartBody2953549519623838896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_46_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e6f1a425c8d584f88a9800634b0df20.jpg","text":"TemporaryFile(/tmp/multipartBody6924074220361640419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_45_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88931edcd42d0c51061efe3c2f1bc429.jpg","text":"TemporaryFile(/tmp/multipartBody6956056539678823059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_46_15_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea23c989a0ad3aec59702c779dc8a06f.jpg","text":"TemporaryFile(/tmp/multipartBody4773649375556117525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_46_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8c614216344c4e51b2fb9fa22bdf498.jpg","text":"TemporaryFile(/tmp/multipartBody77784017481884985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_46_25_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b09ffab8f6e9ab1db139dc28c152da5b.jpg","text":"TemporaryFile(/tmp/multipartBody1887179910832279924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488706897,"filename":"image_30112025_06_45_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036914","file1":"1397036912","file0":"1397036911","file4":"1397036918","file5":"1397036921","file3":"1397036916"},"map_files_photo_id_array":[{"photo_id":"1397036921","filename":"file5"},{"photo_id":"1397036914","filename":"file2"},{"photo_id":"1397036918","filename":"file4"},{"photo_id":"1397036912","filename":"file1"},{"photo_id":"1397036911","filename":"file0"},{"photo_id":"1397036916","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036914":["hashtag1","hashtag2"]},{"1397036911":["hashtag1","hashtag2"]},{"1397036916":["hashtag1","hashtag2"]},{"1397036921":["hashtag1","hashtag2"]},{"1397036918":["hashtag1","hashtag2"]},{"1397036912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036914, 1397036911, 1397036916, 1397036921, 1397036918, 1397036912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15935444831848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:44:43.010298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/12/image_31102025_12_12_28_2671.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_31_2657.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_35_3683.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_37_2742.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_44_3578.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_46_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_28_2671.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_31_2657.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_35_3683.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_37_2742.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_44_3578.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_46_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":["1397036932","1397036929","1397036938","1397036940","1397036934","1397036936"],"photo_ids_order":["1397036929","1397036932","1397036934","1397036936","1397036938","1397036940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb0c1a73586a2f981a4dd6ec5936b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody4097358412442649698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_31_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e6e9d322c25de6163f99dbd5602d55c.jpg","text":"TemporaryFile(/tmp/multipartBody6789843878437946470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70c4a5211e7b60907b2a2956654e5afb.jpg","text":"TemporaryFile(/tmp/multipartBody8273039550198450360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_44_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/30/5dda6ed9f68294dd41a0ca0eb8e5c645.jpg","text":"TemporaryFile(/tmp/multipartBody3331350624717859596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71e1478e46db5762bb2048ca360b1f85.jpg","text":"TemporaryFile(/tmp/multipartBody4522510548001703312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_35_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/30/7e2dc0827ecd26962ae102dc54d7e4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2662994699256520807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488743912,"filename":"image_31102025_12_12_37_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036934","file1":"1397036932","file0":"1397036929","file4":"1397036938","file5":"1397036940","file3":"1397036936"},"map_files_photo_id_array":[{"photo_id":"1397036940","filename":"file5"},{"photo_id":"1397036934","filename":"file2"},{"photo_id":"1397036938","filename":"file4"},{"photo_id":"1397036932","filename":"file1"},{"photo_id":"1397036929","filename":"file0"},{"photo_id":"1397036936","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036932":["hashtag1","hashtag2"]},{"1397036929":["hashtag1","hashtag2"]},{"1397036938":["hashtag1","hashtag2"]},{"1397036940":["hashtag1","hashtag2"]},{"1397036934":["hashtag1","hashtag2"]},{"1397036936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036932, 1397036929, 1397036938, 1397036940, 1397036934, 1397036936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45437145233154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:45:22.212688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_45_10553.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_55_9776.jpg', '/home/pi/Desktop/images/30112025/06/46/image_30112025_06_47_04_9604.jpg', '/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_15_10697.jpg', '/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_25_9627.jpg', '/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_45_10553.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_46_55_9776.jpg
/home/pi/Desktop/images/30112025/06/46/image_30112025_06_47_04_9604.jpg
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_15_10697.jpg
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_25_9627.jpg
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_34_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036953","1397036955","1397036943","1397036946","1397036949","1397036951"],"photo_ids_order":["1397036943","1397036946","1397036949","1397036951","1397036953","1397036955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9a0561adb8fd916190446efef4d54ac.jpg","text":"TemporaryFile(/tmp/multipartBody850363653116994427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_47_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/515f05318f2cfc164ef856e67eef69fa.jpg","text":"TemporaryFile(/tmp/multipartBody5156511857715461333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_47_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f90546e8a4d638637ebae59f79d2e685.jpg","text":"TemporaryFile(/tmp/multipartBody7359585190438693737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_46_45_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c6e881f233e33d2627b540337ced7c1.jpg","text":"TemporaryFile(/tmp/multipartBody831033081163176291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_46_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2aeb009f763e2a74e18599c5cc76496.jpg","text":"TemporaryFile(/tmp/multipartBody3151272964882484063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_47_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd14e852d0798bbbfb2c59fad8746d49.jpg","text":"TemporaryFile(/tmp/multipartBody3339164045065504199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488782898,"filename":"image_30112025_06_47_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036949","file1":"1397036946","file0":"1397036943","file4":"1397036953","file5":"1397036955","file3":"1397036951"},"map_files_photo_id_array":[{"photo_id":"1397036955","filename":"file5"},{"photo_id":"1397036949","filename":"file2"},{"photo_id":"1397036953","filename":"file4"},{"photo_id":"1397036946","filename":"file1"},{"photo_id":"1397036943","filename":"file0"},{"photo_id":"1397036951","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036953":["hashtag1","hashtag2"]},{"1397036955":["hashtag1","hashtag2"]},{"1397036943":["hashtag1","hashtag2"]},{"1397036946":["hashtag1","hashtag2"]},{"1397036949":["hashtag1","hashtag2"]},{"1397036951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036953, 1397036955, 1397036943, 1397036946, 1397036949, 1397036951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282310962677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:46:02.805668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_45_10650.jpg', '/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_55_9772.jpg', '/home/pi/Desktop/images/30112025/06/47/image_30112025_06_48_04_9680.jpg', '/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_14_9872.jpg', '/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_25_10688.jpg', '/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_45_10650.jpg
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_47_55_9772.jpg
/home/pi/Desktop/images/30112025/06/47/image_30112025_06_48_04_9680.jpg
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_14_9872.jpg
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_25_10688.jpg
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_35_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397036959","1397036962","1397036961","1397036964","1397036967","1397036957"],"photo_ids_order":["1397036957","1397036959","1397036961","1397036962","1397036964","1397036967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8141e02c9f8492ac4023067725a9bdba.jpg","text":"TemporaryFile(/tmp/multipartBody5499947166851791990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_47_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d64e21ceb731e62c8960aad46da7b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1875171161221597231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_48_14_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee5d321eb0a83f0558c12b9a48e94817.jpg","text":"TemporaryFile(/tmp/multipartBody8467781506829759947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_48_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1fd8154bedeea6fc6b6ca992ff79f4d.jpg","text":"TemporaryFile(/tmp/multipartBody797335230309633012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_48_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c43a111368b58af0857398932fe8eab2.jpg","text":"TemporaryFile(/tmp/multipartBody4057357897080710749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_48_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10b1a566c1713f0e86cbe7b949922457.jpg","text":"TemporaryFile(/tmp/multipartBody5710258998946531455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488823528,"filename":"image_30112025_06_47_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036961","file1":"1397036959","file0":"1397036957","file4":"1397036964","file5":"1397036967","file3":"1397036962"},"map_files_photo_id_array":[{"photo_id":"1397036967","filename":"file5"},{"photo_id":"1397036961","filename":"file2"},{"photo_id":"1397036964","filename":"file4"},{"photo_id":"1397036959","filename":"file1"},{"photo_id":"1397036957","filename":"file0"},{"photo_id":"1397036962","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397036959":["hashtag1","hashtag2"]},{"1397036962":["hashtag1","hashtag2"]},{"1397036961":["hashtag1","hashtag2"]},{"1397036964":["hashtag1","hashtag2"]},{"1397036967":["hashtag1","hashtag2"]},{"1397036957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397036959, 1397036962, 1397036961, 1397036964, 1397036967, 1397036957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37518548965454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:46:42.383659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/12/image_31102025_12_12_52_5122.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_57_1571.jpg', '/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_59_1703.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_01_1635.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_04_3635.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_07_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/12/12/image_31102025_12_12_52_5122.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_57_1571.jpg
/home/pi/Desktop/images/31102025/12/12/image_31102025_12_12_59_1703.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_01_1635.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_04_3635.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_07_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":["1397036986","1397036982","1397036985","1397036984","1397036987","1397036983"],"photo_ids_order":["1397036982","1397036983","1397036984","1397036985","1397036986","1397036987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8ecfefe62e6a04532e8b7a75b74482f.jpg","text":"TemporaryFile(/tmp/multipartBody5212899689668816248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_13_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/30/daa4497f0fb9d3d20caad79ab46b3611.jpg","text":"TemporaryFile(/tmp/multipartBody332366265275557750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_12_52_5122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e239e41a5d233747fd4d756fb18cd65.jpg","text":"TemporaryFile(/tmp/multipartBody3722152662123468648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_13_01_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/30/d19340e581e2252bd932c21c1c459b38.jpg","text":"TemporaryFile(/tmp/multipartBody7104578762514625594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_12_59_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/30/759feddb6ca9cd23ee00c2e6d450a821.jpg","text":"TemporaryFile(/tmp/multipartBody436341009176028060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_13_07_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/046784afed409a58314fa694ac3ca954.jpg","text":"TemporaryFile(/tmp/multipartBody6379993740594894766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488863317,"filename":"image_31102025_12_12_57_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036984","file1":"1397036983","file0":"1397036982","file4":"1397036986","file5":"1397036987","file3":"1397036985"},"map_files_photo_id_array":[{"photo_id":"1397036987","filename":"file5"},{"photo_id":"1397036984","filename":"file2"},{"photo_id":"1397036986","filename":"file4"},{"photo_id":"1397036983","filename":"file1"},{"photo_id":"1397036982","filename":"file0"},{"photo_id":"1397036985","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397036986":["hashtag1","hashtag2"]},{"1397036982":["hashtag1","hashtag2"]},{"1397036985":["hashtag1","hashtag2"]},{"1397036984":["hashtag1","hashtag2"]},{"1397036987":["hashtag1","hashtag2"]},{"1397036983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397036986, 1397036982, 1397036985, 1397036984, 1397036987, 1397036983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88071417808533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:47:22.597313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_44_9590.jpg', '/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_55_10552.jpg', '/home/pi/Desktop/images/30112025/06/48/image_30112025_06_49_04_9577.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_15_10751.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_25_9625.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_44_9590.jpg
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_48_55_10552.jpg
/home/pi/Desktop/images/30112025/06/48/image_30112025_06_49_04_9577.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_15_10751.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_25_9625.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_34_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037001","1397037004","1397036991","1397036994","1397036999","1397036996"],"photo_ids_order":["1397036991","1397036994","1397036996","1397036999","1397037001","1397037004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99fd60c7ef0ace4439724989ce6db9fa.jpg","text":"TemporaryFile(/tmp/multipartBody2415464664571895087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_49_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70ebd68ef0ff5484981219faa1ce209e.jpg","text":"TemporaryFile(/tmp/multipartBody7923411565118380989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_49_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bfb2a2690ecd772bbb93838876ee9a4.jpg","text":"TemporaryFile(/tmp/multipartBody2382117561860847557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_48_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22dd4c48d0b40e040f2135eb6d656f32.jpg","text":"TemporaryFile(/tmp/multipartBody4589335365304272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_48_55_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aed5adf298ae1a26b94c85c175fe6196.jpg","text":"TemporaryFile(/tmp/multipartBody742491040876257302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_49_15_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f19f9aa4fbd93e07b1493da098179c9.jpg","text":"TemporaryFile(/tmp/multipartBody957870638333194133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488903320,"filename":"image_30112025_06_49_04_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397036996","file1":"1397036994","file0":"1397036991","file4":"1397037001","file5":"1397037004","file3":"1397036999"},"map_files_photo_id_array":[{"photo_id":"1397037004","filename":"file5"},{"photo_id":"1397036996","filename":"file2"},{"photo_id":"1397037001","filename":"file4"},{"photo_id":"1397036994","filename":"file1"},{"photo_id":"1397036991","filename":"file0"},{"photo_id":"1397036999","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037001":["hashtag1","hashtag2"]},{"1397037004":["hashtag1","hashtag2"]},{"1397036991":["hashtag1","hashtag2"]},{"1397036994":["hashtag1","hashtag2"]},{"1397036999":["hashtag1","hashtag2"]},{"1397036996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037001, 1397037004, 1397036991, 1397036994, 1397036999, 1397036996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49717998504639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:48:03.182638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_45_10602.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_54_9587.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_50_04_9737.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_15_10696.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_25_9726.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_34_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_45_10602.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_54_9587.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_50_04_9737.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_15_10696.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_25_9726.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_34_9824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6222376823425293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 08:48:12.690325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_18_1642.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_20_1690.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_23_2763.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_25_2626.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_28_2624.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_32_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_18_1642.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_20_1690.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_23_2763.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_25_2626.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_28_2624.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_32_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037013","1397037019","1397037010","1397037021","1397037023","1397037017"],"photo_ids_order":["1397037010","1397037013","1397037017","1397037019","1397037021","1397037023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/717139c5bd1ab6754eb201b67c083e68.jpg","text":"TemporaryFile(/tmp/multipartBody1209433736487865623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_20_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/30/17a570be26600fbcd32d344d8a654881.jpg","text":"TemporaryFile(/tmp/multipartBody4020004592926110296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_25_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/30/f34f594bc2e1ce078165313de0505f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6966944628744377545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_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/30/ab88c93ab0a4abbd36c1a62003fe4b27.jpg","text":"TemporaryFile(/tmp/multipartBody7269466396844152542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_28_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/30/394812c178c096abb651ebd0cc692170.jpg","text":"TemporaryFile(/tmp/multipartBody9170204496025094712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_32_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/30/89c7b3cbcebb9bc2178a7d215e5c0773.jpg","text":"TemporaryFile(/tmp/multipartBody4117012559789605754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764488954431,"filename":"image_25112025_20_01_23_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037017","file1":"1397037013","file0":"1397037010","file4":"1397037021","file5":"1397037023","file3":"1397037019"},"map_files_photo_id_array":[{"photo_id":"1397037023","filename":"file5"},{"photo_id":"1397037017","filename":"file2"},{"photo_id":"1397037021","filename":"file4"},{"photo_id":"1397037013","filename":"file1"},{"photo_id":"1397037010","filename":"file0"},{"photo_id":"1397037019","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397037013":["hashtag1","hashtag2"]},{"1397037019":["hashtag1","hashtag2"]},{"1397037010":["hashtag1","hashtag2"]},{"1397037021":["hashtag1","hashtag2"]},{"1397037023":["hashtag1","hashtag2"]},{"1397037017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397037013, 1397037019, 1397037010, 1397037021, 1397037023, 1397037017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25087547302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:49:02.821529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_45_10602.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_54_9587.jpg', '/home/pi/Desktop/images/30112025/06/49/image_30112025_06_50_04_9737.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_15_10696.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_25_9726.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_34_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_45_10602.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_49_54_9587.jpg
/home/pi/Desktop/images/30112025/06/49/image_30112025_06_50_04_9737.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_15_10696.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_25_9726.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_34_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037034","1397037028","1397037027","1397037029","1397037026","1397037031"],"photo_ids_order":["1397037026","1397037027","1397037028","1397037029","1397037031","1397037034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aefe4718c0c26caa113739cc44eb4e61.jpg","text":"TemporaryFile(/tmp/multipartBody2117639796777815722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_50_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c7fc229a8d5679a3bb1c79c149862ea.jpg","text":"TemporaryFile(/tmp/multipartBody7069016876822495170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_50_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d866c1eb3945e205c3a3225d699de2a3.jpg","text":"TemporaryFile(/tmp/multipartBody864328659325556044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_49_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83aa477c0de2377e20f4bd65aba82c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3746176153789949187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_50_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82dc3f60172cc2948078936146b8b016.jpg","text":"TemporaryFile(/tmp/multipartBody7602813730926351374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_49_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8728172a46bec0dbaa6a731bd970382b.jpg","text":"TemporaryFile(/tmp/multipartBody1722013993465905842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489003704,"filename":"image_30112025_06_50_25_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037028","file1":"1397037027","file0":"1397037026","file4":"1397037031","file5":"1397037034","file3":"1397037029"},"map_files_photo_id_array":[{"photo_id":"1397037034","filename":"file5"},{"photo_id":"1397037028","filename":"file2"},{"photo_id":"1397037031","filename":"file4"},{"photo_id":"1397037027","filename":"file1"},{"photo_id":"1397037026","filename":"file0"},{"photo_id":"1397037029","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037034":["hashtag1","hashtag2"]},{"1397037028":["hashtag1","hashtag2"]},{"1397037027":["hashtag1","hashtag2"]},{"1397037029":["hashtag1","hashtag2"]},{"1397037026":["hashtag1","hashtag2"]},{"1397037031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037034, 1397037028, 1397037027, 1397037029, 1397037026, 1397037031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12431502342224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:49:41.860631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/13/image_31102025_12_13_11_3590.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_13_2723.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_16_2855.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_19_2687.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_23_3766.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_27_4328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_11_3590.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_13_2723.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_16_2855.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_19_2687.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_23_3766.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_27_4328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037049","1397037042","1397037051","1397037048","1397037047","1397037046"],"photo_ids_order":["1397037042","1397037046","1397037047","1397037048","1397037049","1397037051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05dbfcc7b2859a1af5bcb177a301ab71.jpg","text":"TemporaryFile(/tmp/multipartBody5167064618878358103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_23_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/30/697cdf181ac81badab6d6dcc4d16654d.jpg","text":"TemporaryFile(/tmp/multipartBody1024122031718553810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_11_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5ff5819d84af7e7b11ddccade86620c.jpg","text":"TemporaryFile(/tmp/multipartBody7680327816185801035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_27_4328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fcfd86866aacac2ebddf205e3e109603.jpg","text":"TemporaryFile(/tmp/multipartBody6796032583619531901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_19_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6758c97a57ebb34b176c188d74888203.jpg","text":"TemporaryFile(/tmp/multipartBody4251513092992191284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_16_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/30/98075984724881a62c6d2bd839145b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2275236195355897811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489042759,"filename":"image_31102025_12_13_13_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037047","file1":"1397037046","file0":"1397037042","file4":"1397037049","file5":"1397037051","file3":"1397037048"},"map_files_photo_id_array":[{"photo_id":"1397037051","filename":"file5"},{"photo_id":"1397037047","filename":"file2"},{"photo_id":"1397037049","filename":"file4"},{"photo_id":"1397037046","filename":"file1"},{"photo_id":"1397037042","filename":"file0"},{"photo_id":"1397037048","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397037049":["hashtag1","hashtag2"]},{"1397037042":["hashtag1","hashtag2"]},{"1397037051":["hashtag1","hashtag2"]},{"1397037048":["hashtag1","hashtag2"]},{"1397037047":["hashtag1","hashtag2"]},{"1397037046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397037049, 1397037042, 1397037051, 1397037048, 1397037047, 1397037046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.571966886520386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:50:21.991120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_44_9582.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_55_10665.jpg', '/home/pi/Desktop/images/30112025/06/50/image_30112025_06_51_04_9725.jpg', '/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_14_9772.jpg', '/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_25_10746.jpg', '/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_44_9582.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_50_55_10665.jpg
/home/pi/Desktop/images/30112025/06/50/image_30112025_06_51_04_9725.jpg
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_14_9772.jpg
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_25_10746.jpg
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_35_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037061","1397037063","1397037054","1397037065","1397037064","1397037058"],"photo_ids_order":["1397037054","1397037058","1397037061","1397037063","1397037064","1397037065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3477aa77fcd4f3f0d10e72a459ae83b5.jpg","text":"TemporaryFile(/tmp/multipartBody2944348034895671500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_51_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8c6ffba9e877511d97a50452e858269.jpg","text":"TemporaryFile(/tmp/multipartBody7365598202467200471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_51_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/568add2ea7c0082d4a87c95d819372fa.jpg","text":"TemporaryFile(/tmp/multipartBody2296213372171224623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_50_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/911c1c44c5c8599e1ca12dbafc676165.jpg","text":"TemporaryFile(/tmp/multipartBody8878223878382742099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_51_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e3e9e285a49ae8ae7f7307fc7fd1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5259046875411388360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_51_25_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb796e9dc61a8a7a1cafdd67f8d051ca.jpg","text":"TemporaryFile(/tmp/multipartBody1061003061866324731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489082684,"filename":"image_30112025_06_50_55_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037061","file1":"1397037058","file0":"1397037054","file4":"1397037064","file5":"1397037065","file3":"1397037063"},"map_files_photo_id_array":[{"photo_id":"1397037065","filename":"file5"},{"photo_id":"1397037061","filename":"file2"},{"photo_id":"1397037064","filename":"file4"},{"photo_id":"1397037058","filename":"file1"},{"photo_id":"1397037054","filename":"file0"},{"photo_id":"1397037063","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037061":["hashtag1","hashtag2"]},{"1397037063":["hashtag1","hashtag2"]},{"1397037054":["hashtag1","hashtag2"]},{"1397037065":["hashtag1","hashtag2"]},{"1397037064":["hashtag1","hashtag2"]},{"1397037058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037061, 1397037063, 1397037054, 1397037065, 1397037064, 1397037058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28064489364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:51:02.878561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_44_9709.jpg', '/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_55_10599.jpg', '/home/pi/Desktop/images/30112025/06/51/image_30112025_06_52_05_9644.jpg', '/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_14_9615.jpg', '/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_34_9461.jpg', '/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_45_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_44_9709.jpg
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_51_55_10599.jpg
/home/pi/Desktop/images/30112025/06/51/image_30112025_06_52_05_9644.jpg
/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_14_9615.jpg
/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_34_9461.jpg
/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_45_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037072","1397037066","1397037068","1397037076","1397037070","1397037067"],"photo_ids_order":["1397037066","1397037067","1397037068","1397037070","1397037072","1397037076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f9084a498555f2907b27cb444551299.jpg","text":"TemporaryFile(/tmp/multipartBody1032624438937236349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_52_34_9461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7486eea4e61cac171eeb0260ca3d74f.jpg","text":"TemporaryFile(/tmp/multipartBody9212330501379421928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_51_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28b564ca753a120f27e3651d249f9c43.jpg","text":"TemporaryFile(/tmp/multipartBody1124027715510862902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_52_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2115ebb0f2adc73b5eb40ad4e37ea2b2.jpg","text":"TemporaryFile(/tmp/multipartBody4697076304784910045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_52_45_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b98d57fa81a9b822462f6d48193f062.jpg","text":"TemporaryFile(/tmp/multipartBody2261684258744863139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_52_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/199fca4ea6b799e5856dc4fccfbe2f75.jpg","text":"TemporaryFile(/tmp/multipartBody6653345390377360996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489123670,"filename":"image_30112025_06_51_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037068","file1":"1397037067","file0":"1397037066","file4":"1397037072","file5":"1397037076","file3":"1397037070"},"map_files_photo_id_array":[{"photo_id":"1397037076","filename":"file5"},{"photo_id":"1397037068","filename":"file2"},{"photo_id":"1397037072","filename":"file4"},{"photo_id":"1397037067","filename":"file1"},{"photo_id":"1397037066","filename":"file0"},{"photo_id":"1397037070","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037072":["hashtag1","hashtag2"]},{"1397037066":["hashtag1","hashtag2"]},{"1397037068":["hashtag1","hashtag2"]},{"1397037076":["hashtag1","hashtag2"]},{"1397037070":["hashtag1","hashtag2"]},{"1397037067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037072, 1397037066, 1397037068, 1397037076, 1397037070, 1397037067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91184902191162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:51:42.466421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/13/image_31102025_12_13_29_1790.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_34_1670.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_37_3152.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_40_2683.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_44_4039.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_47_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_29_1790.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_34_1670.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_37_3152.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_40_2683.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_44_4039.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_47_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037087","1397037081","1397037084","1397037086","1397037089","1397037085"],"photo_ids_order":["1397037081","1397037084","1397037085","1397037086","1397037087","1397037089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9aff9533ff06d6b9116085cf06f6fecf.jpg","text":"TemporaryFile(/tmp/multipartBody5666544372906067823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_44_4039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e15e58448a66450ab6cb3f0ff5b89cf9.jpg","text":"TemporaryFile(/tmp/multipartBody4420085332127820275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_29_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/30/ee5b38b5a6cb2f533357ad2ca85cce1b.jpg","text":"TemporaryFile(/tmp/multipartBody7463365620463857187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_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/30/40cebc5ae88e96f2f00b33b3e6f57b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1207285027157328521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_40_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/30/1ea90aeea669ac97bba2951533d8f254.jpg","text":"TemporaryFile(/tmp/multipartBody6354493361892906184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_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/30/cdf75b48b155c58b634b661a077238b4.jpg","text":"TemporaryFile(/tmp/multipartBody991117530385018333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489163351,"filename":"image_31102025_12_13_37_3152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037085","file1":"1397037084","file0":"1397037081","file4":"1397037087","file5":"1397037089","file3":"1397037086"},"map_files_photo_id_array":[{"photo_id":"1397037089","filename":"file5"},{"photo_id":"1397037085","filename":"file2"},{"photo_id":"1397037087","filename":"file4"},{"photo_id":"1397037084","filename":"file1"},{"photo_id":"1397037081","filename":"file0"},{"photo_id":"1397037086","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397037087":["hashtag1","hashtag2"]},{"1397037081":["hashtag1","hashtag2"]},{"1397037084":["hashtag1","hashtag2"]},{"1397037086":["hashtag1","hashtag2"]},{"1397037089":["hashtag1","hashtag2"]},{"1397037085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397037087, 1397037081, 1397037084, 1397037086, 1397037089, 1397037085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36032223701477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:52:22.687986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_55_9692.jpg', '/home/pi/Desktop/images/30112025/06/52/image_30112025_06_53_04_9667.jpg', '/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_15_10670.jpg', '/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_25_9886.jpg', '/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_34_9637.jpg', '/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/52/image_30112025_06_52_55_9692.jpg
/home/pi/Desktop/images/30112025/06/52/image_30112025_06_53_04_9667.jpg
/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_15_10670.jpg
/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_25_9886.jpg
/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_34_9637.jpg
/home/pi/Desktop/images/30112025/06/53/image_30112025_06_53_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037099","1397037096","1397037105","1397037102","1397037092","1397037095"],"photo_ids_order":["1397037092","1397037095","1397037096","1397037099","1397037102","1397037105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8b91248f2cc55967da6f35bcdeb1888.jpg","text":"TemporaryFile(/tmp/multipartBody8661737295596998800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_53_25_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/441f3dcb1855952eb9b29991b446bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody2280326149916742764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_53_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f0d0707ed1d46ec6b1f75e260932c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3022287083058306657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_53_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c02379fad1ebd85df49f6a4f3f187c86.jpg","text":"TemporaryFile(/tmp/multipartBody1929279810501026878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_53_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6695a5f31e91a6e5227a103806501c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1098900183599603978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_52_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c2a0b4ffd53b193865b0896cdd97f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7219713998671375824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489203371,"filename":"image_30112025_06_53_04_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037096","file1":"1397037095","file0":"1397037092","file4":"1397037102","file5":"1397037105","file3":"1397037099"},"map_files_photo_id_array":[{"photo_id":"1397037105","filename":"file5"},{"photo_id":"1397037096","filename":"file2"},{"photo_id":"1397037102","filename":"file4"},{"photo_id":"1397037095","filename":"file1"},{"photo_id":"1397037092","filename":"file0"},{"photo_id":"1397037099","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037099":["hashtag1","hashtag2"]},{"1397037096":["hashtag1","hashtag2"]},{"1397037105":["hashtag1","hashtag2"]},{"1397037102":["hashtag1","hashtag2"]},{"1397037092":["hashtag1","hashtag2"]},{"1397037095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037099, 1397037096, 1397037105, 1397037102, 1397037092, 1397037095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.924686908721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:53:02.565059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/53/image_30112025_06_54_04_9722.jpg', '/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_14_9727.jpg', '/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_25_10553.jpg', '/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_34_9731.jpg', '/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_44_9636.jpg', '/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_55_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/53/image_30112025_06_54_04_9722.jpg
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_14_9727.jpg
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_25_10553.jpg
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_34_9731.jpg
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_44_9636.jpg
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_54_55_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037115","1397037106","1397037111","1397037108","1397037110","1397037113"],"photo_ids_order":["1397037106","1397037108","1397037110","1397037111","1397037113","1397037115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c72560050ca0625805ca9635eb4d13b1.jpg","text":"TemporaryFile(/tmp/multipartBody7245554270281725337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e565316fc2bb7da72d7cb96d558c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody4137073717272209049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ae1c8557076d6e4f473d4e64f4935eb.jpg","text":"TemporaryFile(/tmp/multipartBody174087996956642129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c71cb4572c55a99f503ac04d8e6c5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8542235380277979098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19d7b192a45de9de6c6cc1cae1682d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5848242955670096378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a203dae3002978c3bd9b36b4f01766b4.jpg","text":"TemporaryFile(/tmp/multipartBody4177989263104281507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489243367,"filename":"image_30112025_06_54_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037110","file1":"1397037108","file0":"1397037106","file4":"1397037113","file5":"1397037115","file3":"1397037111"},"map_files_photo_id_array":[{"photo_id":"1397037115","filename":"file5"},{"photo_id":"1397037110","filename":"file2"},{"photo_id":"1397037113","filename":"file4"},{"photo_id":"1397037108","filename":"file1"},{"photo_id":"1397037106","filename":"file0"},{"photo_id":"1397037111","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037115":["hashtag1","hashtag2"]},{"1397037106":["hashtag1","hashtag2"]},{"1397037111":["hashtag1","hashtag2"]},{"1397037108":["hashtag1","hashtag2"]},{"1397037110":["hashtag1","hashtag2"]},{"1397037113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037115, 1397037106, 1397037111, 1397037108, 1397037110, 1397037113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.196762561798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:53:41.984251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/13/image_31102025_12_13_52_2896.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_55_2709.jpg', '/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_58_2824.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_01_3358.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_04_2868.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_20_16170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_52_2896.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_55_2709.jpg
/home/pi/Desktop/images/31102025/12/13/image_31102025_12_13_58_2824.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_01_3358.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_04_2868.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_20_16170.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037124","1397037132","1397037126","1397037128","1397037122","1397037130"],"photo_ids_order":["1397037122","1397037124","1397037126","1397037128","1397037130","1397037132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec9890c84133be01391b1ff302475756.jpg","text":"TemporaryFile(/tmp/multipartBody3738688807720237305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_13_55_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/30/ae3f858fd75883d01aea4bf2731e1bff.jpg","text":"TemporaryFile(/tmp/multipartBody2536771295597235647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_14_20_16170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02ba9fdb1eb17e475b97f2f02224f726.jpg","text":"TemporaryFile(/tmp/multipartBody2380387543956451783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_13_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/30/f0132050454c0e1a4502be85875bba7f.jpg","text":"TemporaryFile(/tmp/multipartBody7901315991939448177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_14_01_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c3aa387635c80647b2055395523bc3d.jpg","text":"TemporaryFile(/tmp/multipartBody4979091429798832295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_13_52_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/30/d4074211a429d459fa7abf45343b5382.jpg","text":"TemporaryFile(/tmp/multipartBody3535386476784353920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489282907,"filename":"image_31102025_12_14_04_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037126","file1":"1397037124","file0":"1397037122","file4":"1397037130","file5":"1397037132","file3":"1397037128"},"map_files_photo_id_array":[{"photo_id":"1397037132","filename":"file5"},{"photo_id":"1397037126","filename":"file2"},{"photo_id":"1397037130","filename":"file4"},{"photo_id":"1397037124","filename":"file1"},{"photo_id":"1397037122","filename":"file0"},{"photo_id":"1397037128","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397037124":["hashtag1","hashtag2"]},{"1397037132":["hashtag1","hashtag2"]},{"1397037126":["hashtag1","hashtag2"]},{"1397037128":["hashtag1","hashtag2"]},{"1397037122":["hashtag1","hashtag2"]},{"1397037130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397037124, 1397037132, 1397037126, 1397037128, 1397037122, 1397037130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23465633392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:54:22.142444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/54/image_30112025_06_55_04_9668.jpg', '/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_14_9745.jpg', '/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_24_9887.jpg', '/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_35_10772.jpg', '/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_44_9576.jpg', '/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_55_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/54/image_30112025_06_55_04_9668.jpg
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_14_9745.jpg
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_24_9887.jpg
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_35_10772.jpg
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_44_9576.jpg
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_55_55_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037142","1397037144","1397037138","1397037146","1397037140","1397037143"],"photo_ids_order":["1397037138","1397037140","1397037142","1397037143","1397037144","1397037146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b071f7e7a548f03235f0be34860f9e6b.jpg","text":"TemporaryFile(/tmp/multipartBody959372361333248642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_24_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72402227fb0f63e9a743059a1fa1e739.jpg","text":"TemporaryFile(/tmp/multipartBody4350082769898074706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7215e99dba63147ecca719fcac19aace.jpg","text":"TemporaryFile(/tmp/multipartBody8232720623238584040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dca2fa0cd347474ec9866929ab19f782.jpg","text":"TemporaryFile(/tmp/multipartBody8686531894508107813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e45a78f0565f9e4ed256ee6e1bc9a268.jpg","text":"TemporaryFile(/tmp/multipartBody4840127864543001173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8cc5073dcc10e38f80c7ae03cf736ac.jpg","text":"TemporaryFile(/tmp/multipartBody1613567525872709362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489322828,"filename":"image_30112025_06_55_35_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037142","file1":"1397037140","file0":"1397037138","file4":"1397037144","file5":"1397037146","file3":"1397037143"},"map_files_photo_id_array":[{"photo_id":"1397037146","filename":"file5"},{"photo_id":"1397037142","filename":"file2"},{"photo_id":"1397037144","filename":"file4"},{"photo_id":"1397037140","filename":"file1"},{"photo_id":"1397037138","filename":"file0"},{"photo_id":"1397037143","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037142":["hashtag1","hashtag2"]},{"1397037144":["hashtag1","hashtag2"]},{"1397037138":["hashtag1","hashtag2"]},{"1397037146":["hashtag1","hashtag2"]},{"1397037140":["hashtag1","hashtag2"]},{"1397037143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037142, 1397037144, 1397037138, 1397037146, 1397037140, 1397037143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52467226982117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:55:02.759726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/55/image_30112025_06_56_05_9586.jpg', '/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_14_9703.jpg', '/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_25_10678.jpg', '/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_35_9670.jpg', '/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_44_9650.jpg', '/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_55_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/55/image_30112025_06_56_05_9586.jpg
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_14_9703.jpg
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_25_10678.jpg
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_35_9670.jpg
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_44_9650.jpg
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_56_55_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037156","1397037164","1397037152","1397037161","1397037155","1397037158"],"photo_ids_order":["1397037152","1397037155","1397037156","1397037158","1397037161","1397037164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91084b861ded5a2184ee52deb6b68ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2038468342515767069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c1d0f3037162d12566c39e2e7a19c76.jpg","text":"TemporaryFile(/tmp/multipartBody8863686000293019509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/295de06b2bfdb8d029677e98ceddf169.jpg","text":"TemporaryFile(/tmp/multipartBody1143698867063699169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd380606db6a5a49f324a5ed36d98764.jpg","text":"TemporaryFile(/tmp/multipartBody5370754508226653643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adc89dbc32afd6244f228fbd32d1eab9.jpg","text":"TemporaryFile(/tmp/multipartBody4697436394781595112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_14_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e434ba9276db883c55f51db335714e78.jpg","text":"TemporaryFile(/tmp/multipartBody6138777018347653541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489363541,"filename":"image_30112025_06_56_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037156","file1":"1397037155","file0":"1397037152","file4":"1397037161","file5":"1397037164","file3":"1397037158"},"map_files_photo_id_array":[{"photo_id":"1397037164","filename":"file5"},{"photo_id":"1397037156","filename":"file2"},{"photo_id":"1397037161","filename":"file4"},{"photo_id":"1397037155","filename":"file1"},{"photo_id":"1397037152","filename":"file0"},{"photo_id":"1397037158","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037156":["hashtag1","hashtag2"]},{"1397037164":["hashtag1","hashtag2"]},{"1397037152":["hashtag1","hashtag2"]},{"1397037161":["hashtag1","hashtag2"]},{"1397037155":["hashtag1","hashtag2"]},{"1397037158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037156, 1397037164, 1397037152, 1397037161, 1397037155, 1397037158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09108018875122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:55:42.475971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/14/image_31102025_12_14_25_1682.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_27_1652.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_28_1775.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_31_1562.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_33_1701.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_35_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_25_1682.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_27_1652.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_28_1775.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_31_1562.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_33_1701.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_35_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037169","1397037171","1397037174","1397037176","1397037181","1397037178"],"photo_ids_order":["1397037169","1397037171","1397037174","1397037176","1397037178","1397037181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16df1c4d6859b5bb862de39a8c8bf948.jpg","text":"TemporaryFile(/tmp/multipartBody1486064272000392920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_25_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/30/bf73050e9492c35a5e969965abc40798.jpg","text":"TemporaryFile(/tmp/multipartBody2990957785025960434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_27_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/30/d3e72efef809fe546267a0538847bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8891119132711851656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_28_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/30/f6b5a853344f504fda363a193540137c.jpg","text":"TemporaryFile(/tmp/multipartBody7433184222908420644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_31_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d1bce319614da4d65aa7032c99148df.jpg","text":"TemporaryFile(/tmp/multipartBody7925521347345617167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_35_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/30/903c39295834c7fdf8396cea07142d11.jpg","text":"TemporaryFile(/tmp/multipartBody6331689443433143761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489403352,"filename":"image_31102025_12_14_33_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037174","file1":"1397037171","file0":"1397037169","file4":"1397037178","file5":"1397037181","file3":"1397037176"},"map_files_photo_id_array":[{"photo_id":"1397037181","filename":"file5"},{"photo_id":"1397037174","filename":"file2"},{"photo_id":"1397037178","filename":"file4"},{"photo_id":"1397037171","filename":"file1"},{"photo_id":"1397037169","filename":"file0"},{"photo_id":"1397037176","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397037169":["hashtag1","hashtag2"]},{"1397037171":["hashtag1","hashtag2"]},{"1397037174":["hashtag1","hashtag2"]},{"1397037176":["hashtag1","hashtag2"]},{"1397037181":["hashtag1","hashtag2"]},{"1397037178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397037169, 1397037171, 1397037174, 1397037176, 1397037181, 1397037178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29490804672241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 08:56:22.650789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/56/image_30112025_06_57_05_9648.jpg', '/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_14_9599.jpg', '/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_25_10785.jpg', '/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_35_9832.jpg', '/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_44_9553.jpg', '/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/56/image_30112025_06_57_05_9648.jpg
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_14_9599.jpg
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_25_10785.jpg
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_35_9832.jpg
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_44_9553.jpg
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_57_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037192","1397037186","1397037195","1397037189","1397037197","1397037194"],"photo_ids_order":["1397037186","1397037189","1397037192","1397037194","1397037195","1397037197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98011b49566230f6d801cf0418b29944.jpg","text":"TemporaryFile(/tmp/multipartBody3894455640175516585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_25_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f58d2adc90d209bfc6416e67ef92ea86.jpg","text":"TemporaryFile(/tmp/multipartBody6793023383381759540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8544e4ccd0c03d987009a814c0350ba9.jpg","text":"TemporaryFile(/tmp/multipartBody4175101672370000185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/211df359dad30ffc6fb075b24eb7127f.jpg","text":"TemporaryFile(/tmp/multipartBody4487941092180467253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78ceab6b3e17f27c87903fbb42540dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8039304893261153196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/003b87f9f69f34af1d55b70d479b9464.jpg","text":"TemporaryFile(/tmp/multipartBody979112581570959843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489443361,"filename":"image_30112025_06_57_35_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037192","file1":"1397037189","file0":"1397037186","file4":"1397037195","file5":"1397037197","file3":"1397037194"},"map_files_photo_id_array":[{"photo_id":"1397037197","filename":"file5"},{"photo_id":"1397037192","filename":"file2"},{"photo_id":"1397037195","filename":"file4"},{"photo_id":"1397037189","filename":"file1"},{"photo_id":"1397037186","filename":"file0"},{"photo_id":"1397037194","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037192":["hashtag1","hashtag2"]},{"1397037186":["hashtag1","hashtag2"]},{"1397037195":["hashtag1","hashtag2"]},{"1397037189":["hashtag1","hashtag2"]},{"1397037197":["hashtag1","hashtag2"]},{"1397037194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037192, 1397037186, 1397037195, 1397037189, 1397037197, 1397037194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09752035140991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:57:02.728897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/57/image_30112025_06_58_05_10858.jpg', '/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_24_9810.jpg', '/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_34_9620.jpg', '/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_45_10675.jpg', '/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_54_9746.jpg', '/home/pi/Desktop/images/30112025/06/58/image_30112025_06_59_04_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/57/image_30112025_06_58_05_10858.jpg
/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_24_9810.jpg
/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_34_9620.jpg
/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_45_10675.jpg
/home/pi/Desktop/images/30112025/06/58/image_30112025_06_58_54_9746.jpg
/home/pi/Desktop/images/30112025/06/58/image_30112025_06_59_04_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037198","1397037207","1397037201","1397037200","1397037203","1397037199"],"photo_ids_order":["1397037198","1397037199","1397037200","1397037201","1397037203","1397037207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfd5f2f68d9facf49b3ef07ce64bec36.jpg","text":"TemporaryFile(/tmp/multipartBody2347079253234142137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_58_05_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/320cba769f7129ef911451f426a83379.jpg","text":"TemporaryFile(/tmp/multipartBody3012877245854802781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_59_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34ef4838b63e25c37f081b55f673d426.jpg","text":"TemporaryFile(/tmp/multipartBody5269981278583031401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_58_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cecf9633c2a03a2c558e92b38c672a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8317973936295377891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_58_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe87ffbf030b05de36e4fa4302dfe4ed.jpg","text":"TemporaryFile(/tmp/multipartBody7669878656735268584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_58_54_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f07cfbe1dec84cab893921d8519bc562.jpg","text":"TemporaryFile(/tmp/multipartBody7541947073014847674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489483473,"filename":"image_30112025_06_58_24_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037200","file1":"1397037199","file0":"1397037198","file4":"1397037203","file5":"1397037207","file3":"1397037201"},"map_files_photo_id_array":[{"photo_id":"1397037207","filename":"file5"},{"photo_id":"1397037200","filename":"file2"},{"photo_id":"1397037203","filename":"file4"},{"photo_id":"1397037199","filename":"file1"},{"photo_id":"1397037198","filename":"file0"},{"photo_id":"1397037201","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037198":["hashtag1","hashtag2"]},{"1397037207":["hashtag1","hashtag2"]},{"1397037201":["hashtag1","hashtag2"]},{"1397037200":["hashtag1","hashtag2"]},{"1397037203":["hashtag1","hashtag2"]},{"1397037199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037198, 1397037207, 1397037201, 1397037200, 1397037203, 1397037199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10493040084839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 08:57:41.964078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/14/image_31102025_12_14_37_1676.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_38_1643.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_40_1678.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_44_3684.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_46_2676.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_49_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_37_1676.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_38_1643.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_40_1678.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_44_3684.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_46_2676.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_49_2719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037217","1397037216","1397037219","1397037213","1397037215","1397037218"],"photo_ids_order":["1397037213","1397037215","1397037216","1397037217","1397037218","1397037219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58c2d4df97713e63df7a2eb95f0f0309.jpg","text":"TemporaryFile(/tmp/multipartBody869466357594579336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_44_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/30/a8b9ab6107d3ce2268b36a091ce78455.jpg","text":"TemporaryFile(/tmp/multipartBody2087035949940342238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_40_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/30/aa4cd0d48380e2869a5b181fa9c3f398.jpg","text":"TemporaryFile(/tmp/multipartBody781937386602313089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_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/30/35375ae6076597b54d4e3cfecc2ab002.jpg","text":"TemporaryFile(/tmp/multipartBody279309314180278118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_37_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/30/66e8a5565284433b1ae9d9d7a4504f3c.jpg","text":"TemporaryFile(/tmp/multipartBody5751061394982556640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_38_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/30/a585b6a132301b0edcc783fe9cbef8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2665573103024978877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489522899,"filename":"image_31102025_12_14_46_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037216","file1":"1397037215","file0":"1397037213","file4":"1397037218","file5":"1397037219","file3":"1397037217"},"map_files_photo_id_array":[{"photo_id":"1397037219","filename":"file5"},{"photo_id":"1397037216","filename":"file2"},{"photo_id":"1397037218","filename":"file4"},{"photo_id":"1397037215","filename":"file1"},{"photo_id":"1397037213","filename":"file0"},{"photo_id":"1397037217","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397037217":["hashtag1","hashtag2"]},{"1397037216":["hashtag1","hashtag2"]},{"1397037219":["hashtag1","hashtag2"]},{"1397037213":["hashtag1","hashtag2"]},{"1397037215":["hashtag1","hashtag2"]},{"1397037218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397037217, 1397037216, 1397037219, 1397037213, 1397037215, 1397037218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94839262962341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 08:59:03.213887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_15_10733.jpg', '/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_24_9619.jpg', '/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_34_9700.jpg', '/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_45_10617.jpg', '/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_54_9571.jpg', '/home/pi/Desktop/images/30112025/06/59/image_30112025_07_00_04_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_15_10733.jpg
/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_24_9619.jpg
/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_34_9700.jpg
/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_45_10617.jpg
/home/pi/Desktop/images/30112025/06/59/image_30112025_06_59_54_9571.jpg
/home/pi/Desktop/images/30112025/06/59/image_30112025_07_00_04_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397037658","1397037811","1397037813","1397037695","1397037775","1397037733"],"photo_ids_order":["1397037658","1397037695","1397037733","1397037775","1397037811","1397037813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ef167efe875695b530f281921d7592b.jpg","text":"TemporaryFile(/tmp/multipartBody1570964001721183514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_06_59_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a362c7a64298e7a035bcc22402ceadb.jpg","text":"TemporaryFile(/tmp/multipartBody5053179067257507814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_06_59_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d5888e6d566e10e98e7c150f00cb751.jpg","text":"TemporaryFile(/tmp/multipartBody7651532855181183293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_07_00_04_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28ee636c0df5e75a48a8105fd38e427c.jpg","text":"TemporaryFile(/tmp/multipartBody1223174867828421339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_06_59_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97f8383d79dbd0141eddc8f474f5fe45.jpg","text":"TemporaryFile(/tmp/multipartBody3657245168837190759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_06_59_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ef3318d316b1aa10188890f3d1b92fd.jpg","text":"TemporaryFile(/tmp/multipartBody1775606677371006342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489604039,"filename":"image_30112025_06_59_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397037733","file1":"1397037695","file0":"1397037658","file4":"1397037811","file5":"1397037813","file3":"1397037775"},"map_files_photo_id_array":[{"photo_id":"1397037813","filename":"file5"},{"photo_id":"1397037733","filename":"file2"},{"photo_id":"1397037811","filename":"file4"},{"photo_id":"1397037695","filename":"file1"},{"photo_id":"1397037658","filename":"file0"},{"photo_id":"1397037775","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397037658":["hashtag1","hashtag2"]},{"1397037811":["hashtag1","hashtag2"]},{"1397037813":["hashtag1","hashtag2"]},{"1397037695":["hashtag1","hashtag2"]},{"1397037775":["hashtag1","hashtag2"]},{"1397037733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397037658, 1397037811, 1397037813, 1397037695, 1397037775, 1397037733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88994359970093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:00:03.743213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_15_10567.jpg', '/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_25_9858.jpg', '/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_34_9684.jpg', '/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_45_10654.jpg', '/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_55_9646.jpg', '/home/pi/Desktop/images/30112025/07/00/image_30112025_07_01_04_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_15_10567.jpg
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_25_9858.jpg
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_34_9684.jpg
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_45_10654.jpg
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_00_55_9646.jpg
/home/pi/Desktop/images/30112025/07/00/image_30112025_07_01_04_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397038245","1397038209","1397038119","1397038046","1397037977","1397038171"],"photo_ids_order":["1397037977","1397038046","1397038119","1397038171","1397038209","1397038245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26ff914e5826050a45cfd32035194b7d.jpg","text":"TemporaryFile(/tmp/multipartBody850848500053039664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_01_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c590923053db630706bb8bf6dd75bd7.jpg","text":"TemporaryFile(/tmp/multipartBody2140234854133462248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_00_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4620f363183c884406fbec41f29a9bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2464229189858335016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_00_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee0544aa04c1e47c02bf427a75947aac.jpg","text":"TemporaryFile(/tmp/multipartBody4090090359268539437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_00_25_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fefd175afb9ad65bfc98afb7692b365a.jpg","text":"TemporaryFile(/tmp/multipartBody8769545573396846371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_00_15_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e26d090b653e7c97a9e021fe7cbb2d27.jpg","text":"TemporaryFile(/tmp/multipartBody7474165670476953271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489667207,"filename":"image_30112025_07_00_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397038119","file1":"1397038046","file0":"1397037977","file4":"1397038209","file5":"1397038245","file3":"1397038171"},"map_files_photo_id_array":[{"photo_id":"1397038245","filename":"file5"},{"photo_id":"1397038119","filename":"file2"},{"photo_id":"1397038209","filename":"file4"},{"photo_id":"1397038046","filename":"file1"},{"photo_id":"1397037977","filename":"file0"},{"photo_id":"1397038171","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397038245":["hashtag1","hashtag2"]},{"1397038209":["hashtag1","hashtag2"]},{"1397038119":["hashtag1","hashtag2"]},{"1397038046":["hashtag1","hashtag2"]},{"1397037977":["hashtag1","hashtag2"]},{"1397038171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397038245, 1397038209, 1397038119, 1397038046, 1397037977, 1397038171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.772693157196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:00:43.276393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/14/image_31102025_12_14_52_2871.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_55_3527.jpg', '/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_58_2757.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_01_2938.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_04_2659.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_07_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_52_2871.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_55_3527.jpg
/home/pi/Desktop/images/31102025/12/14/image_31102025_12_14_58_2757.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_01_2938.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_04_2659.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_07_3538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397038536","1397038419","1397038626","1397038687","1397038477","1397038759"],"photo_ids_order":["1397038419","1397038477","1397038536","1397038626","1397038687","1397038759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bd230cb7b7ca60466eebcf1a7429d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2682999510354564849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_14_58_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adb042f9235c4418f7fc1d63e4f7bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody5782205571896205973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_14_52_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/30/ad42142c0144b95a926947b66acebcf4.jpg","text":"TemporaryFile(/tmp/multipartBody4829672437984808698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_15_01_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42bed650c62c362818ec3da5945e2440.jpg","text":"TemporaryFile(/tmp/multipartBody7359770649717429464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_15_04_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/30/338a6fb0d77e60bf3e11cf0f75a7aec8.jpg","text":"TemporaryFile(/tmp/multipartBody5281700429091244928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_14_55_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/30/1bec8fc0c73a538a6e9c530bc9866bc8.jpg","text":"TemporaryFile(/tmp/multipartBody5720125788669328329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489704150,"filename":"image_31102025_12_15_07_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397038536","file1":"1397038477","file0":"1397038419","file4":"1397038687","file5":"1397038759","file3":"1397038626"},"map_files_photo_id_array":[{"photo_id":"1397038759","filename":"file5"},{"photo_id":"1397038536","filename":"file2"},{"photo_id":"1397038687","filename":"file4"},{"photo_id":"1397038477","filename":"file1"},{"photo_id":"1397038419","filename":"file0"},{"photo_id":"1397038626","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397038536":["hashtag1","hashtag2"]},{"1397038419":["hashtag1","hashtag2"]},{"1397038626":["hashtag1","hashtag2"]},{"1397038687":["hashtag1","hashtag2"]},{"1397038477":["hashtag1","hashtag2"]},{"1397038759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397038536, 1397038419, 1397038626, 1397038687, 1397038477, 1397038759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.924346923828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:01:22.386351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_15_10664.jpg', '/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_25_9653.jpg', '/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_34_9698.jpg', '/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_45_10625.jpg', '/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_55_9617.jpg', '/home/pi/Desktop/images/30112025/07/01/image_30112025_07_02_04_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_15_10664.jpg
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_25_9653.jpg
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_34_9698.jpg
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_45_10625.jpg
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_01_55_9617.jpg
/home/pi/Desktop/images/30112025/07/01/image_30112025_07_02_04_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397039081","1397038973","1397039216","1397039147","1397039011","1397038927"],"photo_ids_order":["1397038927","1397038973","1397039011","1397039081","1397039147","1397039216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48eddf60ab10f95a9c33e5369ecbc6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3862527426973591991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_01_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6464dcc9540606db37d09e5b69097f6.jpg","text":"TemporaryFile(/tmp/multipartBody6777441882086551171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_01_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34a6c05abfacee5420eb5289abe7fef4.jpg","text":"TemporaryFile(/tmp/multipartBody380664194583499426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_02_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bb9c1bdf77b0e8ae336c2f31dfa624e.jpg","text":"TemporaryFile(/tmp/multipartBody7634327062828373364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_01_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d63eff1cbd7bb3f33c4be703624de03.jpg","text":"TemporaryFile(/tmp/multipartBody4179605596328346544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_01_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7184ba6108214a644f9f0d4b13a97c9.jpg","text":"TemporaryFile(/tmp/multipartBody7415875796945702915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489743033,"filename":"image_30112025_07_01_15_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397039011","file1":"1397038973","file0":"1397038927","file4":"1397039147","file5":"1397039216","file3":"1397039081"},"map_files_photo_id_array":[{"photo_id":"1397039216","filename":"file5"},{"photo_id":"1397039011","filename":"file2"},{"photo_id":"1397039147","filename":"file4"},{"photo_id":"1397038973","filename":"file1"},{"photo_id":"1397038927","filename":"file0"},{"photo_id":"1397039081","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397039081":["hashtag1","hashtag2"]},{"1397038973":["hashtag1","hashtag2"]},{"1397039216":["hashtag1","hashtag2"]},{"1397039147":["hashtag1","hashtag2"]},{"1397039011":["hashtag1","hashtag2"]},{"1397038927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397039081, 1397038973, 1397039216, 1397039147, 1397039011, 1397038927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.918476819992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:02:03.243265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_15_10695.jpg', '/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_25_9656.jpg', '/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_34_9608.jpg', '/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_45_10607.jpg', '/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_54_9567.jpg', '/home/pi/Desktop/images/30112025/07/02/image_30112025_07_03_04_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_15_10695.jpg
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_25_9656.jpg
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_34_9608.jpg
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_45_10607.jpg
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_02_54_9567.jpg
/home/pi/Desktop/images/30112025/07/02/image_30112025_07_03_04_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397039406","1397039570","1397039606","1397039534","1397039499","1397039448"],"photo_ids_order":["1397039406","1397039448","1397039499","1397039534","1397039570","1397039606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a71bddaf45a4fca8dd59dbd8632fb018.jpg","text":"TemporaryFile(/tmp/multipartBody4678829514812778114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_02_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f593ed8663c8cad00f7c4e906160e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8937602586526082782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_02_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c95d559b28bccdff2e444028d3e7d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2759588979879013552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_03_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59ba721e856411f4f9e769451faef790.jpg","text":"TemporaryFile(/tmp/multipartBody844099416814456025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_02_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85484bbf0b08f49a7a6a42d6f5a47988.jpg","text":"TemporaryFile(/tmp/multipartBody3413411345190364848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_02_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/386799ca2dd98989494bbb61e69fb7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4837816872919391706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489783938,"filename":"image_30112025_07_02_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397039499","file1":"1397039448","file0":"1397039406","file4":"1397039570","file5":"1397039606","file3":"1397039534"},"map_files_photo_id_array":[{"photo_id":"1397039606","filename":"file5"},{"photo_id":"1397039499","filename":"file2"},{"photo_id":"1397039570","filename":"file4"},{"photo_id":"1397039448","filename":"file1"},{"photo_id":"1397039406","filename":"file0"},{"photo_id":"1397039534","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397039406":["hashtag1","hashtag2"]},{"1397039570":["hashtag1","hashtag2"]},{"1397039606":["hashtag1","hashtag2"]},{"1397039534":["hashtag1","hashtag2"]},{"1397039499":["hashtag1","hashtag2"]},{"1397039448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397039406, 1397039570, 1397039606, 1397039534, 1397039499, 1397039448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.299994230270386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:02:42.793463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/15/image_31102025_12_15_10_2685.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_13_2703.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_16_3830.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_19_2665.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_22_2691.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_25_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_10_2685.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_13_2703.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_16_3830.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_19_2665.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_22_2691.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_25_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397039835","1397039759","1397039834","1397039833","1397039796","1397039832"],"photo_ids_order":["1397039759","1397039796","1397039832","1397039833","1397039834","1397039835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dda311e55143da3ae05d0168b19757b9.jpg","text":"TemporaryFile(/tmp/multipartBody7494953975820543746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_25_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/30/f22d260cebefb0be3a006932f37e5b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5256308998535733896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_10_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/30/93312f2cf5568318bbbfce7b49bfa8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2197677924337547558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_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/30/8c1a9e9c3f89bab172f30a776189fd43.jpg","text":"TemporaryFile(/tmp/multipartBody2724506380574165403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_19_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/30/15213d5d3f293ac61e981d0ff071bc02.jpg","text":"TemporaryFile(/tmp/multipartBody6309370215430934274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_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/30/1d0ee640b0e3d417c95b65890e059e47.jpg","text":"TemporaryFile(/tmp/multipartBody4365955236761220144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489823669,"filename":"image_31102025_12_15_16_3830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397039832","file1":"1397039796","file0":"1397039759","file4":"1397039834","file5":"1397039835","file3":"1397039833"},"map_files_photo_id_array":[{"photo_id":"1397039835","filename":"file5"},{"photo_id":"1397039832","filename":"file2"},{"photo_id":"1397039834","filename":"file4"},{"photo_id":"1397039796","filename":"file1"},{"photo_id":"1397039759","filename":"file0"},{"photo_id":"1397039833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397039835":["hashtag1","hashtag2"]},{"1397039759":["hashtag1","hashtag2"]},{"1397039834":["hashtag1","hashtag2"]},{"1397039833":["hashtag1","hashtag2"]},{"1397039796":["hashtag1","hashtag2"]},{"1397039832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397039835, 1397039759, 1397039834, 1397039833, 1397039796, 1397039832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59498333930969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:03:21.989502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_15_10814.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_25_9633.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_34_9760.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_44_9766.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_55_10579.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_04_05_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_15_10814.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_25_9633.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_34_9760.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_44_9766.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_55_10579.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_04_05_9815.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6078112125396729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:03:32.023127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_34_2600.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_37_2716.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_41_3839.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_43_2646.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_46_2612.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_51_4830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_34_2600.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_37_2716.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_41_3839.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_43_2646.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_46_2612.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_51_4830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397039879","1397039858","1397039846","1397039851","1397039854","1397039859"],"photo_ids_order":["1397039846","1397039851","1397039854","1397039858","1397039859","1397039879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/828e94e6e189434a35e67b1a76bb4ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1535196940361158913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_01_51_4830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37a3d86de9b35c202bde9284f2151634.jpg","text":"TemporaryFile(/tmp/multipartBody7861115001410907420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_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/30/471211201522cc3e45b7b6c5cb730702.jpg","text":"TemporaryFile(/tmp/multipartBody2538973628982230755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_01_34_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21ad09d167799b253a472d33b0f1a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6114631712751657176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_01_37_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a355919d227c909b9523fe042d081a8.jpg","text":"TemporaryFile(/tmp/multipartBody4557465559940684666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_01_41_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/30/bbbbe9bec1e588c886ec22ce0d2745e5.jpg","text":"TemporaryFile(/tmp/multipartBody6066473696855469185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489874013,"filename":"image_25112025_20_01_46_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397039854","file1":"1397039851","file0":"1397039846","file4":"1397039859","file5":"1397039879","file3":"1397039858"},"map_files_photo_id_array":[{"photo_id":"1397039879","filename":"file5"},{"photo_id":"1397039854","filename":"file2"},{"photo_id":"1397039859","filename":"file4"},{"photo_id":"1397039851","filename":"file1"},{"photo_id":"1397039846","filename":"file0"},{"photo_id":"1397039858","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397039879":["hashtag1","hashtag2"]},{"1397039858":["hashtag1","hashtag2"]},{"1397039846":["hashtag1","hashtag2"]},{"1397039851":["hashtag1","hashtag2"]},{"1397039854":["hashtag1","hashtag2"]},{"1397039859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397039879, 1397039858, 1397039846, 1397039851, 1397039854, 1397039859)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.18744397163391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:04:22.162119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_15_10814.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_25_9633.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_34_9760.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_44_9766.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_55_10579.jpg', '/home/pi/Desktop/images/30112025/07/03/image_30112025_07_04_05_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_15_10814.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_25_9633.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_34_9760.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_44_9766.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_03_55_10579.jpg
/home/pi/Desktop/images/30112025/07/03/image_30112025_07_04_05_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040168","1397040165","1397040083","1397040164","1397040160","1397040124"],"photo_ids_order":["1397040083","1397040124","1397040160","1397040164","1397040165","1397040168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7df2282d18d5c3d57f11bd5006ae2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7685349113047199969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_04_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cf56a6f5f6f68c12bc65c013bde09c8.jpg","text":"TemporaryFile(/tmp/multipartBody2302021621806356560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_03_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c27d471341dd34145d3b5ed11c5bb97.jpg","text":"TemporaryFile(/tmp/multipartBody3977940543176401352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_03_15_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/314976db4db81b89fe4b87e6a67f6488.jpg","text":"TemporaryFile(/tmp/multipartBody8092222728026343713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_03_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e63d3f008df846ffc866d2e22af365a1.jpg","text":"TemporaryFile(/tmp/multipartBody2595333102192799703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_03_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff1869d13a90287634b08edcce230cb1.jpg","text":"TemporaryFile(/tmp/multipartBody648968841738609496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489922814,"filename":"image_30112025_07_03_25_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040160","file1":"1397040124","file0":"1397040083","file4":"1397040165","file5":"1397040168","file3":"1397040164"},"map_files_photo_id_array":[{"photo_id":"1397040168","filename":"file5"},{"photo_id":"1397040160","filename":"file2"},{"photo_id":"1397040165","filename":"file4"},{"photo_id":"1397040124","filename":"file1"},{"photo_id":"1397040083","filename":"file0"},{"photo_id":"1397040164","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040168":["hashtag1","hashtag2"]},{"1397040165":["hashtag1","hashtag2"]},{"1397040083":["hashtag1","hashtag2"]},{"1397040164":["hashtag1","hashtag2"]},{"1397040160":["hashtag1","hashtag2"]},{"1397040124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040168, 1397040165, 1397040083, 1397040164, 1397040160, 1397040124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54638481140137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:05:02.850914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_14_9787.jpg', '/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_25_10624.jpg', '/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_35_9704.jpg', '/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_44_9585.jpg', '/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_55_10608.jpg', '/home/pi/Desktop/images/30112025/07/04/image_30112025_07_05_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_14_9787.jpg
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_25_10624.jpg
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_35_9704.jpg
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_44_9585.jpg
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_04_55_10608.jpg
/home/pi/Desktop/images/30112025/07/04/image_30112025_07_05_05_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040304","1397040267","1397040333","1397040251","1397040320","1397040250"],"photo_ids_order":["1397040250","1397040251","1397040267","1397040304","1397040320","1397040333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f08a3d662c484409dc8bad96c3b21b57.jpg","text":"TemporaryFile(/tmp/multipartBody6679983791307651084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_04_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bea1652f5a03aee4e4bf37eab3979deb.jpg","text":"TemporaryFile(/tmp/multipartBody6524488004773851318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_04_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbcd967aa7bc63ddff39e15bf1f76b54.jpg","text":"TemporaryFile(/tmp/multipartBody2251953416914753124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_05_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a399f805508d08835295c71bf530ca1.jpg","text":"TemporaryFile(/tmp/multipartBody206749153131438143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_04_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/038a146ecdf6d91685a31b715dab3fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1097259144384090551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_04_55_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e70f26dcd1378a9e4ab0382d79da7bb.jpg","text":"TemporaryFile(/tmp/multipartBody736948754901982590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764489963744,"filename":"image_30112025_07_04_14_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040267","file1":"1397040251","file0":"1397040250","file4":"1397040320","file5":"1397040333","file3":"1397040304"},"map_files_photo_id_array":[{"photo_id":"1397040333","filename":"file5"},{"photo_id":"1397040267","filename":"file2"},{"photo_id":"1397040320","filename":"file4"},{"photo_id":"1397040251","filename":"file1"},{"photo_id":"1397040250","filename":"file0"},{"photo_id":"1397040304","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040304":["hashtag1","hashtag2"]},{"1397040267":["hashtag1","hashtag2"]},{"1397040333":["hashtag1","hashtag2"]},{"1397040251":["hashtag1","hashtag2"]},{"1397040320":["hashtag1","hashtag2"]},{"1397040250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040304, 1397040267, 1397040333, 1397040251, 1397040320, 1397040250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49558639526367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:05:42.379056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/15/image_31102025_12_15_31_2629.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_34_3684.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_40_2819.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_43_3652.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_46_2823.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_49_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_31_2629.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_34_3684.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_40_2819.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_43_3652.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_46_2823.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_49_2705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7574093341827393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:06:03.120871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_14_9582.jpg', '/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_25_10807.jpg', '/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_35_9787.jpg', '/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_44_9610.jpg', '/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_54_9790.jpg', '/home/pi/Desktop/images/30112025/07/05/image_30112025_07_06_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_14_9582.jpg
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_25_10807.jpg
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_35_9787.jpg
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_44_9610.jpg
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_05_54_9790.jpg
/home/pi/Desktop/images/30112025/07/05/image_30112025_07_06_05_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040360","1397040363","1397040357","1397040356","1397040355","1397040358"],"photo_ids_order":["1397040355","1397040356","1397040357","1397040358","1397040360","1397040363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43456b833ffd544d255c271eea705605.jpg","text":"TemporaryFile(/tmp/multipartBody7604123804415115370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_05_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14a7418fd7dedafbb27cf887258aeea8.jpg","text":"TemporaryFile(/tmp/multipartBody8142422118024583780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_06_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eba6bebdc9f702ae53125e4bfb073e22.jpg","text":"TemporaryFile(/tmp/multipartBody1510231602324035666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_05_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ff4d56c86256dff00145a86983339ce.jpg","text":"TemporaryFile(/tmp/multipartBody5553447773214066771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_05_25_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e183b2290d5c981843a3eb6008fb7baa.jpg","text":"TemporaryFile(/tmp/multipartBody8201369755885154754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_05_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f43e6213a02e6d0970b4a4e9f30c9b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5799586271028346934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490023828,"filename":"image_30112025_07_05_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040357","file1":"1397040356","file0":"1397040355","file4":"1397040360","file5":"1397040363","file3":"1397040358"},"map_files_photo_id_array":[{"photo_id":"1397040363","filename":"file5"},{"photo_id":"1397040357","filename":"file2"},{"photo_id":"1397040360","filename":"file4"},{"photo_id":"1397040356","filename":"file1"},{"photo_id":"1397040355","filename":"file0"},{"photo_id":"1397040358","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040360":["hashtag1","hashtag2"]},{"1397040363":["hashtag1","hashtag2"]},{"1397040357":["hashtag1","hashtag2"]},{"1397040356":["hashtag1","hashtag2"]},{"1397040355":["hashtag1","hashtag2"]},{"1397040358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040360, 1397040363, 1397040357, 1397040356, 1397040355, 1397040358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19645595550537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:07:02.587952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_15_9864.jpg', '/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_24_9707.jpg', '/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_35_10640.jpg', '/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_45_9609.jpg', '/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_54_9772.jpg', '/home/pi/Desktop/images/30112025/07/06/image_30112025_07_07_04_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_15_9864.jpg
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_24_9707.jpg
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_35_10640.jpg
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_45_9609.jpg
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_06_54_9772.jpg
/home/pi/Desktop/images/30112025/07/06/image_30112025_07_07_04_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040381","1397040374","1397040376","1397040379","1397040384","1397040378"],"photo_ids_order":["1397040374","1397040376","1397040378","1397040379","1397040381","1397040384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f1029c917f293c92e4ab9717c6b0f59.jpg","text":"TemporaryFile(/tmp/multipartBody1616869915482674796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_06_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f104387abe8e8f59fb71bea4d922548.jpg","text":"TemporaryFile(/tmp/multipartBody6428970814610634953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_06_15_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c1eefd252d4612d67f69ce8040af912.jpg","text":"TemporaryFile(/tmp/multipartBody4902724764150098770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_06_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0bd739eb8b479a304c1706a8a5f5f86.jpg","text":"TemporaryFile(/tmp/multipartBody7698699811417653398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_06_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb5962e8cee224f2d69edd5f2a142a82.jpg","text":"TemporaryFile(/tmp/multipartBody3655090060551245117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_07_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d872aa26890d6942e3476a7ef97b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody984124245232665650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490083325,"filename":"image_30112025_07_06_35_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040378","file1":"1397040376","file0":"1397040374","file4":"1397040381","file5":"1397040384","file3":"1397040379"},"map_files_photo_id_array":[{"photo_id":"1397040384","filename":"file5"},{"photo_id":"1397040378","filename":"file2"},{"photo_id":"1397040381","filename":"file4"},{"photo_id":"1397040376","filename":"file1"},{"photo_id":"1397040374","filename":"file0"},{"photo_id":"1397040379","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040381":["hashtag1","hashtag2"]},{"1397040374":["hashtag1","hashtag2"]},{"1397040376":["hashtag1","hashtag2"]},{"1397040379":["hashtag1","hashtag2"]},{"1397040384":["hashtag1","hashtag2"]},{"1397040378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040381, 1397040374, 1397040376, 1397040379, 1397040384, 1397040378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56826734542847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:07:41.884341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/15/image_31102025_12_15_31_2629.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_34_3684.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_40_2819.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_43_3652.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_46_2823.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_49_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_31_2629.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_34_3684.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_40_2819.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_43_3652.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_46_2823.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_49_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040393","1397040395","1397040392","1397040391","1397040394","1397040390"],"photo_ids_order":["1397040390","1397040391","1397040392","1397040393","1397040394","1397040395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a559180a321228bc948ee2a366af76e7.jpg","text":"TemporaryFile(/tmp/multipartBody1891556816456084479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_43_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/30/7d65c0edd52c7fe0c2486fd1af66706e.jpg","text":"TemporaryFile(/tmp/multipartBody4950352341511370494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c1de4cdac1c3c704115c68a7d00f2e3.jpg","text":"TemporaryFile(/tmp/multipartBody6621789449554922453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_40_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/30/953a9b84d9384765fc95bda5c854a7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7381317361926015656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_34_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9de1593b60ad3aca6b5e4be5c20f8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2063783028612800356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_46_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/30/d82e5dbb332ce0b9cb14d4c9dfa4e06c.jpg","text":"TemporaryFile(/tmp/multipartBody341028796824762258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490122615,"filename":"image_31102025_12_15_31_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040392","file1":"1397040391","file0":"1397040390","file4":"1397040394","file5":"1397040395","file3":"1397040393"},"map_files_photo_id_array":[{"photo_id":"1397040395","filename":"file5"},{"photo_id":"1397040392","filename":"file2"},{"photo_id":"1397040394","filename":"file4"},{"photo_id":"1397040391","filename":"file1"},{"photo_id":"1397040390","filename":"file0"},{"photo_id":"1397040393","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040393":["hashtag1","hashtag2"]},{"1397040395":["hashtag1","hashtag2"]},{"1397040392":["hashtag1","hashtag2"]},{"1397040391":["hashtag1","hashtag2"]},{"1397040394":["hashtag1","hashtag2"]},{"1397040390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040393, 1397040395, 1397040392, 1397040391, 1397040394, 1397040390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14324235916138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:08:22.730872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_15_10879.jpg', '/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_25_9607.jpg', '/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_34_9604.jpg', '/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_45_10574.jpg', '/home/pi/Desktop/images/30112025/07/07/image_30112025_07_08_04_9651.jpg', '/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_15_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_15_10879.jpg
/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_25_9607.jpg
/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_34_9604.jpg
/home/pi/Desktop/images/30112025/07/07/image_30112025_07_07_45_10574.jpg
/home/pi/Desktop/images/30112025/07/07/image_30112025_07_08_04_9651.jpg
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_15_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040403","1397040405","1397040408","1397040401","1397040406","1397040399"],"photo_ids_order":["1397040399","1397040401","1397040403","1397040405","1397040406","1397040408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d389bba0f58887ec24077f1eb260e574.jpg","text":"TemporaryFile(/tmp/multipartBody6869311180265943962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_07_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71f434ded505e4d00a9245299e644526.jpg","text":"TemporaryFile(/tmp/multipartBody6002639767184897681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_07_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ec0bdada04ab8f42d80bb8874f29247.jpg","text":"TemporaryFile(/tmp/multipartBody8081249575921809760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_08_15_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19ea497567d6fcdbc904edc82346452e.jpg","text":"TemporaryFile(/tmp/multipartBody6991345192036169501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_07_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf1f757fed707ff45735541784a53076.jpg","text":"TemporaryFile(/tmp/multipartBody395982701027483427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_08_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a119d81a2ce369c89071ab7bac32c34.jpg","text":"TemporaryFile(/tmp/multipartBody7019334604902087720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490163407,"filename":"image_30112025_07_07_15_10879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040403","file1":"1397040401","file0":"1397040399","file4":"1397040406","file5":"1397040408","file3":"1397040405"},"map_files_photo_id_array":[{"photo_id":"1397040408","filename":"file5"},{"photo_id":"1397040403","filename":"file2"},{"photo_id":"1397040406","filename":"file4"},{"photo_id":"1397040401","filename":"file1"},{"photo_id":"1397040399","filename":"file0"},{"photo_id":"1397040405","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040403":["hashtag1","hashtag2"]},{"1397040405":["hashtag1","hashtag2"]},{"1397040408":["hashtag1","hashtag2"]},{"1397040401":["hashtag1","hashtag2"]},{"1397040406":["hashtag1","hashtag2"]},{"1397040399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040403, 1397040405, 1397040408, 1397040401, 1397040406, 1397040399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.645535945892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:09:03.215276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_25_9600.jpg', '/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_34_9625.jpg', '/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_45_10643.jpg', '/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_54_9695.jpg', '/home/pi/Desktop/images/30112025/07/08/image_30112025_07_09_04_9624.jpg', '/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_15_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_25_9600.jpg
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_34_9625.jpg
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_45_10643.jpg
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_08_54_9695.jpg
/home/pi/Desktop/images/30112025/07/08/image_30112025_07_09_04_9624.jpg
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_15_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397040420","1397040428","1397040422","1397040419","1397040424","1397040421"],"photo_ids_order":["1397040419","1397040420","1397040421","1397040422","1397040424","1397040428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7031366d8be0cdca3d317fce853486da.jpg","text":"TemporaryFile(/tmp/multipartBody8396003824679107294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_08_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f6a07583ac6ee9883fd13eb7c6de74c.jpg","text":"TemporaryFile(/tmp/multipartBody8848882614605700877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_09_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28537cfab21920a1a3cffa03f077d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody3363871396858484367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_08_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c8d127fc10cde9c3f14627011b94cae.jpg","text":"TemporaryFile(/tmp/multipartBody1359420941533423050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_08_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/704f07b3150f16cd59f4d1248eb4241a.jpg","text":"TemporaryFile(/tmp/multipartBody6764857213793171743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_09_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb3daddb8ad725133fdf6ac5d8eaab57.jpg","text":"TemporaryFile(/tmp/multipartBody2392606581865363261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490204042,"filename":"image_30112025_07_08_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040421","file1":"1397040420","file0":"1397040419","file4":"1397040424","file5":"1397040428","file3":"1397040422"},"map_files_photo_id_array":[{"photo_id":"1397040428","filename":"file5"},{"photo_id":"1397040421","filename":"file2"},{"photo_id":"1397040424","filename":"file4"},{"photo_id":"1397040420","filename":"file1"},{"photo_id":"1397040419","filename":"file0"},{"photo_id":"1397040422","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040420":["hashtag1","hashtag2"]},{"1397040428":["hashtag1","hashtag2"]},{"1397040422":["hashtag1","hashtag2"]},{"1397040419":["hashtag1","hashtag2"]},{"1397040424":["hashtag1","hashtag2"]},{"1397040421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040420, 1397040428, 1397040422, 1397040419, 1397040424, 1397040421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.541054487228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:10:03.103732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_24_9733.jpg', '/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_34_9609.jpg', '/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_45_10608.jpg', '/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_54_9646.jpg', '/home/pi/Desktop/images/30112025/07/09/image_30112025_07_10_04_9717.jpg', '/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_15_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_24_9733.jpg
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_34_9609.jpg
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_45_10608.jpg
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_09_54_9646.jpg
/home/pi/Desktop/images/30112025/07/09/image_30112025_07_10_04_9717.jpg
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_15_10863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040435","1397040434","1397040437","1397040442","1397040436","1397040439"],"photo_ids_order":["1397040434","1397040435","1397040436","1397040437","1397040439","1397040442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1bf27c19fd58f004cd029a345b45e65.jpg","text":"TemporaryFile(/tmp/multipartBody1005677090819849055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_09_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a5d44dc36cd9c722e65e7e42c021a59.jpg","text":"TemporaryFile(/tmp/multipartBody1881921897087228716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_09_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49362061f391cd66d78db3cbe76a85cb.jpg","text":"TemporaryFile(/tmp/multipartBody7230265370586211202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_09_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25b48b2d16981fcf8f0e31723afc139a.jpg","text":"TemporaryFile(/tmp/multipartBody1222455333542963828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_10_15_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c5ae94c63ec33cc7cc7e3c6cdc42311.jpg","text":"TemporaryFile(/tmp/multipartBody3534076961851418201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_09_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/656c1171843595e95477728daaf4df01.jpg","text":"TemporaryFile(/tmp/multipartBody5689852802296811203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490263817,"filename":"image_30112025_07_10_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040436","file1":"1397040435","file0":"1397040434","file4":"1397040439","file5":"1397040442","file3":"1397040437"},"map_files_photo_id_array":[{"photo_id":"1397040442","filename":"file5"},{"photo_id":"1397040436","filename":"file2"},{"photo_id":"1397040439","filename":"file4"},{"photo_id":"1397040435","filename":"file1"},{"photo_id":"1397040434","filename":"file0"},{"photo_id":"1397040437","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040435":["hashtag1","hashtag2"]},{"1397040434":["hashtag1","hashtag2"]},{"1397040437":["hashtag1","hashtag2"]},{"1397040442":["hashtag1","hashtag2"]},{"1397040436":["hashtag1","hashtag2"]},{"1397040439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040435, 1397040434, 1397040437, 1397040442, 1397040436, 1397040439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4633047580719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:10:42.666374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/15/image_31102025_12_15_52_2812.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_55_2707.jpg', '/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_58_3605.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_01_2801.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_04_3566.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_07_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_52_2812.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_55_2707.jpg
/home/pi/Desktop/images/31102025/12/15/image_31102025_12_15_58_3605.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_01_2801.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_04_3566.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_07_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":["1397040450","1397040447","1397040452","1397040449","1397040448","1397040451"],"photo_ids_order":["1397040447","1397040448","1397040449","1397040450","1397040451","1397040452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0a1bb3608a00afdf7e5bd0e8296747b.jpg","text":"TemporaryFile(/tmp/multipartBody8084373031218850739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_16_01_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/30/9b3c956223d2a335c88489131526ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody2414571434076530915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_15_52_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/30/47d4c2a96e79cc7bda62028e6cedbc12.jpg","text":"TemporaryFile(/tmp/multipartBody7668643541130985668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_16_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/30/aa9cfa2fcc65d399eba60305c413a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3322813263294337818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_15_58_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44409a22976c330bd7b4a0f35a86204e.jpg","text":"TemporaryFile(/tmp/multipartBody6246018457839811324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_15_55_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76e47eb80811cf9fabdf6b1ed63b2e88.jpg","text":"TemporaryFile(/tmp/multipartBody8213489774292910878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490303535,"filename":"image_31102025_12_16_04_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040449","file1":"1397040448","file0":"1397040447","file4":"1397040451","file5":"1397040452","file3":"1397040450"},"map_files_photo_id_array":[{"photo_id":"1397040452","filename":"file5"},{"photo_id":"1397040449","filename":"file2"},{"photo_id":"1397040451","filename":"file4"},{"photo_id":"1397040448","filename":"file1"},{"photo_id":"1397040447","filename":"file0"},{"photo_id":"1397040450","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040450":["hashtag1","hashtag2"]},{"1397040447":["hashtag1","hashtag2"]},{"1397040452":["hashtag1","hashtag2"]},{"1397040449":["hashtag1","hashtag2"]},{"1397040448":["hashtag1","hashtag2"]},{"1397040451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040450, 1397040447, 1397040452, 1397040449, 1397040448, 1397040451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89466714859009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:11:21.896394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_25_9615.jpg', '/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_34_9573.jpg', '/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_46_12241.jpg', '/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_54_7718.jpg', '/home/pi/Desktop/images/30112025/07/10/image_30112025_07_11_05_10833.jpg', '/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_14_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_25_9615.jpg
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_34_9573.jpg
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_46_12241.jpg
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_10_54_7718.jpg
/home/pi/Desktop/images/30112025/07/10/image_30112025_07_11_05_10833.jpg
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_14_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040459","1397040462","1397040461","1397040455","1397040466","1397040463"],"photo_ids_order":["1397040455","1397040459","1397040461","1397040462","1397040463","1397040466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f7d39363f4cc4e5f5a77c0cb7262c46.jpg","text":"TemporaryFile(/tmp/multipartBody3813857722071078331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_10_34_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a094bdb8f0afaf8238dcbcb3747534b.jpg","text":"TemporaryFile(/tmp/multipartBody5619814781038101383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_10_54_7718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89e47c02613589444cf45495d6fa268f.jpg","text":"TemporaryFile(/tmp/multipartBody2859331055944055945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_10_46_12241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e77389915c81836719188189279e38f2.jpg","text":"TemporaryFile(/tmp/multipartBody9160314960152987666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_10_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc17e748e9f8cc610f4f3cb06e9cbc58.jpg","text":"TemporaryFile(/tmp/multipartBody3967537567841690270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_11_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68b058ccb2e5dcf4f2652445a8a31ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3758700705167358072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490342580,"filename":"image_30112025_07_11_05_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040461","file1":"1397040459","file0":"1397040455","file4":"1397040463","file5":"1397040466","file3":"1397040462"},"map_files_photo_id_array":[{"photo_id":"1397040466","filename":"file5"},{"photo_id":"1397040461","filename":"file2"},{"photo_id":"1397040463","filename":"file4"},{"photo_id":"1397040459","filename":"file1"},{"photo_id":"1397040455","filename":"file0"},{"photo_id":"1397040462","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040459":["hashtag1","hashtag2"]},{"1397040462":["hashtag1","hashtag2"]},{"1397040461":["hashtag1","hashtag2"]},{"1397040455":["hashtag1","hashtag2"]},{"1397040466":["hashtag1","hashtag2"]},{"1397040463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040459, 1397040462, 1397040461, 1397040455, 1397040466, 1397040463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47134351730347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:12:02.544499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_24_9906.jpg', '/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_34_9641.jpg', '/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_45_10611.jpg', '/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_54_9758.jpg', '/home/pi/Desktop/images/30112025/07/11/image_30112025_07_12_04_9891.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_15_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_24_9906.jpg
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_34_9641.jpg
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_45_10611.jpg
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_11_54_9758.jpg
/home/pi/Desktop/images/30112025/07/11/image_30112025_07_12_04_9891.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_15_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040489","1397040482","1397040485","1397040484","1397040487","1397040483"],"photo_ids_order":["1397040482","1397040483","1397040484","1397040485","1397040487","1397040489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/094ff9acba65763dc192394474b63112.jpg","text":"TemporaryFile(/tmp/multipartBody1905028632074026167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_12_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46c673316ff10a30f7211dffbb5bb1be.jpg","text":"TemporaryFile(/tmp/multipartBody1913393994180864702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_11_24_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c82d2d73d3de6da49f9939cdf249ab45.jpg","text":"TemporaryFile(/tmp/multipartBody3023218713526657666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_11_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f64c6d28abf0a09fe79d3618ec2f3a60.jpg","text":"TemporaryFile(/tmp/multipartBody6563273689861349750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_11_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa751ee8a297d2234b0b8108acd114eb.jpg","text":"TemporaryFile(/tmp/multipartBody2742328194149508181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_12_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fef1e7e60e7a48761434d92ed85cf92b.jpg","text":"TemporaryFile(/tmp/multipartBody2400622167210600238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490383298,"filename":"image_30112025_07_11_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040484","file1":"1397040483","file0":"1397040482","file4":"1397040487","file5":"1397040489","file3":"1397040485"},"map_files_photo_id_array":[{"photo_id":"1397040489","filename":"file5"},{"photo_id":"1397040484","filename":"file2"},{"photo_id":"1397040487","filename":"file4"},{"photo_id":"1397040483","filename":"file1"},{"photo_id":"1397040482","filename":"file0"},{"photo_id":"1397040485","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040489":["hashtag1","hashtag2"]},{"1397040482":["hashtag1","hashtag2"]},{"1397040485":["hashtag1","hashtag2"]},{"1397040484":["hashtag1","hashtag2"]},{"1397040487":["hashtag1","hashtag2"]},{"1397040483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040489, 1397040482, 1397040485, 1397040484, 1397040487, 1397040483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94045829772949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:12:42.220074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/16/image_31102025_12_16_10_2724.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_13_2632.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_16_3716.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_19_2579.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_22_3616.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_25_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_10_2724.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_13_2632.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_16_3716.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_19_2579.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_22_3616.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_25_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040504","1397040500","1397040502","1397040505","1397040495","1397040498"],"photo_ids_order":["1397040495","1397040498","1397040500","1397040502","1397040504","1397040505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f760a701fbcea2a2a9d1f357c011e3a.jpg","text":"TemporaryFile(/tmp/multipartBody2189801537654993011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_22_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/30/651a24dfdd78226407ec1bf81e007790.jpg","text":"TemporaryFile(/tmp/multipartBody3948659550416503653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_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/30/4dedb4cc83a8f6f67fd125b1a2422316.jpg","text":"TemporaryFile(/tmp/multipartBody7638245158244248541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_19_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/30/9d7dd247d90583e6b60c82a04b797123.jpg","text":"TemporaryFile(/tmp/multipartBody210863999214875802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_25_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/30/72ba44c6539daf3d53426168f71e211f.jpg","text":"TemporaryFile(/tmp/multipartBody2827637763573600209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_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/30/f711b3760c99817c8116d11378a298e3.jpg","text":"TemporaryFile(/tmp/multipartBody3024410886444914056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490423135,"filename":"image_31102025_12_16_13_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040500","file1":"1397040498","file0":"1397040495","file4":"1397040504","file5":"1397040505","file3":"1397040502"},"map_files_photo_id_array":[{"photo_id":"1397040505","filename":"file5"},{"photo_id":"1397040500","filename":"file2"},{"photo_id":"1397040504","filename":"file4"},{"photo_id":"1397040498","filename":"file1"},{"photo_id":"1397040495","filename":"file0"},{"photo_id":"1397040502","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040504":["hashtag1","hashtag2"]},{"1397040500":["hashtag1","hashtag2"]},{"1397040502":["hashtag1","hashtag2"]},{"1397040505":["hashtag1","hashtag2"]},{"1397040495":["hashtag1","hashtag2"]},{"1397040498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040504, 1397040500, 1397040502, 1397040505, 1397040495, 1397040498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65067505836487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:13:22.513658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_25_9713.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_34_9753.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_44_9632.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_55_10721.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_13_05_9722.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_14_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_25_9713.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_34_9753.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_44_9632.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_55_10721.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_13_05_9722.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_14_9759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5982570648193359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:13:32.407956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_53_1633.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_57_4356.jpg', '/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_59_1632.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_05_3692.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_10_2682.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_14_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_53_1633.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_57_4356.jpg
/home/pi/Desktop/images/25112025/20/01/image_25112025_20_01_59_1632.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_05_3692.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_10_2682.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_14_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040522","1397040524","1397040515","1397040520","1397040523","1397040517"],"photo_ids_order":["1397040515","1397040517","1397040520","1397040522","1397040523","1397040524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6403671786f45622bb77a14a0dd488b2.jpg","text":"TemporaryFile(/tmp/multipartBody5949661337197954238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_02_05_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/30/030dc536f6d451ad0767e3b85351e869.jpg","text":"TemporaryFile(/tmp/multipartBody2620828376473270540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_02_14_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/30/462dbdbc315ab11f6ecfa78b802880ce.jpg","text":"TemporaryFile(/tmp/multipartBody5134720045175397657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_01_53_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/30/d0c7ebb362869359fcd5864187bd7dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1745981331453854776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_01_59_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/30/36cff409908b4125b585827d4bb78990.jpg","text":"TemporaryFile(/tmp/multipartBody3094288915555392843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_02_10_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1ef8e0390d419834997e9738c410bed.jpg","text":"TemporaryFile(/tmp/multipartBody8828115814162071408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490474416,"filename":"image_25112025_20_01_57_4356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040520","file1":"1397040517","file0":"1397040515","file4":"1397040523","file5":"1397040524","file3":"1397040522"},"map_files_photo_id_array":[{"photo_id":"1397040524","filename":"file5"},{"photo_id":"1397040520","filename":"file2"},{"photo_id":"1397040523","filename":"file4"},{"photo_id":"1397040517","filename":"file1"},{"photo_id":"1397040515","filename":"file0"},{"photo_id":"1397040522","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040522":["hashtag1","hashtag2"]},{"1397040524":["hashtag1","hashtag2"]},{"1397040515":["hashtag1","hashtag2"]},{"1397040520":["hashtag1","hashtag2"]},{"1397040523":["hashtag1","hashtag2"]},{"1397040517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040522, 1397040524, 1397040515, 1397040520, 1397040523, 1397040517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24336266517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:14:12.615849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_17_2661.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_19_2698.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_22_2706.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_25_3528.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_28_2800.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_31_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_17_2661.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_19_2698.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_22_2706.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_25_3528.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_28_2800.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_31_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040534","1397040528","1397040537","1397040539","1397040530","1397040526"],"photo_ids_order":["1397040526","1397040528","1397040530","1397040534","1397040537","1397040539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b02b2038c434055fb19541f9b65f0946.jpg","text":"TemporaryFile(/tmp/multipartBody4767085436350683226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_25_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/30/ad8aec489735dfeca54310e781f593a9.jpg","text":"TemporaryFile(/tmp/multipartBody1777341014473742989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_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/30/0195b0b857ab6bff88b4fa4dab7d19e7.jpg","text":"TemporaryFile(/tmp/multipartBody8257637240626404611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_28_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/30/6bcc7a3e818feba4094627a8af90b896.jpg","text":"TemporaryFile(/tmp/multipartBody4934263843298535699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_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/30/c3eaa7d23f635fc83609154fd3bc353e.jpg","text":"TemporaryFile(/tmp/multipartBody7347081258003467922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_22_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/30/47eaa362aaf9fc85de7421d592dcf439.jpg","text":"TemporaryFile(/tmp/multipartBody1456269600498884462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490514506,"filename":"image_25112025_20_02_17_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040530","file1":"1397040528","file0":"1397040526","file4":"1397040537","file5":"1397040539","file3":"1397040534"},"map_files_photo_id_array":[{"photo_id":"1397040539","filename":"file5"},{"photo_id":"1397040530","filename":"file2"},{"photo_id":"1397040537","filename":"file4"},{"photo_id":"1397040528","filename":"file1"},{"photo_id":"1397040526","filename":"file0"},{"photo_id":"1397040534","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040534":["hashtag1","hashtag2"]},{"1397040528":["hashtag1","hashtag2"]},{"1397040537":["hashtag1","hashtag2"]},{"1397040539":["hashtag1","hashtag2"]},{"1397040530":["hashtag1","hashtag2"]},{"1397040526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040534, 1397040528, 1397040537, 1397040539, 1397040530, 1397040526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.412503480911255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:15:03.391594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_25_9713.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_34_9753.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_44_9632.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_55_10721.jpg', '/home/pi/Desktop/images/30112025/07/12/image_30112025_07_13_05_9722.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_14_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_25_9713.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_34_9753.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_44_9632.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_12_55_10721.jpg
/home/pi/Desktop/images/30112025/07/12/image_30112025_07_13_05_9722.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_14_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040579","1397040570","1397040573","1397040572","1397040578","1397040574"],"photo_ids_order":["1397040570","1397040572","1397040573","1397040574","1397040578","1397040579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ecea6089092e3384094aec114e09e0fa.jpg","text":"TemporaryFile(/tmp/multipartBody7254666807976710544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_13_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3807d6bc775bbeb30b1b4a0ead0f5546.jpg","text":"TemporaryFile(/tmp/multipartBody6395259277500815564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_12_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/870c7093811b21e5c315d7f4efe3e968.jpg","text":"TemporaryFile(/tmp/multipartBody3640260628530111690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_12_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82c11960bdf01a77e645301be6495c99.jpg","text":"TemporaryFile(/tmp/multipartBody9173215481092168732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_12_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c34a8ecb6d222a99f6cc7af196f6df4c.jpg","text":"TemporaryFile(/tmp/multipartBody8590505464780054318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_13_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52b8b9667bbbade595fb56fdbcdae3be.jpg","text":"TemporaryFile(/tmp/multipartBody8723101118659792493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490564146,"filename":"image_30112025_07_12_55_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040573","file1":"1397040572","file0":"1397040570","file4":"1397040578","file5":"1397040579","file3":"1397040574"},"map_files_photo_id_array":[{"photo_id":"1397040579","filename":"file5"},{"photo_id":"1397040573","filename":"file2"},{"photo_id":"1397040578","filename":"file4"},{"photo_id":"1397040572","filename":"file1"},{"photo_id":"1397040570","filename":"file0"},{"photo_id":"1397040574","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040579":["hashtag1","hashtag2"]},{"1397040570":["hashtag1","hashtag2"]},{"1397040573":["hashtag1","hashtag2"]},{"1397040572":["hashtag1","hashtag2"]},{"1397040578":["hashtag1","hashtag2"]},{"1397040574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040579, 1397040570, 1397040573, 1397040572, 1397040578, 1397040574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82305669784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:15:42.705381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/16/image_31102025_12_16_28_2732.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_31_2577.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_34_3722.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_37_2603.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_40_2737.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_43_3805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_28_2732.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_31_2577.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_34_3722.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_37_2603.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_40_2737.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_43_3805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.782696008682251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:16:02.374168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_25_10605.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_35_9635.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_44_9664.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_55_10794.jpg', '/home/pi/Desktop/images/30112025/07/13/image_30112025_07_14_05_9548.jpg', '/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_25_10605.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_35_9635.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_44_9664.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_13_55_10794.jpg
/home/pi/Desktop/images/30112025/07/13/image_30112025_07_14_05_9548.jpg
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_14_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040591","1397040600","1397040590","1397040592","1397040594","1397040597"],"photo_ids_order":["1397040590","1397040591","1397040592","1397040594","1397040597","1397040600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/673fe1c6673ad739b15d9d6857574057.jpg","text":"TemporaryFile(/tmp/multipartBody7495326349438018338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_13_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95525cfc0c47e6edbf1954703fee29e7.jpg","text":"TemporaryFile(/tmp/multipartBody313708050938318362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_14_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9905b9bbf9a74669caa4c39e03a5824.jpg","text":"TemporaryFile(/tmp/multipartBody8227006086269172657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_13_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/873c31e0831a48cd757c0992f8fea422.jpg","text":"TemporaryFile(/tmp/multipartBody9016521703841296204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_13_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11aac21dcf0c92e12fc653bc2ba3dcba.jpg","text":"TemporaryFile(/tmp/multipartBody606486380030032695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_13_55_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5c98472b63b31a4c87001f95fc720ba.jpg","text":"TemporaryFile(/tmp/multipartBody2833325919903508212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490625777,"filename":"image_30112025_07_14_05_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040592","file1":"1397040591","file0":"1397040590","file4":"1397040597","file5":"1397040600","file3":"1397040594"},"map_files_photo_id_array":[{"photo_id":"1397040600","filename":"file5"},{"photo_id":"1397040592","filename":"file2"},{"photo_id":"1397040597","filename":"file4"},{"photo_id":"1397040591","filename":"file1"},{"photo_id":"1397040590","filename":"file0"},{"photo_id":"1397040594","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040591":["hashtag1","hashtag2"]},{"1397040600":["hashtag1","hashtag2"]},{"1397040590":["hashtag1","hashtag2"]},{"1397040592":["hashtag1","hashtag2"]},{"1397040594":["hashtag1","hashtag2"]},{"1397040597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040591, 1397040600, 1397040590, 1397040592, 1397040594, 1397040597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00977277755737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:17:02.853179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_25_10606.jpg', '/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_34_9690.jpg', '/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_44_9595.jpg', '/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_55_10817.jpg', '/home/pi/Desktop/images/30112025/07/14/image_30112025_07_15_05_9648.jpg', '/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_25_10606.jpg
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_34_9690.jpg
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_44_9595.jpg
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_14_55_10817.jpg
/home/pi/Desktop/images/30112025/07/14/image_30112025_07_15_05_9648.jpg
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_14_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040609","1397040603","1397040606","1397040602","1397040601","1397040604"],"photo_ids_order":["1397040601","1397040602","1397040603","1397040604","1397040606","1397040609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4d33c8b38ded1e2bc29f27391e89e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7484326446847465440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_15_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46b91826e6c493c1b2ae7045ca830562.jpg","text":"TemporaryFile(/tmp/multipartBody815815192867027198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_14_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/047afb1628279cb2ffd3f11772215901.jpg","text":"TemporaryFile(/tmp/multipartBody2275043737652292412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_15_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c5124bfeb43637227294babe4fb7b36.jpg","text":"TemporaryFile(/tmp/multipartBody8015304702020355216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_14_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5897eea8b100f4e26b9c16fbd0f35d80.jpg","text":"TemporaryFile(/tmp/multipartBody4817112601206367835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_14_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26a4b85c06befe9206f5eab4ea5027c6.jpg","text":"TemporaryFile(/tmp/multipartBody6284480283175326611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490683580,"filename":"image_30112025_07_14_55_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040603","file1":"1397040602","file0":"1397040601","file4":"1397040606","file5":"1397040609","file3":"1397040604"},"map_files_photo_id_array":[{"photo_id":"1397040609","filename":"file5"},{"photo_id":"1397040603","filename":"file2"},{"photo_id":"1397040606","filename":"file4"},{"photo_id":"1397040602","filename":"file1"},{"photo_id":"1397040601","filename":"file0"},{"photo_id":"1397040604","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040609":["hashtag1","hashtag2"]},{"1397040603":["hashtag1","hashtag2"]},{"1397040606":["hashtag1","hashtag2"]},{"1397040602":["hashtag1","hashtag2"]},{"1397040601":["hashtag1","hashtag2"]},{"1397040604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040609, 1397040603, 1397040606, 1397040602, 1397040601, 1397040604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41249418258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:17:42.145364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/16/image_31102025_12_16_28_2732.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_31_2577.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_34_3722.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_37_2603.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_40_2737.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_43_3805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_28_2732.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_31_2577.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_34_3722.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_37_2603.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_40_2737.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_43_3805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040645","1397040642","1397040615","1397040618","1397040644","1397040643"],"photo_ids_order":["1397040615","1397040618","1397040642","1397040643","1397040644","1397040645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d63d8762481eebc18eb844fb5cd0075.jpg","text":"TemporaryFile(/tmp/multipartBody1333522407991226492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_43_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03393b36a9eb59ad1577c9187e71826b.jpg","text":"TemporaryFile(/tmp/multipartBody1567361610657962685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_34_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4071b1b5d4b2d0cde35e21cee416e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody7380065240314507810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_28_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/30/3196eea4fed65b4c25e4ac19a5805400.jpg","text":"TemporaryFile(/tmp/multipartBody3994577245567017050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e5ea15b60be1a82385dca02d0ab20c7.jpg","text":"TemporaryFile(/tmp/multipartBody998196708682597521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_40_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/30/2fe7095a50cab309021b79edca2eead6.jpg","text":"TemporaryFile(/tmp/multipartBody5095289510518802372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490722902,"filename":"image_31102025_12_16_37_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040642","file1":"1397040618","file0":"1397040615","file4":"1397040644","file5":"1397040645","file3":"1397040643"},"map_files_photo_id_array":[{"photo_id":"1397040645","filename":"file5"},{"photo_id":"1397040642","filename":"file2"},{"photo_id":"1397040644","filename":"file4"},{"photo_id":"1397040618","filename":"file1"},{"photo_id":"1397040615","filename":"file0"},{"photo_id":"1397040643","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040645":["hashtag1","hashtag2"]},{"1397040642":["hashtag1","hashtag2"]},{"1397040615":["hashtag1","hashtag2"]},{"1397040618":["hashtag1","hashtag2"]},{"1397040644":["hashtag1","hashtag2"]},{"1397040643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040645, 1397040642, 1397040615, 1397040618, 1397040644, 1397040643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.271257400512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:18:22.288676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_25_10620.jpg', '/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_35_9873.jpg', '/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_45_9869.jpg', '/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_54_9650.jpg', '/home/pi/Desktop/images/30112025/07/15/image_30112025_07_16_04_9813.jpg', '/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_15_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_25_10620.jpg
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_35_9873.jpg
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_45_9869.jpg
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_15_54_9650.jpg
/home/pi/Desktop/images/30112025/07/15/image_30112025_07_16_04_9813.jpg
/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_15_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040660","1397040654","1397040656","1397040652","1397040649","1397040658"],"photo_ids_order":["1397040649","1397040652","1397040654","1397040656","1397040658","1397040660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44dce8368e0debbf65768f7d0cbc0e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2988182458761348201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_16_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/625ac0937ab945172bb3874e6df92d8e.jpg","text":"TemporaryFile(/tmp/multipartBody30431213416251478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_15_45_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e65dba24767d51daa193a47d6204b01.jpg","text":"TemporaryFile(/tmp/multipartBody5595006204991400269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_15_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc69705134a97e5603e036b3509897d5.jpg","text":"TemporaryFile(/tmp/multipartBody5372478093738506170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_15_35_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/203474c8c1b9e8cec7071749b6550381.jpg","text":"TemporaryFile(/tmp/multipartBody1360516421921880972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_15_25_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b96fde453369ac5ad2406351e53bf3d6.jpg","text":"TemporaryFile(/tmp/multipartBody6779751227724569696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490763003,"filename":"image_30112025_07_16_04_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040654","file1":"1397040652","file0":"1397040649","file4":"1397040658","file5":"1397040660","file3":"1397040656"},"map_files_photo_id_array":[{"photo_id":"1397040660","filename":"file5"},{"photo_id":"1397040654","filename":"file2"},{"photo_id":"1397040658","filename":"file4"},{"photo_id":"1397040652","filename":"file1"},{"photo_id":"1397040649","filename":"file0"},{"photo_id":"1397040656","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040660":["hashtag1","hashtag2"]},{"1397040654":["hashtag1","hashtag2"]},{"1397040656":["hashtag1","hashtag2"]},{"1397040652":["hashtag1","hashtag2"]},{"1397040649":["hashtag1","hashtag2"]},{"1397040658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040660, 1397040654, 1397040656, 1397040652, 1397040649, 1397040658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75871562957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:19:03.468842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_25_9750.jpg', '/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_34_9857.jpg', '/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_44_9740.jpg', '/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_55_10619.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_04_9559.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_15_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_25_9750.jpg
/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_34_9857.jpg
/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_44_9740.jpg
/home/pi/Desktop/images/30112025/07/16/image_30112025_07_16_55_10619.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_04_9559.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_15_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040663","1397040662","1397040670","1397040664","1397040667","1397040661"],"photo_ids_order":["1397040661","1397040662","1397040663","1397040664","1397040667","1397040670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b32f6a10fce71424915c798fa8a1034a.jpg","text":"TemporaryFile(/tmp/multipartBody1807315602785071136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_16_44_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b3e5d2c7337567c405da1885b119444.jpg","text":"TemporaryFile(/tmp/multipartBody8629369519973993909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_16_34_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cfba39e40c2c4072c147ff88f8faf41.jpg","text":"TemporaryFile(/tmp/multipartBody6105125651750131881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_17_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e51d5906f765c2fd51c0642a4bceec87.jpg","text":"TemporaryFile(/tmp/multipartBody6860764865690061726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_16_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0ad346358570594c2080cc2511b72b8.jpg","text":"TemporaryFile(/tmp/multipartBody2442196641199687493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_17_04_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19e57d53b142a5d98ee3e1025c577b16.jpg","text":"TemporaryFile(/tmp/multipartBody6024887912669475301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490804251,"filename":"image_30112025_07_16_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040663","file1":"1397040662","file0":"1397040661","file4":"1397040667","file5":"1397040670","file3":"1397040664"},"map_files_photo_id_array":[{"photo_id":"1397040670","filename":"file5"},{"photo_id":"1397040663","filename":"file2"},{"photo_id":"1397040667","filename":"file4"},{"photo_id":"1397040662","filename":"file1"},{"photo_id":"1397040661","filename":"file0"},{"photo_id":"1397040664","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040663":["hashtag1","hashtag2"]},{"1397040662":["hashtag1","hashtag2"]},{"1397040670":["hashtag1","hashtag2"]},{"1397040664":["hashtag1","hashtag2"]},{"1397040667":["hashtag1","hashtag2"]},{"1397040661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040663, 1397040662, 1397040670, 1397040664, 1397040667, 1397040661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0157196521759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:19:42.457343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/16/image_31102025_12_16_46_2702.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_49_2750.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_52_2907.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_54_2624.jpg', '/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_58_3580.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_01_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/12/16/image_31102025_12_16_46_2702.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_49_2750.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_52_2907.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_54_2624.jpg
/home/pi/Desktop/images/31102025/12/16/image_31102025_12_16_58_3580.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_01_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040678","1397040680","1397040682","1397040679","1397040676","1397040681"],"photo_ids_order":["1397040676","1397040678","1397040679","1397040680","1397040681","1397040682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b594a4053f7317bde3113c2e040a7afa.jpg","text":"TemporaryFile(/tmp/multipartBody531801185468642996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_16_49_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/30/fe7a5e60be3f16a4bcdeaff9dabcabfe.jpg","text":"TemporaryFile(/tmp/multipartBody5349064175854069414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_16_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/30/a06aa8e1c76a37533d091c197007e5e6.jpg","text":"TemporaryFile(/tmp/multipartBody4278377365634356155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_17_01_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/30/7176c465f337390d596335dbba3fdb6e.jpg","text":"TemporaryFile(/tmp/multipartBody5712702218837152873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_16_52_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/30/21046a5c0bfea1c3614ef6415db4ecff.jpg","text":"TemporaryFile(/tmp/multipartBody3335444967784700330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_16_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/30/61e6bf140f415ad46aba2804b039be19.jpg","text":"TemporaryFile(/tmp/multipartBody2319519381318459674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490843326,"filename":"image_31102025_12_16_58_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040679","file1":"1397040678","file0":"1397040676","file4":"1397040681","file5":"1397040682","file3":"1397040680"},"map_files_photo_id_array":[{"photo_id":"1397040682","filename":"file5"},{"photo_id":"1397040679","filename":"file2"},{"photo_id":"1397040681","filename":"file4"},{"photo_id":"1397040678","filename":"file1"},{"photo_id":"1397040676","filename":"file0"},{"photo_id":"1397040680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040678":["hashtag1","hashtag2"]},{"1397040680":["hashtag1","hashtag2"]},{"1397040682":["hashtag1","hashtag2"]},{"1397040679":["hashtag1","hashtag2"]},{"1397040676":["hashtag1","hashtag2"]},{"1397040681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040678, 1397040680, 1397040682, 1397040679, 1397040676, 1397040681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11322236061096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:20:22.657336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_25_9725.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_34_9690.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_44_10021.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_55_10657.jpg', '/home/pi/Desktop/images/30112025/07/17/image_30112025_07_18_05_9783.jpg', '/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_15_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_25_9725.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_34_9690.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_44_10021.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_17_55_10657.jpg
/home/pi/Desktop/images/30112025/07/17/image_30112025_07_18_05_9783.jpg
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_15_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040699","1397040692","1397040686","1397040695","1397040689","1397040697"],"photo_ids_order":["1397040686","1397040689","1397040692","1397040695","1397040697","1397040699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edcf7efd18454efb15552883a082610d.jpg","text":"TemporaryFile(/tmp/multipartBody8272287439831759916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_18_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c457c514409bb8faee8789164accc5f.jpg","text":"TemporaryFile(/tmp/multipartBody378614781545173301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_17_44_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ad37c10d293cd2701f72f6323f5abbc.jpg","text":"TemporaryFile(/tmp/multipartBody6969819418421347290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_17_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b513d9827f80919406b9131fb86d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5839195128771855383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_17_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b99a09acb9e4c348a8b5c57ef134e99.jpg","text":"TemporaryFile(/tmp/multipartBody1641939099794726503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_17_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a96e5f3b8c393810aef80246591701d6.jpg","text":"TemporaryFile(/tmp/multipartBody2789053153176384739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490883343,"filename":"image_30112025_07_18_05_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040692","file1":"1397040689","file0":"1397040686","file4":"1397040697","file5":"1397040699","file3":"1397040695"},"map_files_photo_id_array":[{"photo_id":"1397040699","filename":"file5"},{"photo_id":"1397040692","filename":"file2"},{"photo_id":"1397040697","filename":"file4"},{"photo_id":"1397040689","filename":"file1"},{"photo_id":"1397040686","filename":"file0"},{"photo_id":"1397040695","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040699":["hashtag1","hashtag2"]},{"1397040692":["hashtag1","hashtag2"]},{"1397040686":["hashtag1","hashtag2"]},{"1397040695":["hashtag1","hashtag2"]},{"1397040689":["hashtag1","hashtag2"]},{"1397040697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040699, 1397040692, 1397040686, 1397040695, 1397040689, 1397040697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77504515647888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:21:02.620499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_24_9708.jpg', '/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_35_10538.jpg', '/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_45_9778.jpg', '/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_54_9700.jpg', '/home/pi/Desktop/images/30112025/07/18/image_30112025_07_19_04_9830.jpg', '/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_15_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_24_9708.jpg
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_35_10538.jpg
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_45_9778.jpg
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_18_54_9700.jpg
/home/pi/Desktop/images/30112025/07/18/image_30112025_07_19_04_9830.jpg
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_15_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040711","1397040714","1397040716","1397040710","1397040709","1397040712"],"photo_ids_order":["1397040709","1397040710","1397040711","1397040712","1397040714","1397040716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c398f4c5f8c2093843b3ae0325230a9.jpg","text":"TemporaryFile(/tmp/multipartBody6219187546737883502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_18_45_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afde632e80188ddbc0845ece582f4a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5895285755568542939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_19_04_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47baf080bb44a5a8f24d0309e0f1b3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4776715205627769596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_19_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b58912bc55b616e22c76c9382680cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1690734294098477704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_18_35_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a298821a1a7ba119c701b98c81786dd.jpg","text":"TemporaryFile(/tmp/multipartBody3632224129543903502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_18_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c66dee821f81524f167a50cc08cd7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5714331104693462803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490923358,"filename":"image_30112025_07_18_54_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040711","file1":"1397040710","file0":"1397040709","file4":"1397040714","file5":"1397040716","file3":"1397040712"},"map_files_photo_id_array":[{"photo_id":"1397040716","filename":"file5"},{"photo_id":"1397040711","filename":"file2"},{"photo_id":"1397040714","filename":"file4"},{"photo_id":"1397040710","filename":"file1"},{"photo_id":"1397040709","filename":"file0"},{"photo_id":"1397040712","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040711":["hashtag1","hashtag2"]},{"1397040714":["hashtag1","hashtag2"]},{"1397040716":["hashtag1","hashtag2"]},{"1397040710":["hashtag1","hashtag2"]},{"1397040709":["hashtag1","hashtag2"]},{"1397040712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040711, 1397040714, 1397040716, 1397040710, 1397040709, 1397040712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.519853353500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:21:41.936928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/17/image_31102025_12_17_06_2892.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_10_3561.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_13_2811.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_16_2849.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_19_3576.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_22_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_06_2892.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_10_3561.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_13_2811.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_16_2849.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_19_3576.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_22_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040726","1397040723","1397040725","1397040727","1397040721","1397040724"],"photo_ids_order":["1397040721","1397040723","1397040724","1397040725","1397040726","1397040727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c4cbd688e89cd547703f4175fadd7d1.jpg","text":"TemporaryFile(/tmp/multipartBody6632056801813167688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_19_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/30/85c2463854105ee72579ce6a6b356b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6844712240354163533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_10_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/30/d25eab39e3a89bbb12ac2a90489bb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody8549418306565673164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_16_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/30/adc2a37ef7240c243081795960c2c509.jpg","text":"TemporaryFile(/tmp/multipartBody2168463768828227303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_22_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12e3c2459f2471aecfd49db713b4c11f.jpg","text":"TemporaryFile(/tmp/multipartBody243520859568169299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_06_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/30/1e991037c1e5498e5968788623b5c228.jpg","text":"TemporaryFile(/tmp/multipartBody3408518900162635520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764490962856,"filename":"image_31102025_12_17_13_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040724","file1":"1397040723","file0":"1397040721","file4":"1397040726","file5":"1397040727","file3":"1397040725"},"map_files_photo_id_array":[{"photo_id":"1397040727","filename":"file5"},{"photo_id":"1397040724","filename":"file2"},{"photo_id":"1397040726","filename":"file4"},{"photo_id":"1397040723","filename":"file1"},{"photo_id":"1397040721","filename":"file0"},{"photo_id":"1397040725","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040726":["hashtag1","hashtag2"]},{"1397040723":["hashtag1","hashtag2"]},{"1397040725":["hashtag1","hashtag2"]},{"1397040727":["hashtag1","hashtag2"]},{"1397040721":["hashtag1","hashtag2"]},{"1397040724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040726, 1397040723, 1397040725, 1397040727, 1397040721, 1397040724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44369125366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:22:22.138217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_25_9665.jpg', '/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_34_9697.jpg', '/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_45_10758.jpg', '/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_55_9713.jpg', '/home/pi/Desktop/images/30112025/07/19/image_30112025_07_20_04_9586.jpg', '/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_14_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_25_9665.jpg
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_34_9697.jpg
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_45_10758.jpg
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_19_55_9713.jpg
/home/pi/Desktop/images/30112025/07/19/image_30112025_07_20_04_9586.jpg
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_14_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040738","1397040735","1397040740","1397040737","1397040733","1397040730"],"photo_ids_order":["1397040730","1397040733","1397040735","1397040737","1397040738","1397040740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab39d9610740beddc5bd28c904fdf66b.jpg","text":"TemporaryFile(/tmp/multipartBody5427424180005357470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_20_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5bdadbd7e654cd7f0c136a8569ee4d3.jpg","text":"TemporaryFile(/tmp/multipartBody7210164293351878973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_19_45_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c42b31d96b24a66ff949816895264b24.jpg","text":"TemporaryFile(/tmp/multipartBody7872803868490454944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_20_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bb1164151f8e269f38600f926c6fcc5.jpg","text":"TemporaryFile(/tmp/multipartBody4875111029283551440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_19_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af056b810d64dbc21af74dd68f3dc198.jpg","text":"TemporaryFile(/tmp/multipartBody5634183451417690306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_19_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0706f46a6c42a01d1dfab8d0f6d16d75.jpg","text":"TemporaryFile(/tmp/multipartBody7631125204277607389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491002823,"filename":"image_30112025_07_19_25_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040735","file1":"1397040733","file0":"1397040730","file4":"1397040738","file5":"1397040740","file3":"1397040737"},"map_files_photo_id_array":[{"photo_id":"1397040740","filename":"file5"},{"photo_id":"1397040735","filename":"file2"},{"photo_id":"1397040738","filename":"file4"},{"photo_id":"1397040733","filename":"file1"},{"photo_id":"1397040730","filename":"file0"},{"photo_id":"1397040737","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040738":["hashtag1","hashtag2"]},{"1397040735":["hashtag1","hashtag2"]},{"1397040740":["hashtag1","hashtag2"]},{"1397040737":["hashtag1","hashtag2"]},{"1397040733":["hashtag1","hashtag2"]},{"1397040730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040738, 1397040735, 1397040740, 1397040737, 1397040733, 1397040730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59077334403992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:23:03.031697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_25_10610.jpg', '/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_34_9643.jpg', '/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_45_10593.jpg', '/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_55_9669.jpg', '/home/pi/Desktop/images/30112025/07/20/image_30112025_07_21_04_9679.jpg', '/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_15_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_25_10610.jpg
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_34_9643.jpg
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_45_10593.jpg
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_20_55_9669.jpg
/home/pi/Desktop/images/30112025/07/20/image_30112025_07_21_04_9679.jpg
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_15_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040744","1397040741","1397040749","1397040743","1397040746","1397040742"],"photo_ids_order":["1397040741","1397040742","1397040743","1397040744","1397040746","1397040749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec85cee3daff19b01b6e36ae0a87433b.jpg","text":"TemporaryFile(/tmp/multipartBody6068635490485531094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_20_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1245dacf9521b29fa71f5d0dc46bf7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8308349558772273743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_20_25_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c1959b93942f33691a4532f4ef7205e.jpg","text":"TemporaryFile(/tmp/multipartBody6865305042989375244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_21_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d870941c453ec0bd103dc5a991b6742.jpg","text":"TemporaryFile(/tmp/multipartBody8019798227423650527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_20_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20d84b17cebe4d5a762e71a6ca0d2bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6467611740845501150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_21_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a1f94f4ea57dfd41233f0e860b2d7be.jpg","text":"TemporaryFile(/tmp/multipartBody3461337891190821530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491043790,"filename":"image_30112025_07_20_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040743","file1":"1397040742","file0":"1397040741","file4":"1397040746","file5":"1397040749","file3":"1397040744"},"map_files_photo_id_array":[{"photo_id":"1397040749","filename":"file5"},{"photo_id":"1397040743","filename":"file2"},{"photo_id":"1397040746","filename":"file4"},{"photo_id":"1397040742","filename":"file1"},{"photo_id":"1397040741","filename":"file0"},{"photo_id":"1397040744","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040744":["hashtag1","hashtag2"]},{"1397040741":["hashtag1","hashtag2"]},{"1397040749":["hashtag1","hashtag2"]},{"1397040743":["hashtag1","hashtag2"]},{"1397040746":["hashtag1","hashtag2"]},{"1397040742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040744, 1397040741, 1397040749, 1397040743, 1397040746, 1397040742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.470088958740234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:23:42.346241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/17/image_31102025_12_17_25_3598.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_28_2704.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_31_2652.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_34_3649.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_37_2614.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_40_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_25_3598.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_28_2704.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_31_2652.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_34_3649.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_37_2614.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_40_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040771","1397040770","1397040773","1397040758","1397040772","1397040774"],"photo_ids_order":["1397040758","1397040770","1397040771","1397040772","1397040773","1397040774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7ead4ac7ae15b2abfc79f22bc3147c1.jpg","text":"TemporaryFile(/tmp/multipartBody317480196158481289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_31_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/30/6a8eb49cedce3d1997772bbffdc1ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody2583775089122242789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_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/30/72a0ddabf7480067932996be46539d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8499580829683865543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_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/30/6ff1ae72924267dc6ef21066887c90a0.jpg","text":"TemporaryFile(/tmp/multipartBody7664245045970535417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_25_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/30/36fadf88a80bce37787ade2376777d67.jpg","text":"TemporaryFile(/tmp/multipartBody7266236207816823357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_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/30/888f51c9a66bbdba496c265363d57dbb.jpg","text":"TemporaryFile(/tmp/multipartBody6088788485491878593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491083279,"filename":"image_31102025_12_17_40_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040771","file1":"1397040770","file0":"1397040758","file4":"1397040773","file5":"1397040774","file3":"1397040772"},"map_files_photo_id_array":[{"photo_id":"1397040774","filename":"file5"},{"photo_id":"1397040771","filename":"file2"},{"photo_id":"1397040773","filename":"file4"},{"photo_id":"1397040770","filename":"file1"},{"photo_id":"1397040758","filename":"file0"},{"photo_id":"1397040772","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040771":["hashtag1","hashtag2"]},{"1397040770":["hashtag1","hashtag2"]},{"1397040773":["hashtag1","hashtag2"]},{"1397040758":["hashtag1","hashtag2"]},{"1397040772":["hashtag1","hashtag2"]},{"1397040774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040771, 1397040770, 1397040773, 1397040758, 1397040772, 1397040774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82289695739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:24:22.545908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_25_9884.jpg', '/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_35_9639.jpg', '/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_44_9536.jpg', '/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_55_10748.jpg', '/home/pi/Desktop/images/30112025/07/21/image_30112025_07_22_04_9622.jpg', '/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_25_9884.jpg
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_35_9639.jpg
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_44_9536.jpg
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_21_55_10748.jpg
/home/pi/Desktop/images/30112025/07/21/image_30112025_07_22_04_9622.jpg
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_14_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040783","1397040777","1397040793","1397040786","1397040789","1397040780"],"photo_ids_order":["1397040777","1397040780","1397040783","1397040786","1397040789","1397040793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b00aaf201ba4846c63bda25f782658d.jpg","text":"TemporaryFile(/tmp/multipartBody8212254742618660984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_21_44_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef9d7909b2bbc176ca289d3537caf20f.jpg","text":"TemporaryFile(/tmp/multipartBody5876440530983120436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_21_25_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/863aefa5bc1472509dac3e4cbb1482a3.jpg","text":"TemporaryFile(/tmp/multipartBody1797606124129642545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_22_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8ace600524c6cb336d66a27106377b8.jpg","text":"TemporaryFile(/tmp/multipartBody643088556117626107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_21_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab312cdabde91a5ca6c9492522c0b75a.jpg","text":"TemporaryFile(/tmp/multipartBody2914854244630154494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_22_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e42996df1f6066c996ff535eb4677f20.jpg","text":"TemporaryFile(/tmp/multipartBody364372626728741080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491123267,"filename":"image_30112025_07_21_35_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040783","file1":"1397040780","file0":"1397040777","file4":"1397040789","file5":"1397040793","file3":"1397040786"},"map_files_photo_id_array":[{"photo_id":"1397040793","filename":"file5"},{"photo_id":"1397040783","filename":"file2"},{"photo_id":"1397040789","filename":"file4"},{"photo_id":"1397040780","filename":"file1"},{"photo_id":"1397040777","filename":"file0"},{"photo_id":"1397040786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040783":["hashtag1","hashtag2"]},{"1397040777":["hashtag1","hashtag2"]},{"1397040793":["hashtag1","hashtag2"]},{"1397040786":["hashtag1","hashtag2"]},{"1397040789":["hashtag1","hashtag2"]},{"1397040780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040783, 1397040777, 1397040793, 1397040786, 1397040789, 1397040780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.017844915390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:25:03.357757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_24_10038.jpg', '/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_35_10704.jpg', '/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_45_9708.jpg', '/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_54_9637.jpg', '/home/pi/Desktop/images/30112025/07/22/image_30112025_07_23_05_10716.jpg', '/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_15_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_24_10038.jpg
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_35_10704.jpg
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_45_9708.jpg
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_22_54_9637.jpg
/home/pi/Desktop/images/30112025/07/22/image_30112025_07_23_05_10716.jpg
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_15_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040798","1397040797","1397040803","1397040796","1397040800","1397040795"],"photo_ids_order":["1397040795","1397040796","1397040797","1397040798","1397040800","1397040803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/086e2075277848257713b09e32be92b0.jpg","text":"TemporaryFile(/tmp/multipartBody9157884860052524939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_22_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09f4abbd42953dcef9adb86e10c0e496.jpg","text":"TemporaryFile(/tmp/multipartBody4191810959928860071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_22_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/170085085fcc131897198b78c171b402.jpg","text":"TemporaryFile(/tmp/multipartBody4049420616535017076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_23_15_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54e0d50d3ace9fa95f3404d6edb6f5b5.jpg","text":"TemporaryFile(/tmp/multipartBody193675088292030786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_22_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1033038243bae23ce862c8bfddb6a562.jpg","text":"TemporaryFile(/tmp/multipartBody181795397005409437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_23_05_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4973616583b50e0bc863301b7dfc45f9.jpg","text":"TemporaryFile(/tmp/multipartBody3340030214314694202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491164085,"filename":"image_30112025_07_22_24_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040797","file1":"1397040796","file0":"1397040795","file4":"1397040800","file5":"1397040803","file3":"1397040798"},"map_files_photo_id_array":[{"photo_id":"1397040803","filename":"file5"},{"photo_id":"1397040797","filename":"file2"},{"photo_id":"1397040800","filename":"file4"},{"photo_id":"1397040796","filename":"file1"},{"photo_id":"1397040795","filename":"file0"},{"photo_id":"1397040798","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040798":["hashtag1","hashtag2"]},{"1397040797":["hashtag1","hashtag2"]},{"1397040803":["hashtag1","hashtag2"]},{"1397040796":["hashtag1","hashtag2"]},{"1397040800":["hashtag1","hashtag2"]},{"1397040795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040798, 1397040797, 1397040803, 1397040796, 1397040800, 1397040795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56148290634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:25:42.697188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/17/image_31102025_12_17_42_2824.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_46_3574.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_49_2660.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_51_2617.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_55_3698.jpg', '/home/pi/Desktop/images/31102025/12/17/image_31102025_12_18_00_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/12/17/image_31102025_12_17_42_2824.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_46_3574.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_49_2660.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_51_2617.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_17_55_3698.jpg
/home/pi/Desktop/images/31102025/12/17/image_31102025_12_18_00_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":["1397040816","1397040815","1397040818","1397040812","1397040814","1397040817"],"photo_ids_order":["1397040812","1397040814","1397040815","1397040816","1397040817","1397040818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d355b502ca4fd6a1e7cd377a707c7be4.jpg","text":"TemporaryFile(/tmp/multipartBody3612719809769791388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_17_51_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/30/2703ebb06f7fc97759633fe47f2670f1.jpg","text":"TemporaryFile(/tmp/multipartBody9218579852917754729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_17_49_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/379d40ea1f597b172c23040583793b56.jpg","text":"TemporaryFile(/tmp/multipartBody5093023269906167112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_18_00_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/30/424f297ab096641b0158f59334d7030b.jpg","text":"TemporaryFile(/tmp/multipartBody2536173165797637093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_17_42_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/30/3bb5185bfa19a60e4491b0dfd5abe776.jpg","text":"TemporaryFile(/tmp/multipartBody787314729080092599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_17_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/30/48d9e8a32be1740837872b2a2cf6bb18.jpg","text":"TemporaryFile(/tmp/multipartBody5711076050716012723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491203585,"filename":"image_31102025_12_17_55_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040815","file1":"1397040814","file0":"1397040812","file4":"1397040817","file5":"1397040818","file3":"1397040816"},"map_files_photo_id_array":[{"photo_id":"1397040818","filename":"file5"},{"photo_id":"1397040815","filename":"file2"},{"photo_id":"1397040817","filename":"file4"},{"photo_id":"1397040814","filename":"file1"},{"photo_id":"1397040812","filename":"file0"},{"photo_id":"1397040816","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040816":["hashtag1","hashtag2"]},{"1397040815":["hashtag1","hashtag2"]},{"1397040818":["hashtag1","hashtag2"]},{"1397040812":["hashtag1","hashtag2"]},{"1397040814":["hashtag1","hashtag2"]},{"1397040817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040816, 1397040815, 1397040818, 1397040812, 1397040814, 1397040817)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.62324380874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:26:31.979134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_34_3547.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_37_2594.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_41_3564.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_43_2598.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_47_3540.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_49_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_34_3547.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_37_2594.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_41_3564.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_43_2598.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_47_3540.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_49_2575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.792168378829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:26:42.085986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/18/image_31102025_12_18_04_3733.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_07_2663.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_09_2646.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_14_4153.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_16_2697.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_19_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_04_3733.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_07_2663.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_09_2646.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_14_4153.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_16_2697.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_19_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040849","1397040843","1397040846","1397040848","1397040844","1397040847"],"photo_ids_order":["1397040843","1397040844","1397040846","1397040847","1397040848","1397040849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/850a89328f4902afb78acc1df189242e.jpg","text":"TemporaryFile(/tmp/multipartBody2210229365645352142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_19_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/30/1aeb5b1c3628ea9cc03700023f233527.jpg","text":"TemporaryFile(/tmp/multipartBody7892580092050420889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_04_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/30/63efe0e6d12900026b0799d690532aef.jpg","text":"TemporaryFile(/tmp/multipartBody3423319605093976565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_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/30/c5053df7b92046ad7513ae72737c1086.jpg","text":"TemporaryFile(/tmp/multipartBody4739460547336745509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_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/30/c28952a9d6be4d16f93e008a49eb816b.jpg","text":"TemporaryFile(/tmp/multipartBody3196975511918965264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_07_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78796f25546d3dd31748e2bfa734cd38.jpg","text":"TemporaryFile(/tmp/multipartBody8819351281242141166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491274045,"filename":"image_31102025_12_18_14_4153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040846","file1":"1397040844","file0":"1397040843","file4":"1397040848","file5":"1397040849","file3":"1397040847"},"map_files_photo_id_array":[{"photo_id":"1397040849","filename":"file5"},{"photo_id":"1397040846","filename":"file2"},{"photo_id":"1397040848","filename":"file4"},{"photo_id":"1397040844","filename":"file1"},{"photo_id":"1397040843","filename":"file0"},{"photo_id":"1397040847","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040849":["hashtag1","hashtag2"]},{"1397040843":["hashtag1","hashtag2"]},{"1397040846":["hashtag1","hashtag2"]},{"1397040848":["hashtag1","hashtag2"]},{"1397040844":["hashtag1","hashtag2"]},{"1397040847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040849, 1397040843, 1397040846, 1397040848, 1397040844, 1397040847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.15037703514099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:27:32.395191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_34_3547.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_37_2594.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_41_3564.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_43_2598.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_47_3540.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_49_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_34_3547.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_37_2594.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_41_3564.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_43_2598.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_47_3540.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_49_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040858","1397040860","1397040863","1397040857","1397040862","1397040859"],"photo_ids_order":["1397040857","1397040858","1397040859","1397040860","1397040862","1397040863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8e0f8d324577c960bb97566680bbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody9152213325906723465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_37_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/30/2ef270fbc04735aa2d4c6507f14676b8.jpg","text":"TemporaryFile(/tmp/multipartBody5704331193903062923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_43_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/30/07d8bbe81466a8041281d57297431b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5092786630437184076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_49_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/30/da3b982ff338d16ac2b1a2e45593367c.jpg","text":"TemporaryFile(/tmp/multipartBody2101080187669300950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_34_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/30/163a18e333b42caae8dcc5ddf0984839.jpg","text":"TemporaryFile(/tmp/multipartBody7785778973310302729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_47_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/30/5bf49b4fe366fe79fd212baabb9f5baf.jpg","text":"TemporaryFile(/tmp/multipartBody6278849007548385872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491314274,"filename":"image_25112025_20_02_41_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040859","file1":"1397040858","file0":"1397040857","file4":"1397040862","file5":"1397040863","file3":"1397040860"},"map_files_photo_id_array":[{"photo_id":"1397040863","filename":"file5"},{"photo_id":"1397040859","filename":"file2"},{"photo_id":"1397040862","filename":"file4"},{"photo_id":"1397040858","filename":"file1"},{"photo_id":"1397040857","filename":"file0"},{"photo_id":"1397040860","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040858":["hashtag1","hashtag2"]},{"1397040860":["hashtag1","hashtag2"]},{"1397040863":["hashtag1","hashtag2"]},{"1397040857":["hashtag1","hashtag2"]},{"1397040862":["hashtag1","hashtag2"]},{"1397040859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040858, 1397040860, 1397040863, 1397040857, 1397040862, 1397040859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.790815353393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:28:12.485826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_52_2648.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_55_2783.jpg', '/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_58_3498.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_01_2674.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_05_3660.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_07_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_52_2648.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_55_2783.jpg
/home/pi/Desktop/images/25112025/20/02/image_25112025_20_02_58_3498.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_01_2674.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_05_3660.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_07_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040876","1397040870","1397040866","1397040875","1397040868","1397040873"],"photo_ids_order":["1397040866","1397040868","1397040870","1397040873","1397040875","1397040876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54f59cf155597c188ed5a3b68c343f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8892812212081481199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_03_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/30/ab940ccea9b4c9ad4170e45147889220.jpg","text":"TemporaryFile(/tmp/multipartBody3095329479474238198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_02_58_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/30/cf892f037c65366e0ecaa930ed768b97.jpg","text":"TemporaryFile(/tmp/multipartBody5320886623256059172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_02_52_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/30/7b29fa26727cf56e5acb21f67d40838b.jpg","text":"TemporaryFile(/tmp/multipartBody6669526791562215254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_03_05_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/394aee00e056d8218ff8504710869d39.jpg","text":"TemporaryFile(/tmp/multipartBody3714351098444760294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_02_55_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/30/fe6bcc0c5a3efa1a4e2c3cd795e83c80.jpg","text":"TemporaryFile(/tmp/multipartBody1660175631078260377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491354360,"filename":"image_25112025_20_03_01_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040870","file1":"1397040868","file0":"1397040866","file4":"1397040875","file5":"1397040876","file3":"1397040873"},"map_files_photo_id_array":[{"photo_id":"1397040876","filename":"file5"},{"photo_id":"1397040870","filename":"file2"},{"photo_id":"1397040875","filename":"file4"},{"photo_id":"1397040868","filename":"file1"},{"photo_id":"1397040866","filename":"file0"},{"photo_id":"1397040873","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040876":["hashtag1","hashtag2"]},{"1397040870":["hashtag1","hashtag2"]},{"1397040866":["hashtag1","hashtag2"]},{"1397040875":["hashtag1","hashtag2"]},{"1397040868":["hashtag1","hashtag2"]},{"1397040873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040876, 1397040870, 1397040866, 1397040875, 1397040868, 1397040873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63625907897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:29:03.625804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_24_9677.jpg', '/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_35_10641.jpg', '/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_45_9691.jpg', '/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_54_9528.jpg', '/home/pi/Desktop/images/30112025/07/23/image_30112025_07_24_05_10851.jpg', '/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_15_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_24_9677.jpg
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_35_10641.jpg
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_45_9691.jpg
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_23_54_9528.jpg
/home/pi/Desktop/images/30112025/07/23/image_30112025_07_24_05_10851.jpg
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_15_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040878","1397040887","1397040881","1397040880","1397040883","1397040885"],"photo_ids_order":["1397040878","1397040880","1397040881","1397040883","1397040885","1397040887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69a2330b940b636c5f2a55d054e6314f.jpg","text":"TemporaryFile(/tmp/multipartBody7606396830682293352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_23_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b14378554031e7dd4247adfe4acfc9ca.jpg","text":"TemporaryFile(/tmp/multipartBody125473590658174511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_24_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a2bb68db9cbed847e7f769e5e2cb2d1.jpg","text":"TemporaryFile(/tmp/multipartBody1793551220519821657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_23_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8db3d8e9bb0ea4c2e813cba15ee12888.jpg","text":"TemporaryFile(/tmp/multipartBody1725459940494107667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_23_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90099449ca8fbae52f0a1bc8cb2fab60.jpg","text":"TemporaryFile(/tmp/multipartBody4002800706103269724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_23_54_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/986b95ade446228a6bcf22850d240974.jpg","text":"TemporaryFile(/tmp/multipartBody9012003592556944243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491404491,"filename":"image_30112025_07_24_05_10851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040881","file1":"1397040880","file0":"1397040878","file4":"1397040885","file5":"1397040887","file3":"1397040883"},"map_files_photo_id_array":[{"photo_id":"1397040887","filename":"file5"},{"photo_id":"1397040881","filename":"file2"},{"photo_id":"1397040885","filename":"file4"},{"photo_id":"1397040880","filename":"file1"},{"photo_id":"1397040878","filename":"file0"},{"photo_id":"1397040883","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040878":["hashtag1","hashtag2"]},{"1397040887":["hashtag1","hashtag2"]},{"1397040881":["hashtag1","hashtag2"]},{"1397040880":["hashtag1","hashtag2"]},{"1397040883":["hashtag1","hashtag2"]},{"1397040885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040878, 1397040887, 1397040881, 1397040880, 1397040883, 1397040885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87812256813049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:29:42.792617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/18/image_31102025_12_18_21_2553.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_25_3764.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_28_2663.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_31_2751.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_33_2636.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_37_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_21_2553.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_25_3764.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_28_2663.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_31_2751.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_33_2636.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_37_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8bhn0cc6g</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>8bhn0cc6g</strong>.
uploaded 0 photos
time to upload: 44.81670379638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:30:32.003129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_10_2570.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_16_2622.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_20_3589.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_22_2713.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_25_2657.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_31_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_10_2570.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_16_2622.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_20_3589.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_22_2713.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_25_2657.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_31_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040912","1397040915","1397040917","1397040911","1397040913","1397040916"],"photo_ids_order":["1397040911","1397040912","1397040913","1397040915","1397040916","1397040917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2de1590be2c50e5d8085be2ba51ee43b.jpg","text":"TemporaryFile(/tmp/multipartBody13759126839665323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_16_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9a8ae6e0dab6e8086d23d0058a68da7.jpg","text":"TemporaryFile(/tmp/multipartBody9017018235559109825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_22_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/30/a3941dedf4c45bdc3ce2761b3c979d84.jpg","text":"TemporaryFile(/tmp/multipartBody4810246501784284898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11c2006ae3bf2a4d5f4397a120eb4655.jpg","text":"TemporaryFile(/tmp/multipartBody6720962432839892120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_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/30/52a59059d13aced030402738652201cc.jpg","text":"TemporaryFile(/tmp/multipartBody1835144172920595072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_20_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/30/9f0d2067204c8e16a8424c67477d67e1.jpg","text":"TemporaryFile(/tmp/multipartBody4716419033602024083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491493985,"filename":"image_25112025_20_03_25_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040913","file1":"1397040912","file0":"1397040911","file4":"1397040916","file5":"1397040917","file3":"1397040915"},"map_files_photo_id_array":[{"photo_id":"1397040917","filename":"file5"},{"photo_id":"1397040913","filename":"file2"},{"photo_id":"1397040916","filename":"file4"},{"photo_id":"1397040912","filename":"file1"},{"photo_id":"1397040911","filename":"file0"},{"photo_id":"1397040915","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040912":["hashtag1","hashtag2"]},{"1397040915":["hashtag1","hashtag2"]},{"1397040917":["hashtag1","hashtag2"]},{"1397040911":["hashtag1","hashtag2"]},{"1397040913":["hashtag1","hashtag2"]},{"1397040916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040912, 1397040915, 1397040917, 1397040911, 1397040913, 1397040916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32461643218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 09:31:12.074414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_34_2542.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_38_3870.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_40_2612.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_43_2580.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_49_2727.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_52_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_34_2542.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_38_3870.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_40_2612.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_43_2580.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_49_2727.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_52_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040930","1397040918","1397040927","1397040920","1397040925","1397040922"],"photo_ids_order":["1397040918","1397040920","1397040922","1397040925","1397040927","1397040930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/853bb4f9c35515f0d895fe1d4180cee2.jpg","text":"TemporaryFile(/tmp/multipartBody5868859679211676194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9d1e1c3f555de3921a650b77946ef54.jpg","text":"TemporaryFile(/tmp/multipartBody4806764757637706829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_34_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/30/a55e5121f5b99ea579c9ef616c821dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4677418499863688419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_49_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40e7e05d839cdf7e98f1ad73c40ac88b.jpg","text":"TemporaryFile(/tmp/multipartBody272799579102819790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_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/30/7a619512e03afbb2e4f0d35c6a6299aa.jpg","text":"TemporaryFile(/tmp/multipartBody5276864792817232464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_43_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84f0e3a92ac9293447586db060301521.jpg","text":"TemporaryFile(/tmp/multipartBody7627173408792967004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491533950,"filename":"image_25112025_20_03_40_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040922","file1":"1397040920","file0":"1397040918","file4":"1397040927","file5":"1397040930","file3":"1397040925"},"map_files_photo_id_array":[{"photo_id":"1397040930","filename":"file5"},{"photo_id":"1397040922","filename":"file2"},{"photo_id":"1397040927","filename":"file4"},{"photo_id":"1397040920","filename":"file1"},{"photo_id":"1397040918","filename":"file0"},{"photo_id":"1397040925","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397040930":["hashtag1","hashtag2"]},{"1397040918":["hashtag1","hashtag2"]},{"1397040927":["hashtag1","hashtag2"]},{"1397040920":["hashtag1","hashtag2"]},{"1397040925":["hashtag1","hashtag2"]},{"1397040922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397040930, 1397040918, 1397040927, 1397040920, 1397040925, 1397040922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0472993850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:32:02.885771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_24_9696.jpg', '/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_34_9665.jpg', '/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_45_10673.jpg', '/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_54_9637.jpg', '/home/pi/Desktop/images/30112025/07/24/image_30112025_07_25_04_9640.jpg', '/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_24_9696.jpg
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_34_9665.jpg
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_45_10673.jpg
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_24_54_9637.jpg
/home/pi/Desktop/images/30112025/07/24/image_30112025_07_25_04_9640.jpg
/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040936","1397040933","1397040941","1397040935","1397040938","1397040934"],"photo_ids_order":["1397040933","1397040934","1397040935","1397040936","1397040938","1397040941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65f7c2ead515aa618dc245edda78afa5.jpg","text":"TemporaryFile(/tmp/multipartBody6099837730261791362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_24_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e47d2b155762c65d78b9473d5a2049e8.jpg","text":"TemporaryFile(/tmp/multipartBody6721254525904054515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_24_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e2b0627403d53dd1b6a295b8e9ddda0.jpg","text":"TemporaryFile(/tmp/multipartBody5668892421789379728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_25_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69878ae3298dd5e691e03675ec5481aa.jpg","text":"TemporaryFile(/tmp/multipartBody8403991335892491599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_24_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f427a1e59fdabefb2773503834317533.jpg","text":"TemporaryFile(/tmp/multipartBody8695350835433397301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_25_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ceb34302e0345e6bfb79477bc54c6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6418414111228350827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491583566,"filename":"image_30112025_07_24_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040935","file1":"1397040934","file0":"1397040933","file4":"1397040938","file5":"1397040941","file3":"1397040936"},"map_files_photo_id_array":[{"photo_id":"1397040941","filename":"file5"},{"photo_id":"1397040935","filename":"file2"},{"photo_id":"1397040938","filename":"file4"},{"photo_id":"1397040934","filename":"file1"},{"photo_id":"1397040933","filename":"file0"},{"photo_id":"1397040936","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040936":["hashtag1","hashtag2"]},{"1397040933":["hashtag1","hashtag2"]},{"1397040941":["hashtag1","hashtag2"]},{"1397040935":["hashtag1","hashtag2"]},{"1397040938":["hashtag1","hashtag2"]},{"1397040934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040936, 1397040933, 1397040941, 1397040935, 1397040938, 1397040934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.826682806015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:32:42.316062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/18/image_31102025_12_18_21_2553.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_25_3764.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_28_2663.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_31_2751.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_33_2636.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_37_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_21_2553.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_25_3764.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_28_2663.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_31_2751.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_33_2636.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_37_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040957","1397040945","1397040956","1397040955","1397040958","1397040943"],"photo_ids_order":["1397040943","1397040945","1397040955","1397040956","1397040957","1397040958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4afcfc0605e6fdef102797a0fb6d620f.jpg","text":"TemporaryFile(/tmp/multipartBody8978107577200970998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_33_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/30/e1e9b57681751825ef27de8bc0709728.jpg","text":"TemporaryFile(/tmp/multipartBody1669879632616090593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_25_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/30/4d3b4c9334d29e25e34ca8ec2a847dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5829433562702544979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_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/30/39197c8687355b4f7abf67df52f268f4.jpg","text":"TemporaryFile(/tmp/multipartBody7685358426699596548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_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/30/d5f571f30997a8713516b666a365ab3e.jpg","text":"TemporaryFile(/tmp/multipartBody7593986906646045146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_37_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/30/10b78e881b650aea9a7c258e3c11b286.jpg","text":"TemporaryFile(/tmp/multipartBody1499940944302252697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491623065,"filename":"image_31102025_12_18_21_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040955","file1":"1397040945","file0":"1397040943","file4":"1397040957","file5":"1397040958","file3":"1397040956"},"map_files_photo_id_array":[{"photo_id":"1397040958","filename":"file5"},{"photo_id":"1397040955","filename":"file2"},{"photo_id":"1397040957","filename":"file4"},{"photo_id":"1397040945","filename":"file1"},{"photo_id":"1397040943","filename":"file0"},{"photo_id":"1397040956","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040957":["hashtag1","hashtag2"]},{"1397040945":["hashtag1","hashtag2"]},{"1397040956":["hashtag1","hashtag2"]},{"1397040955":["hashtag1","hashtag2"]},{"1397040958":["hashtag1","hashtag2"]},{"1397040943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040957, 1397040945, 1397040956, 1397040955, 1397040958, 1397040943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07157874107361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:33:22.394567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_24_9685.jpg', '/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_34_9703.jpg', '/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_44_9907.jpg', '/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_57_12869.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_05_8064.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_15_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_24_9685.jpg
/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_34_9703.jpg
/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_44_9907.jpg
/home/pi/Desktop/images/30112025/07/25/image_30112025_07_25_57_12869.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_05_8064.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_15_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040975","1397040971","1397040968","1397040961","1397040964","1397040972"],"photo_ids_order":["1397040961","1397040964","1397040968","1397040971","1397040972","1397040975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a91320571d155df7fd25738425123f8.jpg","text":"TemporaryFile(/tmp/multipartBody2063992113233161489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_26_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29235dda2d38bd4afc5a7cc2daceb943.jpg","text":"TemporaryFile(/tmp/multipartBody4225748492384231352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_25_57_12869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9a4aeba7d3cadeffcd1792e46a52980.jpg","text":"TemporaryFile(/tmp/multipartBody1597998693938241230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_25_44_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c55cfed608f06623787ddcfc86f49539.jpg","text":"TemporaryFile(/tmp/multipartBody2976030109288662701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_25_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76a2cd9a5b8db57378a47f5df2ab534a.jpg","text":"TemporaryFile(/tmp/multipartBody212744476957683119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_25_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/993c219092faf1bc5bdfff1cde0b8b95.jpg","text":"TemporaryFile(/tmp/multipartBody5313142233426877451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491663073,"filename":"image_30112025_07_26_05_8064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040968","file1":"1397040964","file0":"1397040961","file4":"1397040972","file5":"1397040975","file3":"1397040971"},"map_files_photo_id_array":[{"photo_id":"1397040975","filename":"file5"},{"photo_id":"1397040968","filename":"file2"},{"photo_id":"1397040972","filename":"file4"},{"photo_id":"1397040964","filename":"file1"},{"photo_id":"1397040961","filename":"file0"},{"photo_id":"1397040971","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040975":["hashtag1","hashtag2"]},{"1397040971":["hashtag1","hashtag2"]},{"1397040968":["hashtag1","hashtag2"]},{"1397040961":["hashtag1","hashtag2"]},{"1397040964":["hashtag1","hashtag2"]},{"1397040972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040975, 1397040971, 1397040968, 1397040961, 1397040964, 1397040972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.619556188583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:34:03.553573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_24_9555.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_35_10626.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_44_9532.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_55_10667.jpg', '/home/pi/Desktop/images/30112025/07/26/image_30112025_07_27_05_9565.jpg', '/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_24_9555.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_35_10626.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_44_9532.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_26_55_10667.jpg
/home/pi/Desktop/images/30112025/07/26/image_30112025_07_27_05_9565.jpg
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_14_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040978","1397040977","1397040980","1397040982","1397040985","1397040979"],"photo_ids_order":["1397040977","1397040978","1397040979","1397040980","1397040982","1397040985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cf6f95d06aa731dbf053a18ab8cfeba.jpg","text":"TemporaryFile(/tmp/multipartBody5026609274306091419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_26_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68f070bd80711a81fd48d553140d8540.jpg","text":"TemporaryFile(/tmp/multipartBody934409577369512760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_26_24_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/388a89deb19db9807912f277983b912b.jpg","text":"TemporaryFile(/tmp/multipartBody6348635632548049078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_26_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22a2b326345c8cf51fc9187232a914fd.jpg","text":"TemporaryFile(/tmp/multipartBody6670025252734291179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_27_05_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41154a9088c9a6a01e57ee5f605f1313.jpg","text":"TemporaryFile(/tmp/multipartBody4876201753254161267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_27_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d67248f2ddcb38dda54d4ef3aec10888.jpg","text":"TemporaryFile(/tmp/multipartBody6155465247448193191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491704277,"filename":"image_30112025_07_26_44_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040979","file1":"1397040978","file0":"1397040977","file4":"1397040982","file5":"1397040985","file3":"1397040980"},"map_files_photo_id_array":[{"photo_id":"1397040985","filename":"file5"},{"photo_id":"1397040979","filename":"file2"},{"photo_id":"1397040982","filename":"file4"},{"photo_id":"1397040978","filename":"file1"},{"photo_id":"1397040977","filename":"file0"},{"photo_id":"1397040980","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397040978":["hashtag1","hashtag2"]},{"1397040977":["hashtag1","hashtag2"]},{"1397040980":["hashtag1","hashtag2"]},{"1397040982":["hashtag1","hashtag2"]},{"1397040985":["hashtag1","hashtag2"]},{"1397040979":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397040978, 1397040977, 1397040980, 1397040982, 1397040985, 1397040979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19984030723572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:34:42.731446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/18/image_31102025_12_18_43_1650.jpg', '/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_55_12724.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_01_5910.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_06_4952.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_11_4776.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_13_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_43_1650.jpg
/home/pi/Desktop/images/31102025/12/18/image_31102025_12_18_55_12724.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_01_5910.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_06_4952.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_11_4776.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_13_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397040989","1397040992","1397040991","1397040988","1397040990","1397040993"],"photo_ids_order":["1397040988","1397040989","1397040990","1397040991","1397040992","1397040993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cc9c2774c77118bd0647391c16e8030.jpg","text":"TemporaryFile(/tmp/multipartBody8032928200955577258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_18_55_12724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/612e6ef850b32d61c9981115e52e77af.jpg","text":"TemporaryFile(/tmp/multipartBody1474909663569980322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_19_11_4776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4aa44fbc4cb6c688a56531d515402f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8335271266077601032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_19_06_4952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/053bdebe3b4532c064bfea9f10dfd9c8.jpg","text":"TemporaryFile(/tmp/multipartBody3486100963283078980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_18_43_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/30/d96d46a97b216ee0ff2136d545d10c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1970910458386328216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_19_01_5910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0783d01b5627915fb6b051c7a4599b2.jpg","text":"TemporaryFile(/tmp/multipartBody247855839540319079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491743621,"filename":"image_31102025_12_19_13_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397040990","file1":"1397040989","file0":"1397040988","file4":"1397040992","file5":"1397040993","file3":"1397040991"},"map_files_photo_id_array":[{"photo_id":"1397040993","filename":"file5"},{"photo_id":"1397040990","filename":"file2"},{"photo_id":"1397040992","filename":"file4"},{"photo_id":"1397040989","filename":"file1"},{"photo_id":"1397040988","filename":"file0"},{"photo_id":"1397040991","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397040989":["hashtag1","hashtag2"]},{"1397040992":["hashtag1","hashtag2"]},{"1397040991":["hashtag1","hashtag2"]},{"1397040988":["hashtag1","hashtag2"]},{"1397040990":["hashtag1","hashtag2"]},{"1397040993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397040989, 1397040992, 1397040991, 1397040988, 1397040990, 1397040993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.189563274383545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:35:21.892044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_25_10736.jpg', '/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_35_9769.jpg', '/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_44_9672.jpg', '/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_54_9644.jpg', '/home/pi/Desktop/images/30112025/07/27/image_30112025_07_28_05_10699.jpg', '/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_14_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_25_10736.jpg
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_35_9769.jpg
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_44_9672.jpg
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_27_54_9644.jpg
/home/pi/Desktop/images/30112025/07/27/image_30112025_07_28_05_10699.jpg
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_14_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041002","1397041005","1397040995","1397040998","1397041004","1397041007"],"photo_ids_order":["1397040995","1397040998","1397041002","1397041004","1397041005","1397041007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53bf349b8ec5f113d068016f8e6ec679.jpg","text":"TemporaryFile(/tmp/multipartBody2498589684610486294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_27_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86810eba514cdfef077df7950bd9b80c.jpg","text":"TemporaryFile(/tmp/multipartBody6913174060138886209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_28_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a06ea7d5e9569ef7351fc8da5e417940.jpg","text":"TemporaryFile(/tmp/multipartBody5283871764688487570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_27_25_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d9c7e194069a5dce2f5183d234f1aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8876224809343745218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_27_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b13c4cc079b100197edc7e92c906d99e.jpg","text":"TemporaryFile(/tmp/multipartBody5677779168291873152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_27_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7ae7c40afb63056d6f05232831d74b1.jpg","text":"TemporaryFile(/tmp/multipartBody3972910395973849926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491782614,"filename":"image_30112025_07_28_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041002","file1":"1397040998","file0":"1397040995","file4":"1397041005","file5":"1397041007","file3":"1397041004"},"map_files_photo_id_array":[{"photo_id":"1397041007","filename":"file5"},{"photo_id":"1397041002","filename":"file2"},{"photo_id":"1397041005","filename":"file4"},{"photo_id":"1397040998","filename":"file1"},{"photo_id":"1397040995","filename":"file0"},{"photo_id":"1397041004","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041002":["hashtag1","hashtag2"]},{"1397041005":["hashtag1","hashtag2"]},{"1397040995":["hashtag1","hashtag2"]},{"1397040998":["hashtag1","hashtag2"]},{"1397041004":["hashtag1","hashtag2"]},{"1397041007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041002, 1397041005, 1397040995, 1397040998, 1397041004, 1397041007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.791463136672974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:36:02.546204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_24_9773.jpg', '/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_35_10778.jpg', '/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_45_9727.jpg', '/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_54_9553.jpg', '/home/pi/Desktop/images/30112025/07/28/image_30112025_07_29_05_10619.jpg', '/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_14_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_24_9773.jpg
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_35_10778.jpg
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_45_9727.jpg
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_28_54_9553.jpg
/home/pi/Desktop/images/30112025/07/28/image_30112025_07_29_05_10619.jpg
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_14_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041022","1397041019","1397041024","1397041027","1397041021","1397041020"],"photo_ids_order":["1397041019","1397041020","1397041021","1397041022","1397041024","1397041027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e2051f7fc3021fdaea47ba7055e0c2.jpg","text":"TemporaryFile(/tmp/multipartBody2016209805968700646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_28_54_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b8576b6f37561e909af96519ade5b8d.jpg","text":"TemporaryFile(/tmp/multipartBody5650923264543148196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_28_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5199643c30d44a73ae798c21854d438.jpg","text":"TemporaryFile(/tmp/multipartBody5586283367472838508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_29_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbb6d01cdf0492d03578c3e0202c65ec.jpg","text":"TemporaryFile(/tmp/multipartBody7242777596076622019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_29_14_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ce3ba280ce6ba5179ce251caa2d69b2.jpg","text":"TemporaryFile(/tmp/multipartBody385406196108850872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_28_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c52276c6549960c33b0612b0062d8ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4096490102899130349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491823258,"filename":"image_30112025_07_28_35_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041021","file1":"1397041020","file0":"1397041019","file4":"1397041024","file5":"1397041027","file3":"1397041022"},"map_files_photo_id_array":[{"photo_id":"1397041027","filename":"file5"},{"photo_id":"1397041021","filename":"file2"},{"photo_id":"1397041024","filename":"file4"},{"photo_id":"1397041020","filename":"file1"},{"photo_id":"1397041019","filename":"file0"},{"photo_id":"1397041022","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041022":["hashtag1","hashtag2"]},{"1397041019":["hashtag1","hashtag2"]},{"1397041024":["hashtag1","hashtag2"]},{"1397041027":["hashtag1","hashtag2"]},{"1397041021":["hashtag1","hashtag2"]},{"1397041020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041022, 1397041019, 1397041024, 1397041027, 1397041021, 1397041020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.419066190719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:36:42.109291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/19/image_31102025_12_19_19_1690.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_20_1622.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_22_1547.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_24_1844.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_25_1792.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_27_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_19_1690.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_20_1622.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_22_1547.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_24_1844.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_25_1792.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_27_1698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041037","1397041042","1397041036","1397041039","1397041033","1397041041"],"photo_ids_order":["1397041033","1397041036","1397041037","1397041039","1397041041","1397041042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41647866d43ef835ebdcbd72afe337ea.jpg","text":"TemporaryFile(/tmp/multipartBody4301040176804138563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_22_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e3e4d383ccb3d09a6868a9cddfb52e6.jpg","text":"TemporaryFile(/tmp/multipartBody5377455565703324766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_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/30/8266119c187b0d6abe3dfac9131283c9.jpg","text":"TemporaryFile(/tmp/multipartBody2436181649650677791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_20_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/30/c2a4ba9bd6a4c1aa3862f3d645f76550.jpg","text":"TemporaryFile(/tmp/multipartBody3172877764353641889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_24_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/30/6d7077d78ab1a4204303a321bb3c1fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2341627267598914419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_19_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/30/411f1345ea42cede9debe2e60d8d795d.jpg","text":"TemporaryFile(/tmp/multipartBody1118803404424865182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491863038,"filename":"image_31102025_12_19_25_1792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041037","file1":"1397041036","file0":"1397041033","file4":"1397041041","file5":"1397041042","file3":"1397041039"},"map_files_photo_id_array":[{"photo_id":"1397041042","filename":"file5"},{"photo_id":"1397041037","filename":"file2"},{"photo_id":"1397041041","filename":"file4"},{"photo_id":"1397041036","filename":"file1"},{"photo_id":"1397041033","filename":"file0"},{"photo_id":"1397041039","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041037":["hashtag1","hashtag2"]},{"1397041042":["hashtag1","hashtag2"]},{"1397041036":["hashtag1","hashtag2"]},{"1397041039":["hashtag1","hashtag2"]},{"1397041033":["hashtag1","hashtag2"]},{"1397041041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041037, 1397041042, 1397041036, 1397041039, 1397041033, 1397041041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91089701652527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:37:22.221543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_25_10591.jpg', '/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_35_9554.jpg', '/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_44_9664.jpg', '/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_55_10649.jpg', '/home/pi/Desktop/images/30112025/07/29/image_30112025_07_30_04_9629.jpg', '/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_14_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_25_10591.jpg
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_35_9554.jpg
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_44_9664.jpg
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_29_55_10649.jpg
/home/pi/Desktop/images/30112025/07/29/image_30112025_07_30_04_9629.jpg
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_14_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041052","1397041046","1397041055","1397041051","1397041045","1397041048"],"photo_ids_order":["1397041045","1397041046","1397041048","1397041051","1397041052","1397041055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e72bc91c976188b21df4916cf2df3db9.jpg","text":"TemporaryFile(/tmp/multipartBody8577430630755682059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_30_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dec6bd0601dbd239ff7ca3df8867db6.jpg","text":"TemporaryFile(/tmp/multipartBody4672020820282970538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_29_35_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a11fa07db4d58ad91431c07d6404952.jpg","text":"TemporaryFile(/tmp/multipartBody7324133345546207236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_30_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dde84262d5dcab5b437db86dba2f682.jpg","text":"TemporaryFile(/tmp/multipartBody5016110444017309944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_29_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d45f93b54b0b72bb104b7e00faab2cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2448683393111653126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_29_25_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e5bd4f475fa54fae20f9812dcdbd9e.jpg","text":"TemporaryFile(/tmp/multipartBody2931993181489991898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491902907,"filename":"image_30112025_07_29_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041048","file1":"1397041046","file0":"1397041045","file4":"1397041052","file5":"1397041055","file3":"1397041051"},"map_files_photo_id_array":[{"photo_id":"1397041055","filename":"file5"},{"photo_id":"1397041048","filename":"file2"},{"photo_id":"1397041052","filename":"file4"},{"photo_id":"1397041046","filename":"file1"},{"photo_id":"1397041045","filename":"file0"},{"photo_id":"1397041051","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041052":["hashtag1","hashtag2"]},{"1397041046":["hashtag1","hashtag2"]},{"1397041055":["hashtag1","hashtag2"]},{"1397041051":["hashtag1","hashtag2"]},{"1397041045":["hashtag1","hashtag2"]},{"1397041048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041052, 1397041046, 1397041055, 1397041051, 1397041045, 1397041048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93723726272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:38:03.052293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_25_10721.jpg', '/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_35_9679.jpg', '/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_44_9595.jpg', '/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_55_10666.jpg', '/home/pi/Desktop/images/30112025/07/30/image_30112025_07_31_05_9698.jpg', '/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_25_10721.jpg
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_35_9679.jpg
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_44_9595.jpg
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_30_55_10666.jpg
/home/pi/Desktop/images/30112025/07/30/image_30112025_07_31_05_9698.jpg
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_14_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041061","1397041069","1397041060","1397041063","1397041065","1397041062"],"photo_ids_order":["1397041060","1397041061","1397041062","1397041063","1397041065","1397041069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3f4da9c7086bbfedbadddabc59c8ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2510373703410893847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_30_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a03cae05d17a90d1999db0b9006e0cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1903180552938102034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_31_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/807e18500118b475f54641809c53cba1.jpg","text":"TemporaryFile(/tmp/multipartBody2624043188496227185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_30_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7a5362cb915852b16609d26fda72dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7454228855860439693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_30_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/308cb219bd0cd32be9f945e376ec7e23.jpg","text":"TemporaryFile(/tmp/multipartBody6945539093980500461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_31_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7a8f08d5a812edc84dd76b3197ccec0.jpg","text":"TemporaryFile(/tmp/multipartBody5891397219234250120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764491943760,"filename":"image_30112025_07_30_44_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041062","file1":"1397041061","file0":"1397041060","file4":"1397041065","file5":"1397041069","file3":"1397041063"},"map_files_photo_id_array":[{"photo_id":"1397041069","filename":"file5"},{"photo_id":"1397041062","filename":"file2"},{"photo_id":"1397041065","filename":"file4"},{"photo_id":"1397041061","filename":"file1"},{"photo_id":"1397041060","filename":"file0"},{"photo_id":"1397041063","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041061":["hashtag1","hashtag2"]},{"1397041069":["hashtag1","hashtag2"]},{"1397041060":["hashtag1","hashtag2"]},{"1397041063":["hashtag1","hashtag2"]},{"1397041065":["hashtag1","hashtag2"]},{"1397041062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041061, 1397041069, 1397041060, 1397041063, 1397041065, 1397041062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.942540884017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:38:42.536377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/19/image_31102025_12_19_29_1599.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_30_1840.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_32_1906.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_34_1726.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_37_2664.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_39_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_29_1599.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_30_1840.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_32_1906.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_34_1726.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_37_2664.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_39_2622.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7916820049285889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:39:03.814612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_25_10637.jpg', '/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_34_9654.jpg', '/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_45_10202.jpg', '/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_54_9580.jpg', '/home/pi/Desktop/images/30112025/07/31/image_30112025_07_32_05_10808.jpg', '/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_25_10637.jpg
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_34_9654.jpg
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_45_10202.jpg
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_31_54_9580.jpg
/home/pi/Desktop/images/30112025/07/31/image_30112025_07_32_05_10808.jpg
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041091","1397041100","1397041093","1397041098","1397041092","1397041095"],"photo_ids_order":["1397041091","1397041092","1397041093","1397041095","1397041098","1397041100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1761c8b3c2e57cdcf28d64fcad160f6c.jpg","text":"TemporaryFile(/tmp/multipartBody6454727501910139075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_31_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b113d0026378e1ebef974779f9721974.jpg","text":"TemporaryFile(/tmp/multipartBody6308213822064738306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_32_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e27673508ce9c210b7a1f442b23e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6746181209147448574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_31_45_10202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bb47acf2d462ad2f26dae9fc5420a60.jpg","text":"TemporaryFile(/tmp/multipartBody7418942935217795432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_32_05_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82c0ebd4e3e3c16367d67be5337b35bb.jpg","text":"TemporaryFile(/tmp/multipartBody6843986670097614709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_31_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b04caa6e1099aadf05988f72aca2ea67.jpg","text":"TemporaryFile(/tmp/multipartBody515688350522458870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492004694,"filename":"image_30112025_07_31_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041093","file1":"1397041092","file0":"1397041091","file4":"1397041098","file5":"1397041100","file3":"1397041095"},"map_files_photo_id_array":[{"photo_id":"1397041100","filename":"file5"},{"photo_id":"1397041093","filename":"file2"},{"photo_id":"1397041098","filename":"file4"},{"photo_id":"1397041092","filename":"file1"},{"photo_id":"1397041091","filename":"file0"},{"photo_id":"1397041095","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041091":["hashtag1","hashtag2"]},{"1397041100":["hashtag1","hashtag2"]},{"1397041093":["hashtag1","hashtag2"]},{"1397041098":["hashtag1","hashtag2"]},{"1397041092":["hashtag1","hashtag2"]},{"1397041095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041091, 1397041100, 1397041093, 1397041098, 1397041092, 1397041095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70105719566345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:39:42.785022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/19/image_31102025_12_19_29_1599.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_30_1840.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_32_1906.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_34_1726.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_37_2664.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_39_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_29_1599.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_30_1840.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_32_1906.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_34_1726.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_37_2664.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_39_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":["1397041110","1397041107","1397041109","1397041111","1397041105","1397041108"],"photo_ids_order":["1397041105","1397041107","1397041108","1397041109","1397041110","1397041111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8116fe47a8c78b476bed0ebcb8543c02.jpg","text":"TemporaryFile(/tmp/multipartBody4087315176520657832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_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/30/98fed81f5355b7d1e712b3c63321285a.jpg","text":"TemporaryFile(/tmp/multipartBody4429022588224864157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_30_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/30/f6c776d7b7088afa4eaae705bf43c618.jpg","text":"TemporaryFile(/tmp/multipartBody378063078918166160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_34_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/30/d46e0d47c407e4906bef2effcb4c7f11.jpg","text":"TemporaryFile(/tmp/multipartBody5341769663460887781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_39_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/30/875f12261751dc2e3775660fbc8dfb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4457732779636244993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_29_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/30/4a1febe1cebe8a0d8a19cb60598fc9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7459498539209472936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492043527,"filename":"image_31102025_12_19_32_1906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041108","file1":"1397041107","file0":"1397041105","file4":"1397041110","file5":"1397041111","file3":"1397041109"},"map_files_photo_id_array":[{"photo_id":"1397041111","filename":"file5"},{"photo_id":"1397041108","filename":"file2"},{"photo_id":"1397041110","filename":"file4"},{"photo_id":"1397041107","filename":"file1"},{"photo_id":"1397041105","filename":"file0"},{"photo_id":"1397041109","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041110":["hashtag1","hashtag2"]},{"1397041107":["hashtag1","hashtag2"]},{"1397041109":["hashtag1","hashtag2"]},{"1397041111":["hashtag1","hashtag2"]},{"1397041105":["hashtag1","hashtag2"]},{"1397041108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041110, 1397041107, 1397041109, 1397041111, 1397041105, 1397041108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9917950630188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:40:21.874740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_24_9571.jpg', '/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_35_10580.jpg', '/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_45_9699.jpg', '/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_54_9560.jpg', '/home/pi/Desktop/images/30112025/07/32/image_30112025_07_33_05_10721.jpg', '/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_15_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_24_9571.jpg
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_35_10580.jpg
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_45_9699.jpg
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_32_54_9560.jpg
/home/pi/Desktop/images/30112025/07/32/image_30112025_07_33_05_10721.jpg
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_15_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041122","1397041113","1397041127","1397041124","1397041117","1397041120"],"photo_ids_order":["1397041113","1397041117","1397041120","1397041122","1397041124","1397041127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae8242e90a2f49f683d272442411a44c.jpg","text":"TemporaryFile(/tmp/multipartBody5835883846147025409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_32_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8985a2364f03311127763c98e6418b4.jpg","text":"TemporaryFile(/tmp/multipartBody1010087046601959956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_32_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd68e1354f2fdbf03098244ff8669a82.jpg","text":"TemporaryFile(/tmp/multipartBody6289077252716307805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_33_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b842b618a9b7496e33b27a5ce5db4a79.jpg","text":"TemporaryFile(/tmp/multipartBody2113772512751605825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_33_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5f5ddc7040df6237107bfc0f4aec75e.jpg","text":"TemporaryFile(/tmp/multipartBody7729049320533530048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_32_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/756969b0cc13fa6fe59e06373014f598.jpg","text":"TemporaryFile(/tmp/multipartBody8626792012039082738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492082565,"filename":"image_30112025_07_32_45_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041120","file1":"1397041117","file0":"1397041113","file4":"1397041124","file5":"1397041127","file3":"1397041122"},"map_files_photo_id_array":[{"photo_id":"1397041127","filename":"file5"},{"photo_id":"1397041120","filename":"file2"},{"photo_id":"1397041124","filename":"file4"},{"photo_id":"1397041117","filename":"file1"},{"photo_id":"1397041113","filename":"file0"},{"photo_id":"1397041122","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041122":["hashtag1","hashtag2"]},{"1397041113":["hashtag1","hashtag2"]},{"1397041127":["hashtag1","hashtag2"]},{"1397041124":["hashtag1","hashtag2"]},{"1397041117":["hashtag1","hashtag2"]},{"1397041120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041122, 1397041113, 1397041127, 1397041124, 1397041117, 1397041120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.765705585479736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:41:02.847786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_24_9664.jpg', '/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_35_10652.jpg', '/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_44_9613.jpg', '/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_54_9777.jpg', '/home/pi/Desktop/images/30112025/07/33/image_30112025_07_34_05_10566.jpg', '/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_15_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_24_9664.jpg
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_35_10652.jpg
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_44_9613.jpg
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_33_54_9777.jpg
/home/pi/Desktop/images/30112025/07/33/image_30112025_07_34_05_10566.jpg
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_15_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041131","1397041130","1397041133","1397041136","1397041129","1397041128"],"photo_ids_order":["1397041128","1397041129","1397041130","1397041131","1397041133","1397041136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b45ab876e0840fbe0d30741459eef6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3027028023732290323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_33_54_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4e769e15a783d8bcfafc5c79eb6f750.jpg","text":"TemporaryFile(/tmp/multipartBody1586985124400902749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_33_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22e10b51640db593462a69c45e0f5494.jpg","text":"TemporaryFile(/tmp/multipartBody8032021852998580809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_34_05_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/784e556c2d98553e2666b650abc94cfd.jpg","text":"TemporaryFile(/tmp/multipartBody661255692370781760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_34_15_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/339412ca36e73fd7e68f15099e46353d.jpg","text":"TemporaryFile(/tmp/multipartBody6764781537589912912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_33_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f9155e2e0e9dd606437ffd5747e1e95.jpg","text":"TemporaryFile(/tmp/multipartBody147626191924075433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492123595,"filename":"image_30112025_07_33_24_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041130","file1":"1397041129","file0":"1397041128","file4":"1397041133","file5":"1397041136","file3":"1397041131"},"map_files_photo_id_array":[{"photo_id":"1397041136","filename":"file5"},{"photo_id":"1397041130","filename":"file2"},{"photo_id":"1397041133","filename":"file4"},{"photo_id":"1397041129","filename":"file1"},{"photo_id":"1397041128","filename":"file0"},{"photo_id":"1397041131","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041131":["hashtag1","hashtag2"]},{"1397041130":["hashtag1","hashtag2"]},{"1397041133":["hashtag1","hashtag2"]},{"1397041136":["hashtag1","hashtag2"]},{"1397041129":["hashtag1","hashtag2"]},{"1397041128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041131, 1397041130, 1397041133, 1397041136, 1397041129, 1397041128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49200367927551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:41:42.293425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/19/image_31102025_12_19_43_3645.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_48_4792.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_49_1616.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_55_5615.jpg', '/home/pi/Desktop/images/31102025/12/19/image_31102025_12_20_00_4541.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_01_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_43_3645.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_48_4792.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_49_1616.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_19_55_5615.jpg
/home/pi/Desktop/images/31102025/12/19/image_31102025_12_20_00_4541.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_01_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041143","1397041157","1397041154","1397041156","1397041141","1397041155"],"photo_ids_order":["1397041141","1397041143","1397041154","1397041155","1397041156","1397041157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea735ce6f29d5c8fca0aa28d9ae338d0.jpg","text":"TemporaryFile(/tmp/multipartBody2945628530202559724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_19_48_4792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48f13777a286495d153e746ac042ced1.jpg","text":"TemporaryFile(/tmp/multipartBody1165371350339456673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_20_01_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26cd5668c04f608706518295cc233d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3833761468750888324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_19_49_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/30/279d9faa7f3813b3ba90ddad1dfabc4d.jpg","text":"TemporaryFile(/tmp/multipartBody8189880889187975467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_20_00_4541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c782e6fe876c4cda69afb3bff57be979.jpg","text":"TemporaryFile(/tmp/multipartBody6227602009285398240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_19_43_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/30/feedae61549c9df53ad784aff98aa13c.jpg","text":"TemporaryFile(/tmp/multipartBody5458729888190742849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492163219,"filename":"image_31102025_12_19_55_5615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041154","file1":"1397041143","file0":"1397041141","file4":"1397041156","file5":"1397041157","file3":"1397041155"},"map_files_photo_id_array":[{"photo_id":"1397041157","filename":"file5"},{"photo_id":"1397041154","filename":"file2"},{"photo_id":"1397041156","filename":"file4"},{"photo_id":"1397041143","filename":"file1"},{"photo_id":"1397041141","filename":"file0"},{"photo_id":"1397041155","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041143":["hashtag1","hashtag2"]},{"1397041157":["hashtag1","hashtag2"]},{"1397041154":["hashtag1","hashtag2"]},{"1397041156":["hashtag1","hashtag2"]},{"1397041141":["hashtag1","hashtag2"]},{"1397041155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041143, 1397041157, 1397041154, 1397041156, 1397041141, 1397041155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62670278549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:42:22.461504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_24_9832.jpg', '/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_34_9743.jpg', '/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_45_10765.jpg', '/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_55_9622.jpg', '/home/pi/Desktop/images/30112025/07/34/image_30112025_07_35_04_9653.jpg', '/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_15_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_24_9832.jpg
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_34_9743.jpg
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_45_10765.jpg
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_34_55_9622.jpg
/home/pi/Desktop/images/30112025/07/34/image_30112025_07_35_04_9653.jpg
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_15_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041169","1397041166","1397041160","1397041171","1397041168","1397041164"],"photo_ids_order":["1397041160","1397041164","1397041166","1397041168","1397041169","1397041171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f916e2bee9d11bf4f05aafef9d7d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody2283855589275395907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_35_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb65e1701cb9bc535128bac78d97c586.jpg","text":"TemporaryFile(/tmp/multipartBody2064783113193672478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_34_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abb3bfe910e40d98f34fe3e4ac0f084a.jpg","text":"TemporaryFile(/tmp/multipartBody2160596691831504527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_34_24_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d88923f9d5e29b82de353fdcb92982ce.jpg","text":"TemporaryFile(/tmp/multipartBody6698947947086098518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_35_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/366ee20f83730a1c8c5f21b33fd608e5.jpg","text":"TemporaryFile(/tmp/multipartBody3070586444246845055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_34_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/995a223bff58d1366d494dae6be89df5.jpg","text":"TemporaryFile(/tmp/multipartBody1525627361359016922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492203146,"filename":"image_30112025_07_34_34_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041166","file1":"1397041164","file0":"1397041160","file4":"1397041169","file5":"1397041171","file3":"1397041168"},"map_files_photo_id_array":[{"photo_id":"1397041171","filename":"file5"},{"photo_id":"1397041166","filename":"file2"},{"photo_id":"1397041169","filename":"file4"},{"photo_id":"1397041164","filename":"file1"},{"photo_id":"1397041160","filename":"file0"},{"photo_id":"1397041168","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041169":["hashtag1","hashtag2"]},{"1397041166":["hashtag1","hashtag2"]},{"1397041160":["hashtag1","hashtag2"]},{"1397041171":["hashtag1","hashtag2"]},{"1397041168":["hashtag1","hashtag2"]},{"1397041164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041169, 1397041166, 1397041160, 1397041171, 1397041168, 1397041164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37293720245361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:43:03.315383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_24_9619.jpg', '/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_34_9555.jpg', '/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_45_10659.jpg', '/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_54_9679.jpg', '/home/pi/Desktop/images/30112025/07/35/image_30112025_07_36_05_10576.jpg', '/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_15_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_24_9619.jpg
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_34_9555.jpg
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_45_10659.jpg
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_35_54_9679.jpg
/home/pi/Desktop/images/30112025/07/35/image_30112025_07_36_05_10576.jpg
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_15_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041181","1397041175","1397041178","1397041172","1397041174","1397041173"],"photo_ids_order":["1397041172","1397041173","1397041174","1397041175","1397041178","1397041181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84162ac7f8d90aa54da2f912be6c74a8.jpg","text":"TemporaryFile(/tmp/multipartBody5361927708493040892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_36_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c65f6bf9c670e709bce9c8e1d7f81e7.jpg","text":"TemporaryFile(/tmp/multipartBody4883935095676205139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_35_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3748e316da6c6ba4e772199503cebc26.jpg","text":"TemporaryFile(/tmp/multipartBody3475822085702868654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_36_05_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7358670688aff0682550d864c5fd7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1750532236358026153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_35_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99fe60a6a84a4e69b8f12e7853fad9a1.jpg","text":"TemporaryFile(/tmp/multipartBody76399795058503661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_35_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/574ec4144dad5ac0903f8294fceabcbc.jpg","text":"TemporaryFile(/tmp/multipartBody4400126104288784306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492244150,"filename":"image_30112025_07_35_34_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041174","file1":"1397041173","file0":"1397041172","file4":"1397041178","file5":"1397041181","file3":"1397041175"},"map_files_photo_id_array":[{"photo_id":"1397041181","filename":"file5"},{"photo_id":"1397041174","filename":"file2"},{"photo_id":"1397041178","filename":"file4"},{"photo_id":"1397041173","filename":"file1"},{"photo_id":"1397041172","filename":"file0"},{"photo_id":"1397041175","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041181":["hashtag1","hashtag2"]},{"1397041175":["hashtag1","hashtag2"]},{"1397041178":["hashtag1","hashtag2"]},{"1397041172":["hashtag1","hashtag2"]},{"1397041174":["hashtag1","hashtag2"]},{"1397041173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041181, 1397041175, 1397041178, 1397041172, 1397041174, 1397041173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56205677986145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:43:42.660512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/20/image_31102025_12_20_06_4687.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_08_1960.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_28_19709.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_34_5894.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_35_1732.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_37_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_06_4687.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_08_1960.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_28_19709.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_34_5894.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_35_1732.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_37_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041187","1397041190","1397041184","1397041186","1397041189","1397041188"],"photo_ids_order":["1397041184","1397041186","1397041187","1397041188","1397041189","1397041190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9079f7b00de335f316b0696b9807507.jpg","text":"TemporaryFile(/tmp/multipartBody107836473444198661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_28_19709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5c4a3e134a8a2c94448c614c54d98b4.jpg","text":"TemporaryFile(/tmp/multipartBody355898650521997350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_37_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/30/c8072d890ac2e70170b796635897ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody7289670448242173928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_06_4687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1247421f9f6b4771d8e16db386932a21.jpg","text":"TemporaryFile(/tmp/multipartBody5310508205293349525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_08_1960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22967ca69b38269b3276af2e804c5f78.jpg","text":"TemporaryFile(/tmp/multipartBody5639768503791275957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_35_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/30/d13349c7f79aa05b6ebdf5450112b27f.jpg","text":"TemporaryFile(/tmp/multipartBody3540806572586344271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492283555,"filename":"image_31102025_12_20_34_5894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041187","file1":"1397041186","file0":"1397041184","file4":"1397041189","file5":"1397041190","file3":"1397041188"},"map_files_photo_id_array":[{"photo_id":"1397041190","filename":"file5"},{"photo_id":"1397041187","filename":"file2"},{"photo_id":"1397041189","filename":"file4"},{"photo_id":"1397041186","filename":"file1"},{"photo_id":"1397041184","filename":"file0"},{"photo_id":"1397041188","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041187":["hashtag1","hashtag2"]},{"1397041190":["hashtag1","hashtag2"]},{"1397041184":["hashtag1","hashtag2"]},{"1397041186":["hashtag1","hashtag2"]},{"1397041189":["hashtag1","hashtag2"]},{"1397041188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041187, 1397041190, 1397041184, 1397041186, 1397041189, 1397041188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.966480016708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:44:21.895125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_24_9673.jpg', '/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_35_10591.jpg', '/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_45_9629.jpg', '/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_54_9656.jpg', '/home/pi/Desktop/images/30112025/07/36/image_30112025_07_37_04_9775.jpg', '/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_15_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_24_9673.jpg
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_35_10591.jpg
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_45_9629.jpg
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_36_54_9656.jpg
/home/pi/Desktop/images/30112025/07/36/image_30112025_07_37_04_9775.jpg
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_15_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041200","1397041203","1397041193","1397041196","1397041198","1397041201"],"photo_ids_order":["1397041193","1397041196","1397041198","1397041200","1397041201","1397041203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d739dc22e41aeb678ff7097b81dc83b.jpg","text":"TemporaryFile(/tmp/multipartBody6241963122881977305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_36_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e81d09b6fc09ae4be8b5e01e7a6cba97.jpg","text":"TemporaryFile(/tmp/multipartBody7525014679428726693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_37_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec1e418ce8a54f14c3a7b6b99c7045c6.jpg","text":"TemporaryFile(/tmp/multipartBody3594355447861113559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_36_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd925835ff1f70286b0add5e523b0b31.jpg","text":"TemporaryFile(/tmp/multipartBody4066610329997168855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_36_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48bfe4bdc3fc75264c61e8d74f72e99c.jpg","text":"TemporaryFile(/tmp/multipartBody6646324340593596739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_36_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7a3653b6c6bea17475b4565d40a4a60.jpg","text":"TemporaryFile(/tmp/multipartBody948152960824608593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492322625,"filename":"image_30112025_07_37_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041198","file1":"1397041196","file0":"1397041193","file4":"1397041201","file5":"1397041203","file3":"1397041200"},"map_files_photo_id_array":[{"photo_id":"1397041203","filename":"file5"},{"photo_id":"1397041198","filename":"file2"},{"photo_id":"1397041201","filename":"file4"},{"photo_id":"1397041196","filename":"file1"},{"photo_id":"1397041193","filename":"file0"},{"photo_id":"1397041200","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041200":["hashtag1","hashtag2"]},{"1397041203":["hashtag1","hashtag2"]},{"1397041193":["hashtag1","hashtag2"]},{"1397041196":["hashtag1","hashtag2"]},{"1397041198":["hashtag1","hashtag2"]},{"1397041201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041200, 1397041203, 1397041193, 1397041196, 1397041198, 1397041201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88894057273865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:45:02.829036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_24_9612.jpg', '/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_35_10761.jpg', '/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_45_9715.jpg', '/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_54_9714.jpg', '/home/pi/Desktop/images/30112025/07/37/image_30112025_07_38_04_9744.jpg', '/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_15_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_24_9612.jpg
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_35_10761.jpg
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_45_9715.jpg
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_37_54_9714.jpg
/home/pi/Desktop/images/30112025/07/37/image_30112025_07_38_04_9744.jpg
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_15_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041215","1397041214","1397041217","1397041222","1397041216","1397041219"],"photo_ids_order":["1397041214","1397041215","1397041216","1397041217","1397041219","1397041222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0afac6412cef579d97292b219d48c27.jpg","text":"TemporaryFile(/tmp/multipartBody1814369910632766644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_37_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2d8f7cd8c40333d7b0ca6beef17e3cf.jpg","text":"TemporaryFile(/tmp/multipartBody3511652554191272697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_37_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5361c0dfd98481d38a933b6132eaf17.jpg","text":"TemporaryFile(/tmp/multipartBody749338730120690748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_37_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c6ab209d59cf33473a27ddac87c94dc.jpg","text":"TemporaryFile(/tmp/multipartBody8254896186527668331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_38_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74f00d0a998b651f47fffb47adb6725c.jpg","text":"TemporaryFile(/tmp/multipartBody6366030392575535602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_37_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a6bfeeb7f687a926d3fd0390aa465fa.jpg","text":"TemporaryFile(/tmp/multipartBody1474891249292849458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492363642,"filename":"image_30112025_07_38_04_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041216","file1":"1397041215","file0":"1397041214","file4":"1397041219","file5":"1397041222","file3":"1397041217"},"map_files_photo_id_array":[{"photo_id":"1397041222","filename":"file5"},{"photo_id":"1397041216","filename":"file2"},{"photo_id":"1397041219","filename":"file4"},{"photo_id":"1397041215","filename":"file1"},{"photo_id":"1397041214","filename":"file0"},{"photo_id":"1397041217","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041215":["hashtag1","hashtag2"]},{"1397041214":["hashtag1","hashtag2"]},{"1397041217":["hashtag1","hashtag2"]},{"1397041222":["hashtag1","hashtag2"]},{"1397041216":["hashtag1","hashtag2"]},{"1397041219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041215, 1397041214, 1397041217, 1397041222, 1397041216, 1397041219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91017770767212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:45:42.022595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/20/image_31102025_12_20_39_1755.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_43_2996.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_45_1679.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_47_1634.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_50_1623.jpg', '/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_53_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_39_1755.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_43_2996.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_45_1679.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_47_1634.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_50_1623.jpg
/home/pi/Desktop/images/31102025/12/20/image_31102025_12_20_53_1705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041230","1397041232","1397041226","1397041229","1397041231","1397041233"],"photo_ids_order":["1397041226","1397041229","1397041230","1397041231","1397041232","1397041233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad715d897667e16b4cc4da6abe12b39b.jpg","text":"TemporaryFile(/tmp/multipartBody2142114992357237387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_45_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/30/0630d7956e8d8c58c953cbb4087849d1.jpg","text":"TemporaryFile(/tmp/multipartBody6291037978065910081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_50_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dda324311d5dc17a5875c08df763c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7036245820604739291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_39_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/30/66f05d8285ce3d2439bfc0db27ca5f08.jpg","text":"TemporaryFile(/tmp/multipartBody7081132727876200638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_43_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25cb35af76461100446d644b34479626.jpg","text":"TemporaryFile(/tmp/multipartBody1091626198953072509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_47_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/30/e8071f587d5b8bc0978fa146aececafa.jpg","text":"TemporaryFile(/tmp/multipartBody7845307503543366689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492402940,"filename":"image_31102025_12_20_53_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041230","file1":"1397041229","file0":"1397041226","file4":"1397041232","file5":"1397041233","file3":"1397041231"},"map_files_photo_id_array":[{"photo_id":"1397041233","filename":"file5"},{"photo_id":"1397041230","filename":"file2"},{"photo_id":"1397041232","filename":"file4"},{"photo_id":"1397041229","filename":"file1"},{"photo_id":"1397041226","filename":"file0"},{"photo_id":"1397041231","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041230":["hashtag1","hashtag2"]},{"1397041232":["hashtag1","hashtag2"]},{"1397041226":["hashtag1","hashtag2"]},{"1397041229":["hashtag1","hashtag2"]},{"1397041231":["hashtag1","hashtag2"]},{"1397041233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041230, 1397041232, 1397041226, 1397041229, 1397041231, 1397041233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74495792388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:46:22.115837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_24_9633.jpg', '/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_35_10564.jpg', '/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_45_9660.jpg', '/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_54_9719.jpg', '/home/pi/Desktop/images/30112025/07/38/image_30112025_07_39_05_10637.jpg', '/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_15_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_24_9633.jpg
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_35_10564.jpg
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_45_9660.jpg
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_38_54_9719.jpg
/home/pi/Desktop/images/30112025/07/38/image_30112025_07_39_05_10637.jpg
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_15_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041236","1397041239","1397041244","1397041238","1397041241","1397041245"],"photo_ids_order":["1397041236","1397041238","1397041239","1397041241","1397041244","1397041245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53e4b9a8e5e2c9628ea7585fd90582d3.jpg","text":"TemporaryFile(/tmp/multipartBody5800651155671195983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_38_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/276bb2ae6f3e33971304f9ed134b936c.jpg","text":"TemporaryFile(/tmp/multipartBody7783812546808964153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_38_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b800a5742abe82eb702883c0b117a17.jpg","text":"TemporaryFile(/tmp/multipartBody5887245204324722905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_39_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a90c5967074526c1736ded4a4fee523.jpg","text":"TemporaryFile(/tmp/multipartBody6539065792543995549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_38_35_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75eb8b0151fd07841a20a69d75d2e2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2135537187809244571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_38_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f07a8b50a235c2c03807e5ac22cdf7da.jpg","text":"TemporaryFile(/tmp/multipartBody1782364979299928345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492443064,"filename":"image_30112025_07_39_15_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041239","file1":"1397041238","file0":"1397041236","file4":"1397041244","file5":"1397041245","file3":"1397041241"},"map_files_photo_id_array":[{"photo_id":"1397041245","filename":"file5"},{"photo_id":"1397041239","filename":"file2"},{"photo_id":"1397041244","filename":"file4"},{"photo_id":"1397041238","filename":"file1"},{"photo_id":"1397041236","filename":"file0"},{"photo_id":"1397041241","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041236":["hashtag1","hashtag2"]},{"1397041239":["hashtag1","hashtag2"]},{"1397041244":["hashtag1","hashtag2"]},{"1397041238":["hashtag1","hashtag2"]},{"1397041241":["hashtag1","hashtag2"]},{"1397041245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041236, 1397041239, 1397041244, 1397041238, 1397041241, 1397041245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71723771095276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:47:03.165729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_24_9549.jpg', '/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_35_10646.jpg', '/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_45_9693.jpg', '/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_54_9756.jpg', '/home/pi/Desktop/images/30112025/07/39/image_30112025_07_40_04_9673.jpg', '/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_15_10875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_24_9549.jpg
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_35_10646.jpg
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_45_9693.jpg
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_39_54_9756.jpg
/home/pi/Desktop/images/30112025/07/39/image_30112025_07_40_04_9673.jpg
/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_15_10875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041256","1397041250","1397041253","1397041247","1397041246","1397041248"],"photo_ids_order":["1397041246","1397041247","1397041248","1397041250","1397041253","1397041256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5736c5c158eee8830a9c1ba4745c7b89.jpg","text":"TemporaryFile(/tmp/multipartBody1756592459351035534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_40_15_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f84a1f416003856bb9bf6a03e717315a.jpg","text":"TemporaryFile(/tmp/multipartBody7922328387262598900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_39_54_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24e0e232e2b0cfdf5652bb7ee1e6f67e.jpg","text":"TemporaryFile(/tmp/multipartBody5514637400678737452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_40_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e18cdef63534017461b7775fe518b608.jpg","text":"TemporaryFile(/tmp/multipartBody8135421011082979198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_39_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44f88e1a5081162f3cae338e534b5dca.jpg","text":"TemporaryFile(/tmp/multipartBody7136952615125771670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_39_24_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00a857563c346e45c6e31d60778c318a.jpg","text":"TemporaryFile(/tmp/multipartBody8327801475349031192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492483940,"filename":"image_30112025_07_39_45_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041248","file1":"1397041247","file0":"1397041246","file4":"1397041253","file5":"1397041256","file3":"1397041250"},"map_files_photo_id_array":[{"photo_id":"1397041256","filename":"file5"},{"photo_id":"1397041248","filename":"file2"},{"photo_id":"1397041253","filename":"file4"},{"photo_id":"1397041247","filename":"file1"},{"photo_id":"1397041246","filename":"file0"},{"photo_id":"1397041250","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041256":["hashtag1","hashtag2"]},{"1397041250":["hashtag1","hashtag2"]},{"1397041253":["hashtag1","hashtag2"]},{"1397041247":["hashtag1","hashtag2"]},{"1397041246":["hashtag1","hashtag2"]},{"1397041248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041256, 1397041250, 1397041253, 1397041247, 1397041246, 1397041248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.837249517440796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:47:42.400211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/21/image_31102025_12_21_03_9198.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_04_1616.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_06_1653.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_09_1796.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_11_1658.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_13_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_03_9198.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_04_1616.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_06_1653.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_09_1796.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_11_1658.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_13_1728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7807118892669678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:48:03.024523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_25_9618.jpg', '/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_35_10388.jpg', '/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_45_9630.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_01_16657.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_05_3638.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_15_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_25_9618.jpg
/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_35_10388.jpg
/home/pi/Desktop/images/30112025/07/40/image_30112025_07_40_45_9630.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_01_16657.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_05_3638.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_15_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041265","1397041270","1397041273","1397041267","1397041264","1397041263"],"photo_ids_order":["1397041263","1397041264","1397041265","1397041267","1397041270","1397041273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e7378cc17bec86d7211405a3ad09a54.jpg","text":"TemporaryFile(/tmp/multipartBody6774541731618723578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_40_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5556fe63a8ca93f320439573f41aea7.jpg","text":"TemporaryFile(/tmp/multipartBody66089680836531377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_41_05_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e5218d9b70a2bf0e364d5b4e3f105f3.jpg","text":"TemporaryFile(/tmp/multipartBody5773623024577211114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_41_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8a53495de5033cda85a229f58afed39.jpg","text":"TemporaryFile(/tmp/multipartBody4407008686899904485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_41_01_16657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67c8fa74411e9bef9c49825e26ca1093.jpg","text":"TemporaryFile(/tmp/multipartBody669387793846295983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_40_35_10388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bba76718e6d3e3e32eb6ba8f73900081.jpg","text":"TemporaryFile(/tmp/multipartBody647688886559202159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492546284,"filename":"image_30112025_07_40_25_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041265","file1":"1397041264","file0":"1397041263","file4":"1397041270","file5":"1397041273","file3":"1397041267"},"map_files_photo_id_array":[{"photo_id":"1397041273","filename":"file5"},{"photo_id":"1397041265","filename":"file2"},{"photo_id":"1397041270","filename":"file4"},{"photo_id":"1397041264","filename":"file1"},{"photo_id":"1397041263","filename":"file0"},{"photo_id":"1397041267","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041265":["hashtag1","hashtag2"]},{"1397041270":["hashtag1","hashtag2"]},{"1397041273":["hashtag1","hashtag2"]},{"1397041267":["hashtag1","hashtag2"]},{"1397041264":["hashtag1","hashtag2"]},{"1397041263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041265, 1397041270, 1397041273, 1397041267, 1397041264, 1397041263)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.97927713394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:49:03.583453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_25_10110.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_35_9748.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_44_9648.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_55_10743.jpg', '/home/pi/Desktop/images/30112025/07/41/image_30112025_07_42_05_9637.jpg', '/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_14_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_25_10110.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_35_9748.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_44_9648.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_41_55_10743.jpg
/home/pi/Desktop/images/30112025/07/41/image_30112025_07_42_05_9637.jpg
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_14_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041280","1397041285","1397041279","1397041282","1397041278","1397041287"],"photo_ids_order":["1397041278","1397041279","1397041280","1397041282","1397041285","1397041287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d0c498446e818d51c69f990d3bc4e2f.jpg","text":"TemporaryFile(/tmp/multipartBody7029194679267524629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_41_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d677fe6a9185fedbdf287a6455d09482.jpg","text":"TemporaryFile(/tmp/multipartBody3298971645934440367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_42_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66320f998db69752b2c9c5663c9c6545.jpg","text":"TemporaryFile(/tmp/multipartBody5478468127151356472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_41_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/421325db816bd3453039e937cdf11ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1203512541778682416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_41_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1a5fe5bd80ac2a5cf6518d4c38399cc.jpg","text":"TemporaryFile(/tmp/multipartBody4478781359689526839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_41_25_10110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c575d0d8ff2eeca5c12c844ffb19195b.jpg","text":"TemporaryFile(/tmp/multipartBody7986833345956454571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492604380,"filename":"image_30112025_07_42_14_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041280","file1":"1397041279","file0":"1397041278","file4":"1397041285","file5":"1397041287","file3":"1397041282"},"map_files_photo_id_array":[{"photo_id":"1397041287","filename":"file5"},{"photo_id":"1397041280","filename":"file2"},{"photo_id":"1397041285","filename":"file4"},{"photo_id":"1397041279","filename":"file1"},{"photo_id":"1397041278","filename":"file0"},{"photo_id":"1397041282","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041280":["hashtag1","hashtag2"]},{"1397041285":["hashtag1","hashtag2"]},{"1397041279":["hashtag1","hashtag2"]},{"1397041282":["hashtag1","hashtag2"]},{"1397041278":["hashtag1","hashtag2"]},{"1397041287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041280, 1397041285, 1397041279, 1397041282, 1397041278, 1397041287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79380559921265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:50:02.293154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_24_9875.jpg', '/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_35_10678.jpg', '/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_45_9594.jpg', '/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_54_9608.jpg', '/home/pi/Desktop/images/30112025/07/42/image_30112025_07_43_05_10642.jpg', '/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_24_9875.jpg
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_35_10678.jpg
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_45_9594.jpg
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_42_54_9608.jpg
/home/pi/Desktop/images/30112025/07/42/image_30112025_07_43_05_10642.jpg
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_14_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041292","1397041291","1397041294","1397041296","1397041299","1397041293"],"photo_ids_order":["1397041291","1397041292","1397041293","1397041294","1397041296","1397041299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b98c61c81ea55cc334dc8809f72c2fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2432096087657288279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_42_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2cd1b0b4c1aef4d1157875b28bc1ced.jpg","text":"TemporaryFile(/tmp/multipartBody2724986937372215158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_42_24_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3273dbe53f47d73c583f3f89f4e8936.jpg","text":"TemporaryFile(/tmp/multipartBody8081031372033507373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_42_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48323ce5e6e5754f1d05fcd6fa1292cd.jpg","text":"TemporaryFile(/tmp/multipartBody2962326474211249102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_43_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bccc49b529e0a78809fb211db283def9.jpg","text":"TemporaryFile(/tmp/multipartBody1251929385245081290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_43_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dc8e25888a82f60e355521a02c54618.jpg","text":"TemporaryFile(/tmp/multipartBody8384227977589970712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492663052,"filename":"image_30112025_07_42_45_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041293","file1":"1397041292","file0":"1397041291","file4":"1397041296","file5":"1397041299","file3":"1397041294"},"map_files_photo_id_array":[{"photo_id":"1397041299","filename":"file5"},{"photo_id":"1397041293","filename":"file2"},{"photo_id":"1397041296","filename":"file4"},{"photo_id":"1397041292","filename":"file1"},{"photo_id":"1397041291","filename":"file0"},{"photo_id":"1397041294","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041292":["hashtag1","hashtag2"]},{"1397041291":["hashtag1","hashtag2"]},{"1397041294":["hashtag1","hashtag2"]},{"1397041296":["hashtag1","hashtag2"]},{"1397041299":["hashtag1","hashtag2"]},{"1397041293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041292, 1397041291, 1397041294, 1397041296, 1397041299, 1397041293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22950339317322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:50:41.858758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/21/image_31102025_12_21_03_9198.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_04_1616.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_06_1653.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_09_1796.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_11_1658.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_13_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_03_9198.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_04_1616.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_06_1653.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_09_1796.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_11_1658.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_13_1728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041308","1397041311","1397041310","1397041313","1397041306","1397041309"],"photo_ids_order":["1397041306","1397041308","1397041309","1397041310","1397041311","1397041313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d130e21e94bd0ba89d9057fb702040a4.jpg","text":"TemporaryFile(/tmp/multipartBody4793465669827483375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_04_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/30/058f2851c31ab71729d3e7c36ee98e96.jpg","text":"TemporaryFile(/tmp/multipartBody5862289397026376948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_11_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/30/c3d5810c6c2a534437215fd73a97df39.jpg","text":"TemporaryFile(/tmp/multipartBody7122044230099929006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_09_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/30/346977481361a3f92daa69b0a223bcc2.jpg","text":"TemporaryFile(/tmp/multipartBody5620175120738352660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_13_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/30/b6aa8a91cfab5292755dbb13e7f0e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody2582222786098148248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_03_9198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8db2c997607fe1b572fcfc6bc7a0806.jpg","text":"TemporaryFile(/tmp/multipartBody7396981070842197833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492702605,"filename":"image_31102025_12_21_06_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041309","file1":"1397041308","file0":"1397041306","file4":"1397041311","file5":"1397041313","file3":"1397041310"},"map_files_photo_id_array":[{"photo_id":"1397041313","filename":"file5"},{"photo_id":"1397041309","filename":"file2"},{"photo_id":"1397041311","filename":"file4"},{"photo_id":"1397041308","filename":"file1"},{"photo_id":"1397041306","filename":"file0"},{"photo_id":"1397041310","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041308":["hashtag1","hashtag2"]},{"1397041311":["hashtag1","hashtag2"]},{"1397041310":["hashtag1","hashtag2"]},{"1397041313":["hashtag1","hashtag2"]},{"1397041306":["hashtag1","hashtag2"]},{"1397041309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041308, 1397041311, 1397041310, 1397041313, 1397041306, 1397041309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05510592460632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:51:22.031477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_24_9731.jpg', '/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_35_10630.jpg', '/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_44_9636.jpg', '/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_54_9717.jpg', '/home/pi/Desktop/images/30112025/07/43/image_30112025_07_44_05_10748.jpg', '/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_15_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_24_9731.jpg
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_35_10630.jpg
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_44_9636.jpg
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_43_54_9717.jpg
/home/pi/Desktop/images/30112025/07/43/image_30112025_07_44_05_10748.jpg
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_15_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041323","1397041317","1397041325","1397041321","1397041324","1397041326"],"photo_ids_order":["1397041317","1397041321","1397041323","1397041324","1397041325","1397041326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2687712122f5ed10d679ee9ca8f12df5.jpg","text":"TemporaryFile(/tmp/multipartBody9020379304966202562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_43_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1599d28cff8e4e50774a291238d0f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7136362109724365087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_43_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81f1b37caeb5f0dc5020be8350293413.jpg","text":"TemporaryFile(/tmp/multipartBody4798282137013480341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_44_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d37d290b217df4c4a853a16c6bc874d.jpg","text":"TemporaryFile(/tmp/multipartBody2193738358580204841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_43_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d318ac6ed005f996693dfaa740dfbee5.jpg","text":"TemporaryFile(/tmp/multipartBody8899814189209855473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_43_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1467e46d38b8e3228b8b3cc03e860f84.jpg","text":"TemporaryFile(/tmp/multipartBody4253989766468921024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492742717,"filename":"image_30112025_07_44_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041323","file1":"1397041321","file0":"1397041317","file4":"1397041325","file5":"1397041326","file3":"1397041324"},"map_files_photo_id_array":[{"photo_id":"1397041326","filename":"file5"},{"photo_id":"1397041323","filename":"file2"},{"photo_id":"1397041325","filename":"file4"},{"photo_id":"1397041321","filename":"file1"},{"photo_id":"1397041317","filename":"file0"},{"photo_id":"1397041324","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041323":["hashtag1","hashtag2"]},{"1397041317":["hashtag1","hashtag2"]},{"1397041325":["hashtag1","hashtag2"]},{"1397041321":["hashtag1","hashtag2"]},{"1397041324":["hashtag1","hashtag2"]},{"1397041326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041323, 1397041317, 1397041325, 1397041321, 1397041324, 1397041326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642279624938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:52:02.659061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_24_9630.jpg', '/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_35_10682.jpg', '/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_45_9668.jpg', '/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_54_9656.jpg', '/home/pi/Desktop/images/30112025/07/44/image_30112025_07_45_05_10612.jpg', '/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_14_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_24_9630.jpg
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_35_10682.jpg
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_45_9668.jpg
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_44_54_9656.jpg
/home/pi/Desktop/images/30112025/07/44/image_30112025_07_45_05_10612.jpg
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_14_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041329","1397041334","1397041328","1397041330","1397041327","1397041332"],"photo_ids_order":["1397041327","1397041328","1397041329","1397041330","1397041332","1397041334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2cbf1febdf8accee6c24dc08b1e625f.jpg","text":"TemporaryFile(/tmp/multipartBody5127817381221521193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_44_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e20f295bbc5d8dac1640ab4cc998fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1872172688911118699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_45_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d5b75a4ca7a082710f7a114bfe0dbdb.jpg","text":"TemporaryFile(/tmp/multipartBody9190959804712145252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_44_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6026d4dade4b0de40af1676347d0926b.jpg","text":"TemporaryFile(/tmp/multipartBody6665983526162165865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_44_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b64a16670633a58849b78a7c5adf5af4.jpg","text":"TemporaryFile(/tmp/multipartBody1274257866602007289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_44_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a59a78ff99b3779cbe2bc389380699e.jpg","text":"TemporaryFile(/tmp/multipartBody7469172411201627190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492783383,"filename":"image_30112025_07_45_05_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041329","file1":"1397041328","file0":"1397041327","file4":"1397041332","file5":"1397041334","file3":"1397041330"},"map_files_photo_id_array":[{"photo_id":"1397041334","filename":"file5"},{"photo_id":"1397041329","filename":"file2"},{"photo_id":"1397041332","filename":"file4"},{"photo_id":"1397041328","filename":"file1"},{"photo_id":"1397041327","filename":"file0"},{"photo_id":"1397041330","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041329":["hashtag1","hashtag2"]},{"1397041334":["hashtag1","hashtag2"]},{"1397041328":["hashtag1","hashtag2"]},{"1397041330":["hashtag1","hashtag2"]},{"1397041327":["hashtag1","hashtag2"]},{"1397041332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041329, 1397041334, 1397041328, 1397041330, 1397041327, 1397041332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68791079521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:52:42.366309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/21/image_31102025_12_21_16_1692.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_18_1660.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_19_1628.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_21_1729.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_23_1900.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_24_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_16_1692.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_18_1660.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_19_1628.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_21_1729.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_23_1900.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_24_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041341","1397041340","1397041343","1397041342","1397041339","1397041344"],"photo_ids_order":["1397041339","1397041340","1397041341","1397041342","1397041343","1397041344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5fe2408d4993970b1b97764c34fd872.jpg","text":"TemporaryFile(/tmp/multipartBody1593328307463701932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_19_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/30/933ec3a02e577ca32b2a0a9dac9ac406.jpg","text":"TemporaryFile(/tmp/multipartBody6515645992909566834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_18_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/30/08b8a53296b9bce20c0d19c945b5b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3100128635889279656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_23_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16b51533f80e9589a2dd7bee598507d0.jpg","text":"TemporaryFile(/tmp/multipartBody3442504124718247021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_21_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/30/7370380e242112efe6270df996d3a05a.jpg","text":"TemporaryFile(/tmp/multipartBody438150752898982538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_16_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/30/e768f8a58b5a9595528e2bfd34e5566c.jpg","text":"TemporaryFile(/tmp/multipartBody8391003207048862047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492823286,"filename":"image_31102025_12_21_24_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041341","file1":"1397041340","file0":"1397041339","file4":"1397041343","file5":"1397041344","file3":"1397041342"},"map_files_photo_id_array":[{"photo_id":"1397041344","filename":"file5"},{"photo_id":"1397041341","filename":"file2"},{"photo_id":"1397041343","filename":"file4"},{"photo_id":"1397041340","filename":"file1"},{"photo_id":"1397041339","filename":"file0"},{"photo_id":"1397041342","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041341":["hashtag1","hashtag2"]},{"1397041340":["hashtag1","hashtag2"]},{"1397041343":["hashtag1","hashtag2"]},{"1397041342":["hashtag1","hashtag2"]},{"1397041339":["hashtag1","hashtag2"]},{"1397041344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041341, 1397041340, 1397041343, 1397041342, 1397041339, 1397041344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38306450843811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:53:22.530276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_24_9722.jpg', '/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_34_9847.jpg', '/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_45_10828.jpg', '/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_55_9631.jpg', '/home/pi/Desktop/images/30112025/07/45/image_30112025_07_46_04_9640.jpg', '/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_15_10838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_24_9722.jpg
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_34_9847.jpg
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_45_10828.jpg
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_45_55_9631.jpg
/home/pi/Desktop/images/30112025/07/45/image_30112025_07_46_04_9640.jpg
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_15_10838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041356","1397041349","1397041351","1397041354","1397041353","1397041347"],"photo_ids_order":["1397041347","1397041349","1397041351","1397041353","1397041354","1397041356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4803290ce2b68ba31ba2b86c320cb53.jpg","text":"TemporaryFile(/tmp/multipartBody8407728760616059590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_46_15_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b342d702fc2e3a99b009ff3f2b6e48e.jpg","text":"TemporaryFile(/tmp/multipartBody6422901786403198668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_45_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdc8c417d926781bdb9a45b49e1e4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2013645057466348616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_45_45_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9889df2aa5bee0612f6ecb60ec2190f.jpg","text":"TemporaryFile(/tmp/multipartBody997984256747960907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_46_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34d965eaa082c287103ac7732e888d2d.jpg","text":"TemporaryFile(/tmp/multipartBody9025218143516575688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_45_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b78b495b6ffadd378c2233b64a314d.jpg","text":"TemporaryFile(/tmp/multipartBody293944585766880459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492863259,"filename":"image_30112025_07_45_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041351","file1":"1397041349","file0":"1397041347","file4":"1397041354","file5":"1397041356","file3":"1397041353"},"map_files_photo_id_array":[{"photo_id":"1397041356","filename":"file5"},{"photo_id":"1397041351","filename":"file2"},{"photo_id":"1397041354","filename":"file4"},{"photo_id":"1397041349","filename":"file1"},{"photo_id":"1397041347","filename":"file0"},{"photo_id":"1397041353","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041356":["hashtag1","hashtag2"]},{"1397041349":["hashtag1","hashtag2"]},{"1397041351":["hashtag1","hashtag2"]},{"1397041354":["hashtag1","hashtag2"]},{"1397041353":["hashtag1","hashtag2"]},{"1397041347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041356, 1397041349, 1397041351, 1397041354, 1397041353, 1397041347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50160598754883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:54:03.417752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_25_9586.jpg', '/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_34_9630.jpg', '/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_45_10710.jpg', '/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_54_9545.jpg', '/home/pi/Desktop/images/30112025/07/46/image_30112025_07_47_04_9951.jpg', '/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_25_9586.jpg
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_34_9630.jpg
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_45_10710.jpg
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_46_54_9545.jpg
/home/pi/Desktop/images/30112025/07/46/image_30112025_07_47_04_9951.jpg
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041361","1397041358","1397041366","1397041360","1397041363","1397041359"],"photo_ids_order":["1397041358","1397041359","1397041360","1397041361","1397041363","1397041366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50dd79b43a9c8bec7ed77f98ef443bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6558565273268100287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_46_54_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26467ff3760e1b309be159bd79d60be5.jpg","text":"TemporaryFile(/tmp/multipartBody8713150742850755523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_46_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcead93cf2587381def9f33440956ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4057685634152449492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_47_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/464881f8cd85aa9e9d47d713fb266047.jpg","text":"TemporaryFile(/tmp/multipartBody8918875459566928071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_46_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c624cdbc0892385beabe39782b54d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2818581651482400868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_47_04_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69a0c01ed27d7094f62341d973865093.jpg","text":"TemporaryFile(/tmp/multipartBody7670481493345763618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492904156,"filename":"image_30112025_07_46_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041360","file1":"1397041359","file0":"1397041358","file4":"1397041363","file5":"1397041366","file3":"1397041361"},"map_files_photo_id_array":[{"photo_id":"1397041366","filename":"file5"},{"photo_id":"1397041360","filename":"file2"},{"photo_id":"1397041363","filename":"file4"},{"photo_id":"1397041359","filename":"file1"},{"photo_id":"1397041358","filename":"file0"},{"photo_id":"1397041361","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041361":["hashtag1","hashtag2"]},{"1397041358":["hashtag1","hashtag2"]},{"1397041366":["hashtag1","hashtag2"]},{"1397041360":["hashtag1","hashtag2"]},{"1397041363":["hashtag1","hashtag2"]},{"1397041359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041361, 1397041358, 1397041366, 1397041360, 1397041363, 1397041359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77237677574158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:54:42.654184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/21/image_31102025_12_21_27_2641.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_30_2800.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_34_3727.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_36_2551.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_40_3691.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_43_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_27_2641.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_30_2800.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_34_3727.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_36_2551.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_40_3691.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_43_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041373","1397041376","1397041372","1397041375","1397041371","1397041374"],"photo_ids_order":["1397041371","1397041372","1397041373","1397041374","1397041375","1397041376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b5d5e6d8ce0f3cb456549801cef1164.jpg","text":"TemporaryFile(/tmp/multipartBody9210067512532237725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_34_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/30/1d7e714854f84510c735d939a504edc8.jpg","text":"TemporaryFile(/tmp/multipartBody2312162376168823204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_43_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/30/0ab99af3f21806c814b4d1667b00fb25.jpg","text":"TemporaryFile(/tmp/multipartBody1757951289788815722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_30_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/30/d2c7717385b24436364147542e0c08bd.jpg","text":"TemporaryFile(/tmp/multipartBody1468392450230304804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_40_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/30/24745e0b68945417cdda47bbdb2ad3f0.jpg","text":"TemporaryFile(/tmp/multipartBody6388408006426711688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_27_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/30/68dbba02e3cb39a7f5ab1b180ce2e100.jpg","text":"TemporaryFile(/tmp/multipartBody384248108509749300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492943523,"filename":"image_31102025_12_21_36_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041373","file1":"1397041372","file0":"1397041371","file4":"1397041375","file5":"1397041376","file3":"1397041374"},"map_files_photo_id_array":[{"photo_id":"1397041376","filename":"file5"},{"photo_id":"1397041373","filename":"file2"},{"photo_id":"1397041375","filename":"file4"},{"photo_id":"1397041372","filename":"file1"},{"photo_id":"1397041371","filename":"file0"},{"photo_id":"1397041374","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041373":["hashtag1","hashtag2"]},{"1397041376":["hashtag1","hashtag2"]},{"1397041372":["hashtag1","hashtag2"]},{"1397041375":["hashtag1","hashtag2"]},{"1397041371":["hashtag1","hashtag2"]},{"1397041374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041373, 1397041376, 1397041372, 1397041375, 1397041371, 1397041374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81464219093323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 09:55:21.784524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_25_10677.jpg', '/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_34_9714.jpg', '/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_44_9826.jpg', '/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_55_10646.jpg', '/home/pi/Desktop/images/30112025/07/47/image_30112025_07_48_05_9579.jpg', '/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_14_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_25_10677.jpg
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_34_9714.jpg
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_44_9826.jpg
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_47_55_10646.jpg
/home/pi/Desktop/images/30112025/07/47/image_30112025_07_48_05_9579.jpg
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_14_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041382","1397041384","1397041378","1397041380","1397041383","1397041386"],"photo_ids_order":["1397041378","1397041380","1397041382","1397041383","1397041384","1397041386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6fa934fc19df6139ce92fb5ff5ec9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2091896340108557285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_47_44_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/684e89fc5699af0a50ffa7618e73da4a.jpg","text":"TemporaryFile(/tmp/multipartBody4424433593622174765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_48_05_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1410fe7296725948637bc3b2871b267a.jpg","text":"TemporaryFile(/tmp/multipartBody8477102676633844912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_47_25_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96a6bd107f721c611dd3e5a586bc4a72.jpg","text":"TemporaryFile(/tmp/multipartBody3023868444875545429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_47_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/528ecdd2659141d75f174eae29341e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6097585203660474509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_47_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3615dc3291bfa47fa2befa7ebc9da8c6.jpg","text":"TemporaryFile(/tmp/multipartBody1644181056290300668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764492982499,"filename":"image_30112025_07_48_14_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041382","file1":"1397041380","file0":"1397041378","file4":"1397041384","file5":"1397041386","file3":"1397041383"},"map_files_photo_id_array":[{"photo_id":"1397041386","filename":"file5"},{"photo_id":"1397041382","filename":"file2"},{"photo_id":"1397041384","filename":"file4"},{"photo_id":"1397041380","filename":"file1"},{"photo_id":"1397041378","filename":"file0"},{"photo_id":"1397041383","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041382":["hashtag1","hashtag2"]},{"1397041384":["hashtag1","hashtag2"]},{"1397041378":["hashtag1","hashtag2"]},{"1397041380":["hashtag1","hashtag2"]},{"1397041383":["hashtag1","hashtag2"]},{"1397041386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041382, 1397041384, 1397041378, 1397041380, 1397041383, 1397041386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19418931007385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:56:02.736289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_25_10564.jpg', '/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_35_9611.jpg', '/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_44_9672.jpg', '/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_55_10646.jpg', '/home/pi/Desktop/images/30112025/07/48/image_30112025_07_49_05_9702.jpg', '/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_14_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_25_10564.jpg
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_35_9611.jpg
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_44_9672.jpg
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_48_55_10646.jpg
/home/pi/Desktop/images/30112025/07/48/image_30112025_07_49_05_9702.jpg
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_14_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041391","1397041388","1397041397","1397041390","1397041393","1397041389"],"photo_ids_order":["1397041388","1397041389","1397041390","1397041391","1397041393","1397041397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a11a6d6c59d1d26b0efe95ba43fdc7da.jpg","text":"TemporaryFile(/tmp/multipartBody6736287093852234457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_48_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1e70a3c3f757935bd3c8a61b2520cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3700683630366654533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_48_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed9f0f45b7a82f05d0d4f2c6dc85af24.jpg","text":"TemporaryFile(/tmp/multipartBody2920098566278633742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_49_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/637c4cdb66f1960a0819ade5fee3af57.jpg","text":"TemporaryFile(/tmp/multipartBody8872100262053487378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_48_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfd7fc42578f86b69b1a55053cc7b130.jpg","text":"TemporaryFile(/tmp/multipartBody8821256585410534895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_49_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a435ede0cf8e1581a7f35c86fc9abe26.jpg","text":"TemporaryFile(/tmp/multipartBody1943687396425798484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493023495,"filename":"image_30112025_07_48_35_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041390","file1":"1397041389","file0":"1397041388","file4":"1397041393","file5":"1397041397","file3":"1397041391"},"map_files_photo_id_array":[{"photo_id":"1397041397","filename":"file5"},{"photo_id":"1397041390","filename":"file2"},{"photo_id":"1397041393","filename":"file4"},{"photo_id":"1397041389","filename":"file1"},{"photo_id":"1397041388","filename":"file0"},{"photo_id":"1397041391","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041391":["hashtag1","hashtag2"]},{"1397041388":["hashtag1","hashtag2"]},{"1397041397":["hashtag1","hashtag2"]},{"1397041390":["hashtag1","hashtag2"]},{"1397041393":["hashtag1","hashtag2"]},{"1397041389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041391, 1397041388, 1397041397, 1397041390, 1397041393, 1397041389)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.856162548065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:57:02.908675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_25_10703.jpg', '/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_35_9619.jpg', '/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_44_9752.jpg', '/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_54_9847.jpg', '/home/pi/Desktop/images/30112025/07/49/image_30112025_07_50_05_10606.jpg', '/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_15_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_25_10703.jpg
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_35_9619.jpg
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_44_9752.jpg
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_49_54_9847.jpg
/home/pi/Desktop/images/30112025/07/49/image_30112025_07_50_05_10606.jpg
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_15_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041407","1397041404","1397041403","1397041409","1397041402","1397041405"],"photo_ids_order":["1397041402","1397041403","1397041404","1397041405","1397041407","1397041409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7277f508fab7c265790a9cb455c6136.jpg","text":"TemporaryFile(/tmp/multipartBody3807134742977138338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_50_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0afed4a739fb12c1ab0ad105c99f5a77.jpg","text":"TemporaryFile(/tmp/multipartBody6736702661539307108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_49_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ba3e195a5f210047f5d6cc5e4a43748.jpg","text":"TemporaryFile(/tmp/multipartBody8702557979309631649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_49_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/303b1d0d9e17334663bc40d2e4ae3b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2225807824724379569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_50_15_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/479703d146c773d01b0abcc7415a566c.jpg","text":"TemporaryFile(/tmp/multipartBody7756274718027499677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_49_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f64f3e7209ebd0a238d381e08cf72191.jpg","text":"TemporaryFile(/tmp/multipartBody2900720656719770893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493083713,"filename":"image_30112025_07_49_54_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041404","file1":"1397041403","file0":"1397041402","file4":"1397041407","file5":"1397041409","file3":"1397041405"},"map_files_photo_id_array":[{"photo_id":"1397041409","filename":"file5"},{"photo_id":"1397041404","filename":"file2"},{"photo_id":"1397041407","filename":"file4"},{"photo_id":"1397041403","filename":"file1"},{"photo_id":"1397041402","filename":"file0"},{"photo_id":"1397041405","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397041407":["hashtag1","hashtag2"]},{"1397041404":["hashtag1","hashtag2"]},{"1397041403":["hashtag1","hashtag2"]},{"1397041409":["hashtag1","hashtag2"]},{"1397041402":["hashtag1","hashtag2"]},{"1397041405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397041407, 1397041404, 1397041403, 1397041409, 1397041402, 1397041405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27249097824097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:57:42.386694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/21/image_31102025_12_21_45_2695.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_49_3640.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_51_2580.jpg', '/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_54_2627.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_04_3668.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_07_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_45_2695.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_49_3640.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_51_2580.jpg
/home/pi/Desktop/images/31102025/12/21/image_31102025_12_21_54_2627.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_04_3668.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_07_2659.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397041413","1397041499","1397041410","1397041460","1397041534","1397041426"],"photo_ids_order":["1397041410","1397041413","1397041426","1397041460","1397041499","1397041534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb2c62fa64b251638404ec17d82ab4f9.jpg","text":"TemporaryFile(/tmp/multipartBody5437971230126266460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_21_49_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/30/6ca83582d855d4f04a6e1299f932ebeb.jpg","text":"TemporaryFile(/tmp/multipartBody5511737880625499705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_22_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a34f2d4461ff6fbe4a86be1cf88e31e.jpg","text":"TemporaryFile(/tmp/multipartBody4622096565180955676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_21_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/30/964d3a3def946ad23bccda7352f2aeb8.jpg","text":"TemporaryFile(/tmp/multipartBody3744293702581755602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_21_54_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8913f968d6f79d4ce1a8b256e14efde0.jpg","text":"TemporaryFile(/tmp/multipartBody6442532574811745496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_22_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/745ff64c0f44990fcfce7e58b8f2fb76.jpg","text":"TemporaryFile(/tmp/multipartBody1911938226896041907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493123261,"filename":"image_31102025_12_21_51_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397041426","file1":"1397041413","file0":"1397041410","file4":"1397041499","file5":"1397041534","file3":"1397041460"},"map_files_photo_id_array":[{"photo_id":"1397041534","filename":"file5"},{"photo_id":"1397041426","filename":"file2"},{"photo_id":"1397041499","filename":"file4"},{"photo_id":"1397041413","filename":"file1"},{"photo_id":"1397041410","filename":"file0"},{"photo_id":"1397041460","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397041413":["hashtag1","hashtag2"]},{"1397041499":["hashtag1","hashtag2"]},{"1397041410":["hashtag1","hashtag2"]},{"1397041460":["hashtag1","hashtag2"]},{"1397041534":["hashtag1","hashtag2"]},{"1397041426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397041413, 1397041499, 1397041410, 1397041460, 1397041534, 1397041426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7635703086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 09:59:03.880618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_24_9732.jpg', '/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_35_10632.jpg', '/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_44_9507.jpg', '/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_54_9757.jpg', '/home/pi/Desktop/images/30112025/07/50/image_30112025_07_51_05_10658.jpg', '/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_15_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_24_9732.jpg
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_35_10632.jpg
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_44_9507.jpg
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_50_54_9757.jpg
/home/pi/Desktop/images/30112025/07/50/image_30112025_07_51_05_10658.jpg
/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_15_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042018","1397042129","1397042164","1397042200","1397042059","1397042093"],"photo_ids_order":["1397042018","1397042059","1397042093","1397042129","1397042164","1397042200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac827f6315b84c9ae9005022a77e58b0.jpg","text":"TemporaryFile(/tmp/multipartBody3110233468294331679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_50_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e027645d4c98491509749d648d6a6da.jpg","text":"TemporaryFile(/tmp/multipartBody2522329120794794065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_50_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e283fb5dce7fa7c7af43041242705fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1764618352937785839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_51_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c031fed16943023f3e48d4d338875a46.jpg","text":"TemporaryFile(/tmp/multipartBody9045855361895991591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_51_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7725d5ffc8ad13c496c9e9873f3b8a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7101312590736817362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_50_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71995e657278d31bcc984776df306801.jpg","text":"TemporaryFile(/tmp/multipartBody9108368154725541621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493204746,"filename":"image_30112025_07_50_44_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042093","file1":"1397042059","file0":"1397042018","file4":"1397042164","file5":"1397042200","file3":"1397042129"},"map_files_photo_id_array":[{"photo_id":"1397042200","filename":"file5"},{"photo_id":"1397042093","filename":"file2"},{"photo_id":"1397042164","filename":"file4"},{"photo_id":"1397042059","filename":"file1"},{"photo_id":"1397042018","filename":"file0"},{"photo_id":"1397042129","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397042018":["hashtag1","hashtag2"]},{"1397042129":["hashtag1","hashtag2"]},{"1397042164":["hashtag1","hashtag2"]},{"1397042200":["hashtag1","hashtag2"]},{"1397042059":["hashtag1","hashtag2"]},{"1397042093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397042018, 1397042129, 1397042164, 1397042200, 1397042059, 1397042093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72792935371399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 09:59:42.795983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/22/image_31102025_12_22_13_3569.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_15_2668.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_18_2840.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_21_2636.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_25_3726.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_27_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_13_3569.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_15_2668.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_18_2840.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_21_2636.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_25_3726.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_27_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042534","1397042698","1397042461","1397042679","1397042602","1397042378"],"photo_ids_order":["1397042378","1397042461","1397042534","1397042602","1397042679","1397042698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49f95a7a1198aa4764e703af64c98fb0.jpg","text":"TemporaryFile(/tmp/multipartBody4306082867678188156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_18_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/30/1a7086f27b488b2f2a12c0894054e6dd.jpg","text":"TemporaryFile(/tmp/multipartBody4270658969179564087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_27_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/30/039704e9551b5ccea3bcf283a9178422.jpg","text":"TemporaryFile(/tmp/multipartBody6081691002373019457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_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/30/5def1d8382747fb6d04217ee5046a0e1.jpg","text":"TemporaryFile(/tmp/multipartBody5350953138872544033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_25_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a95bbbc5bb6abf7f11b3a8b0eff7344.jpg","text":"TemporaryFile(/tmp/multipartBody8661379634324932062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_21_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6749b37a69aabb5d7f94dbbc1dd82c8.jpg","text":"TemporaryFile(/tmp/multipartBody2484604158724906354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493243673,"filename":"image_31102025_12_22_13_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042534","file1":"1397042461","file0":"1397042378","file4":"1397042679","file5":"1397042698","file3":"1397042602"},"map_files_photo_id_array":[{"photo_id":"1397042698","filename":"file5"},{"photo_id":"1397042534","filename":"file2"},{"photo_id":"1397042679","filename":"file4"},{"photo_id":"1397042461","filename":"file1"},{"photo_id":"1397042378","filename":"file0"},{"photo_id":"1397042602","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397042534":["hashtag1","hashtag2"]},{"1397042698":["hashtag1","hashtag2"]},{"1397042461":["hashtag1","hashtag2"]},{"1397042679":["hashtag1","hashtag2"]},{"1397042602":["hashtag1","hashtag2"]},{"1397042378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397042534, 1397042698, 1397042461, 1397042679, 1397042602, 1397042378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.937358379364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:00:22.061159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_24_9688.jpg', '/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_35_10761.jpg', '/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_45_9792.jpg', '/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_54_9660.jpg', '/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_15_10706.jpg', '/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_25_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_24_9688.jpg
/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_35_10761.jpg
/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_45_9792.jpg
/home/pi/Desktop/images/30112025/07/51/image_30112025_07_51_54_9660.jpg
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_15_10706.jpg
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_25_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042875","1397042905","1397042874","1397042856","1397042799","1397042748"],"photo_ids_order":["1397042748","1397042799","1397042856","1397042874","1397042875","1397042905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31ceb2f0131ac82b9d14cdf708c59fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8337200840922765958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_52_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6eb38005fc227f6941052e99ad422d47.jpg","text":"TemporaryFile(/tmp/multipartBody1181158094398575219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_52_25_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a87de3ac62487a1d5909ca4649ff1413.jpg","text":"TemporaryFile(/tmp/multipartBody8938365374149356263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_51_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25c1f371600643a88959c698b9dc113a.jpg","text":"TemporaryFile(/tmp/multipartBody7996422299108063499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_51_45_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bfa64c21cc5116495e202e22a0c65ce.jpg","text":"TemporaryFile(/tmp/multipartBody1031947253452765233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_51_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df30c83e5c18810fbdee5db0e7764d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7627498345186500894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493282744,"filename":"image_30112025_07_51_24_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042856","file1":"1397042799","file0":"1397042748","file4":"1397042875","file5":"1397042905","file3":"1397042874"},"map_files_photo_id_array":[{"photo_id":"1397042905","filename":"file5"},{"photo_id":"1397042856","filename":"file2"},{"photo_id":"1397042875","filename":"file4"},{"photo_id":"1397042799","filename":"file1"},{"photo_id":"1397042748","filename":"file0"},{"photo_id":"1397042874","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397042875":["hashtag1","hashtag2"]},{"1397042905":["hashtag1","hashtag2"]},{"1397042874":["hashtag1","hashtag2"]},{"1397042856":["hashtag1","hashtag2"]},{"1397042799":["hashtag1","hashtag2"]},{"1397042748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397042875, 1397042905, 1397042874, 1397042856, 1397042799, 1397042748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13035440444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:01:02.757674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_34_9626.jpg', '/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_45_10695.jpg', '/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_55_9635.jpg', '/home/pi/Desktop/images/30112025/07/52/image_30112025_07_53_04_9700.jpg', '/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_15_10666.jpg', '/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_25_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_34_9626.jpg
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_45_10695.jpg
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_52_55_9635.jpg
/home/pi/Desktop/images/30112025/07/52/image_30112025_07_53_04_9700.jpg
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_15_10666.jpg
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_25_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042936","1397042939","1397042941","1397042938","1397042943","1397042937"],"photo_ids_order":["1397042936","1397042937","1397042938","1397042939","1397042941","1397042943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c6956108e1ec9b28f900c738d0aa8e3.jpg","text":"TemporaryFile(/tmp/multipartBody3550527697254293993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_52_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c40e801aa7ffae8c2dc98ad50aaefb2.jpg","text":"TemporaryFile(/tmp/multipartBody373569509135197094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_53_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac0091ad78f90a60df4e55c68374ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody8418071443363775809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_53_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04fc0d070718eceb2c59b356740ad6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2004519313387144782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_52_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdaa6dbef30918c1c7b9225dd4ba7eea.jpg","text":"TemporaryFile(/tmp/multipartBody3645278567755573991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_53_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/155eb40342f718d07d52cc7c20798d88.jpg","text":"TemporaryFile(/tmp/multipartBody4849740106305305207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493323904,"filename":"image_30112025_07_52_45_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042938","file1":"1397042937","file0":"1397042936","file4":"1397042941","file5":"1397042943","file3":"1397042939"},"map_files_photo_id_array":[{"photo_id":"1397042943","filename":"file5"},{"photo_id":"1397042938","filename":"file2"},{"photo_id":"1397042941","filename":"file4"},{"photo_id":"1397042937","filename":"file1"},{"photo_id":"1397042936","filename":"file0"},{"photo_id":"1397042939","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397042936":["hashtag1","hashtag2"]},{"1397042939":["hashtag1","hashtag2"]},{"1397042941":["hashtag1","hashtag2"]},{"1397042938":["hashtag1","hashtag2"]},{"1397042943":["hashtag1","hashtag2"]},{"1397042937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397042936, 1397042939, 1397042941, 1397042938, 1397042943, 1397042937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710917472839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:01:42.258592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/22/image_31102025_12_22_30_2643.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_34_3651.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_36_2641.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_39_2771.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_43_3666.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_48_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_30_2643.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_34_3651.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_36_2641.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_39_2771.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_43_3666.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_48_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042948","1397042951","1397042950","1397042953","1397042952","1397042949"],"photo_ids_order":["1397042948","1397042949","1397042950","1397042951","1397042952","1397042953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de4e0a82895253712b0ffa56a12b3595.jpg","text":"TemporaryFile(/tmp/multipartBody7599713488296110101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_30_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b16a5d31a123fede04afdc234e5c077.jpg","text":"TemporaryFile(/tmp/multipartBody2348105410410762312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_39_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eee0bb2136f64c0efd6663ddebd1dacf.jpg","text":"TemporaryFile(/tmp/multipartBody6750717324660487562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_36_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/30/8416340a83836e0b855db19c92cbc2ff.jpg","text":"TemporaryFile(/tmp/multipartBody6574188553248760891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_48_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e63148b8cad605013480181ad99f2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1830850087649150856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_43_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/30/8b200d3fa28e59ea6ec33e69ced79c26.jpg","text":"TemporaryFile(/tmp/multipartBody4246430239010600561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493363133,"filename":"image_31102025_12_22_34_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042950","file1":"1397042949","file0":"1397042948","file4":"1397042952","file5":"1397042953","file3":"1397042951"},"map_files_photo_id_array":[{"photo_id":"1397042953","filename":"file5"},{"photo_id":"1397042950","filename":"file2"},{"photo_id":"1397042952","filename":"file4"},{"photo_id":"1397042949","filename":"file1"},{"photo_id":"1397042948","filename":"file0"},{"photo_id":"1397042951","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397042948":["hashtag1","hashtag2"]},{"1397042951":["hashtag1","hashtag2"]},{"1397042950":["hashtag1","hashtag2"]},{"1397042953":["hashtag1","hashtag2"]},{"1397042952":["hashtag1","hashtag2"]},{"1397042949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397042948, 1397042951, 1397042950, 1397042953, 1397042952, 1397042949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60546612739563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:02:22.435692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_34_9734.jpg', '/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_45_10670.jpg', '/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_55_9750.jpg', '/home/pi/Desktop/images/30112025/07/53/image_30112025_07_54_04_9668.jpg', '/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_14_9814.jpg', '/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_25_10819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_34_9734.jpg
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_45_10670.jpg
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_53_55_9750.jpg
/home/pi/Desktop/images/30112025/07/53/image_30112025_07_54_04_9668.jpg
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_14_9814.jpg
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_25_10819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042969","1397042962","1397042959","1397042956","1397042964","1397042967"],"photo_ids_order":["1397042956","1397042959","1397042962","1397042964","1397042967","1397042969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4798b5c1da8c37e1d07d314915c43c65.jpg","text":"TemporaryFile(/tmp/multipartBody3316833569482714935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_54_25_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cfd517348dbcd3f6d3dc9f699a7cf62.jpg","text":"TemporaryFile(/tmp/multipartBody1887268613472011934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_53_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4b3e28fa06061fea8f958da9a7018fb.jpg","text":"TemporaryFile(/tmp/multipartBody1908985001817325830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_53_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90f7fb0de375ffdabd216fe7694bf3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4404653791579175464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_53_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2770adc457595ae3ed0a743f5d6d3f00.jpg","text":"TemporaryFile(/tmp/multipartBody6415385142202280993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_54_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f5e7be17895ef3f36bd666f0ee5f59d.jpg","text":"TemporaryFile(/tmp/multipartBody2467194584735089612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493403168,"filename":"image_30112025_07_54_14_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042962","file1":"1397042959","file0":"1397042956","file4":"1397042967","file5":"1397042969","file3":"1397042964"},"map_files_photo_id_array":[{"photo_id":"1397042969","filename":"file5"},{"photo_id":"1397042962","filename":"file2"},{"photo_id":"1397042967","filename":"file4"},{"photo_id":"1397042959","filename":"file1"},{"photo_id":"1397042956","filename":"file0"},{"photo_id":"1397042964","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397042969":["hashtag1","hashtag2"]},{"1397042962":["hashtag1","hashtag2"]},{"1397042959":["hashtag1","hashtag2"]},{"1397042956":["hashtag1","hashtag2"]},{"1397042964":["hashtag1","hashtag2"]},{"1397042967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397042969, 1397042962, 1397042959, 1397042956, 1397042964, 1397042967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00115776062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:03:03.323657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_35_9871.jpg', '/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_45_9643.jpg', '/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_54_9700.jpg', '/home/pi/Desktop/images/30112025/07/54/image_30112025_07_55_05_10714.jpg', '/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_15_9784.jpg', '/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_24_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_35_9871.jpg
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_45_9643.jpg
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_54_54_9700.jpg
/home/pi/Desktop/images/30112025/07/54/image_30112025_07_55_05_10714.jpg
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_15_9784.jpg
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_24_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042980","1397042982","1397042985","1397042990","1397042984","1397042987"],"photo_ids_order":["1397042980","1397042982","1397042984","1397042985","1397042987","1397042990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf8cdea9070ecba7f4104f324ba07e41.jpg","text":"TemporaryFile(/tmp/multipartBody1984961800402994636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_54_35_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/026e8e609ae228dbe162b50bf60b1690.jpg","text":"TemporaryFile(/tmp/multipartBody1881953219764580262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_54_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b45cd83a0ee776d6c5b4efecfaa5972.jpg","text":"TemporaryFile(/tmp/multipartBody536835505607408259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_55_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5db8e501d3875a002ab51f3c1c468b77.jpg","text":"TemporaryFile(/tmp/multipartBody8678904386617662379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_55_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abe1bef84c0f44e9bbb2db2083ec7253.jpg","text":"TemporaryFile(/tmp/multipartBody6516214594768378764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_54_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc3d09f12011cce96e57ca66cd6c33e2.jpg","text":"TemporaryFile(/tmp/multipartBody1779221913697639482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493444110,"filename":"image_30112025_07_55_15_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042984","file1":"1397042982","file0":"1397042980","file4":"1397042987","file5":"1397042990","file3":"1397042985"},"map_files_photo_id_array":[{"photo_id":"1397042990","filename":"file5"},{"photo_id":"1397042984","filename":"file2"},{"photo_id":"1397042987","filename":"file4"},{"photo_id":"1397042982","filename":"file1"},{"photo_id":"1397042980","filename":"file0"},{"photo_id":"1397042985","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397042980":["hashtag1","hashtag2"]},{"1397042982":["hashtag1","hashtag2"]},{"1397042985":["hashtag1","hashtag2"]},{"1397042990":["hashtag1","hashtag2"]},{"1397042984":["hashtag1","hashtag2"]},{"1397042987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397042980, 1397042982, 1397042985, 1397042990, 1397042984, 1397042987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82487416267395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:03:42.666216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/22/image_31102025_12_22_52_3766.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_54_2760.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_57_2704.jpg', '/home/pi/Desktop/images/31102025/12/22/image_31102025_12_23_00_2776.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_04_3568.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_06_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_52_3766.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_54_2760.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_22_57_2704.jpg
/home/pi/Desktop/images/31102025/12/22/image_31102025_12_23_00_2776.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_04_3568.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_06_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397042995","1397042992","1397042994","1397042997","1397042996","1397042993"],"photo_ids_order":["1397042992","1397042993","1397042994","1397042995","1397042996","1397042997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a6cfe9441b9d76873a2dff01bff05ac.jpg","text":"TemporaryFile(/tmp/multipartBody6928812084615779235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_23_00_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/30/1c65b2c71a17b0eb895b826070c4d0d2.jpg","text":"TemporaryFile(/tmp/multipartBody9030637550635793129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_22_52_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/30/f7d5178339a93ec681f3311063bcf057.jpg","text":"TemporaryFile(/tmp/multipartBody1611340814492471362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_22_57_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/30/e22af0dd78e06e306f185efe1e69472c.jpg","text":"TemporaryFile(/tmp/multipartBody6267346629793994503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_23_06_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/30/e46832e803a474c38d676757f2c0cb12.jpg","text":"TemporaryFile(/tmp/multipartBody7919302606945351465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_23_04_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/30/320a1c21ecd11a0e69fdda6c90864c66.jpg","text":"TemporaryFile(/tmp/multipartBody3284584959357016679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493485000,"filename":"image_31102025_12_22_54_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397042994","file1":"1397042993","file0":"1397042992","file4":"1397042996","file5":"1397042997","file3":"1397042995"},"map_files_photo_id_array":[{"photo_id":"1397042997","filename":"file5"},{"photo_id":"1397042994","filename":"file2"},{"photo_id":"1397042996","filename":"file4"},{"photo_id":"1397042993","filename":"file1"},{"photo_id":"1397042992","filename":"file0"},{"photo_id":"1397042995","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397042995":["hashtag1","hashtag2"]},{"1397042992":["hashtag1","hashtag2"]},{"1397042994":["hashtag1","hashtag2"]},{"1397042997":["hashtag1","hashtag2"]},{"1397042996":["hashtag1","hashtag2"]},{"1397042993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397042995, 1397042992, 1397042994, 1397042997, 1397042996, 1397042993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49609708786011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:04:21.870046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_34_9633.jpg', '/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_45_10584.jpg', '/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_54_9696.jpg', '/home/pi/Desktop/images/30112025/07/55/image_30112025_07_56_05_10641.jpg', '/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_15_9662.jpg', '/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_34_9633.jpg
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_45_10584.jpg
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_55_54_9696.jpg
/home/pi/Desktop/images/30112025/07/55/image_30112025_07_56_05_10641.jpg
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_15_9662.jpg
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_24_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043002","1397043007","1397043004","1397043006","1397043009","1397043000"],"photo_ids_order":["1397043000","1397043002","1397043004","1397043006","1397043007","1397043009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c8734a355bdb11c8beb0bb3f4d9b4af.jpg","text":"TemporaryFile(/tmp/multipartBody1938173228178139847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_55_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dbb0ff7c9c31b4d0b41af80b32bb5c5.jpg","text":"TemporaryFile(/tmp/multipartBody2281527967495092211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_56_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41ad55164bfd4e7a92c1f820f2fb4b8d.jpg","text":"TemporaryFile(/tmp/multipartBody153518988341784659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_55_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adcf46de24dede7c227ce626c255e853.jpg","text":"TemporaryFile(/tmp/multipartBody9111346123451617381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_56_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/101848c815e67ddbc4806e2e4ad94833.jpg","text":"TemporaryFile(/tmp/multipartBody7227107069965606907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_56_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd0877852a20c97d521e284dc1a330b7.jpg","text":"TemporaryFile(/tmp/multipartBody1411705918669242180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493522555,"filename":"image_30112025_07_55_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043004","file1":"1397043002","file0":"1397043000","file4":"1397043007","file5":"1397043009","file3":"1397043006"},"map_files_photo_id_array":[{"photo_id":"1397043009","filename":"file5"},{"photo_id":"1397043004","filename":"file2"},{"photo_id":"1397043007","filename":"file4"},{"photo_id":"1397043002","filename":"file1"},{"photo_id":"1397043000","filename":"file0"},{"photo_id":"1397043006","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043002":["hashtag1","hashtag2"]},{"1397043007":["hashtag1","hashtag2"]},{"1397043004":["hashtag1","hashtag2"]},{"1397043006":["hashtag1","hashtag2"]},{"1397043009":["hashtag1","hashtag2"]},{"1397043000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043002, 1397043007, 1397043004, 1397043006, 1397043009, 1397043000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.687081813812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:05:02.590785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_35_10537.jpg', '/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_45_9602.jpg', '/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_54_9658.jpg', '/home/pi/Desktop/images/30112025/07/56/image_30112025_07_57_05_10823.jpg', '/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_15_9546.jpg', '/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_35_10537.jpg
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_45_9602.jpg
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_56_54_9658.jpg
/home/pi/Desktop/images/30112025/07/56/image_30112025_07_57_05_10823.jpg
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_15_9546.jpg
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_24_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043011","1397043013","1397043010","1397043018","1397043012","1397043015"],"photo_ids_order":["1397043010","1397043011","1397043012","1397043013","1397043015","1397043018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d36a5931206e9316cfd0de5e60f46d0.jpg","text":"TemporaryFile(/tmp/multipartBody4208221852927765730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_56_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/299488f0a5af1235b9a1209222bcea3e.jpg","text":"TemporaryFile(/tmp/multipartBody6446411971584191100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_57_05_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85651840f9fb75165a35c7b14d41347c.jpg","text":"TemporaryFile(/tmp/multipartBody5390844191125394601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_56_35_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/275af2de1e40256613b21ea4c1c167cc.jpg","text":"TemporaryFile(/tmp/multipartBody8525365484290300959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_57_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fe4224528eb9fa83cd59a0adb79c2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4083323519792265575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_56_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea76c46a3ddad0c8edab0b2940da0ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2582447096171910838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493563411,"filename":"image_30112025_07_57_15_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043012","file1":"1397043011","file0":"1397043010","file4":"1397043015","file5":"1397043018","file3":"1397043013"},"map_files_photo_id_array":[{"photo_id":"1397043018","filename":"file5"},{"photo_id":"1397043012","filename":"file2"},{"photo_id":"1397043015","filename":"file4"},{"photo_id":"1397043011","filename":"file1"},{"photo_id":"1397043010","filename":"file0"},{"photo_id":"1397043013","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043011":["hashtag1","hashtag2"]},{"1397043013":["hashtag1","hashtag2"]},{"1397043010":["hashtag1","hashtag2"]},{"1397043018":["hashtag1","hashtag2"]},{"1397043012":["hashtag1","hashtag2"]},{"1397043015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043011, 1397043013, 1397043010, 1397043018, 1397043012, 1397043015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02708888053894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:05:42.059138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/23/image_31102025_12_23_09_2718.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_12_2839.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_18_2658.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_21_2751.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_25_3630.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_27_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_09_2718.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_12_2839.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_18_2658.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_21_2751.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_25_3630.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_27_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043038","1397043023","1397043037","1397043039","1397043033","1397043041"],"photo_ids_order":["1397043023","1397043033","1397043037","1397043038","1397043039","1397043041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b08c39897bc7429cf593dfea2d665fd.jpg","text":"TemporaryFile(/tmp/multipartBody7955089911366515094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_21_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23cdda2452b780aed598512f147d5542.jpg","text":"TemporaryFile(/tmp/multipartBody7774379832231242289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_09_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/30/c5997aa02d9e2f40a9ef076fba08718a.jpg","text":"TemporaryFile(/tmp/multipartBody1634401034365445426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_18_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f6bab9d0f3f197726557998f4b19cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1003422905604453448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_25_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43effd97aa70d17cca1e9cb272ed9605.jpg","text":"TemporaryFile(/tmp/multipartBody7373463522581461427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_12_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/30/ceb48bec738e9d4843802eabb922c95b.jpg","text":"TemporaryFile(/tmp/multipartBody8237873506338666340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493602927,"filename":"image_31102025_12_23_27_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043037","file1":"1397043033","file0":"1397043023","file4":"1397043039","file5":"1397043041","file3":"1397043038"},"map_files_photo_id_array":[{"photo_id":"1397043041","filename":"file5"},{"photo_id":"1397043037","filename":"file2"},{"photo_id":"1397043039","filename":"file4"},{"photo_id":"1397043033","filename":"file1"},{"photo_id":"1397043023","filename":"file0"},{"photo_id":"1397043038","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043038":["hashtag1","hashtag2"]},{"1397043023":["hashtag1","hashtag2"]},{"1397043037":["hashtag1","hashtag2"]},{"1397043039":["hashtag1","hashtag2"]},{"1397043033":["hashtag1","hashtag2"]},{"1397043041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043038, 1397043023, 1397043037, 1397043039, 1397043033, 1397043041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21955108642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:06:22.250722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_35_10685.jpg', '/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_45_9751.jpg', '/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_54_9527.jpg', '/home/pi/Desktop/images/30112025/07/57/image_30112025_07_58_05_10770.jpg', '/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_15_9823.jpg', '/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_25_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_35_10685.jpg
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_45_9751.jpg
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_57_54_9527.jpg
/home/pi/Desktop/images/30112025/07/57/image_30112025_07_58_05_10770.jpg
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_15_9823.jpg
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_25_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043050","1397043052","1397043049","1397043051","1397043045","1397043047"],"photo_ids_order":["1397043045","1397043047","1397043049","1397043050","1397043051","1397043052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f28cc8cea81f6c46827e76023829dd73.jpg","text":"TemporaryFile(/tmp/multipartBody8035453196284704594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_58_05_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d067a02892fa48769b1050ad6f9294c.jpg","text":"TemporaryFile(/tmp/multipartBody548005436851343111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_58_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a2a73c2ecbcfae1ea880e00faf50688.jpg","text":"TemporaryFile(/tmp/multipartBody3815210823866212035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_57_54_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6750d8d408fa0f85eeb27c88a74f6f04.jpg","text":"TemporaryFile(/tmp/multipartBody4330814320915376357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_58_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c684f98717d2335edd2b0d64b731d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody594357677737474542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_57_35_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99b986a6543c64941fae63fccdffe669.jpg","text":"TemporaryFile(/tmp/multipartBody7726140304010281915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493642965,"filename":"image_30112025_07_57_45_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043049","file1":"1397043047","file0":"1397043045","file4":"1397043051","file5":"1397043052","file3":"1397043050"},"map_files_photo_id_array":[{"photo_id":"1397043052","filename":"file5"},{"photo_id":"1397043049","filename":"file2"},{"photo_id":"1397043051","filename":"file4"},{"photo_id":"1397043047","filename":"file1"},{"photo_id":"1397043045","filename":"file0"},{"photo_id":"1397043050","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043050":["hashtag1","hashtag2"]},{"1397043052":["hashtag1","hashtag2"]},{"1397043049":["hashtag1","hashtag2"]},{"1397043051":["hashtag1","hashtag2"]},{"1397043045":["hashtag1","hashtag2"]},{"1397043047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043050, 1397043052, 1397043049, 1397043051, 1397043045, 1397043047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12090253829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:07:03.329533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_34_9641.jpg', '/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_45_10558.jpg', '/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_55_9808.jpg', '/home/pi/Desktop/images/30112025/07/58/image_30112025_07_59_04_9700.jpg', '/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_15_10594.jpg', '/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_25_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_34_9641.jpg
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_45_10558.jpg
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_58_55_9808.jpg
/home/pi/Desktop/images/30112025/07/58/image_30112025_07_59_04_9700.jpg
/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_15_10594.jpg
/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_25_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043058","1397043055","1397043054","1397043053","1397043062","1397043056"],"photo_ids_order":["1397043053","1397043054","1397043055","1397043056","1397043058","1397043062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c699731f75eb95553454c44e80a01e21.jpg","text":"TemporaryFile(/tmp/multipartBody2439738216691237760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_59_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48c9e96af481eaa79c8518014f3ff3bd.jpg","text":"TemporaryFile(/tmp/multipartBody5535456172998957977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_58_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/840e8d5d158d4879ac0b88ecc01ebd97.jpg","text":"TemporaryFile(/tmp/multipartBody2390975402855575641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_58_45_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/059b6e989539949bb103f063741a31e1.jpg","text":"TemporaryFile(/tmp/multipartBody169782772532418747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_58_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93ce1a4edd614793516647ff1cbc06c0.jpg","text":"TemporaryFile(/tmp/multipartBody5854228403331662753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_59_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ef913a4997ee7ba7ccf07a4c6d80dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4434125983788194660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493684047,"filename":"image_30112025_07_59_04_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043055","file1":"1397043054","file0":"1397043053","file4":"1397043058","file5":"1397043062","file3":"1397043056"},"map_files_photo_id_array":[{"photo_id":"1397043062","filename":"file5"},{"photo_id":"1397043055","filename":"file2"},{"photo_id":"1397043058","filename":"file4"},{"photo_id":"1397043054","filename":"file1"},{"photo_id":"1397043053","filename":"file0"},{"photo_id":"1397043056","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043058":["hashtag1","hashtag2"]},{"1397043055":["hashtag1","hashtag2"]},{"1397043054":["hashtag1","hashtag2"]},{"1397043053":["hashtag1","hashtag2"]},{"1397043062":["hashtag1","hashtag2"]},{"1397043056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043058, 1397043055, 1397043054, 1397043053, 1397043062, 1397043056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87039399147034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:07:42.684903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/23/image_31102025_12_23_30_2635.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_34_3807.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_36_2600.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_39_2983.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_42_2726.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_46_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_30_2635.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_34_3807.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_36_2600.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_39_2983.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_42_2726.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_46_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":["1397043070","1397043073","1397043067","1397043072","1397043069","1397043071"],"photo_ids_order":["1397043067","1397043069","1397043070","1397043071","1397043072","1397043073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d3ddf2a23c0e70d0f7e59c79883d6fb.jpg","text":"TemporaryFile(/tmp/multipartBody6561359007804212855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_36_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/159aefa040a92654f587041a91f07b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6501740234398272038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_46_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/30/6be31ad07f8333d7c5e5c368ed47f75d.jpg","text":"TemporaryFile(/tmp/multipartBody4297857163474748331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_30_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/30/d10b65c97e6e15bda844060fd02da2e9.jpg","text":"TemporaryFile(/tmp/multipartBody2311598513611744861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_42_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/30/a17ef3bc119f8da2d54ef59d7e35b9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2870571652676393248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_34_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/30/428492fc18c34c2e9ccf637a9844ac45.jpg","text":"TemporaryFile(/tmp/multipartBody1223012855272139948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493723553,"filename":"image_31102025_12_23_39_2983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043070","file1":"1397043069","file0":"1397043067","file4":"1397043072","file5":"1397043073","file3":"1397043071"},"map_files_photo_id_array":[{"photo_id":"1397043073","filename":"file5"},{"photo_id":"1397043070","filename":"file2"},{"photo_id":"1397043072","filename":"file4"},{"photo_id":"1397043069","filename":"file1"},{"photo_id":"1397043067","filename":"file0"},{"photo_id":"1397043071","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043070":["hashtag1","hashtag2"]},{"1397043073":["hashtag1","hashtag2"]},{"1397043067":["hashtag1","hashtag2"]},{"1397043072":["hashtag1","hashtag2"]},{"1397043069":["hashtag1","hashtag2"]},{"1397043071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043070, 1397043073, 1397043067, 1397043072, 1397043069, 1397043071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03121066093445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:08:21.865150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_34_9695.jpg', '/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_45_10712.jpg', '/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_55_9786.jpg', '/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_14_10054.jpg', '/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_25_10790.jpg', '/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_35_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_34_9695.jpg
/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_45_10712.jpg
/home/pi/Desktop/images/30112025/07/59/image_30112025_07_59_55_9786.jpg
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_14_10054.jpg
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_25_10790.jpg
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_35_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043076","1397043079","1397043081","1397043084","1397043083","1397043086"],"photo_ids_order":["1397043076","1397043079","1397043081","1397043083","1397043084","1397043086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8d1eed3fee369e1020c8f6c3087215e.jpg","text":"TemporaryFile(/tmp/multipartBody5006368483340781255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_07_59_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7a604bfaeb44b6cabacb6dc2296a376.jpg","text":"TemporaryFile(/tmp/multipartBody8533029916896724988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_07_59_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca3c9a2b8f63788ff36e6552d31dee9d.jpg","text":"TemporaryFile(/tmp/multipartBody7334404905601578723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_07_59_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/291cabde154659d900c95be968a80c58.jpg","text":"TemporaryFile(/tmp/multipartBody4092058906348748692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_08_00_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01b8b5fa510fbb0df83119dc6562b158.jpg","text":"TemporaryFile(/tmp/multipartBody7944544584220420759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_08_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a10de3e1e16662e735c70c79ce9c787.jpg","text":"TemporaryFile(/tmp/multipartBody3718863014111167746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493762553,"filename":"image_30112025_08_00_35_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043081","file1":"1397043079","file0":"1397043076","file4":"1397043084","file5":"1397043086","file3":"1397043083"},"map_files_photo_id_array":[{"photo_id":"1397043086","filename":"file5"},{"photo_id":"1397043081","filename":"file2"},{"photo_id":"1397043084","filename":"file4"},{"photo_id":"1397043079","filename":"file1"},{"photo_id":"1397043076","filename":"file0"},{"photo_id":"1397043083","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043076":["hashtag1","hashtag2"]},{"1397043079":["hashtag1","hashtag2"]},{"1397043081":["hashtag1","hashtag2"]},{"1397043084":["hashtag1","hashtag2"]},{"1397043083":["hashtag1","hashtag2"]},{"1397043086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043076, 1397043079, 1397043081, 1397043084, 1397043083, 1397043086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61239528656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:09:02.824447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_44_9739.jpg', '/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_54_9836.jpg', '/home/pi/Desktop/images/30112025/08/00/image_30112025_08_01_05_10648.jpg', '/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_15_9689.jpg', '/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_24_9612.jpg', '/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_44_9739.jpg
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_00_54_9836.jpg
/home/pi/Desktop/images/30112025/08/00/image_30112025_08_01_05_10648.jpg
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_15_9689.jpg
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_24_9612.jpg
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_35_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043097","1397043100","1397043099","1397043103","1397043105","1397043098"],"photo_ids_order":["1397043097","1397043098","1397043099","1397043100","1397043103","1397043105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acab479795d28cf7406e5185a247356e.jpg","text":"TemporaryFile(/tmp/multipartBody4565801152591841846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_00_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/570d80507779f3e36bb5b7e06c66827b.jpg","text":"TemporaryFile(/tmp/multipartBody7493031744546172845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_01_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/461c4bf3e559d1d1dde9e019183685cd.jpg","text":"TemporaryFile(/tmp/multipartBody7644954301293768399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_01_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccaf5528e9881bc98af8aa2c9311ae91.jpg","text":"TemporaryFile(/tmp/multipartBody8072284403966844367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_01_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3a32331632d1672159923c9d0428978.jpg","text":"TemporaryFile(/tmp/multipartBody7231838558920558492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_01_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3354b2e0584b3ee88034724e33f866bd.jpg","text":"TemporaryFile(/tmp/multipartBody6773277726738854132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493803591,"filename":"image_30112025_08_00_54_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043099","file1":"1397043098","file0":"1397043097","file4":"1397043103","file5":"1397043105","file3":"1397043100"},"map_files_photo_id_array":[{"photo_id":"1397043105","filename":"file5"},{"photo_id":"1397043099","filename":"file2"},{"photo_id":"1397043103","filename":"file4"},{"photo_id":"1397043098","filename":"file1"},{"photo_id":"1397043097","filename":"file0"},{"photo_id":"1397043100","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043097":["hashtag1","hashtag2"]},{"1397043100":["hashtag1","hashtag2"]},{"1397043099":["hashtag1","hashtag2"]},{"1397043103":["hashtag1","hashtag2"]},{"1397043105":["hashtag1","hashtag2"]},{"1397043098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043097, 1397043100, 1397043099, 1397043103, 1397043105, 1397043098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02450227737427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:09:42.038344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/23/image_31102025_12_23_48_2759.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_51_2687.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_54_2750.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_58_3823.jpg', '/home/pi/Desktop/images/31102025/12/23/image_31102025_12_24_00_2756.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_03_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_48_2759.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_51_2687.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_54_2750.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_23_58_3823.jpg
/home/pi/Desktop/images/31102025/12/23/image_31102025_12_24_00_2756.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_03_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":["1397043110","1397043113","1397043112","1397043106","1397043109","1397043111"],"photo_ids_order":["1397043106","1397043109","1397043110","1397043111","1397043112","1397043113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81b423493f056297532f7785b5b0260f.jpg","text":"TemporaryFile(/tmp/multipartBody5940705069258929252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_23_54_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5538766f6ac3e03596ec099720eabda.jpg","text":"TemporaryFile(/tmp/multipartBody7314086294115592403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_24_03_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3350a3ab3342e312c46956f550406f1.jpg","text":"TemporaryFile(/tmp/multipartBody3079409807884259822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_24_00_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/30/c9608796bef02289ff290ee51de09087.jpg","text":"TemporaryFile(/tmp/multipartBody7232091580812291901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_23_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/30/a83aad608ab9f5d8f075c7c679ee3a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7172636145793054352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_23_51_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14b1960827c2ca3625bad3ad019f9666.jpg","text":"TemporaryFile(/tmp/multipartBody4031847330961839738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493842923,"filename":"image_31102025_12_23_58_3823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043110","file1":"1397043109","file0":"1397043106","file4":"1397043112","file5":"1397043113","file3":"1397043111"},"map_files_photo_id_array":[{"photo_id":"1397043113","filename":"file5"},{"photo_id":"1397043110","filename":"file2"},{"photo_id":"1397043112","filename":"file4"},{"photo_id":"1397043109","filename":"file1"},{"photo_id":"1397043106","filename":"file0"},{"photo_id":"1397043111","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043110":["hashtag1","hashtag2"]},{"1397043113":["hashtag1","hashtag2"]},{"1397043112":["hashtag1","hashtag2"]},{"1397043106":["hashtag1","hashtag2"]},{"1397043109":["hashtag1","hashtag2"]},{"1397043111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043110, 1397043113, 1397043112, 1397043106, 1397043109, 1397043111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88221454620361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:10:22.200887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_44_9622.jpg', '/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_54_9728.jpg', '/home/pi/Desktop/images/30112025/08/01/image_30112025_08_02_05_10777.jpg', '/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_15_9658.jpg', '/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_24_9671.jpg', '/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_35_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_44_9622.jpg
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_01_54_9728.jpg
/home/pi/Desktop/images/30112025/08/01/image_30112025_08_02_05_10777.jpg
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_15_9658.jpg
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_24_9671.jpg
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_35_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043116","1397043119","1397043121","1397043118","1397043123","1397043120"],"photo_ids_order":["1397043116","1397043118","1397043119","1397043120","1397043121","1397043123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab0139590c8d2087018e10902b14a667.jpg","text":"TemporaryFile(/tmp/multipartBody573075035773356561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_01_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2baad004cfdee86dfa7a5b8cb4fdce1e.jpg","text":"TemporaryFile(/tmp/multipartBody7384524452927153977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_02_05_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f106d995fa3929524b18e6d0d7c60857.jpg","text":"TemporaryFile(/tmp/multipartBody6323966244915575824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_02_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/194e4fb01ba6b8f550f704aa8287f647.jpg","text":"TemporaryFile(/tmp/multipartBody678628893841098640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_01_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59394da2d77f2eaca8475a0f42d44a77.jpg","text":"TemporaryFile(/tmp/multipartBody1447446298893960247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_02_35_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69ed8a7fe33998d1efc7eb462bf86f56.jpg","text":"TemporaryFile(/tmp/multipartBody2971382301381564460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493882906,"filename":"image_30112025_08_02_15_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043119","file1":"1397043118","file0":"1397043116","file4":"1397043121","file5":"1397043123","file3":"1397043120"},"map_files_photo_id_array":[{"photo_id":"1397043123","filename":"file5"},{"photo_id":"1397043119","filename":"file2"},{"photo_id":"1397043121","filename":"file4"},{"photo_id":"1397043118","filename":"file1"},{"photo_id":"1397043116","filename":"file0"},{"photo_id":"1397043120","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043116":["hashtag1","hashtag2"]},{"1397043119":["hashtag1","hashtag2"]},{"1397043121":["hashtag1","hashtag2"]},{"1397043118":["hashtag1","hashtag2"]},{"1397043123":["hashtag1","hashtag2"]},{"1397043120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043116, 1397043119, 1397043121, 1397043118, 1397043123, 1397043120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73920130729675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:11:03.051893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_45_9824.jpg', '/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_54_9667.jpg', '/home/pi/Desktop/images/30112025/08/02/image_30112025_08_03_04_9747.jpg', '/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_15_10735.jpg', '/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_24_9672.jpg', '/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_34_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_45_9824.jpg
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_02_54_9667.jpg
/home/pi/Desktop/images/30112025/08/02/image_30112025_08_03_04_9747.jpg
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_15_10735.jpg
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_24_9672.jpg
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_34_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043125","1397043124","1397043127","1397043132","1397043126","1397043129"],"photo_ids_order":["1397043124","1397043125","1397043126","1397043127","1397043129","1397043132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f94560ddef369346211466289e5642f1.jpg","text":"TemporaryFile(/tmp/multipartBody4902156669241583549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_02_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f538c29c10ca1ac709bd05ca9de5a001.jpg","text":"TemporaryFile(/tmp/multipartBody1708623285435754470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_02_45_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/720843588467818432d179765ef93a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4517946850785254465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_03_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/741c0ddcf95a250705f0f43979015f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2142773772887881332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_03_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbc2e6142a53568ae360489e1dca6ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6291727227140480287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_03_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d5f185eeda1b8ac2a0621bd0f318088.jpg","text":"TemporaryFile(/tmp/multipartBody4849649377935418253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493923851,"filename":"image_30112025_08_03_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043126","file1":"1397043125","file0":"1397043124","file4":"1397043129","file5":"1397043132","file3":"1397043127"},"map_files_photo_id_array":[{"photo_id":"1397043132","filename":"file5"},{"photo_id":"1397043126","filename":"file2"},{"photo_id":"1397043129","filename":"file4"},{"photo_id":"1397043125","filename":"file1"},{"photo_id":"1397043124","filename":"file0"},{"photo_id":"1397043127","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043125":["hashtag1","hashtag2"]},{"1397043124":["hashtag1","hashtag2"]},{"1397043127":["hashtag1","hashtag2"]},{"1397043132":["hashtag1","hashtag2"]},{"1397043126":["hashtag1","hashtag2"]},{"1397043129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043125, 1397043124, 1397043127, 1397043132, 1397043126, 1397043129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.529274463653564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:11:42.431622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/24/image_31102025_12_24_07_3576.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_10_2875.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_12_2793.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_15_2714.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_18_2694.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_21_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_07_3576.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_10_2875.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_12_2793.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_15_2714.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_18_2694.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_21_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":["1397043151","1397043145","1397043136","1397043150","1397043152","1397043149"],"photo_ids_order":["1397043136","1397043145","1397043149","1397043150","1397043151","1397043152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9283d1896242b8d7073a27f3e8b45657.jpg","text":"TemporaryFile(/tmp/multipartBody7487523420885454942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_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/30/06c29224878631cf4a9e13d59a2410fd.jpg","text":"TemporaryFile(/tmp/multipartBody1281530788195579321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_10_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/30/8e9f8c6d4e51dd010a080df250d5f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody866603078680133899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_07_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/30/4eaab022cfcfd152cc682dd678b941bb.jpg","text":"TemporaryFile(/tmp/multipartBody4587675964883302590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_15_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/30/e347dbf1a044009f65f39e3675f3e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8130502732793454625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_21_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/30/ed5acb92f9356d06b5b28bb21a519720.jpg","text":"TemporaryFile(/tmp/multipartBody5958153910663012878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764493963315,"filename":"image_31102025_12_24_12_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043149","file1":"1397043145","file0":"1397043136","file4":"1397043151","file5":"1397043152","file3":"1397043150"},"map_files_photo_id_array":[{"photo_id":"1397043152","filename":"file5"},{"photo_id":"1397043149","filename":"file2"},{"photo_id":"1397043151","filename":"file4"},{"photo_id":"1397043145","filename":"file1"},{"photo_id":"1397043136","filename":"file0"},{"photo_id":"1397043150","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043151":["hashtag1","hashtag2"]},{"1397043145":["hashtag1","hashtag2"]},{"1397043136":["hashtag1","hashtag2"]},{"1397043150":["hashtag1","hashtag2"]},{"1397043152":["hashtag1","hashtag2"]},{"1397043149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043151, 1397043145, 1397043136, 1397043150, 1397043152, 1397043149)","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: 50.36795973777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:12:42.583750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/24/image_31102025_12_24_24_2593.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_27_2697.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_30_3603.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_33_2725.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_37_3580.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_39_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/12/24/image_31102025_12_24_24_2593.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_27_2697.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_30_3603.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_33_2725.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_37_3580.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_39_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043160","1397043163","1397043162","1397043165","1397043164","1397043161"],"photo_ids_order":["1397043160","1397043161","1397043162","1397043163","1397043164","1397043165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22ab9c15ae928ea7d646404e440fe732.jpg","text":"TemporaryFile(/tmp/multipartBody4207163374444111791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_24_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6189720c6bb67a5941fca1dc637dc372.jpg","text":"TemporaryFile(/tmp/multipartBody4768884393106765657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_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/30/c206e7e9434db666bacb2d8082d7140c.jpg","text":"TemporaryFile(/tmp/multipartBody2359805979666177828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_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/30/e6886b0d0595ef18bac181449ce95850.jpg","text":"TemporaryFile(/tmp/multipartBody4809128953557770305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_39_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/30/1afa05f45b09fde920f26b8fd733ece3.jpg","text":"TemporaryFile(/tmp/multipartBody4542109775827181078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_37_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/30/d452007a3af750bde4e65debedccbb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3343246787827117505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494023474,"filename":"image_31102025_12_24_27_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043162","file1":"1397043161","file0":"1397043160","file4":"1397043164","file5":"1397043165","file3":"1397043163"},"map_files_photo_id_array":[{"photo_id":"1397043165","filename":"file5"},{"photo_id":"1397043162","filename":"file2"},{"photo_id":"1397043164","filename":"file4"},{"photo_id":"1397043161","filename":"file1"},{"photo_id":"1397043160","filename":"file0"},{"photo_id":"1397043163","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043160":["hashtag1","hashtag2"]},{"1397043163":["hashtag1","hashtag2"]},{"1397043162":["hashtag1","hashtag2"]},{"1397043165":["hashtag1","hashtag2"]},{"1397043164":["hashtag1","hashtag2"]},{"1397043161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043160, 1397043163, 1397043162, 1397043165, 1397043164, 1397043161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80527925491333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:13:22.695007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_45_10609.jpg', '/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_54_9667.jpg', '/home/pi/Desktop/images/30112025/08/03/image_30112025_08_04_04_9643.jpg', '/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_15_10556.jpg', '/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_24_9637.jpg', '/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_35_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_45_10609.jpg
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_03_54_9667.jpg
/home/pi/Desktop/images/30112025/08/03/image_30112025_08_04_04_9643.jpg
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_15_10556.jpg
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_24_9637.jpg
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_35_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043175","1397043169","1397043171","1397043174","1397043177","1397043173"],"photo_ids_order":["1397043169","1397043171","1397043173","1397043174","1397043175","1397043177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58f66d28880a27c194dfc6dee479b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4152561343916341434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_04_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba7c8025d2cea8fd48dff926fb6e9c50.jpg","text":"TemporaryFile(/tmp/multipartBody5407447276707158633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_03_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cf89fb936618b2485c961d4b2c5028d.jpg","text":"TemporaryFile(/tmp/multipartBody5053869006183035775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_03_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5d1ce10b70083045af712770a9c76cb.jpg","text":"TemporaryFile(/tmp/multipartBody7538872943290103153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_04_15_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/555ec13c47e249460f1ec6a2042691af.jpg","text":"TemporaryFile(/tmp/multipartBody4587316484395092686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_04_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc8c7ebe4f70f4a85b7bd4277d8a0afd.jpg","text":"TemporaryFile(/tmp/multipartBody4201303353607784542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494063355,"filename":"image_30112025_08_04_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043173","file1":"1397043171","file0":"1397043169","file4":"1397043175","file5":"1397043177","file3":"1397043174"},"map_files_photo_id_array":[{"photo_id":"1397043177","filename":"file5"},{"photo_id":"1397043173","filename":"file2"},{"photo_id":"1397043175","filename":"file4"},{"photo_id":"1397043171","filename":"file1"},{"photo_id":"1397043169","filename":"file0"},{"photo_id":"1397043174","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043175":["hashtag1","hashtag2"]},{"1397043169":["hashtag1","hashtag2"]},{"1397043171":["hashtag1","hashtag2"]},{"1397043174":["hashtag1","hashtag2"]},{"1397043177":["hashtag1","hashtag2"]},{"1397043173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043175, 1397043169, 1397043171, 1397043174, 1397043177, 1397043173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58607292175293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:14:02.497367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_45_9875.jpg', '/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_54_9542.jpg', '/home/pi/Desktop/images/30112025/08/04/image_30112025_08_05_04_9853.jpg', '/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_15_10801.jpg', '/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_24_9558.jpg', '/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_34_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_45_9875.jpg
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_04_54_9542.jpg
/home/pi/Desktop/images/30112025/08/04/image_30112025_08_05_04_9853.jpg
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_15_10801.jpg
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_24_9558.jpg
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_34_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043187","1397043181","1397043184","1397043178","1397043180","1397043182"],"photo_ids_order":["1397043178","1397043180","1397043181","1397043182","1397043184","1397043187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39d283ed61191d63b0bbe9b358a9f647.jpg","text":"TemporaryFile(/tmp/multipartBody9107113030428017179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_05_34_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af80b72e66f9e14d7a4338a66e39ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody1244372258408860528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_05_04_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/889f1cd7e22645efb2c61871b2a6ab48.jpg","text":"TemporaryFile(/tmp/multipartBody7721160917768691152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_05_24_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b322f0bbf1ef25c1f9810ad3d1bee366.jpg","text":"TemporaryFile(/tmp/multipartBody8051619783635318152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_04_45_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b087e84821385b1c165d3aa247a9f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8657710153763843052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_04_54_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/286333ad544f9c6949de7fc98f2abfe1.jpg","text":"TemporaryFile(/tmp/multipartBody1515965838180303656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494103213,"filename":"image_30112025_08_05_15_10801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043181","file1":"1397043180","file0":"1397043178","file4":"1397043184","file5":"1397043187","file3":"1397043182"},"map_files_photo_id_array":[{"photo_id":"1397043187","filename":"file5"},{"photo_id":"1397043181","filename":"file2"},{"photo_id":"1397043184","filename":"file4"},{"photo_id":"1397043180","filename":"file1"},{"photo_id":"1397043178","filename":"file0"},{"photo_id":"1397043182","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043187":["hashtag1","hashtag2"]},{"1397043181":["hashtag1","hashtag2"]},{"1397043184":["hashtag1","hashtag2"]},{"1397043178":["hashtag1","hashtag2"]},{"1397043180":["hashtag1","hashtag2"]},{"1397043182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043187, 1397043181, 1397043184, 1397043178, 1397043180, 1397043182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41037559509277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:14:42.068410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/24/image_31102025_12_24_42_2684.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_45_2635.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_48_3706.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_51_2686.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_57_3641.jpg', '/home/pi/Desktop/images/31102025/12/24/image_31102025_12_25_00_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/12/24/image_31102025_12_24_42_2684.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_45_2635.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_48_3706.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_51_2686.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_24_57_3641.jpg
/home/pi/Desktop/images/31102025/12/24/image_31102025_12_25_00_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043223","1397043214","1397043222","1397043225","1397043194","1397043197"],"photo_ids_order":["1397043194","1397043197","1397043214","1397043222","1397043223","1397043225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afdaea576ddbe919574d08f07ad93a48.jpg","text":"TemporaryFile(/tmp/multipartBody6599517442587133103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_24_57_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68d681bee4cca5b9ed381b9cef4d696f.jpg","text":"TemporaryFile(/tmp/multipartBody6377946958118079332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_24_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/30/d2db82e38e128b6ff20babae62e1ea1c.jpg","text":"TemporaryFile(/tmp/multipartBody6177206791254732166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_24_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/30/2075207e34ec01a5edae856e2f5d7bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3205547582284915379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_25_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/30/4f59502ca5968a22eceb272c81fba341.jpg","text":"TemporaryFile(/tmp/multipartBody6234205597826082192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_24_42_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/30/4fa6e537261e37a6d6e3424748d097a6.jpg","text":"TemporaryFile(/tmp/multipartBody3349710930113752256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494142993,"filename":"image_31102025_12_24_45_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043214","file1":"1397043197","file0":"1397043194","file4":"1397043223","file5":"1397043225","file3":"1397043222"},"map_files_photo_id_array":[{"photo_id":"1397043225","filename":"file5"},{"photo_id":"1397043214","filename":"file2"},{"photo_id":"1397043223","filename":"file4"},{"photo_id":"1397043197","filename":"file1"},{"photo_id":"1397043194","filename":"file0"},{"photo_id":"1397043222","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043223":["hashtag1","hashtag2"]},{"1397043214":["hashtag1","hashtag2"]},{"1397043222":["hashtag1","hashtag2"]},{"1397043225":["hashtag1","hashtag2"]},{"1397043194":["hashtag1","hashtag2"]},{"1397043197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043223, 1397043214, 1397043222, 1397043225, 1397043194, 1397043197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54056096076965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:15:22.267582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_45_10578.jpg', '/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_55_9674.jpg', '/home/pi/Desktop/images/30112025/08/05/image_30112025_08_06_04_9613.jpg', '/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_15_10601.jpg', '/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_25_9709.jpg', '/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_45_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_45_10578.jpg
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_05_55_9674.jpg
/home/pi/Desktop/images/30112025/08/05/image_30112025_08_06_04_9613.jpg
/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_15_10601.jpg
/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_25_9709.jpg
/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_45_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043232","1397043229","1397043231","1397043228","1397043230","1397043227"],"photo_ids_order":["1397043227","1397043228","1397043229","1397043230","1397043231","1397043232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7223571cf59650eef6d2bf1dd45551b8.jpg","text":"TemporaryFile(/tmp/multipartBody3381286499378745451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_06_45_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bffaebb41a94a32dde6272c80a782a1.jpg","text":"TemporaryFile(/tmp/multipartBody6491695340305075321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_06_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27423ea81abffe9b65e9a9939a43b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody499331258407152749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_06_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c489cac86aa6f6db000a6aeecfc58b46.jpg","text":"TemporaryFile(/tmp/multipartBody5714767378639434171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_05_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe8d4b067df54d9f45043a4ce94617b3.jpg","text":"TemporaryFile(/tmp/multipartBody5511181977980793230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_06_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8346f4af0a1640c4da27fc72c0fd4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3949356382084895581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494182957,"filename":"image_30112025_08_05_45_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043229","file1":"1397043228","file0":"1397043227","file4":"1397043231","file5":"1397043232","file3":"1397043230"},"map_files_photo_id_array":[{"photo_id":"1397043232","filename":"file5"},{"photo_id":"1397043229","filename":"file2"},{"photo_id":"1397043231","filename":"file4"},{"photo_id":"1397043228","filename":"file1"},{"photo_id":"1397043227","filename":"file0"},{"photo_id":"1397043230","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043232":["hashtag1","hashtag2"]},{"1397043229":["hashtag1","hashtag2"]},{"1397043231":["hashtag1","hashtag2"]},{"1397043228":["hashtag1","hashtag2"]},{"1397043230":["hashtag1","hashtag2"]},{"1397043227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043232, 1397043229, 1397043231, 1397043228, 1397043230, 1397043227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341275453567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:16:02.592841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_55_9809.jpg', '/home/pi/Desktop/images/30112025/08/06/image_30112025_08_07_04_9618.jpg', '/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_15_10671.jpg', '/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_34_9546.jpg', '/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_45_10609.jpg', '/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/06/image_30112025_08_06_55_9809.jpg
/home/pi/Desktop/images/30112025/08/06/image_30112025_08_07_04_9618.jpg
/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_15_10671.jpg
/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_34_9546.jpg
/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_45_10609.jpg
/home/pi/Desktop/images/30112025/08/07/image_30112025_08_07_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043241","1397043244","1397043238","1397043234","1397043237","1397043239"],"photo_ids_order":["1397043234","1397043237","1397043238","1397043239","1397043241","1397043244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1575a34af640a7345ad4e49cc99c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody7933501224708403188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_07_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ddc78943d39ba03232afb3c8ebde3a7.jpg","text":"TemporaryFile(/tmp/multipartBody7730215122132635331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_07_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1973b5192b48e6e439ac98731833251b.jpg","text":"TemporaryFile(/tmp/multipartBody4229328673702437198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_07_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8946ae9f7074efe75e3c700cc298b673.jpg","text":"TemporaryFile(/tmp/multipartBody368563675738703961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_06_55_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2178dce9017e5acb42f58042da79a18b.jpg","text":"TemporaryFile(/tmp/multipartBody4629510027049106372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_07_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d41ea96ffb196d8eac857c3a89c101c.jpg","text":"TemporaryFile(/tmp/multipartBody684629207721804043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494223343,"filename":"image_30112025_08_07_34_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043238","file1":"1397043237","file0":"1397043234","file4":"1397043241","file5":"1397043244","file3":"1397043239"},"map_files_photo_id_array":[{"photo_id":"1397043244","filename":"file5"},{"photo_id":"1397043238","filename":"file2"},{"photo_id":"1397043241","filename":"file4"},{"photo_id":"1397043237","filename":"file1"},{"photo_id":"1397043234","filename":"file0"},{"photo_id":"1397043239","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043241":["hashtag1","hashtag2"]},{"1397043244":["hashtag1","hashtag2"]},{"1397043238":["hashtag1","hashtag2"]},{"1397043234":["hashtag1","hashtag2"]},{"1397043237":["hashtag1","hashtag2"]},{"1397043239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043241, 1397043244, 1397043238, 1397043234, 1397043237, 1397043239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28023982048035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:16:42.248608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/25/image_31102025_12_25_03_2650.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_06_2980.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_09_3718.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_12_2735.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_15_2716.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_21_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_03_2650.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_06_2980.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_09_3718.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_12_2735.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_15_2716.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_21_2603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7815606594085693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:17:04.051604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/07/image_30112025_08_08_04_9679.jpg', '/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_15_10733.jpg', '/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_25_9755.jpg', '/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_34_9753.jpg', '/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_44_9681.jpg', '/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_55_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/07/image_30112025_08_08_04_9679.jpg
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_15_10733.jpg
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_25_9755.jpg
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_34_9753.jpg
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_44_9681.jpg
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_08_55_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043256","1397043253","1397043252","1397043258","1397043260","1397043254"],"photo_ids_order":["1397043252","1397043253","1397043254","1397043256","1397043258","1397043260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/905ed012b8c871ed9c7173322c9bf1e6.jpg","text":"TemporaryFile(/tmp/multipartBody4531576218335986960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a9089647d6b4a2ef2ac570291375a13.jpg","text":"TemporaryFile(/tmp/multipartBody1195185674644378187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c7827fa08f05e2bfe457433db433675.jpg","text":"TemporaryFile(/tmp/multipartBody125289587250002327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6bd0a4f0c7a5b7aa1d5387576029bb7.jpg","text":"TemporaryFile(/tmp/multipartBody6965888666448360827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da759b80d61b84685bbbe6e72d91eb72.jpg","text":"TemporaryFile(/tmp/multipartBody3401108885806046277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_55_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f9f8be6ee4d7c7c08b8b6e3f3de5452.jpg","text":"TemporaryFile(/tmp/multipartBody7870475045062163101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494284765,"filename":"image_30112025_08_08_25_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043254","file1":"1397043253","file0":"1397043252","file4":"1397043258","file5":"1397043260","file3":"1397043256"},"map_files_photo_id_array":[{"photo_id":"1397043260","filename":"file5"},{"photo_id":"1397043254","filename":"file2"},{"photo_id":"1397043258","filename":"file4"},{"photo_id":"1397043253","filename":"file1"},{"photo_id":"1397043252","filename":"file0"},{"photo_id":"1397043256","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043256":["hashtag1","hashtag2"]},{"1397043253":["hashtag1","hashtag2"]},{"1397043252":["hashtag1","hashtag2"]},{"1397043258":["hashtag1","hashtag2"]},{"1397043260":["hashtag1","hashtag2"]},{"1397043254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043256, 1397043253, 1397043252, 1397043258, 1397043260, 1397043254)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.22135853767395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:18:03.182741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:18:12.612499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_56_3712.jpg', '/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_58_2587.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_13_2631.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_16_2806.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_22_3627.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_25_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_56_3712.jpg
/home/pi/Desktop/images/25112025/20/03/image_25112025_20_03_58_2587.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_13_2631.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_16_2806.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_22_3627.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_25_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043289","1397043283","1397043291","1397043285","1397043293","1397043287"],"photo_ids_order":["1397043283","1397043285","1397043287","1397043289","1397043291","1397043293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/512191d3182c3db4885f80d606c8b89a.jpg","text":"TemporaryFile(/tmp/multipartBody8225215945009275465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_04_16_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/30/07b8997a091de0d0c0eb14f02f00caab.jpg","text":"TemporaryFile(/tmp/multipartBody9098535592675698182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_03_56_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dedde37a1753ccb31b24c134a532ecee.jpg","text":"TemporaryFile(/tmp/multipartBody8957646057241769552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_04_22_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/30/1edf3757c1b004628544e0135cb4060e.jpg","text":"TemporaryFile(/tmp/multipartBody4175414175173252367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_03_58_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/009efb51a8366f586d20a8b48b6714a2.jpg","text":"TemporaryFile(/tmp/multipartBody534475939424484998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_04_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/30/ff0155dfc70e79fde52443e36bca1a51.jpg","text":"TemporaryFile(/tmp/multipartBody500320172436257973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494355449,"filename":"image_25112025_20_04_13_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043287","file1":"1397043285","file0":"1397043283","file4":"1397043291","file5":"1397043293","file3":"1397043289"},"map_files_photo_id_array":[{"photo_id":"1397043293","filename":"file5"},{"photo_id":"1397043287","filename":"file2"},{"photo_id":"1397043291","filename":"file4"},{"photo_id":"1397043285","filename":"file1"},{"photo_id":"1397043283","filename":"file0"},{"photo_id":"1397043289","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043289":["hashtag1","hashtag2"]},{"1397043283":["hashtag1","hashtag2"]},{"1397043291":["hashtag1","hashtag2"]},{"1397043285":["hashtag1","hashtag2"]},{"1397043293":["hashtag1","hashtag2"]},{"1397043287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043289, 1397043283, 1397043291, 1397043285, 1397043293, 1397043287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.681950092315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:19:03.511489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/08/image_30112025_08_09_04_9598.jpg', '/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_14_9664.jpg', '/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_25_10647.jpg', '/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_34_9635.jpg', '/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_44_9664.jpg', '/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_55_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/08/image_30112025_08_09_04_9598.jpg
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_14_9664.jpg
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_25_10647.jpg
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_34_9635.jpg
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_44_9664.jpg
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_09_55_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043302","1397043295","1397043304","1397043297","1397043296","1397043299"],"photo_ids_order":["1397043295","1397043296","1397043297","1397043299","1397043302","1397043304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab3d906ad2ea36b9e2abd5637570454b.jpg","text":"TemporaryFile(/tmp/multipartBody1946582993267005807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ddda7cda3e9cbcca98025b77709ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody5585619843221448012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78d93306ef1428f5a7e9eae32e4ff948.jpg","text":"TemporaryFile(/tmp/multipartBody48631412881470852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_55_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e3209036b3322945099c11920121983.jpg","text":"TemporaryFile(/tmp/multipartBody2045804905968443337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/257b2e6a2a80e62d828d60b859faf83a.jpg","text":"TemporaryFile(/tmp/multipartBody4968935185937345567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b786c97ad58bb005f26124858ae1d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1519912348176663244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494407179,"filename":"image_30112025_08_09_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043297","file1":"1397043296","file0":"1397043295","file4":"1397043302","file5":"1397043304","file3":"1397043299"},"map_files_photo_id_array":[{"photo_id":"1397043304","filename":"file5"},{"photo_id":"1397043297","filename":"file2"},{"photo_id":"1397043302","filename":"file4"},{"photo_id":"1397043296","filename":"file1"},{"photo_id":"1397043295","filename":"file0"},{"photo_id":"1397043299","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043302":["hashtag1","hashtag2"]},{"1397043295":["hashtag1","hashtag2"]},{"1397043304":["hashtag1","hashtag2"]},{"1397043297":["hashtag1","hashtag2"]},{"1397043296":["hashtag1","hashtag2"]},{"1397043299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043302, 1397043295, 1397043304, 1397043297, 1397043296, 1397043299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12763428688049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:20:02.847355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/09/image_30112025_08_10_04_9674.jpg', '/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_14_9613.jpg', '/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_25_10645.jpg', '/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_34_9557.jpg', '/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_45_10621.jpg', '/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/09/image_30112025_08_10_04_9674.jpg
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_14_9613.jpg
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_25_10645.jpg
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_34_9557.jpg
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_45_10621.jpg
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_10_55_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043308","1397043317","1397043310","1397043315","1397043309","1397043312"],"photo_ids_order":["1397043308","1397043309","1397043310","1397043312","1397043315","1397043317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed018443ec63d59ea3493f04554c8389.jpg","text":"TemporaryFile(/tmp/multipartBody7439832795236103796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e1aacbeb0b452d3e7ef485814893e16.jpg","text":"TemporaryFile(/tmp/multipartBody7176342948656087316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0055bd38376619f4de55c48af07330fa.jpg","text":"TemporaryFile(/tmp/multipartBody452508280336627664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2bd235fadc87b3c95013b3e10df77e2.jpg","text":"TemporaryFile(/tmp/multipartBody3265543030034835506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d5e05749f05591a156cdcdd54f87d53.jpg","text":"TemporaryFile(/tmp/multipartBody59844530961768780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2e7b7ffd7c7a613c581f03b010a5eff.jpg","text":"TemporaryFile(/tmp/multipartBody996548132506733226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494466159,"filename":"image_30112025_08_10_34_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043310","file1":"1397043309","file0":"1397043308","file4":"1397043315","file5":"1397043317","file3":"1397043312"},"map_files_photo_id_array":[{"photo_id":"1397043317","filename":"file5"},{"photo_id":"1397043310","filename":"file2"},{"photo_id":"1397043315","filename":"file4"},{"photo_id":"1397043309","filename":"file1"},{"photo_id":"1397043308","filename":"file0"},{"photo_id":"1397043312","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043308":["hashtag1","hashtag2"]},{"1397043317":["hashtag1","hashtag2"]},{"1397043310":["hashtag1","hashtag2"]},{"1397043315":["hashtag1","hashtag2"]},{"1397043309":["hashtag1","hashtag2"]},{"1397043312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043308, 1397043317, 1397043310, 1397043315, 1397043309, 1397043312)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.99281692504883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:21:03.456904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:21:12.758012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:21:22.707155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/10/image_30112025_08_11_04_9698.jpg', '/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_14_9721.jpg', '/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_25_10715.jpg', '/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_34_9693.jpg', '/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_44_9693.jpg', '/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_54_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/10/image_30112025_08_11_04_9698.jpg
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_14_9721.jpg
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_25_10715.jpg
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_34_9693.jpg
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_44_9693.jpg
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_11_54_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043340","1397043337","1397043334","1397043342","1397043339","1397043332"],"photo_ids_order":["1397043332","1397043334","1397043337","1397043339","1397043340","1397043342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40ef0a675cb38907396916759ff9dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody944663399243392090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3eb36e80fe3bef4a5c7b6cccf655900.jpg","text":"TemporaryFile(/tmp/multipartBody1030273900829284642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bd16b8fe3b14b5c80368d6a004cd055.jpg","text":"TemporaryFile(/tmp/multipartBody6045047100446640210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f21fd2ddcc7fca5e101e3164bb25ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody235504980498402394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_54_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f76f0980da765d30e385f206511af00a.jpg","text":"TemporaryFile(/tmp/multipartBody997819914752196607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a5bd86427a2ece4b5f2de56d2b5489a.jpg","text":"TemporaryFile(/tmp/multipartBody1542438977830887492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494543387,"filename":"image_30112025_08_11_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043337","file1":"1397043334","file0":"1397043332","file4":"1397043340","file5":"1397043342","file3":"1397043339"},"map_files_photo_id_array":[{"photo_id":"1397043342","filename":"file5"},{"photo_id":"1397043337","filename":"file2"},{"photo_id":"1397043340","filename":"file4"},{"photo_id":"1397043334","filename":"file1"},{"photo_id":"1397043332","filename":"file0"},{"photo_id":"1397043339","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043340":["hashtag1","hashtag2"]},{"1397043337":["hashtag1","hashtag2"]},{"1397043334":["hashtag1","hashtag2"]},{"1397043342":["hashtag1","hashtag2"]},{"1397043339":["hashtag1","hashtag2"]},{"1397043332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043340, 1397043337, 1397043334, 1397043342, 1397043339, 1397043332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29190921783447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:22:02.484711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/11/image_30112025_08_12_05_10571.jpg', '/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_14_9702.jpg', '/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_24_9923.jpg', '/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_35_10725.jpg', '/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_45_9687.jpg', '/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_54_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/11/image_30112025_08_12_05_10571.jpg
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_14_9702.jpg
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_24_9923.jpg
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_35_10725.jpg
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_45_9687.jpg
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_12_54_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043349","1397043343","1397043352","1397043346","1397043345","1397043347"],"photo_ids_order":["1397043343","1397043345","1397043346","1397043347","1397043349","1397043352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf8ffcb9fb6c699f1ea42bb11268793f.jpg","text":"TemporaryFile(/tmp/multipartBody6359041649991002568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34ef082f583db2cef6a70ffb5552f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody2199021908290669980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f79d3f308081a45b3eb7f9f8c0ad956a.jpg","text":"TemporaryFile(/tmp/multipartBody6668310284838975520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_54_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e81386e8ea205f7b5d7478ceaec22e55.jpg","text":"TemporaryFile(/tmp/multipartBody9011114048838085293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_24_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cd0a81ff7418fa7654befb8873be3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8993022222148991419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f703bfc84ffc683bc5e11929af3f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody3922016048792147636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494583210,"filename":"image_30112025_08_12_35_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043346","file1":"1397043345","file0":"1397043343","file4":"1397043349","file5":"1397043352","file3":"1397043347"},"map_files_photo_id_array":[{"photo_id":"1397043352","filename":"file5"},{"photo_id":"1397043346","filename":"file2"},{"photo_id":"1397043349","filename":"file4"},{"photo_id":"1397043345","filename":"file1"},{"photo_id":"1397043343","filename":"file0"},{"photo_id":"1397043347","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043349":["hashtag1","hashtag2"]},{"1397043343":["hashtag1","hashtag2"]},{"1397043352":["hashtag1","hashtag2"]},{"1397043346":["hashtag1","hashtag2"]},{"1397043345":["hashtag1","hashtag2"]},{"1397043347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043349, 1397043343, 1397043352, 1397043346, 1397043345, 1397043347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01400375366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:22:42.064142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/25/image_31102025_12_25_03_2650.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_06_2980.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_09_3718.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_12_2735.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_15_2716.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_21_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_03_2650.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_06_2980.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_09_3718.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_12_2735.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_15_2716.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_21_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":["1397043361","1397043358","1397043363","1397043360","1397043362","1397043359"],"photo_ids_order":["1397043358","1397043359","1397043360","1397043361","1397043362","1397043363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/822944f7edc67750e53b0fae1ef81587.jpg","text":"TemporaryFile(/tmp/multipartBody1186344339458762057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_12_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/30/dc15d9d152035034d1ad568293655402.jpg","text":"TemporaryFile(/tmp/multipartBody7535547010605430922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_03_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef1a7db79324d31749c0da4be7c5f0e7.jpg","text":"TemporaryFile(/tmp/multipartBody8893864786444740656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_21_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/30/d930820db2396230d63b1d2f2941a06c.jpg","text":"TemporaryFile(/tmp/multipartBody2054640278866990267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_09_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/30/cdb106b127e9028bd106dd5476e487f9.jpg","text":"TemporaryFile(/tmp/multipartBody7534764636379879619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_15_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d39b123fa37d690f3a6a713447630d8.jpg","text":"TemporaryFile(/tmp/multipartBody9170040869338979931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494622801,"filename":"image_31102025_12_25_06_2980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043360","file1":"1397043359","file0":"1397043358","file4":"1397043362","file5":"1397043363","file3":"1397043361"},"map_files_photo_id_array":[{"photo_id":"1397043363","filename":"file5"},{"photo_id":"1397043360","filename":"file2"},{"photo_id":"1397043362","filename":"file4"},{"photo_id":"1397043359","filename":"file1"},{"photo_id":"1397043358","filename":"file0"},{"photo_id":"1397043361","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043361":["hashtag1","hashtag2"]},{"1397043358":["hashtag1","hashtag2"]},{"1397043363":["hashtag1","hashtag2"]},{"1397043360":["hashtag1","hashtag2"]},{"1397043362":["hashtag1","hashtag2"]},{"1397043359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043361, 1397043358, 1397043363, 1397043360, 1397043362, 1397043359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14862513542175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:23:22.288146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/12/image_30112025_08_13_05_10678.jpg', '/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_14_9593.jpg', '/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_24_9733.jpg', '/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_35_10701.jpg', '/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_45_9699.jpg', '/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/12/image_30112025_08_13_05_10678.jpg
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_14_9593.jpg
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_24_9733.jpg
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_35_10701.jpg
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_45_9699.jpg
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_13_54_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043373","1397043379","1397043370","1397043366","1397043375","1397043377"],"photo_ids_order":["1397043366","1397043370","1397043373","1397043375","1397043377","1397043379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/687f4b52bcce51df9cc06037390b2b57.jpg","text":"TemporaryFile(/tmp/multipartBody8340872108204647534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e195e2f201d8785e9f869eda467f25f3.jpg","text":"TemporaryFile(/tmp/multipartBody4679749530307558290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c30aeea6f78d208c2b6fdade95b7265.jpg","text":"TemporaryFile(/tmp/multipartBody7695398228512868408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/795ce9c9bf5117a586eae93226907d15.jpg","text":"TemporaryFile(/tmp/multipartBody2459568698827890257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67895ed0909a4866ed07d948ee8b7815.jpg","text":"TemporaryFile(/tmp/multipartBody4674801120188930968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_35_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b1923b496a35b9e6caa10d84d389423.jpg","text":"TemporaryFile(/tmp/multipartBody1371046897695728211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494662953,"filename":"image_30112025_08_13_45_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043373","file1":"1397043370","file0":"1397043366","file4":"1397043377","file5":"1397043379","file3":"1397043375"},"map_files_photo_id_array":[{"photo_id":"1397043379","filename":"file5"},{"photo_id":"1397043373","filename":"file2"},{"photo_id":"1397043377","filename":"file4"},{"photo_id":"1397043370","filename":"file1"},{"photo_id":"1397043366","filename":"file0"},{"photo_id":"1397043375","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043373":["hashtag1","hashtag2"]},{"1397043379":["hashtag1","hashtag2"]},{"1397043370":["hashtag1","hashtag2"]},{"1397043366":["hashtag1","hashtag2"]},{"1397043375":["hashtag1","hashtag2"]},{"1397043377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043373, 1397043379, 1397043370, 1397043366, 1397043375, 1397043377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.489699840545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:24:02.985389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/13/image_30112025_08_14_05_10685.jpg', '/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_15_9678.jpg', '/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_24_9833.jpg', '/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_35_10564.jpg', '/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_45_9619.jpg', '/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_54_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/13/image_30112025_08_14_05_10685.jpg
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_15_9678.jpg
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_24_9833.jpg
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_35_10564.jpg
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_45_9619.jpg
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_14_54_9504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043391","1397043394","1397043396","1397043399","1397043393","1397043392"],"photo_ids_order":["1397043391","1397043392","1397043393","1397043394","1397043396","1397043399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5219bb6ebe0893f8e5a54bbee6f8940a.jpg","text":"TemporaryFile(/tmp/multipartBody2519076387646689244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e22a8ee537b2396b7b4fbc3425bf7ed7.jpg","text":"TemporaryFile(/tmp/multipartBody93450196391623172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_35_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a1f92fcaa12321cc2bef42ffd6c7024.jpg","text":"TemporaryFile(/tmp/multipartBody7345752333577845358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1d043d5c813246b013b276e0b78e4d4.jpg","text":"TemporaryFile(/tmp/multipartBody6703807388907251241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_54_9504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ceb798c07045964667b7949707a9a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8905219878163274049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f41087772fbbec01bc6aa072cb9e599.jpg","text":"TemporaryFile(/tmp/multipartBody843427399367483653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494703703,"filename":"image_30112025_08_14_15_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043393","file1":"1397043392","file0":"1397043391","file4":"1397043396","file5":"1397043399","file3":"1397043394"},"map_files_photo_id_array":[{"photo_id":"1397043399","filename":"file5"},{"photo_id":"1397043393","filename":"file2"},{"photo_id":"1397043396","filename":"file4"},{"photo_id":"1397043392","filename":"file1"},{"photo_id":"1397043391","filename":"file0"},{"photo_id":"1397043394","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043391":["hashtag1","hashtag2"]},{"1397043394":["hashtag1","hashtag2"]},{"1397043396":["hashtag1","hashtag2"]},{"1397043399":["hashtag1","hashtag2"]},{"1397043393":["hashtag1","hashtag2"]},{"1397043392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043391, 1397043394, 1397043396, 1397043399, 1397043393, 1397043392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420236110687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:24:42.488974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/25/image_31102025_12_25_24_2684.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_27_3653.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_30_2670.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_33_2612.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_36_3767.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_39_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_24_2684.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_27_3653.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_30_2670.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_33_2612.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_36_3767.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_39_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043413","1397043407","1397043412","1397043409","1397043411","1397043405"],"photo_ids_order":["1397043405","1397043407","1397043409","1397043411","1397043412","1397043413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d488a0aa6033ddf04c8af4c4a3cbfd11.jpg","text":"TemporaryFile(/tmp/multipartBody5480439780123974266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_39_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3be0926dd11ef90aa956f88a497dcb54.jpg","text":"TemporaryFile(/tmp/multipartBody3946911737798625097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_27_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cd0f610ae692b7af6af0b6add2f49c1.jpg","text":"TemporaryFile(/tmp/multipartBody5417608134820075498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_36_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/30/95ba907d646f8e9caa04f86d8b57e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4770661786015923728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_30_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/30/5c9b23e639b8e823d4080689604d85d8.jpg","text":"TemporaryFile(/tmp/multipartBody5840430833162593401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_33_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/30/bc01b32a5a916c5f65e6c588522cb9a2.jpg","text":"TemporaryFile(/tmp/multipartBody5119524882129600430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494743326,"filename":"image_31102025_12_25_24_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043409","file1":"1397043407","file0":"1397043405","file4":"1397043412","file5":"1397043413","file3":"1397043411"},"map_files_photo_id_array":[{"photo_id":"1397043413","filename":"file5"},{"photo_id":"1397043409","filename":"file2"},{"photo_id":"1397043412","filename":"file4"},{"photo_id":"1397043407","filename":"file1"},{"photo_id":"1397043405","filename":"file0"},{"photo_id":"1397043411","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043413":["hashtag1","hashtag2"]},{"1397043407":["hashtag1","hashtag2"]},{"1397043412":["hashtag1","hashtag2"]},{"1397043409":["hashtag1","hashtag2"]},{"1397043411":["hashtag1","hashtag2"]},{"1397043405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043413, 1397043407, 1397043412, 1397043409, 1397043411, 1397043405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.385775566101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:25:22.753426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/14/image_30112025_08_15_05_10791.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_15_9834.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_25_9854.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_34_9806.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_44_9947.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_54_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_15_05_10791.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_15_9834.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_25_9854.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_34_9806.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_44_9947.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_54_9853.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6219792366027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:25:32.732015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_31_2956.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_34_3653.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_40_2710.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_43_3660.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_46_2613.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_49_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_31_2956.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_34_3653.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_40_2710.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_43_3660.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_46_2613.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_49_2597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043434","1397043428","1397043436","1397043424","1397043432","1397043435"],"photo_ids_order":["1397043424","1397043428","1397043432","1397043434","1397043435","1397043436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dcea126f3f6536d8682f580f67dc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2934245749404238174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_43_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b706281e51319ffc87b931b944c42bc.jpg","text":"TemporaryFile(/tmp/multipartBody1675367100138403132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_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/30/babe53c7df236d7ae2c2ea5c59f9b257.jpg","text":"TemporaryFile(/tmp/multipartBody7444017097602350543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_49_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c619bb21378c1eec28dba0095c0c7d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1370060505717103944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_31_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/30/789cc537e87d8e496eb16a9b4723359e.jpg","text":"TemporaryFile(/tmp/multipartBody2863039158639784080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_40_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f947b35e289086f87ea7eac9ee9d432.jpg","text":"TemporaryFile(/tmp/multipartBody8411032417510703432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494794741,"filename":"image_25112025_20_04_46_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043432","file1":"1397043428","file0":"1397043424","file4":"1397043435","file5":"1397043436","file3":"1397043434"},"map_files_photo_id_array":[{"photo_id":"1397043436","filename":"file5"},{"photo_id":"1397043432","filename":"file2"},{"photo_id":"1397043435","filename":"file4"},{"photo_id":"1397043428","filename":"file1"},{"photo_id":"1397043424","filename":"file0"},{"photo_id":"1397043434","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043434":["hashtag1","hashtag2"]},{"1397043428":["hashtag1","hashtag2"]},{"1397043436":["hashtag1","hashtag2"]},{"1397043424":["hashtag1","hashtag2"]},{"1397043432":["hashtag1","hashtag2"]},{"1397043435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043434, 1397043428, 1397043436, 1397043424, 1397043432, 1397043435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32322597503662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:26:11.900593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_52_3586.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_55_2738.jpg', '/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_59_3584.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_02_3425.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_04_1663.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_12_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_52_3586.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_55_2738.jpg
/home/pi/Desktop/images/25112025/20/04/image_25112025_20_04_59_3584.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_02_3425.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_04_1663.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_12_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043450","1397043444","1397043447","1397043441","1397043438","1397043437"],"photo_ids_order":["1397043437","1397043438","1397043441","1397043444","1397043447","1397043450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15c21ea3b51fbbeceb14019194be292c.jpg","text":"TemporaryFile(/tmp/multipartBody6563054821559780278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_05_12_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/30/ae32799deffaf38f411d98353157414d.jpg","text":"TemporaryFile(/tmp/multipartBody1739063941236534180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_05_02_3425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fd99cba6c070f12486c2aef2e480ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2623512913917197799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_05_04_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/30/7ac46e0f7baa32537196b4c6167dc59c.jpg","text":"TemporaryFile(/tmp/multipartBody8859620932022206045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_04_59_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/30/91518c9c3f9fbd0a6e1dd9c272167c88.jpg","text":"TemporaryFile(/tmp/multipartBody3111182065389079916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_04_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/30/63788b132c0ccb12f3b78fecbed8983e.jpg","text":"TemporaryFile(/tmp/multipartBody4167130560412343042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494833797,"filename":"image_25112025_20_04_52_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043441","file1":"1397043438","file0":"1397043437","file4":"1397043447","file5":"1397043450","file3":"1397043444"},"map_files_photo_id_array":[{"photo_id":"1397043450","filename":"file5"},{"photo_id":"1397043441","filename":"file2"},{"photo_id":"1397043447","filename":"file4"},{"photo_id":"1397043438","filename":"file1"},{"photo_id":"1397043437","filename":"file0"},{"photo_id":"1397043444","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043450":["hashtag1","hashtag2"]},{"1397043444":["hashtag1","hashtag2"]},{"1397043447":["hashtag1","hashtag2"]},{"1397043441":["hashtag1","hashtag2"]},{"1397043438":["hashtag1","hashtag2"]},{"1397043437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043450, 1397043444, 1397043447, 1397043441, 1397043438, 1397043437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21022009849548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:27:02.767399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/14/image_30112025_08_15_05_10791.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_15_9834.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_25_9854.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_34_9806.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_44_9947.jpg', '/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_54_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/14/image_30112025_08_15_05_10791.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_15_9834.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_25_9854.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_34_9806.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_44_9947.jpg
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_15_54_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043466","1397043469","1397043465","1397043473","1397043476","1397043467"],"photo_ids_order":["1397043465","1397043466","1397043467","1397043469","1397043473","1397043476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d250b368758b8689a36bed502bde1010.jpg","text":"TemporaryFile(/tmp/multipartBody8572669766220745030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_15_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/289a5dd3a78e02fefe32e9cade787470.jpg","text":"TemporaryFile(/tmp/multipartBody1314602782946264894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c63b0aa08dfa6b0d6b717fb04b210b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3465315054210746068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_05_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1373e2d3ddc5bf63a86d822117782d47.jpg","text":"TemporaryFile(/tmp/multipartBody8865432818082467821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_44_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a826aab8fcaf71afe459b36420c8be65.jpg","text":"TemporaryFile(/tmp/multipartBody4227014722209890357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_54_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d718f9392a9cf30bc9225dd46d1b86e.jpg","text":"TemporaryFile(/tmp/multipartBody5866855328716431986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494887836,"filename":"image_30112025_08_15_25_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043467","file1":"1397043466","file0":"1397043465","file4":"1397043473","file5":"1397043476","file3":"1397043469"},"map_files_photo_id_array":[{"photo_id":"1397043476","filename":"file5"},{"photo_id":"1397043467","filename":"file2"},{"photo_id":"1397043473","filename":"file4"},{"photo_id":"1397043466","filename":"file1"},{"photo_id":"1397043465","filename":"file0"},{"photo_id":"1397043469","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043466":["hashtag1","hashtag2"]},{"1397043469":["hashtag1","hashtag2"]},{"1397043465":["hashtag1","hashtag2"]},{"1397043473":["hashtag1","hashtag2"]},{"1397043476":["hashtag1","hashtag2"]},{"1397043467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043466, 1397043469, 1397043465, 1397043473, 1397043476, 1397043467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.617658376693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:28:02.790055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:28:12.290641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_16_1620.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_19_3914.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_25_2661.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_28_2681.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_31_3582.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_40_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_16_1620.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_19_3914.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_25_2661.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_28_2681.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_31_3582.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_40_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043490","1397043480","1397043492","1397043488","1397043482","1397043485"],"photo_ids_order":["1397043480","1397043482","1397043485","1397043488","1397043490","1397043492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ac058be4301d408afe5375aab09858b.jpg","text":"TemporaryFile(/tmp/multipartBody4366307960673295907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_31_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3b586a6b8e88aaa940cf85d9f3d97ec.jpg","text":"TemporaryFile(/tmp/multipartBody8335368220179188722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_16_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/30/21e29a6fb219317a0cb24faf12cd4725.jpg","text":"TemporaryFile(/tmp/multipartBody518840956714442191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_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/30/e59d8d962a828733e581cdb7881975c7.jpg","text":"TemporaryFile(/tmp/multipartBody1265312777686968948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_28_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/30/5b741580ee18af8feed8e32f890a56db.jpg","text":"TemporaryFile(/tmp/multipartBody3605504722086076911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_19_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/30/2ce61d54bde4378083735b0e3ce9422d.jpg","text":"TemporaryFile(/tmp/multipartBody6331356562696644575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764494954213,"filename":"image_25112025_20_05_25_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043485","file1":"1397043482","file0":"1397043480","file4":"1397043490","file5":"1397043492","file3":"1397043488"},"map_files_photo_id_array":[{"photo_id":"1397043492","filename":"file5"},{"photo_id":"1397043485","filename":"file2"},{"photo_id":"1397043490","filename":"file4"},{"photo_id":"1397043482","filename":"file1"},{"photo_id":"1397043480","filename":"file0"},{"photo_id":"1397043488","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043490":["hashtag1","hashtag2"]},{"1397043480":["hashtag1","hashtag2"]},{"1397043492":["hashtag1","hashtag2"]},{"1397043488":["hashtag1","hashtag2"]},{"1397043482":["hashtag1","hashtag2"]},{"1397043485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043490, 1397043480, 1397043492, 1397043488, 1397043482, 1397043485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06180238723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:29:03.607350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/15/image_30112025_08_16_05_10650.jpg', '/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_14_9572.jpg', '/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_24_9617.jpg', '/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_35_10553.jpg', '/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_44_9827.jpg', '/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/15/image_30112025_08_16_05_10650.jpg
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_14_9572.jpg
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_24_9617.jpg
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_35_10553.jpg
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_44_9827.jpg
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_16_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043499","1397043502","1397043505","1397043495","1397043494","1397043497"],"photo_ids_order":["1397043494","1397043495","1397043497","1397043499","1397043502","1397043505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7552c1e971dae3453f4014456a9525cd.jpg","text":"TemporaryFile(/tmp/multipartBody3107647326107070157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_35_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89d12402273cddb1cffe4fc620336936.jpg","text":"TemporaryFile(/tmp/multipartBody7757374381862669260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87d5bf4eebe5e92863315d7976d8a24f.jpg","text":"TemporaryFile(/tmp/multipartBody8438111976664040266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a636f1e000a9cf6bf71c85107fc7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody5354325039197441310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_14_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e5b4783bf052278165226366c672489.jpg","text":"TemporaryFile(/tmp/multipartBody4530860276651651913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f54e1ef6482bd2def489cd16390f5052.jpg","text":"TemporaryFile(/tmp/multipartBody2147833342318330769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495004401,"filename":"image_30112025_08_16_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043497","file1":"1397043495","file0":"1397043494","file4":"1397043502","file5":"1397043505","file3":"1397043499"},"map_files_photo_id_array":[{"photo_id":"1397043505","filename":"file5"},{"photo_id":"1397043497","filename":"file2"},{"photo_id":"1397043502","filename":"file4"},{"photo_id":"1397043495","filename":"file1"},{"photo_id":"1397043494","filename":"file0"},{"photo_id":"1397043499","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043499":["hashtag1","hashtag2"]},{"1397043502":["hashtag1","hashtag2"]},{"1397043505":["hashtag1","hashtag2"]},{"1397043495":["hashtag1","hashtag2"]},{"1397043494":["hashtag1","hashtag2"]},{"1397043497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043499, 1397043502, 1397043505, 1397043495, 1397043494, 1397043497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75767111778259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-30 10:30:15.256250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/16/image_30112025_08_17_05_9744.jpg', '/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_14_9669.jpg', '/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_25_10550.jpg', '/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_35_9615.jpg', '/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_44_9621.jpg', '/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_55_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/16/image_30112025_08_17_05_9744.jpg
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_14_9669.jpg
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_25_10550.jpg
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_35_9615.jpg
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_44_9621.jpg
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_17_55_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043533","1397043527","1397043521","1397043535","1397043530","1397043524"],"photo_ids_order":["1397043521","1397043524","1397043527","1397043530","1397043533","1397043535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81cd0d3f04c353ba9a6d480032ed8a60.jpg","text":"TemporaryFile(/tmp/multipartBody1019512874057755934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dd4c91a5d2a15be8b127d9f49bf6b17.jpg","text":"TemporaryFile(/tmp/multipartBody959719707169921552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_25_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85a58720d7b41a7b5bb82bd1d946d497.jpg","text":"TemporaryFile(/tmp/multipartBody6907254390828185845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/995212256f5276d273be96ea91940297.jpg","text":"TemporaryFile(/tmp/multipartBody3350601600052283352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5263e7b62c52b554b748e3436b679508.jpg","text":"TemporaryFile(/tmp/multipartBody7825358259024775238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39cf0d4404eec06e3aa77ac4b929c272.jpg","text":"TemporaryFile(/tmp/multipartBody2563802579394392424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495078901,"filename":"image_30112025_08_17_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043527","file1":"1397043524","file0":"1397043521","file4":"1397043533","file5":"1397043535","file3":"1397043530"},"map_files_photo_id_array":[{"photo_id":"1397043535","filename":"file5"},{"photo_id":"1397043527","filename":"file2"},{"photo_id":"1397043533","filename":"file4"},{"photo_id":"1397043524","filename":"file1"},{"photo_id":"1397043521","filename":"file0"},{"photo_id":"1397043530","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043533":["hashtag1","hashtag2"]},{"1397043527":["hashtag1","hashtag2"]},{"1397043521":["hashtag1","hashtag2"]},{"1397043535":["hashtag1","hashtag2"]},{"1397043530":["hashtag1","hashtag2"]},{"1397043524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043533, 1397043527, 1397043521, 1397043535, 1397043530, 1397043524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48214030265808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:31:05.708538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/17/image_30112025_08_18_04_9647.jpg', '/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_14_9896.jpg', '/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_24_9728.jpg', '/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_35_10616.jpg', '/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_44_9693.jpg', '/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_55_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/17/image_30112025_08_18_04_9647.jpg
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_14_9896.jpg
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_24_9728.jpg
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_35_10616.jpg
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_44_9693.jpg
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_18_55_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043538","1397043543","1397043540","1397043537","1397043536","1397043545"],"photo_ids_order":["1397043536","1397043537","1397043538","1397043540","1397043543","1397043545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03a5417d118eb4d62b5db4692c05dfca.jpg","text":"TemporaryFile(/tmp/multipartBody1802493785496565317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19192b4ae2e3f62945938f962ddbf11a.jpg","text":"TemporaryFile(/tmp/multipartBody9021630213896968115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdd193ad5f50de6e8565aa8404b451c0.jpg","text":"TemporaryFile(/tmp/multipartBody8765503051451393151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/312d6cc2ea5d1a0cd125b2067acbcc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8970056526202285302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_14_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/30/a770a4776d2e5e2f2b015870e49b99bd.jpg","text":"TemporaryFile(/tmp/multipartBody7794291142460833903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d92e3bda0082dd50c2dd6c324f2431df.jpg","text":"TemporaryFile(/tmp/multipartBody2274316188909865689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495128379,"filename":"image_30112025_08_18_55_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043538","file1":"1397043537","file0":"1397043536","file4":"1397043543","file5":"1397043545","file3":"1397043540"},"map_files_photo_id_array":[{"photo_id":"1397043545","filename":"file5"},{"photo_id":"1397043538","filename":"file2"},{"photo_id":"1397043543","filename":"file4"},{"photo_id":"1397043537","filename":"file1"},{"photo_id":"1397043536","filename":"file0"},{"photo_id":"1397043540","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043538":["hashtag1","hashtag2"]},{"1397043543":["hashtag1","hashtag2"]},{"1397043540":["hashtag1","hashtag2"]},{"1397043537":["hashtag1","hashtag2"]},{"1397043536":["hashtag1","hashtag2"]},{"1397043545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043538, 1397043543, 1397043540, 1397043537, 1397043536, 1397043545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69678449630737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:31:45.251223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/25/image_31102025_12_25_48_3673.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_51_2773.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_54_2783.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_57_2701.jpg', '/home/pi/Desktop/images/31102025/12/25/image_31102025_12_26_00_3562.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_03_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/12/25/image_31102025_12_25_48_3673.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_51_2773.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_54_2783.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_25_57_2701.jpg
/home/pi/Desktop/images/31102025/12/25/image_31102025_12_26_00_3562.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_03_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":["1397043548","1397043553","1397043550","1397043552","1397043554","1397043551"],"photo_ids_order":["1397043548","1397043550","1397043551","1397043552","1397043553","1397043554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4319cb6b57b613897e53d7ecf3719eec.jpg","text":"TemporaryFile(/tmp/multipartBody731193153331564237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_25_48_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59ad3201bc0eb8246376390fb3af2fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6004392676403378989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_26_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/30/9e4f9fae1e8a96f98a5321338dcbf320.jpg","text":"TemporaryFile(/tmp/multipartBody202986883883259167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_25_51_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b020a98f0885f0cd24ad0b6c15390f53.jpg","text":"TemporaryFile(/tmp/multipartBody7301663411368985230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_25_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/30/b1cb1838d90b44699af3398a1661dcd6.jpg","text":"TemporaryFile(/tmp/multipartBody1261092360710775192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_26_03_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/30/66ff814f5512b07676b5e3a71aa7af90.jpg","text":"TemporaryFile(/tmp/multipartBody126764633045301429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495166119,"filename":"image_31102025_12_25_54_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043551","file1":"1397043550","file0":"1397043548","file4":"1397043553","file5":"1397043554","file3":"1397043552"},"map_files_photo_id_array":[{"photo_id":"1397043554","filename":"file5"},{"photo_id":"1397043551","filename":"file2"},{"photo_id":"1397043553","filename":"file4"},{"photo_id":"1397043550","filename":"file1"},{"photo_id":"1397043548","filename":"file0"},{"photo_id":"1397043552","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043548":["hashtag1","hashtag2"]},{"1397043553":["hashtag1","hashtag2"]},{"1397043550":["hashtag1","hashtag2"]},{"1397043552":["hashtag1","hashtag2"]},{"1397043554":["hashtag1","hashtag2"]},{"1397043551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043548, 1397043553, 1397043550, 1397043552, 1397043554, 1397043551)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.65317940711975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:32:32.470621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_43_2581.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_46_3647.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_49_2624.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_52_2520.jpg', '/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_55_3554.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_04_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_43_2581.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_46_3647.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_49_2624.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_52_2520.jpg
/home/pi/Desktop/images/25112025/20/05/image_25112025_20_05_55_3554.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_04_2875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043565","1397043559","1397043562","1397043561","1397043564","1397043566"],"photo_ids_order":["1397043559","1397043561","1397043562","1397043564","1397043565","1397043566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81ef475668c3aff8c2578f570c2cd3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6736143044274529468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_05_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/30/4bced9457377808eb26a099d7886fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody879398664344328488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_05_43_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/599b7d3343a99e06deb4c472e72880cf.jpg","text":"TemporaryFile(/tmp/multipartBody1808293151851344111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_05_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7fa1493d9c60fd87707b8eb396a53aa.jpg","text":"TemporaryFile(/tmp/multipartBody3227624630149607238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_05_46_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/30/923c4eb6efc069c3023dd9d861058de7.jpg","text":"TemporaryFile(/tmp/multipartBody5445257554096280268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_05_52_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/30/61f15eadb1f0e26401044905a908dfff.jpg","text":"TemporaryFile(/tmp/multipartBody4014545832086866522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495214456,"filename":"image_25112025_20_06_04_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043562","file1":"1397043561","file0":"1397043559","file4":"1397043565","file5":"1397043566","file3":"1397043564"},"map_files_photo_id_array":[{"photo_id":"1397043566","filename":"file5"},{"photo_id":"1397043562","filename":"file2"},{"photo_id":"1397043565","filename":"file4"},{"photo_id":"1397043561","filename":"file1"},{"photo_id":"1397043559","filename":"file0"},{"photo_id":"1397043564","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043565":["hashtag1","hashtag2"]},{"1397043559":["hashtag1","hashtag2"]},{"1397043562":["hashtag1","hashtag2"]},{"1397043561":["hashtag1","hashtag2"]},{"1397043564":["hashtag1","hashtag2"]},{"1397043566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043565, 1397043559, 1397043562, 1397043561, 1397043564, 1397043566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7580931186676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:33:12.557186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_07_2766.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_10_2690.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_13_3318.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_16_2640.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_19_3217.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_22_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_07_2766.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_10_2690.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_13_3318.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_16_2640.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_19_3217.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_22_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043577","1397043571","1397043573","1397043567","1397043575","1397043569"],"photo_ids_order":["1397043567","1397043569","1397043571","1397043573","1397043575","1397043577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ebe065c14c3e20c3bad090ff6bb779f.jpg","text":"TemporaryFile(/tmp/multipartBody5237244374369040209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_22_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/30/ba70136b145aa33028b0e178b22e08ee.jpg","text":"TemporaryFile(/tmp/multipartBody5932922597555446602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_13_3318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aef3c7516553a84f17cd662cc075fac.jpg","text":"TemporaryFile(/tmp/multipartBody785978052961187252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_16_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/004b8ef6858d6c94567b1231be36e49b.jpg","text":"TemporaryFile(/tmp/multipartBody2699109364432419369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_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/30/5e4709feb18151e5fbc02b159738addd.jpg","text":"TemporaryFile(/tmp/multipartBody3737710851184788909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_19_3217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2669a4f67ea73834965b79c153b4fcdc.jpg","text":"TemporaryFile(/tmp/multipartBody530080295149443215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495254450,"filename":"image_25112025_20_06_10_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043571","file1":"1397043569","file0":"1397043567","file4":"1397043575","file5":"1397043577","file3":"1397043573"},"map_files_photo_id_array":[{"photo_id":"1397043577","filename":"file5"},{"photo_id":"1397043571","filename":"file2"},{"photo_id":"1397043575","filename":"file4"},{"photo_id":"1397043569","filename":"file1"},{"photo_id":"1397043567","filename":"file0"},{"photo_id":"1397043573","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043577":["hashtag1","hashtag2"]},{"1397043571":["hashtag1","hashtag2"]},{"1397043573":["hashtag1","hashtag2"]},{"1397043567":["hashtag1","hashtag2"]},{"1397043575":["hashtag1","hashtag2"]},{"1397043569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043577, 1397043571, 1397043573, 1397043567, 1397043575, 1397043569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68902087211609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:34:02.334050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/18/image_30112025_08_19_05_9628.jpg', '/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_14_9574.jpg', '/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_24_9833.jpg', '/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_35_10727.jpg', '/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_45_9855.jpg', '/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_54_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/18/image_30112025_08_19_05_9628.jpg
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_14_9574.jpg
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_24_9833.jpg
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_35_10727.jpg
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_45_9855.jpg
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_19_54_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043586","1397043580","1397043582","1397043579","1397043581","1397043584"],"photo_ids_order":["1397043579","1397043580","1397043581","1397043582","1397043584","1397043586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7db1a030e86e99d7fc69f69fff835810.jpg","text":"TemporaryFile(/tmp/multipartBody5560177588445245626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f93ceb2be802f649e5af6fc2eba43a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2302327906279543065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa9a45c5da0c6b984b26b519173c10a8.jpg","text":"TemporaryFile(/tmp/multipartBody6383602892847607242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a6fe7cfdca46ca83ac32d11237427fc.jpg","text":"TemporaryFile(/tmp/multipartBody8034625480116429002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ff327c5504a539d899eee30666cc7ce.jpg","text":"TemporaryFile(/tmp/multipartBody575079039973836884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/587a93f785974c8b59864a1db67a478e.jpg","text":"TemporaryFile(/tmp/multipartBody3584588074306576981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495303030,"filename":"image_30112025_08_19_45_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043581","file1":"1397043580","file0":"1397043579","file4":"1397043584","file5":"1397043586","file3":"1397043582"},"map_files_photo_id_array":[{"photo_id":"1397043586","filename":"file5"},{"photo_id":"1397043581","filename":"file2"},{"photo_id":"1397043584","filename":"file4"},{"photo_id":"1397043580","filename":"file1"},{"photo_id":"1397043579","filename":"file0"},{"photo_id":"1397043582","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043586":["hashtag1","hashtag2"]},{"1397043580":["hashtag1","hashtag2"]},{"1397043582":["hashtag1","hashtag2"]},{"1397043579":["hashtag1","hashtag2"]},{"1397043581":["hashtag1","hashtag2"]},{"1397043584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043586, 1397043580, 1397043582, 1397043579, 1397043581, 1397043584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.448328495025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:34:41.872600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/26/image_31102025_12_26_06_2971.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_09_2696.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_15_2744.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_18_3527.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_21_2599.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_24_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_06_2971.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_09_2696.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_15_2744.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_18_3527.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_21_2599.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_24_2713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7790601253509521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:35:02.705229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/19/image_30112025_08_20_04_9724.jpg', '/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_15_10892.jpg', '/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_24_9602.jpg', '/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_34_9677.jpg', '/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_45_10649.jpg', '/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/19/image_30112025_08_20_04_9724.jpg
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_15_10892.jpg
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_24_9602.jpg
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_34_9677.jpg
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_45_10649.jpg
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_20_54_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043598","1397043601","1397043604","1397043597","1397043599","1397043596"],"photo_ids_order":["1397043596","1397043597","1397043598","1397043599","1397043601","1397043604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29e5caf25b99e1bd92e5c8a0958d016f.jpg","text":"TemporaryFile(/tmp/multipartBody3222049980752414021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5db638c00599e2fc28367e9cb440daf2.jpg","text":"TemporaryFile(/tmp/multipartBody5661757886303002089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2529a10a17d083f537720a2e7a8d721a.jpg","text":"TemporaryFile(/tmp/multipartBody7600619084745710441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d51122157d09866d627ac78d3113be2.jpg","text":"TemporaryFile(/tmp/multipartBody2352019358056397759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_15_10892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d664c5a52a4e75e1c66998c2c6fe4c6.jpg","text":"TemporaryFile(/tmp/multipartBody584288987689278123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58ff8d8b647a5083206c155994295676.jpg","text":"TemporaryFile(/tmp/multipartBody7293015568914621909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495363461,"filename":"image_30112025_08_20_04_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043598","file1":"1397043597","file0":"1397043596","file4":"1397043601","file5":"1397043604","file3":"1397043599"},"map_files_photo_id_array":[{"photo_id":"1397043604","filename":"file5"},{"photo_id":"1397043598","filename":"file2"},{"photo_id":"1397043601","filename":"file4"},{"photo_id":"1397043597","filename":"file1"},{"photo_id":"1397043596","filename":"file0"},{"photo_id":"1397043599","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043598":["hashtag1","hashtag2"]},{"1397043601":["hashtag1","hashtag2"]},{"1397043604":["hashtag1","hashtag2"]},{"1397043597":["hashtag1","hashtag2"]},{"1397043599":["hashtag1","hashtag2"]},{"1397043596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043598, 1397043601, 1397043604, 1397043597, 1397043599, 1397043596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.292603969573975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:35:42.062715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/26/image_31102025_12_26_06_2971.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_09_2696.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_15_2744.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_18_3527.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_21_2599.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_24_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_06_2971.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_09_2696.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_15_2744.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_18_3527.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_21_2599.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_24_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":["1397043605","1397043608","1397043610","1397043612","1397043606","1397043609"],"photo_ids_order":["1397043605","1397043606","1397043608","1397043609","1397043610","1397043612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13967b5d9bab68e08f34579a727994b2.jpg","text":"TemporaryFile(/tmp/multipartBody5701867390828541050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_06_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/30/3d8a4b03dbb0b4eed4fdce1972c8576b.jpg","text":"TemporaryFile(/tmp/multipartBody5037783126929352816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_15_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/30/f578882613de60b47de43c0e68db73a3.jpg","text":"TemporaryFile(/tmp/multipartBody7848903635581032011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_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/30/085e45dea41573c1714134a4a25c5747.jpg","text":"TemporaryFile(/tmp/multipartBody9016166510305026013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_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/30/b299370db1d995ea5dec2c32982d10d2.jpg","text":"TemporaryFile(/tmp/multipartBody5860674282018438294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_09_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/30/618bbfd35ea2f30ebdf114a19c4bb83a.jpg","text":"TemporaryFile(/tmp/multipartBody2847457071622503327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495402759,"filename":"image_31102025_12_26_18_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043608","file1":"1397043606","file0":"1397043605","file4":"1397043610","file5":"1397043612","file3":"1397043609"},"map_files_photo_id_array":[{"photo_id":"1397043612","filename":"file5"},{"photo_id":"1397043608","filename":"file2"},{"photo_id":"1397043610","filename":"file4"},{"photo_id":"1397043606","filename":"file1"},{"photo_id":"1397043605","filename":"file0"},{"photo_id":"1397043609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043605":["hashtag1","hashtag2"]},{"1397043608":["hashtag1","hashtag2"]},{"1397043610":["hashtag1","hashtag2"]},{"1397043612":["hashtag1","hashtag2"]},{"1397043606":["hashtag1","hashtag2"]},{"1397043609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043605, 1397043608, 1397043610, 1397043612, 1397043606, 1397043609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38667869567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:36:22.304846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/20/image_30112025_08_21_04_9754.jpg', '/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_15_10621.jpg', '/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_25_9657.jpg', '/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_34_9645.jpg', '/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_45_10591.jpg', '/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_55_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/20/image_30112025_08_21_04_9754.jpg
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_15_10621.jpg
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_25_9657.jpg
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_34_9645.jpg
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_45_10591.jpg
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_21_55_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043620","1397043616","1397043619","1397043621","1397043618","1397043617"],"photo_ids_order":["1397043616","1397043617","1397043618","1397043619","1397043620","1397043621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec1b886b327eb3022a7abe17b327e05c.jpg","text":"TemporaryFile(/tmp/multipartBody7310261057130300984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/befbd5d6c2cf7d178e19a029a235c651.jpg","text":"TemporaryFile(/tmp/multipartBody6833401157083684570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9800b794196ecee54aff730f622d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody7196502859411855995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/759bb68d504e0dd3c9b13d33f72e826a.jpg","text":"TemporaryFile(/tmp/multipartBody7501935958790905949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_55_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62ba3bcdd6d523d4993ef819db29e16e.jpg","text":"TemporaryFile(/tmp/multipartBody7230212331560708728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c9a3f2c0d2c40afd99443a663a415c0.jpg","text":"TemporaryFile(/tmp/multipartBody7843526221173237936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495442978,"filename":"image_30112025_08_21_15_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043618","file1":"1397043617","file0":"1397043616","file4":"1397043620","file5":"1397043621","file3":"1397043619"},"map_files_photo_id_array":[{"photo_id":"1397043621","filename":"file5"},{"photo_id":"1397043618","filename":"file2"},{"photo_id":"1397043620","filename":"file4"},{"photo_id":"1397043617","filename":"file1"},{"photo_id":"1397043616","filename":"file0"},{"photo_id":"1397043619","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043620":["hashtag1","hashtag2"]},{"1397043616":["hashtag1","hashtag2"]},{"1397043619":["hashtag1","hashtag2"]},{"1397043621":["hashtag1","hashtag2"]},{"1397043618":["hashtag1","hashtag2"]},{"1397043617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043620, 1397043616, 1397043619, 1397043621, 1397043618, 1397043617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99385404586792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:37:03.165575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/21/image_30112025_08_22_04_9629.jpg', '/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_15_10612.jpg', '/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_25_9773.jpg', '/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_34_9565.jpg', '/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_45_10680.jpg', '/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_54_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/21/image_30112025_08_22_04_9629.jpg
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_15_10612.jpg
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_25_9773.jpg
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_34_9565.jpg
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_45_10680.jpg
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_22_54_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043631","1397043622","1397043625","1397043624","1397043627","1397043623"],"photo_ids_order":["1397043622","1397043623","1397043624","1397043625","1397043627","1397043631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b51ab04de69132ec8fa888593004db38.jpg","text":"TemporaryFile(/tmp/multipartBody8936535839865194950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_54_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2eaf01e0f29bb7d7d0ea47421c2f8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2814146316639804282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a14ac080590d4a1b07a5ae466ce6d898.jpg","text":"TemporaryFile(/tmp/multipartBody1473862814658678681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18e153543cafa672a43754caf94bf955.jpg","text":"TemporaryFile(/tmp/multipartBody8640528653127932624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f27d57315bbfb2c5245d9a75ac01dc4e.jpg","text":"TemporaryFile(/tmp/multipartBody166220278317694084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d914f7eb1f060564bf0568fe6dfe4031.jpg","text":"TemporaryFile(/tmp/multipartBody3529241182730588888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495483948,"filename":"image_30112025_08_22_15_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043624","file1":"1397043623","file0":"1397043622","file4":"1397043627","file5":"1397043631","file3":"1397043625"},"map_files_photo_id_array":[{"photo_id":"1397043631","filename":"file5"},{"photo_id":"1397043624","filename":"file2"},{"photo_id":"1397043627","filename":"file4"},{"photo_id":"1397043623","filename":"file1"},{"photo_id":"1397043622","filename":"file0"},{"photo_id":"1397043625","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043631":["hashtag1","hashtag2"]},{"1397043622":["hashtag1","hashtag2"]},{"1397043625":["hashtag1","hashtag2"]},{"1397043624":["hashtag1","hashtag2"]},{"1397043627":["hashtag1","hashtag2"]},{"1397043623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043631, 1397043622, 1397043625, 1397043624, 1397043627, 1397043623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03258228302002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:37:42.546315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/26/image_31102025_12_26_33_3692.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_42_2775.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_45_3644.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_48_2644.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_51_2824.jpg', '/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_57_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/12/26/image_31102025_12_26_33_3692.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_42_2775.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_45_3644.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_48_2644.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_51_2824.jpg
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_26_57_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":["1397043640","1397043637","1397043639","1397043641","1397043635","1397043638"],"photo_ids_order":["1397043635","1397043637","1397043638","1397043639","1397043640","1397043641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/012f13bec06290819b32422d23ed8aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5381881602070155508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_51_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/30/372884e97cfb507ca5b7c474fc33d412.jpg","text":"TemporaryFile(/tmp/multipartBody665873949553866745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_42_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/30/0c14cfa308973b444233eb09d9e9316a.jpg","text":"TemporaryFile(/tmp/multipartBody6691503787024082735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_48_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6be3a7d9a78522867cf196b582bf36b3.jpg","text":"TemporaryFile(/tmp/multipartBody4706066669064739460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_57_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3d632e4879d211b593755e2b9aa0971.jpg","text":"TemporaryFile(/tmp/multipartBody4849602542462544821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_33_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/30/d03da861de072a7bdf7d13b644858690.jpg","text":"TemporaryFile(/tmp/multipartBody3571688424512271050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495523428,"filename":"image_31102025_12_26_45_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043638","file1":"1397043637","file0":"1397043635","file4":"1397043640","file5":"1397043641","file3":"1397043639"},"map_files_photo_id_array":[{"photo_id":"1397043641","filename":"file5"},{"photo_id":"1397043638","filename":"file2"},{"photo_id":"1397043640","filename":"file4"},{"photo_id":"1397043637","filename":"file1"},{"photo_id":"1397043635","filename":"file0"},{"photo_id":"1397043639","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043640":["hashtag1","hashtag2"]},{"1397043637":["hashtag1","hashtag2"]},{"1397043639":["hashtag1","hashtag2"]},{"1397043641":["hashtag1","hashtag2"]},{"1397043635":["hashtag1","hashtag2"]},{"1397043638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043640, 1397043637, 1397043639, 1397043641, 1397043635, 1397043638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66477179527283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:38:22.721068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/22/image_30112025_08_23_04_9699.jpg', '/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_15_10746.jpg', '/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_25_9791.jpg', '/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_34_9651.jpg', '/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_44_9639.jpg', '/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_55_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/22/image_30112025_08_23_04_9699.jpg
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_15_10746.jpg
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_25_9791.jpg
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_34_9651.jpg
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_44_9639.jpg
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_23_55_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043652","1397043651","1397043645","1397043654","1397043648","1397043650"],"photo_ids_order":["1397043645","1397043648","1397043650","1397043651","1397043652","1397043654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7bdbe27575dcd0522931e0a86f19ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6272491929011108381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8b6a74de78e6225d30315880e4f617e.jpg","text":"TemporaryFile(/tmp/multipartBody6234649683284177319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b7e84ff8402f55f6ca7f3e8af1c3a81.jpg","text":"TemporaryFile(/tmp/multipartBody8149749443952223738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ae801134b636dab59e1d99f9ad77fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4884886901305078053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_55_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dffbb26d17eb192a0da52990623f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1840731348966041491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6164fa4e96b8c09374f7d9e8e8f23ff1.jpg","text":"TemporaryFile(/tmp/multipartBody9059826962398122855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495563391,"filename":"image_30112025_08_23_25_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043650","file1":"1397043648","file0":"1397043645","file4":"1397043652","file5":"1397043654","file3":"1397043651"},"map_files_photo_id_array":[{"photo_id":"1397043654","filename":"file5"},{"photo_id":"1397043650","filename":"file2"},{"photo_id":"1397043652","filename":"file4"},{"photo_id":"1397043648","filename":"file1"},{"photo_id":"1397043645","filename":"file0"},{"photo_id":"1397043651","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043652":["hashtag1","hashtag2"]},{"1397043651":["hashtag1","hashtag2"]},{"1397043645":["hashtag1","hashtag2"]},{"1397043654":["hashtag1","hashtag2"]},{"1397043648":["hashtag1","hashtag2"]},{"1397043650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043652, 1397043651, 1397043645, 1397043654, 1397043648, 1397043650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53504252433777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:39:02.880075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/23/image_30112025_08_24_04_9671.jpg', '/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_15_10354.jpg', '/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_25_9768.jpg', '/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_34_9712.jpg', '/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_44_9683.jpg', '/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_55_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/23/image_30112025_08_24_04_9671.jpg
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_15_10354.jpg
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_25_9768.jpg
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_34_9712.jpg
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_44_9683.jpg
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_24_55_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043658","1397043655","1397043660","1397043657","1397043662","1397043656"],"photo_ids_order":["1397043655","1397043656","1397043657","1397043658","1397043660","1397043662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/278bf4cd04114d92c430f855a79760be.jpg","text":"TemporaryFile(/tmp/multipartBody2481482743726237856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36a3bf761e1f0ff3dbe525e1dd14c9e5.jpg","text":"TemporaryFile(/tmp/multipartBody5693053652570244682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6049b263264c38d02ff6b28b69f04f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2402810951465015750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ae87c2602c2e108b8329fb212e94363.jpg","text":"TemporaryFile(/tmp/multipartBody4014814227049254645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_25_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfbe9140902c3257e2f2ebd5abc1534a.jpg","text":"TemporaryFile(/tmp/multipartBody7348341495877502028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_55_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20b19d01caeee88d216833855e931980.jpg","text":"TemporaryFile(/tmp/multipartBody4871615007101420571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495603672,"filename":"image_30112025_08_24_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043657","file1":"1397043656","file0":"1397043655","file4":"1397043660","file5":"1397043662","file3":"1397043658"},"map_files_photo_id_array":[{"photo_id":"1397043662","filename":"file5"},{"photo_id":"1397043657","filename":"file2"},{"photo_id":"1397043660","filename":"file4"},{"photo_id":"1397043656","filename":"file1"},{"photo_id":"1397043655","filename":"file0"},{"photo_id":"1397043658","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043658":["hashtag1","hashtag2"]},{"1397043655":["hashtag1","hashtag2"]},{"1397043660":["hashtag1","hashtag2"]},{"1397043657":["hashtag1","hashtag2"]},{"1397043662":["hashtag1","hashtag2"]},{"1397043656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043658, 1397043655, 1397043660, 1397043657, 1397043662, 1397043656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29366612434387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:39:41.920539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/26/image_31102025_12_27_00_2634.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_02_2787.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_06_3755.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_09_2648.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_15_3660.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_18_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/26/image_31102025_12_27_00_2634.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_02_2787.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_06_3755.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_09_2648.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_15_3660.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_18_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":["1397043670","1397043673","1397043672","1397043666","1397043671","1397043668"],"photo_ids_order":["1397043666","1397043668","1397043670","1397043671","1397043672","1397043673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f030f0d645cbf692359f0c4bd1d20386.jpg","text":"TemporaryFile(/tmp/multipartBody1418228697913304547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_06_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/30/0864a55084eeb537a330c2e56af7447a.jpg","text":"TemporaryFile(/tmp/multipartBody8554237943371302664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_18_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/30/dbf58cc36d08201b21fa1b2bc5e3034c.jpg","text":"TemporaryFile(/tmp/multipartBody6702286254075753959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_15_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2557846bd052e9063ea5b7ae517ecb0.jpg","text":"TemporaryFile(/tmp/multipartBody2556421301249356301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_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/30/e985d93ce620bfd46c3e50f42a17efad.jpg","text":"TemporaryFile(/tmp/multipartBody643726995280260207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_09_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c73553246a73c70cc0e571021ab75059.jpg","text":"TemporaryFile(/tmp/multipartBody1711126414206623729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495642852,"filename":"image_31102025_12_27_02_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043670","file1":"1397043668","file0":"1397043666","file4":"1397043672","file5":"1397043673","file3":"1397043671"},"map_files_photo_id_array":[{"photo_id":"1397043673","filename":"file5"},{"photo_id":"1397043670","filename":"file2"},{"photo_id":"1397043672","filename":"file4"},{"photo_id":"1397043668","filename":"file1"},{"photo_id":"1397043666","filename":"file0"},{"photo_id":"1397043671","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043670":["hashtag1","hashtag2"]},{"1397043673":["hashtag1","hashtag2"]},{"1397043672":["hashtag1","hashtag2"]},{"1397043666":["hashtag1","hashtag2"]},{"1397043671":["hashtag1","hashtag2"]},{"1397043668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043670, 1397043673, 1397043672, 1397043666, 1397043671, 1397043668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21220588684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:40:22.101792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/24/image_30112025_08_25_04_9561.jpg', '/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_14_9802.jpg', '/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_25_10562.jpg', '/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_34_9683.jpg', '/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_45_10543.jpg', '/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_55_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/24/image_30112025_08_25_04_9561.jpg
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_14_9802.jpg
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_25_10562.jpg
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_34_9683.jpg
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_45_10543.jpg
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_25_55_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043676","1397043679","1397043681","1397043678","1397043680","1397043677"],"photo_ids_order":["1397043676","1397043677","1397043678","1397043679","1397043680","1397043681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e98d4a78bd579f3c6ccf4be1830487.jpg","text":"TemporaryFile(/tmp/multipartBody5174750620488682556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f42e3520c62e591a97ad80a1596e0ded.jpg","text":"TemporaryFile(/tmp/multipartBody3993978328557227708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd751e918f2e3be39324fd88a9329ace.jpg","text":"TemporaryFile(/tmp/multipartBody3412927531688906944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/233c86913ec9f08bf918d3794074cbcd.jpg","text":"TemporaryFile(/tmp/multipartBody4598305298501669844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_25_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/feb8a18969b31cfedf84c06d587a7cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2672770615944106790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_45_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/144883e6f5833b91adcbe195ec27158d.jpg","text":"TemporaryFile(/tmp/multipartBody7420516193226023770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495682806,"filename":"image_30112025_08_25_14_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043678","file1":"1397043677","file0":"1397043676","file4":"1397043680","file5":"1397043681","file3":"1397043679"},"map_files_photo_id_array":[{"photo_id":"1397043681","filename":"file5"},{"photo_id":"1397043678","filename":"file2"},{"photo_id":"1397043680","filename":"file4"},{"photo_id":"1397043677","filename":"file1"},{"photo_id":"1397043676","filename":"file0"},{"photo_id":"1397043679","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043676":["hashtag1","hashtag2"]},{"1397043679":["hashtag1","hashtag2"]},{"1397043681":["hashtag1","hashtag2"]},{"1397043678":["hashtag1","hashtag2"]},{"1397043680":["hashtag1","hashtag2"]},{"1397043677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043676, 1397043679, 1397043681, 1397043678, 1397043680, 1397043677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93839979171753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:41:02.903092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/25/image_30112025_08_26_04_9705.jpg', '/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_15_10265.jpg', '/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_24_9685.jpg', '/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_35_10601.jpg', '/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_45_9771.jpg', '/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/25/image_30112025_08_26_04_9705.jpg
/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_15_10265.jpg
/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_24_9685.jpg
/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_35_10601.jpg
/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_45_9771.jpg
/home/pi/Desktop/images/30112025/08/26/image_30112025_08_26_54_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043682","1397043691","1397043685","1397043684","1397043683","1397043689"],"photo_ids_order":["1397043682","1397043683","1397043684","1397043685","1397043689","1397043691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aadc84feb282c9de7a4d68eea8d62f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7477063417180876165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c93daa6df4cfa471bc2954bb2162abc.jpg","text":"TemporaryFile(/tmp/multipartBody8987219251850604039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/334df4367d3f595650ab3999a53ce770.jpg","text":"TemporaryFile(/tmp/multipartBody1214780825802544930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac9a2a21c26804eca1b7d90d782b2914.jpg","text":"TemporaryFile(/tmp/multipartBody5089609253255150421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ddc7614ba2a66cb24c72189ec2dbea4.jpg","text":"TemporaryFile(/tmp/multipartBody6867475995695194288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_15_10265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c949695702276bff00a3d2572213d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody3174745447090972091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495723675,"filename":"image_30112025_08_26_45_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043684","file1":"1397043683","file0":"1397043682","file4":"1397043689","file5":"1397043691","file3":"1397043685"},"map_files_photo_id_array":[{"photo_id":"1397043691","filename":"file5"},{"photo_id":"1397043684","filename":"file2"},{"photo_id":"1397043689","filename":"file4"},{"photo_id":"1397043683","filename":"file1"},{"photo_id":"1397043682","filename":"file0"},{"photo_id":"1397043685","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043682":["hashtag1","hashtag2"]},{"1397043691":["hashtag1","hashtag2"]},{"1397043685":["hashtag1","hashtag2"]},{"1397043684":["hashtag1","hashtag2"]},{"1397043683":["hashtag1","hashtag2"]},{"1397043689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043682, 1397043691, 1397043685, 1397043684, 1397043683, 1397043689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.082603216171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:41:42.226400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/27/image_31102025_12_27_21_2714.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_24_3681.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_30_2798.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_32_2660.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_36_3758.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_39_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_21_2714.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_24_3681.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_30_2798.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_32_2660.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_36_3758.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_39_2819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043707","1397043709","1397043706","1397043705","1397043708","1397043695"],"photo_ids_order":["1397043695","1397043705","1397043706","1397043707","1397043708","1397043709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b46624c27459a95eb294186d5ac503e4.jpg","text":"TemporaryFile(/tmp/multipartBody4392890793494485916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_32_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/350dbb2cfeb8edfffa2a9d90fbe362f3.jpg","text":"TemporaryFile(/tmp/multipartBody7427037008125540295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_39_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/30/0e5aeffef6b75220f2912d70b7d18afd.jpg","text":"TemporaryFile(/tmp/multipartBody7249549464059657143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_30_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/30/944a27255d31d915ed12f5c12bb40044.jpg","text":"TemporaryFile(/tmp/multipartBody6998067228193009587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_24_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/30/4c190bc27f3dbc804d06d3275ad05e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2257712316740512660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_36_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/30/3d31e59d872826e0d00997bc205523c3.jpg","text":"TemporaryFile(/tmp/multipartBody3164164744277150762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495763107,"filename":"image_31102025_12_27_21_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043706","file1":"1397043705","file0":"1397043695","file4":"1397043708","file5":"1397043709","file3":"1397043707"},"map_files_photo_id_array":[{"photo_id":"1397043709","filename":"file5"},{"photo_id":"1397043706","filename":"file2"},{"photo_id":"1397043708","filename":"file4"},{"photo_id":"1397043705","filename":"file1"},{"photo_id":"1397043695","filename":"file0"},{"photo_id":"1397043707","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043707":["hashtag1","hashtag2"]},{"1397043709":["hashtag1","hashtag2"]},{"1397043706":["hashtag1","hashtag2"]},{"1397043705":["hashtag1","hashtag2"]},{"1397043708":["hashtag1","hashtag2"]},{"1397043695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043707, 1397043709, 1397043706, 1397043705, 1397043708, 1397043695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85617184638977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:42:22.425341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_15_9995.jpg', '/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_24_9722.jpg', '/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_34_9646.jpg', '/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_45_10726.jpg', '/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_54_9523.jpg', '/home/pi/Desktop/images/30112025/08/27/image_30112025_08_28_04_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_15_9995.jpg
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_24_9722.jpg
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_34_9646.jpg
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_45_10726.jpg
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_27_54_9523.jpg
/home/pi/Desktop/images/30112025/08/27/image_30112025_08_28_04_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043719","1397043712","1397043718","1397043714","1397043717","1397043716"],"photo_ids_order":["1397043712","1397043714","1397043716","1397043717","1397043718","1397043719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f882f276ee94ccf5da32be7350ec8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2541946503013785582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_28_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d440112ab491d183442c7d4fad37167.jpg","text":"TemporaryFile(/tmp/multipartBody1052990583938759759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_27_15_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b034abaf6fd7f8248097aa61274acc0.jpg","text":"TemporaryFile(/tmp/multipartBody6890451284560610439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_27_54_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddca0cbcb7fd54b46e9e6cee99922f12.jpg","text":"TemporaryFile(/tmp/multipartBody1733838657049397268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_27_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efb6c513a1ccda4b0dd88f6576bf95d1.jpg","text":"TemporaryFile(/tmp/multipartBody7152934168181027045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_27_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6427f292502d197a35b3b2133a469fc4.jpg","text":"TemporaryFile(/tmp/multipartBody549775065050055000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495803091,"filename":"image_30112025_08_27_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043716","file1":"1397043714","file0":"1397043712","file4":"1397043718","file5":"1397043719","file3":"1397043717"},"map_files_photo_id_array":[{"photo_id":"1397043719","filename":"file5"},{"photo_id":"1397043716","filename":"file2"},{"photo_id":"1397043718","filename":"file4"},{"photo_id":"1397043714","filename":"file1"},{"photo_id":"1397043712","filename":"file0"},{"photo_id":"1397043717","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043719":["hashtag1","hashtag2"]},{"1397043712":["hashtag1","hashtag2"]},{"1397043718":["hashtag1","hashtag2"]},{"1397043714":["hashtag1","hashtag2"]},{"1397043717":["hashtag1","hashtag2"]},{"1397043716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043719, 1397043712, 1397043718, 1397043714, 1397043717, 1397043716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433584451675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:43:03.380821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_15_10655.jpg', '/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_24_9641.jpg', '/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_35_10568.jpg', '/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_45_9740.jpg', '/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_55_9856.jpg', '/home/pi/Desktop/images/30112025/08/28/image_30112025_08_29_04_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_15_10655.jpg
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_24_9641.jpg
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_35_10568.jpg
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_45_9740.jpg
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_28_55_9856.jpg
/home/pi/Desktop/images/30112025/08/28/image_30112025_08_29_04_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043727","1397043721","1397043724","1397043726","1397043720","1397043722"],"photo_ids_order":["1397043720","1397043721","1397043722","1397043724","1397043726","1397043727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c96511f6247d4ccfab5952aae3a8f4eb.jpg","text":"TemporaryFile(/tmp/multipartBody8360840835800031558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_29_04_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4350d8d60d1d2a2ff620c65e13185950.jpg","text":"TemporaryFile(/tmp/multipartBody85658831168306543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_28_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8479d5368e23994a9ba15fcc824c699.jpg","text":"TemporaryFile(/tmp/multipartBody7702039805809956671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_28_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6aa5c33472acec4b7105585fc884e152.jpg","text":"TemporaryFile(/tmp/multipartBody656538907582828559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_28_55_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e14a06979903263d60c14f3e48641f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4304103076571842727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_28_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5691b4d455c29955b257067a25c9f591.jpg","text":"TemporaryFile(/tmp/multipartBody6210767131151456539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495844144,"filename":"image_30112025_08_28_35_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043722","file1":"1397043721","file0":"1397043720","file4":"1397043726","file5":"1397043727","file3":"1397043724"},"map_files_photo_id_array":[{"photo_id":"1397043727","filename":"file5"},{"photo_id":"1397043722","filename":"file2"},{"photo_id":"1397043726","filename":"file4"},{"photo_id":"1397043721","filename":"file1"},{"photo_id":"1397043720","filename":"file0"},{"photo_id":"1397043724","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043727":["hashtag1","hashtag2"]},{"1397043721":["hashtag1","hashtag2"]},{"1397043724":["hashtag1","hashtag2"]},{"1397043726":["hashtag1","hashtag2"]},{"1397043720":["hashtag1","hashtag2"]},{"1397043722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043727, 1397043721, 1397043724, 1397043726, 1397043720, 1397043722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.091792345047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:43:42.709013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/27/image_31102025_12_27_42_2892.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_45_2746.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_48_3579.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_51_2797.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_54_2652.jpg', '/home/pi/Desktop/images/31102025/12/27/image_31102025_12_28_00_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/12/27/image_31102025_12_27_42_2892.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_45_2746.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_48_3579.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_51_2797.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_27_54_2652.jpg
/home/pi/Desktop/images/31102025/12/27/image_31102025_12_28_00_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":["1397043731","1397043730","1397043733","1397043732","1397043729","1397043728"],"photo_ids_order":["1397043728","1397043729","1397043730","1397043731","1397043732","1397043733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c7f66022ee67e1be8f2a045ffdbbcd8.jpg","text":"TemporaryFile(/tmp/multipartBody9124464241462627552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_27_51_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/30/885268625bbae9f641457a5fc18d84eb.jpg","text":"TemporaryFile(/tmp/multipartBody7716390245653328006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_27_48_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb5bbad3aa0b00eb5cd27ea438d0ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody7482354474815744419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_28_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/30/6d680ddc9ec41d8c0ad498f201572efb.jpg","text":"TemporaryFile(/tmp/multipartBody4677349405696321555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_27_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/30/98ee6ce7426d890784c9efc112499085.jpg","text":"TemporaryFile(/tmp/multipartBody5926498332044314716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_27_45_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8205fbec30ed90f76638f44d105aa2a4.jpg","text":"TemporaryFile(/tmp/multipartBody7655965459525113856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495883634,"filename":"image_31102025_12_27_42_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043730","file1":"1397043729","file0":"1397043728","file4":"1397043732","file5":"1397043733","file3":"1397043731"},"map_files_photo_id_array":[{"photo_id":"1397043733","filename":"file5"},{"photo_id":"1397043730","filename":"file2"},{"photo_id":"1397043732","filename":"file4"},{"photo_id":"1397043729","filename":"file1"},{"photo_id":"1397043728","filename":"file0"},{"photo_id":"1397043731","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043731":["hashtag1","hashtag2"]},{"1397043730":["hashtag1","hashtag2"]},{"1397043733":["hashtag1","hashtag2"]},{"1397043732":["hashtag1","hashtag2"]},{"1397043729":["hashtag1","hashtag2"]},{"1397043728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043731, 1397043730, 1397043733, 1397043732, 1397043729, 1397043728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16118121147156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:44:21.894218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_15_10639.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_24_9617.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_34_9640.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_45_10667.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_58_12992.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_15_10639.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_24_9617.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_34_9640.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_45_10667.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_58_12992.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_14_10037.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5623147487640381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:44:31.815398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_25_2510.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_31_3637.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_34_2827.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_37_2782.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_43_3641.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_46_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_25_2510.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_31_3637.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_34_2827.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_37_2782.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_43_3641.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_46_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043748","1397043741","1397043747","1397043746","1397043749","1397043743"],"photo_ids_order":["1397043741","1397043743","1397043746","1397043747","1397043748","1397043749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68e71360859fdf34ca336fa44b1fdb16.jpg","text":"TemporaryFile(/tmp/multipartBody4663684697414420898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_43_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/30/3d877030b07f4b0c1478d08fbb3d164b.jpg","text":"TemporaryFile(/tmp/multipartBody514681648617503488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_25_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/30/0c5bc0760a7dc72837df8b5b7c36c132.jpg","text":"TemporaryFile(/tmp/multipartBody4856793301808715482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_37_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66d7a0c0a0481e6cb8540edf562ffe29.jpg","text":"TemporaryFile(/tmp/multipartBody3948792746319337968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_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/30/3e551d5138d9f672dcc6f35aba24270b.jpg","text":"TemporaryFile(/tmp/multipartBody197167423841688317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_46_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ecaec01979405711d912945e61326e8.jpg","text":"TemporaryFile(/tmp/multipartBody4979540958516642760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495933817,"filename":"image_25112025_20_06_31_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043746","file1":"1397043743","file0":"1397043741","file4":"1397043748","file5":"1397043749","file3":"1397043747"},"map_files_photo_id_array":[{"photo_id":"1397043749","filename":"file5"},{"photo_id":"1397043746","filename":"file2"},{"photo_id":"1397043748","filename":"file4"},{"photo_id":"1397043743","filename":"file1"},{"photo_id":"1397043741","filename":"file0"},{"photo_id":"1397043747","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043748":["hashtag1","hashtag2"]},{"1397043741":["hashtag1","hashtag2"]},{"1397043747":["hashtag1","hashtag2"]},{"1397043746":["hashtag1","hashtag2"]},{"1397043749":["hashtag1","hashtag2"]},{"1397043743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043748, 1397043741, 1397043747, 1397043746, 1397043749, 1397043743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25041079521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:45:11.892066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_49_2769.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_52_3669.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_55_2619.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_57_2603.jpg', '/home/pi/Desktop/images/25112025/20/06/image_25112025_20_07_01_3542.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_04_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_49_2769.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_52_3669.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_55_2619.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_06_57_2603.jpg
/home/pi/Desktop/images/25112025/20/06/image_25112025_20_07_01_3542.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_04_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":["1397043757","1397043751","1397043759","1397043752","1397043761","1397043755"],"photo_ids_order":["1397043751","1397043752","1397043755","1397043757","1397043759","1397043761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e7cd076b6142b2457eae7321cfd7879.jpg","text":"TemporaryFile(/tmp/multipartBody1562121750390191637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_06_57_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1704da698e0e7c01c6bfd46cd0226bbe.jpg","text":"TemporaryFile(/tmp/multipartBody602969023635270758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_06_49_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/30/92fe604c540202184eb18ac2490a08d1.jpg","text":"TemporaryFile(/tmp/multipartBody3823626889750137792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_07_01_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/30/acfe0f889621e27be53e307905b235d8.jpg","text":"TemporaryFile(/tmp/multipartBody7881772713980248833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_06_52_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/30/5c7020c3b3b246d667bf44f61d0858a4.jpg","text":"TemporaryFile(/tmp/multipartBody2947083459231532413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_07_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/30/c3ba1deb92c3e4ccedc661670c0fd17a.jpg","text":"TemporaryFile(/tmp/multipartBody673358085596315913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764495973781,"filename":"image_25112025_20_06_55_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043755","file1":"1397043752","file0":"1397043751","file4":"1397043759","file5":"1397043761","file3":"1397043757"},"map_files_photo_id_array":[{"photo_id":"1397043761","filename":"file5"},{"photo_id":"1397043755","filename":"file2"},{"photo_id":"1397043759","filename":"file4"},{"photo_id":"1397043752","filename":"file1"},{"photo_id":"1397043751","filename":"file0"},{"photo_id":"1397043757","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043757":["hashtag1","hashtag2"]},{"1397043751":["hashtag1","hashtag2"]},{"1397043759":["hashtag1","hashtag2"]},{"1397043752":["hashtag1","hashtag2"]},{"1397043761":["hashtag1","hashtag2"]},{"1397043755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043757, 1397043751, 1397043759, 1397043752, 1397043761, 1397043755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213995933532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:46:02.663795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_15_10639.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_24_9617.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_34_9640.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_45_10667.jpg', '/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_58_12992.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_15_10639.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_24_9617.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_34_9640.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_45_10667.jpg
/home/pi/Desktop/images/30112025/08/29/image_30112025_08_29_58_12992.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043763","1397043766","1397043768","1397043771","1397043765","1397043764"],"photo_ids_order":["1397043763","1397043764","1397043765","1397043766","1397043768","1397043771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06dc5fa301db2c8c674f5cf85e076f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4883640323912761286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_29_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62bb4581f05e8df487941e70cf8a098b.jpg","text":"TemporaryFile(/tmp/multipartBody2626900775596303497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_29_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eedfd5cd0ae5554c884a04162d249da4.jpg","text":"TemporaryFile(/tmp/multipartBody2262043651256081569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_29_58_12992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80e17839a4abc65715735426ee222cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8617184385927512045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_31_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72762132953140c7facf750df6f918e9.jpg","text":"TemporaryFile(/tmp/multipartBody6801233690108624751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_29_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69a2cb2084c3de7db9e6f12ecd65216d.jpg","text":"TemporaryFile(/tmp/multipartBody2951871645812201388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496023347,"filename":"image_30112025_08_29_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043765","file1":"1397043764","file0":"1397043763","file4":"1397043768","file5":"1397043771","file3":"1397043766"},"map_files_photo_id_array":[{"photo_id":"1397043771","filename":"file5"},{"photo_id":"1397043765","filename":"file2"},{"photo_id":"1397043768","filename":"file4"},{"photo_id":"1397043764","filename":"file1"},{"photo_id":"1397043763","filename":"file0"},{"photo_id":"1397043766","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043763":["hashtag1","hashtag2"]},{"1397043766":["hashtag1","hashtag2"]},{"1397043768":["hashtag1","hashtag2"]},{"1397043771":["hashtag1","hashtag2"]},{"1397043765":["hashtag1","hashtag2"]},{"1397043764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043763, 1397043766, 1397043768, 1397043771, 1397043765, 1397043764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25202465057373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:46:42.142298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/28/image_31102025_12_28_03_2809.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_09_3644.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_12_2674.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_18_3598.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_21_2701.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_24_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_03_2809.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_09_3644.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_12_2674.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_18_3598.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_21_2701.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_24_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":["1397043775","1397043778","1397043777","1397043779","1397043773","1397043776"],"photo_ids_order":["1397043773","1397043775","1397043776","1397043777","1397043778","1397043779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aab4bc0d27d4c3d0c61abbbc9b7b0abe.jpg","text":"TemporaryFile(/tmp/multipartBody2452522646584272307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_09_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/30/0888af535bb8122abd659c27dbcbf0e6.jpg","text":"TemporaryFile(/tmp/multipartBody4181418835570211067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f7f82d6a0a1bfcb05c8573e005d51ec.jpg","text":"TemporaryFile(/tmp/multipartBody4987617189875172517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_18_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/361854c6dc5344db40678a6c273c4b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8342982029801172949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_24_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/30/1fa47aad146874e33676d7cbcafbbaae.jpg","text":"TemporaryFile(/tmp/multipartBody1283081157698619530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_03_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/30/50ea987880fd0d84212dc41f2417eb83.jpg","text":"TemporaryFile(/tmp/multipartBody3260502985515981207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496063054,"filename":"image_31102025_12_28_12_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043776","file1":"1397043775","file0":"1397043773","file4":"1397043778","file5":"1397043779","file3":"1397043777"},"map_files_photo_id_array":[{"photo_id":"1397043779","filename":"file5"},{"photo_id":"1397043776","filename":"file2"},{"photo_id":"1397043778","filename":"file4"},{"photo_id":"1397043775","filename":"file1"},{"photo_id":"1397043773","filename":"file0"},{"photo_id":"1397043777","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043775":["hashtag1","hashtag2"]},{"1397043778":["hashtag1","hashtag2"]},{"1397043777":["hashtag1","hashtag2"]},{"1397043779":["hashtag1","hashtag2"]},{"1397043773":["hashtag1","hashtag2"]},{"1397043776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043775, 1397043778, 1397043777, 1397043779, 1397043773, 1397043776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.515921115875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:47:22.346123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_24_10613.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_34_9632.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_47_12801.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_54_7609.jpg', '/home/pi/Desktop/images/30112025/08/31/image_30112025_08_32_04_9908.jpg', '/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_24_10613.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_34_9632.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_47_12801.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_31_54_7609.jpg
/home/pi/Desktop/images/30112025/08/31/image_30112025_08_32_04_9908.jpg
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_14_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043784","1397043787","1397043786","1397043782","1397043791","1397043788"],"photo_ids_order":["1397043782","1397043784","1397043786","1397043787","1397043788","1397043791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d82ce58c3e10eb58b1c4476ad23607cf.jpg","text":"TemporaryFile(/tmp/multipartBody3528165709628946058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_31_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb9dd1482ddf46dcb624c425f82aa27b.jpg","text":"TemporaryFile(/tmp/multipartBody3255803970186694149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_31_54_7609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/597399076cca87f58c2473bce59a5e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6329966335368234839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_31_47_12801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dabec184b09aa6ca1d206a865511712a.jpg","text":"TemporaryFile(/tmp/multipartBody8002167197785955321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_31_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6939912630db8f04648393230cbabc4d.jpg","text":"TemporaryFile(/tmp/multipartBody4146646613918060389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_32_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67bb08c443ed41de1bbf6aeabfc3ddad.jpg","text":"TemporaryFile(/tmp/multipartBody6183157160971986905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496103006,"filename":"image_30112025_08_32_04_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043786","file1":"1397043784","file0":"1397043782","file4":"1397043788","file5":"1397043791","file3":"1397043787"},"map_files_photo_id_array":[{"photo_id":"1397043791","filename":"file5"},{"photo_id":"1397043786","filename":"file2"},{"photo_id":"1397043788","filename":"file4"},{"photo_id":"1397043784","filename":"file1"},{"photo_id":"1397043782","filename":"file0"},{"photo_id":"1397043787","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043784":["hashtag1","hashtag2"]},{"1397043787":["hashtag1","hashtag2"]},{"1397043786":["hashtag1","hashtag2"]},{"1397043782":["hashtag1","hashtag2"]},{"1397043791":["hashtag1","hashtag2"]},{"1397043788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043784, 1397043787, 1397043786, 1397043782, 1397043791, 1397043788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65549659729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:48:02.954829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_24_9825.jpg', '/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_34_10570.jpg', '/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_44_9530.jpg', '/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_54_10238.jpg', '/home/pi/Desktop/images/30112025/08/32/image_30112025_08_33_04_9684.jpg', '/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_14_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_24_9825.jpg
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_34_10570.jpg
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_44_9530.jpg
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_32_54_10238.jpg
/home/pi/Desktop/images/30112025/08/32/image_30112025_08_33_04_9684.jpg
/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_14_10792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043793","1397043796","1397043800","1397043798","1397043795","1397043794"],"photo_ids_order":["1397043793","1397043794","1397043795","1397043796","1397043798","1397043800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71d6c7e9d10d5bce53cbfc095d2426ea.jpg","text":"TemporaryFile(/tmp/multipartBody508526982710759095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_32_24_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f1c5284047f16bb80e22f89b70d4007.jpg","text":"TemporaryFile(/tmp/multipartBody8166158833899587670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_32_54_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f568497629fdb40c9f07a54415da9b25.jpg","text":"TemporaryFile(/tmp/multipartBody8293476419839204829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_33_14_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1f11e2d7432aaf79b8813607e35abc2.jpg","text":"TemporaryFile(/tmp/multipartBody3818999600069920653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_33_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e326e0a9b8e5e974b06168a1d50846c.jpg","text":"TemporaryFile(/tmp/multipartBody6636711838463904726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_32_44_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f30a3e91410c46870948ddc601bdb41a.jpg","text":"TemporaryFile(/tmp/multipartBody504128495990684823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496143627,"filename":"image_30112025_08_32_34_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043795","file1":"1397043794","file0":"1397043793","file4":"1397043798","file5":"1397043800","file3":"1397043796"},"map_files_photo_id_array":[{"photo_id":"1397043800","filename":"file5"},{"photo_id":"1397043795","filename":"file2"},{"photo_id":"1397043798","filename":"file4"},{"photo_id":"1397043794","filename":"file1"},{"photo_id":"1397043793","filename":"file0"},{"photo_id":"1397043796","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043793":["hashtag1","hashtag2"]},{"1397043796":["hashtag1","hashtag2"]},{"1397043800":["hashtag1","hashtag2"]},{"1397043798":["hashtag1","hashtag2"]},{"1397043795":["hashtag1","hashtag2"]},{"1397043794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043793, 1397043796, 1397043800, 1397043798, 1397043795, 1397043794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.980372190475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:48:42.489140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/28/image_31102025_12_28_30_2733.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_32_2712.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_36_3651.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_39_2720.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_42_2755.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_44_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/12/28/image_31102025_12_28_30_2733.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_32_2712.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_36_3651.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_39_2720.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_42_2755.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_44_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043806","1397043808","1397043805","1397043804","1397043807","1397043809"],"photo_ids_order":["1397043804","1397043805","1397043806","1397043807","1397043808","1397043809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/748fe546f2fd714b88612d5badeedf75.jpg","text":"TemporaryFile(/tmp/multipartBody2223756686714187282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_36_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/30/f1af241486f01d8d55a99725b4b269ef.jpg","text":"TemporaryFile(/tmp/multipartBody6527389847258006172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_42_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/30/09f67414f2c7e3acb405ccfb86a92fec.jpg","text":"TemporaryFile(/tmp/multipartBody2566258551812721112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_32_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/30/d30601925ff1bc9acf4c1648a78920df.jpg","text":"TemporaryFile(/tmp/multipartBody2655708899405952996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_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/30/664a61ce88fa104b7187e745a2dd6387.jpg","text":"TemporaryFile(/tmp/multipartBody2385073397227739258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_39_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/30/4aad6cd17aa9e8e1608fd5f1992b5865.jpg","text":"TemporaryFile(/tmp/multipartBody5317985249604636020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496183390,"filename":"image_31102025_12_28_44_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043806","file1":"1397043805","file0":"1397043804","file4":"1397043808","file5":"1397043809","file3":"1397043807"},"map_files_photo_id_array":[{"photo_id":"1397043809","filename":"file5"},{"photo_id":"1397043806","filename":"file2"},{"photo_id":"1397043808","filename":"file4"},{"photo_id":"1397043805","filename":"file1"},{"photo_id":"1397043804","filename":"file0"},{"photo_id":"1397043807","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043806":["hashtag1","hashtag2"]},{"1397043808":["hashtag1","hashtag2"]},{"1397043805":["hashtag1","hashtag2"]},{"1397043804":["hashtag1","hashtag2"]},{"1397043807":["hashtag1","hashtag2"]},{"1397043809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043806, 1397043808, 1397043805, 1397043804, 1397043807, 1397043809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94859862327576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:49:22.688738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_24_9843.jpg', '/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_34_9626.jpg', '/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_44_9667.jpg', '/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_54_10653.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_04_10081.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_14_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_24_9843.jpg
/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_34_9626.jpg
/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_44_9667.jpg
/home/pi/Desktop/images/30112025/08/33/image_30112025_08_33_54_10653.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_04_10081.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_14_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043812","1397043814","1397043817","1397043819","1397043816","1397043815"],"photo_ids_order":["1397043812","1397043814","1397043815","1397043816","1397043817","1397043819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f2f2f44404065ea8bbc17bf2d328d53.jpg","text":"TemporaryFile(/tmp/multipartBody3856228305510653710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_33_24_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f43e290b0676b658058059f70728d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7443172347112402806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_33_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddb97c3b9a1b095195d278c56afec8dc.jpg","text":"TemporaryFile(/tmp/multipartBody2870020063158569726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_34_04_10081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08615263e4312b1ecad6efc975667a23.jpg","text":"TemporaryFile(/tmp/multipartBody2626532239794351551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_34_14_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40ad098d168f4553844331e775dd893b.jpg","text":"TemporaryFile(/tmp/multipartBody2857226492877825306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_33_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/432e3bbf3b70806f89fcfe2a0e2dd2fe.jpg","text":"TemporaryFile(/tmp/multipartBody1326164695795534581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496223336,"filename":"image_30112025_08_33_44_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043815","file1":"1397043814","file0":"1397043812","file4":"1397043817","file5":"1397043819","file3":"1397043816"},"map_files_photo_id_array":[{"photo_id":"1397043819","filename":"file5"},{"photo_id":"1397043815","filename":"file2"},{"photo_id":"1397043817","filename":"file4"},{"photo_id":"1397043814","filename":"file1"},{"photo_id":"1397043812","filename":"file0"},{"photo_id":"1397043816","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043812":["hashtag1","hashtag2"]},{"1397043814":["hashtag1","hashtag2"]},{"1397043817":["hashtag1","hashtag2"]},{"1397043819":["hashtag1","hashtag2"]},{"1397043816":["hashtag1","hashtag2"]},{"1397043815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043812, 1397043814, 1397043817, 1397043819, 1397043816, 1397043815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397329330444336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:50:02.349626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_24_9745.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_34_10841.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_44_9978.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_54_9074.jpg', '/home/pi/Desktop/images/30112025/08/34/image_30112025_08_35_04_10577.jpg', '/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_14_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_24_9745.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_34_10841.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_44_9978.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_34_54_9074.jpg
/home/pi/Desktop/images/30112025/08/34/image_30112025_08_35_04_10577.jpg
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_14_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043824","1397043826","1397043823","1397043822","1397043828","1397043821"],"photo_ids_order":["1397043821","1397043822","1397043823","1397043824","1397043826","1397043828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48c3949985835afe9550c59138ad2444.jpg","text":"TemporaryFile(/tmp/multipartBody4229419471895965523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_34_54_9074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51fff36ab94a19ebb54477ce0e43ed18.jpg","text":"TemporaryFile(/tmp/multipartBody2998105283173783607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_35_04_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90b76d75c68dffa68bcd9a15734117ad.jpg","text":"TemporaryFile(/tmp/multipartBody4845306039512938194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_34_44_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/122b883a2b0977788343f0823cebb9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5049255697569994826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_34_34_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94f66e5a81366220e697ed67ba7d72eb.jpg","text":"TemporaryFile(/tmp/multipartBody7072063900151469302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_35_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e44a30bfc067aaed6bae589b5471951.jpg","text":"TemporaryFile(/tmp/multipartBody4560239627572049498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496263013,"filename":"image_30112025_08_34_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043823","file1":"1397043822","file0":"1397043821","file4":"1397043826","file5":"1397043828","file3":"1397043824"},"map_files_photo_id_array":[{"photo_id":"1397043828","filename":"file5"},{"photo_id":"1397043823","filename":"file2"},{"photo_id":"1397043826","filename":"file4"},{"photo_id":"1397043822","filename":"file1"},{"photo_id":"1397043821","filename":"file0"},{"photo_id":"1397043824","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043824":["hashtag1","hashtag2"]},{"1397043826":["hashtag1","hashtag2"]},{"1397043823":["hashtag1","hashtag2"]},{"1397043822":["hashtag1","hashtag2"]},{"1397043828":["hashtag1","hashtag2"]},{"1397043821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043824, 1397043826, 1397043823, 1397043822, 1397043828, 1397043821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95389175415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:50:41.881937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/28/image_31102025_12_28_48_3635.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_51_2745.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_53_2811.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_57_3568.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_29_00_2794.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_02_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/12/28/image_31102025_12_28_48_3635.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_51_2745.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_53_2811.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_57_3568.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_29_00_2794.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_02_2682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7886345386505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:51:02.609815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_24_10687.jpg', '/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_36_11985.jpg', '/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_44_7545.jpg', '/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_54_9686.jpg', '/home/pi/Desktop/images/30112025/08/35/image_30112025_08_36_04_10570.jpg', '/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_24_10687.jpg
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_36_11985.jpg
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_44_7545.jpg
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_35_54_9686.jpg
/home/pi/Desktop/images/30112025/08/35/image_30112025_08_36_04_10570.jpg
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_14_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043841","1397043840","1397043843","1397043845","1397043848","1397043842"],"photo_ids_order":["1397043840","1397043841","1397043842","1397043843","1397043845","1397043848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee098a1ee75a80e03ebe2ea906cd0f47.jpg","text":"TemporaryFile(/tmp/multipartBody3947475437396053813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_35_36_11985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2b14b76febcb50699b2aa6a348953e5.jpg","text":"TemporaryFile(/tmp/multipartBody2673649936464738951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_35_24_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b3cf4d64c235093ec49aae6f74712d7.jpg","text":"TemporaryFile(/tmp/multipartBody2764812701452032917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_35_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5e41a2c4b0f6f8713a2e4388151f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody5699093355639570756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_36_04_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c8c5d01ba50070022c41a5a76f21b6c.jpg","text":"TemporaryFile(/tmp/multipartBody21508640321768655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_36_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a299b97584f1231b154c63e87c0f6840.jpg","text":"TemporaryFile(/tmp/multipartBody6569484212326559863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496323354,"filename":"image_30112025_08_35_44_7545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043842","file1":"1397043841","file0":"1397043840","file4":"1397043845","file5":"1397043848","file3":"1397043843"},"map_files_photo_id_array":[{"photo_id":"1397043848","filename":"file5"},{"photo_id":"1397043842","filename":"file2"},{"photo_id":"1397043845","filename":"file4"},{"photo_id":"1397043841","filename":"file1"},{"photo_id":"1397043840","filename":"file0"},{"photo_id":"1397043843","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043841":["hashtag1","hashtag2"]},{"1397043840":["hashtag1","hashtag2"]},{"1397043843":["hashtag1","hashtag2"]},{"1397043845":["hashtag1","hashtag2"]},{"1397043848":["hashtag1","hashtag2"]},{"1397043842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043841, 1397043840, 1397043843, 1397043845, 1397043848, 1397043842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70949721336365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:51:42.128580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/28/image_31102025_12_28_48_3635.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_51_2745.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_53_2811.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_57_3568.jpg', '/home/pi/Desktop/images/31102025/12/28/image_31102025_12_29_00_2794.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_02_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/12/28/image_31102025_12_28_48_3635.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_51_2745.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_53_2811.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_28_57_3568.jpg
/home/pi/Desktop/images/31102025/12/28/image_31102025_12_29_00_2794.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_02_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":["1397043856","1397043855","1397043858","1397043852","1397043851","1397043854"],"photo_ids_order":["1397043851","1397043852","1397043854","1397043855","1397043856","1397043858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a64a4a1f33ece5b985172a7545928f54.jpg","text":"TemporaryFile(/tmp/multipartBody7790300580114148911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_29_00_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/30/139a01c9abd142fc454e8c6224b8e535.jpg","text":"TemporaryFile(/tmp/multipartBody2513446982107574847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_28_57_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/30/cd17bceab6ab6d7b9b889595dea38afc.jpg","text":"TemporaryFile(/tmp/multipartBody5871626170964885207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_29_02_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/30/8fea321ae14c52bf909420cff9ec62f0.jpg","text":"TemporaryFile(/tmp/multipartBody889052303558561373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_28_51_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/30/18a39e7f60bb23f6079fe512c5141c51.jpg","text":"TemporaryFile(/tmp/multipartBody4215778329533261811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_28_48_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/30/d24b1538c49e65ea287f20629d1c7ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1848580501366311828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496362907,"filename":"image_31102025_12_28_53_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043854","file1":"1397043852","file0":"1397043851","file4":"1397043856","file5":"1397043858","file3":"1397043855"},"map_files_photo_id_array":[{"photo_id":"1397043858","filename":"file5"},{"photo_id":"1397043854","filename":"file2"},{"photo_id":"1397043856","filename":"file4"},{"photo_id":"1397043852","filename":"file1"},{"photo_id":"1397043851","filename":"file0"},{"photo_id":"1397043855","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043856":["hashtag1","hashtag2"]},{"1397043855":["hashtag1","hashtag2"]},{"1397043858":["hashtag1","hashtag2"]},{"1397043852":["hashtag1","hashtag2"]},{"1397043851":["hashtag1","hashtag2"]},{"1397043854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043856, 1397043855, 1397043858, 1397043852, 1397043851, 1397043854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.196669578552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:52:22.295199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_24_9780.jpg', '/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_34_9968.jpg', '/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_44_10648.jpg', '/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_54_9596.jpg', '/home/pi/Desktop/images/30112025/08/36/image_30112025_08_37_04_10535.jpg', '/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_24_9780.jpg
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_34_9968.jpg
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_44_10648.jpg
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_36_54_9596.jpg
/home/pi/Desktop/images/30112025/08/36/image_30112025_08_37_04_10535.jpg
/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_14_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043868","1397043861","1397043870","1397043864","1397043866","1397043869"],"photo_ids_order":["1397043861","1397043864","1397043866","1397043868","1397043869","1397043870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/265e2eb80387debe49d03df929411ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5859776281876412177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_36_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dedc571c4774505e9d49882c6a54634.jpg","text":"TemporaryFile(/tmp/multipartBody8997007835411355573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_36_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/affe1e26cf9e8e3937270a75bd55ba49.jpg","text":"TemporaryFile(/tmp/multipartBody7997549423716037662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_37_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b734d9b9a7a428712153b0c8a5891540.jpg","text":"TemporaryFile(/tmp/multipartBody8755939959527375954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_36_34_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9ae9bd4cbc308da6692068aa0691e69.jpg","text":"TemporaryFile(/tmp/multipartBody328046686582049983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_36_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a91f860015ef94ee32aaa09e41c83d3.jpg","text":"TemporaryFile(/tmp/multipartBody3406529549729076464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496402966,"filename":"image_30112025_08_37_04_10535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043866","file1":"1397043864","file0":"1397043861","file4":"1397043869","file5":"1397043870","file3":"1397043868"},"map_files_photo_id_array":[{"photo_id":"1397043870","filename":"file5"},{"photo_id":"1397043866","filename":"file2"},{"photo_id":"1397043869","filename":"file4"},{"photo_id":"1397043864","filename":"file1"},{"photo_id":"1397043861","filename":"file0"},{"photo_id":"1397043868","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043868":["hashtag1","hashtag2"]},{"1397043861":["hashtag1","hashtag2"]},{"1397043870":["hashtag1","hashtag2"]},{"1397043864":["hashtag1","hashtag2"]},{"1397043866":["hashtag1","hashtag2"]},{"1397043869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043868, 1397043861, 1397043870, 1397043864, 1397043866, 1397043869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03621315956116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:53:03.387880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_24_9686.jpg', '/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_34_10759.jpg', '/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_44_9732.jpg', '/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_54_9751.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_04_10412.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_14_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_24_9686.jpg
/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_34_10759.jpg
/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_44_9732.jpg
/home/pi/Desktop/images/30112025/08/37/image_30112025_08_37_54_9751.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_04_10412.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_14_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043874","1397043871","1397043879","1397043873","1397043876","1397043872"],"photo_ids_order":["1397043871","1397043872","1397043873","1397043874","1397043876","1397043879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce7826321ae79dc8836db42663b29e20.jpg","text":"TemporaryFile(/tmp/multipartBody8397126462056175362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_37_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c82170956d4ef7bfc4ba173961b3fbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4816511416578061000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_37_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7a1fa14cff75fada217f5a11f737aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8338160292814085288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_38_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60bbc5d0a98e10b76e0bc896687cdaae.jpg","text":"TemporaryFile(/tmp/multipartBody7205382888898926923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_37_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6d8d882dd4206cdcd28a61093f89931.jpg","text":"TemporaryFile(/tmp/multipartBody3964459518930511856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_38_04_10412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b25ab94b35349d12db3fc75051018c52.jpg","text":"TemporaryFile(/tmp/multipartBody2921945441203128870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496444123,"filename":"image_30112025_08_37_34_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043873","file1":"1397043872","file0":"1397043871","file4":"1397043876","file5":"1397043879","file3":"1397043874"},"map_files_photo_id_array":[{"photo_id":"1397043879","filename":"file5"},{"photo_id":"1397043873","filename":"file2"},{"photo_id":"1397043876","filename":"file4"},{"photo_id":"1397043872","filename":"file1"},{"photo_id":"1397043871","filename":"file0"},{"photo_id":"1397043874","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043874":["hashtag1","hashtag2"]},{"1397043871":["hashtag1","hashtag2"]},{"1397043879":["hashtag1","hashtag2"]},{"1397043873":["hashtag1","hashtag2"]},{"1397043876":["hashtag1","hashtag2"]},{"1397043872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043874, 1397043871, 1397043879, 1397043873, 1397043876, 1397043872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13511943817139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:53:42.819235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/29/image_31102025_12_29_06_3649.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_09_2585.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_11_2736.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_15_3609.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_18_2756.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_21_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_06_3649.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_09_2585.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_11_2736.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_15_3609.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_18_2756.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_21_2818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043883","1397043886","1397043885","1397043882","1397043881","1397043884"],"photo_ids_order":["1397043881","1397043882","1397043883","1397043884","1397043885","1397043886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5469af27b49fcc2b73ed844f04adf4e0.jpg","text":"TemporaryFile(/tmp/multipartBody857109070988567594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_11_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1276d0932ebfeda232f043bec611b3b.jpg","text":"TemporaryFile(/tmp/multipartBody7442424697305849940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_21_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/30/aae37603c1883816de0a83be4c2978e8.jpg","text":"TemporaryFile(/tmp/multipartBody8899341795749212244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_18_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/30/ac42801fa7d0b02b4951539cc9091361.jpg","text":"TemporaryFile(/tmp/multipartBody6724884964125048142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_09_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/30/7e94d159b70970a6cd96350c101e7cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3391125806021872011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_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/30/7ab4ef6e6724e2f7bcb74e0539463363.jpg","text":"TemporaryFile(/tmp/multipartBody8031362448865337993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496483717,"filename":"image_31102025_12_29_15_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043883","file1":"1397043882","file0":"1397043881","file4":"1397043885","file5":"1397043886","file3":"1397043884"},"map_files_photo_id_array":[{"photo_id":"1397043886","filename":"file5"},{"photo_id":"1397043883","filename":"file2"},{"photo_id":"1397043885","filename":"file4"},{"photo_id":"1397043882","filename":"file1"},{"photo_id":"1397043881","filename":"file0"},{"photo_id":"1397043884","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043883":["hashtag1","hashtag2"]},{"1397043886":["hashtag1","hashtag2"]},{"1397043885":["hashtag1","hashtag2"]},{"1397043882":["hashtag1","hashtag2"]},{"1397043881":["hashtag1","hashtag2"]},{"1397043884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043883, 1397043886, 1397043885, 1397043882, 1397043881, 1397043884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.610700607299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:54:22.021417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_24_9682.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_34_10687.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_44_9683.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_54_10341.jpg', '/home/pi/Desktop/images/30112025/08/38/image_30112025_08_39_04_9539.jpg', '/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_14_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_24_9682.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_34_10687.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_44_9683.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_38_54_10341.jpg
/home/pi/Desktop/images/30112025/08/38/image_30112025_08_39_04_9539.jpg
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_14_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043895","1397043889","1397043897","1397043891","1397043894","1397043893"],"photo_ids_order":["1397043889","1397043891","1397043893","1397043894","1397043895","1397043897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01b3aa11d142f7caf9bdfdbdfa74638e.jpg","text":"TemporaryFile(/tmp/multipartBody6346327543872989497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_39_04_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab2de97a1326fe3523215680beb7ce29.jpg","text":"TemporaryFile(/tmp/multipartBody2499664997727120274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_38_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9ace58e0a5aec51eb9100ad4147ca88.jpg","text":"TemporaryFile(/tmp/multipartBody888081698873082580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_39_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5fa71dc3eb8bd131c4c774aee19f586.jpg","text":"TemporaryFile(/tmp/multipartBody2231748715680761752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_38_34_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a654756c390b6ad0f5b70e906d31567.jpg","text":"TemporaryFile(/tmp/multipartBody1690198858882604013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_38_54_10341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07740f54a4a1ec2e049c3e18f8acabdd.jpg","text":"TemporaryFile(/tmp/multipartBody2195535429409416117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496522685,"filename":"image_30112025_08_38_44_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043893","file1":"1397043891","file0":"1397043889","file4":"1397043895","file5":"1397043897","file3":"1397043894"},"map_files_photo_id_array":[{"photo_id":"1397043897","filename":"file5"},{"photo_id":"1397043893","filename":"file2"},{"photo_id":"1397043895","filename":"file4"},{"photo_id":"1397043891","filename":"file1"},{"photo_id":"1397043889","filename":"file0"},{"photo_id":"1397043894","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043895":["hashtag1","hashtag2"]},{"1397043889":["hashtag1","hashtag2"]},{"1397043897":["hashtag1","hashtag2"]},{"1397043891":["hashtag1","hashtag2"]},{"1397043894":["hashtag1","hashtag2"]},{"1397043893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043895, 1397043889, 1397043897, 1397043891, 1397043894, 1397043893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05965256690979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:55:02.785681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_24_10638.jpg', '/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_34_9583.jpg', '/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_44_9796.jpg', '/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_54_10581.jpg', '/home/pi/Desktop/images/30112025/08/39/image_30112025_08_40_04_9606.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_14_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_24_10638.jpg
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_34_9583.jpg
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_44_9796.jpg
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_39_54_10581.jpg
/home/pi/Desktop/images/30112025/08/39/image_30112025_08_40_04_9606.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_14_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043905","1397043898","1397043901","1397043903","1397043900","1397043899"],"photo_ids_order":["1397043898","1397043899","1397043900","1397043901","1397043903","1397043905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e77b99adc81c89dd7bca9b3b3809951b.jpg","text":"TemporaryFile(/tmp/multipartBody862722787198357242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_40_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a662d2d57b373e4797585c0553a60f5.jpg","text":"TemporaryFile(/tmp/multipartBody1490982197236749496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_39_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3f7a11d078cfddd9218ff3840f99c34.jpg","text":"TemporaryFile(/tmp/multipartBody273889136377121950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_39_54_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a882735513e7251cc8c8f94a97a79de.jpg","text":"TemporaryFile(/tmp/multipartBody828780496599298607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_40_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77d5f16fce8ff999d2082aa17ce896fd.jpg","text":"TemporaryFile(/tmp/multipartBody7850276264413092281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_39_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3b35b45de1f153ac8ac5d2f24373700.jpg","text":"TemporaryFile(/tmp/multipartBody2770802405822307518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496563505,"filename":"image_30112025_08_39_34_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043900","file1":"1397043899","file0":"1397043898","file4":"1397043903","file5":"1397043905","file3":"1397043901"},"map_files_photo_id_array":[{"photo_id":"1397043905","filename":"file5"},{"photo_id":"1397043900","filename":"file2"},{"photo_id":"1397043903","filename":"file4"},{"photo_id":"1397043899","filename":"file1"},{"photo_id":"1397043898","filename":"file0"},{"photo_id":"1397043901","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043905":["hashtag1","hashtag2"]},{"1397043898":["hashtag1","hashtag2"]},{"1397043901":["hashtag1","hashtag2"]},{"1397043903":["hashtag1","hashtag2"]},{"1397043900":["hashtag1","hashtag2"]},{"1397043899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043905, 1397043898, 1397043901, 1397043903, 1397043900, 1397043899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37653303146362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:55:42.141368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/29/image_31102025_12_29_23_2814.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_26_2747.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_30_3680.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_32_2599.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_36_3640.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_39_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_23_2814.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_26_2747.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_30_3680.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_32_2599.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_36_3640.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_39_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":["1397043910","1397043913","1397043916","1397043915","1397043912","1397043914"],"photo_ids_order":["1397043910","1397043912","1397043913","1397043914","1397043915","1397043916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bc696d6c6342dd08789c744f2f0ee61.jpg","text":"TemporaryFile(/tmp/multipartBody4537628017028866945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_23_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/30/427db07df3d522eb02c98f55ca892812.jpg","text":"TemporaryFile(/tmp/multipartBody3135483209045958567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_30_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/082335edfa9edc2dd40f5ed22eb8e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6392400705524908248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_39_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/30/cbc400f36909fe1752d8a850ad01b771.jpg","text":"TemporaryFile(/tmp/multipartBody8322906361783625062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_36_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/30/f8af7f5e690415a49da7b817a5a63c39.jpg","text":"TemporaryFile(/tmp/multipartBody8354439445272595001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_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/30/c6eb8a76c999ee3df6cb5caab3cef2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5074522935409387645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496603026,"filename":"image_31102025_12_29_32_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043913","file1":"1397043912","file0":"1397043910","file4":"1397043915","file5":"1397043916","file3":"1397043914"},"map_files_photo_id_array":[{"photo_id":"1397043916","filename":"file5"},{"photo_id":"1397043913","filename":"file2"},{"photo_id":"1397043915","filename":"file4"},{"photo_id":"1397043912","filename":"file1"},{"photo_id":"1397043910","filename":"file0"},{"photo_id":"1397043914","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397043910":["hashtag1","hashtag2"]},{"1397043913":["hashtag1","hashtag2"]},{"1397043916":["hashtag1","hashtag2"]},{"1397043915":["hashtag1","hashtag2"]},{"1397043912":["hashtag1","hashtag2"]},{"1397043914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397043910, 1397043913, 1397043916, 1397043915, 1397043912, 1397043914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16861414909363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:56:22.403204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_23_9857.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_34_10580.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_44_9673.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_54_10470.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_41_04_9669.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_14_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_23_9857.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_34_10580.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_44_9673.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_54_10470.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_41_04_9669.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_14_9674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5970792770385742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 10:56:32.394214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_07_3660.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_11_3336.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_13_2587.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_16_2714.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_19_2535.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_25_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_07_3660.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_11_3336.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_13_2587.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_16_2714.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_19_2535.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_25_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043931","1397043928","1397043930","1397043932","1397043926","1397043929"],"photo_ids_order":["1397043926","1397043928","1397043929","1397043930","1397043931","1397043932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8d59b3cb8894e56a1506db6f07b9153.jpg","text":"TemporaryFile(/tmp/multipartBody5905798516680159805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_19_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/30/0de6ceddfa0785b93816f4a4a0380c26.jpg","text":"TemporaryFile(/tmp/multipartBody2234625152791505695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_11_3336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cafc595e503ad4f18cb01c6a8103909.jpg","text":"TemporaryFile(/tmp/multipartBody3399710684080829555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4cbf062f2ced63fad5fefc736182070.jpg","text":"TemporaryFile(/tmp/multipartBody5593666889701301797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_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/30/6d5b4c265b7cd45a6ec2e9243e7f40de.jpg","text":"TemporaryFile(/tmp/multipartBody1539276243104235235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_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/30/b6970e4a0768e7c6ef2d2c8e3c477235.jpg","text":"TemporaryFile(/tmp/multipartBody32077601243462571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496659412,"filename":"image_25112025_20_07_13_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043929","file1":"1397043928","file0":"1397043926","file4":"1397043931","file5":"1397043932","file3":"1397043930"},"map_files_photo_id_array":[{"photo_id":"1397043932","filename":"file5"},{"photo_id":"1397043929","filename":"file2"},{"photo_id":"1397043931","filename":"file4"},{"photo_id":"1397043928","filename":"file1"},{"photo_id":"1397043926","filename":"file0"},{"photo_id":"1397043930","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397043931":["hashtag1","hashtag2"]},{"1397043928":["hashtag1","hashtag2"]},{"1397043930":["hashtag1","hashtag2"]},{"1397043932":["hashtag1","hashtag2"]},{"1397043926":["hashtag1","hashtag2"]},{"1397043929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397043931, 1397043928, 1397043930, 1397043932, 1397043926, 1397043929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59157180786133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 10:57:22.664291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_23_9857.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_34_10580.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_44_9673.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_54_10470.jpg', '/home/pi/Desktop/images/30112025/08/40/image_30112025_08_41_04_9669.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_14_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_23_9857.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_34_10580.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_44_9673.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_40_54_10470.jpg
/home/pi/Desktop/images/30112025/08/40/image_30112025_08_41_04_9669.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_14_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397043938","1397043937","1397043934","1397043933","1397043936","1397043935"],"photo_ids_order":["1397043933","1397043934","1397043935","1397043936","1397043937","1397043938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a4ad8a61fe0a197d72d5ba7db645887.jpg","text":"TemporaryFile(/tmp/multipartBody7779046679758354227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_41_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d46e546527f4535ac24476a14ea137fa.jpg","text":"TemporaryFile(/tmp/multipartBody5652499397782267636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_41_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a1112a88c5cc2ffe64c601057324569.jpg","text":"TemporaryFile(/tmp/multipartBody7169941662326930974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_40_34_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7634f77c47002dd036a97f404fe3dfbf.jpg","text":"TemporaryFile(/tmp/multipartBody7786857347155816728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_40_23_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5084e41739694fde1b153794d0837146.jpg","text":"TemporaryFile(/tmp/multipartBody2940380514168194180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_40_54_10470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74a204709082be6c1ca6ff64c9e4f103.jpg","text":"TemporaryFile(/tmp/multipartBody334565310360373352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496703347,"filename":"image_30112025_08_40_44_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397043935","file1":"1397043934","file0":"1397043933","file4":"1397043937","file5":"1397043938","file3":"1397043936"},"map_files_photo_id_array":[{"photo_id":"1397043938","filename":"file5"},{"photo_id":"1397043935","filename":"file2"},{"photo_id":"1397043937","filename":"file4"},{"photo_id":"1397043934","filename":"file1"},{"photo_id":"1397043933","filename":"file0"},{"photo_id":"1397043936","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397043938":["hashtag1","hashtag2"]},{"1397043937":["hashtag1","hashtag2"]},{"1397043934":["hashtag1","hashtag2"]},{"1397043933":["hashtag1","hashtag2"]},{"1397043936":["hashtag1","hashtag2"]},{"1397043935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397043938, 1397043937, 1397043934, 1397043933, 1397043936, 1397043935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18168115615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 10:59:02.687743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_24_10661.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_34_9561.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_44_10582.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_54_9609.jpg', '/home/pi/Desktop/images/30112025/08/41/image_30112025_08_42_04_9706.jpg', '/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_14_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_24_10661.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_34_9561.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_44_10582.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_41_54_9609.jpg
/home/pi/Desktop/images/30112025/08/41/image_30112025_08_42_04_9706.jpg
/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_14_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397044642","1397044570","1397044534","1397044682","1397044487","1397044607"],"photo_ids_order":["1397044487","1397044534","1397044570","1397044607","1397044642","1397044682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a865231d914123d4499274172556d722.jpg","text":"TemporaryFile(/tmp/multipartBody4445673319996922428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_42_04_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01c18fbf8e3d135b713a6d85df15e34a.jpg","text":"TemporaryFile(/tmp/multipartBody5042713460190013209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_41_44_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e44635483d2f4237772c84bb8ec542f4.jpg","text":"TemporaryFile(/tmp/multipartBody2845842319606303010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_41_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/417132573275f687713478b7a831bd84.jpg","text":"TemporaryFile(/tmp/multipartBody9028509062748319937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_42_14_10477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8895ff24dd724214c164b1db6dda0b81.jpg","text":"TemporaryFile(/tmp/multipartBody1411841603229681197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_41_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2ce01850d1a96024172845a483ea1be.jpg","text":"TemporaryFile(/tmp/multipartBody1484515208251047330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496803399,"filename":"image_30112025_08_41_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397044570","file1":"1397044534","file0":"1397044487","file4":"1397044642","file5":"1397044682","file3":"1397044607"},"map_files_photo_id_array":[{"photo_id":"1397044682","filename":"file5"},{"photo_id":"1397044570","filename":"file2"},{"photo_id":"1397044642","filename":"file4"},{"photo_id":"1397044534","filename":"file1"},{"photo_id":"1397044487","filename":"file0"},{"photo_id":"1397044607","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397044642":["hashtag1","hashtag2"]},{"1397044570":["hashtag1","hashtag2"]},{"1397044534":["hashtag1","hashtag2"]},{"1397044682":["hashtag1","hashtag2"]},{"1397044487":["hashtag1","hashtag2"]},{"1397044607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397044642, 1397044570, 1397044534, 1397044682, 1397044487, 1397044607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5212185382843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 10:59:41.980098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/29/image_31102025_12_29_42_2605.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_45_3542.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_48_2780.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_54_3620.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_57_2705.jpg', '/home/pi/Desktop/images/31102025/12/29/image_31102025_12_30_00_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/12/29/image_31102025_12_29_42_2605.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_45_3542.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_48_2780.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_54_3620.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_29_57_2705.jpg
/home/pi/Desktop/images/31102025/12/29/image_31102025_12_30_00_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397044933","1397045082","1397045166","1397044863","1397045010","1397045132"],"photo_ids_order":["1397044863","1397044933","1397045010","1397045082","1397045132","1397045166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a920ea61c8a91307e107f6cc679290e.jpg","text":"TemporaryFile(/tmp/multipartBody6116158793193112977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_29_45_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/30/98d1288b4b333280ca227e0b207b906a.jpg","text":"TemporaryFile(/tmp/multipartBody8568103462953517914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_29_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/30/2f9da734832c5c0be70b75a3907870e5.jpg","text":"TemporaryFile(/tmp/multipartBody8237623907584531183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_30_00_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/30/0d0d1e73b0d2f0a6a72ece161110c05f.jpg","text":"TemporaryFile(/tmp/multipartBody2193115452471043393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_29_42_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/30/35de8d439e6d75caac8a064d90ee5822.jpg","text":"TemporaryFile(/tmp/multipartBody7621068538981766543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_29_48_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aed5eed2471f2daec39e2854ef7ce6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4046134211701337496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496842868,"filename":"image_31102025_12_29_57_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397045010","file1":"1397044933","file0":"1397044863","file4":"1397045132","file5":"1397045166","file3":"1397045082"},"map_files_photo_id_array":[{"photo_id":"1397045166","filename":"file5"},{"photo_id":"1397045010","filename":"file2"},{"photo_id":"1397045132","filename":"file4"},{"photo_id":"1397044933","filename":"file1"},{"photo_id":"1397044863","filename":"file0"},{"photo_id":"1397045082","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397044933":["hashtag1","hashtag2"]},{"1397045082":["hashtag1","hashtag2"]},{"1397045166":["hashtag1","hashtag2"]},{"1397044863":["hashtag1","hashtag2"]},{"1397045010":["hashtag1","hashtag2"]},{"1397045132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397044933, 1397045082, 1397045166, 1397044863, 1397045010, 1397045132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.287962198257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:00:22.140960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_24_9690.jpg', '/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_34_9984.jpg', '/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_44_9743.jpg', '/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_54_10573.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_10_15555.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_14_4758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_24_9690.jpg
/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_34_9984.jpg
/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_44_9743.jpg
/home/pi/Desktop/images/30112025/08/42/image_30112025_08_42_54_10573.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_10_15555.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_14_4758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397045409","1397045444","1397045372","1397045336","1397045299","1397045278"],"photo_ids_order":["1397045278","1397045299","1397045336","1397045372","1397045409","1397045444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2be14530c208bb20ecc8b2cdc0cc2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7548339648048894114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_43_10_15555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b1b2a3c4614e2028d67ea43089701e6.jpg","text":"TemporaryFile(/tmp/multipartBody9003342060478451079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_43_14_4758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e8622ed76bb5b499e0406961a47b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody951563016330852716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_42_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e023ff206444bfeb48b6e71c808b0801.jpg","text":"TemporaryFile(/tmp/multipartBody2998710693669342565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_42_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4deabd2c0afd65ad47ee2f2038c221eb.jpg","text":"TemporaryFile(/tmp/multipartBody5741141320361942327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_42_34_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5f4efe285efef48e0e760bf425021ef.jpg","text":"TemporaryFile(/tmp/multipartBody7640444306847361130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496882807,"filename":"image_30112025_08_42_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397045336","file1":"1397045299","file0":"1397045278","file4":"1397045409","file5":"1397045444","file3":"1397045372"},"map_files_photo_id_array":[{"photo_id":"1397045444","filename":"file5"},{"photo_id":"1397045336","filename":"file2"},{"photo_id":"1397045409","filename":"file4"},{"photo_id":"1397045299","filename":"file1"},{"photo_id":"1397045278","filename":"file0"},{"photo_id":"1397045372","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397045409":["hashtag1","hashtag2"]},{"1397045444":["hashtag1","hashtag2"]},{"1397045372":["hashtag1","hashtag2"]},{"1397045336":["hashtag1","hashtag2"]},{"1397045299":["hashtag1","hashtag2"]},{"1397045278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397045409, 1397045444, 1397045372, 1397045336, 1397045299, 1397045278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.574199199676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:01:03.338997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_24_9665.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_34_9629.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_44_10259.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_54_9528.jpg', '/home/pi/Desktop/images/30112025/08/43/image_30112025_08_44_04_10497.jpg', '/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_24_9665.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_34_9629.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_44_10259.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_43_54_9528.jpg
/home/pi/Desktop/images/30112025/08/43/image_30112025_08_44_04_10497.jpg
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_14_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397045697","1397045934","1397045835","1397045978","1397045891","1397045767"],"photo_ids_order":["1397045697","1397045767","1397045835","1397045891","1397045934","1397045978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c72177b79e34d12e7959699e0794150.jpg","text":"TemporaryFile(/tmp/multipartBody2801173138244673329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_43_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fbdd43acc1514d640b802f99d8e483a.jpg","text":"TemporaryFile(/tmp/multipartBody7602724483849396603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_44_04_10497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09ecf2778c9784f3ebf4d698665e1bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3711816416519512803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_43_44_10259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb459422b39d63f09763b765f4036a07.jpg","text":"TemporaryFile(/tmp/multipartBody6652768009194726584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_44_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24288c0e1953a32474227b3f82e62beb.jpg","text":"TemporaryFile(/tmp/multipartBody591058826764589333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_43_54_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4953b6a9e28f1b2c4e68522d64e260ed.jpg","text":"TemporaryFile(/tmp/multipartBody6165223957257331413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496924127,"filename":"image_30112025_08_43_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397045835","file1":"1397045767","file0":"1397045697","file4":"1397045934","file5":"1397045978","file3":"1397045891"},"map_files_photo_id_array":[{"photo_id":"1397045978","filename":"file5"},{"photo_id":"1397045835","filename":"file2"},{"photo_id":"1397045934","filename":"file4"},{"photo_id":"1397045767","filename":"file1"},{"photo_id":"1397045697","filename":"file0"},{"photo_id":"1397045891","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397045697":["hashtag1","hashtag2"]},{"1397045934":["hashtag1","hashtag2"]},{"1397045835":["hashtag1","hashtag2"]},{"1397045978":["hashtag1","hashtag2"]},{"1397045891":["hashtag1","hashtag2"]},{"1397045767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397045697, 1397045934, 1397045835, 1397045978, 1397045891, 1397045767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24893045425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:01:42.659323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/30/image_31102025_12_30_07_3012.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_11_3583.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_17_3596.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_23_2672.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_26_3645.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_32_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_07_3012.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_11_3583.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_17_3596.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_23_2672.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_26_3645.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_32_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397046144","1397046143","1397046175","1397046142","1397046145","1397046121"],"photo_ids_order":["1397046121","1397046142","1397046143","1397046144","1397046145","1397046175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6108c614e74621930e8498f8ead25a4.jpg","text":"TemporaryFile(/tmp/multipartBody5222428801376090650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_23_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e11b54df7510f24a07dbe5f71d9e07c0.jpg","text":"TemporaryFile(/tmp/multipartBody1337986014908691518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_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/30/bcb17c12090a6eb7bc38a7f7761bb963.jpg","text":"TemporaryFile(/tmp/multipartBody8749506727122294781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_32_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/30/a307822234e148a55f22c818282e6659.jpg","text":"TemporaryFile(/tmp/multipartBody3383895699898055515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_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/30/cd67177a3d007c7ed8de6f0ef828e041.jpg","text":"TemporaryFile(/tmp/multipartBody5207589097246584463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_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/30/5d7cb75a47562e5715fc1eba129b41e0.jpg","text":"TemporaryFile(/tmp/multipartBody7184321420753751407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764496963535,"filename":"image_31102025_12_30_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397046143","file1":"1397046142","file0":"1397046121","file4":"1397046145","file5":"1397046175","file3":"1397046144"},"map_files_photo_id_array":[{"photo_id":"1397046175","filename":"file5"},{"photo_id":"1397046143","filename":"file2"},{"photo_id":"1397046145","filename":"file4"},{"photo_id":"1397046142","filename":"file1"},{"photo_id":"1397046121","filename":"file0"},{"photo_id":"1397046144","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397046144":["hashtag1","hashtag2"]},{"1397046143":["hashtag1","hashtag2"]},{"1397046175":["hashtag1","hashtag2"]},{"1397046142":["hashtag1","hashtag2"]},{"1397046145":["hashtag1","hashtag2"]},{"1397046121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397046144, 1397046143, 1397046175, 1397046142, 1397046145, 1397046121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93137764930725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:02:22.842035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_24_10559.jpg', '/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_34_9687.jpg', '/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_47_13038.jpg', '/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_54_6767.jpg', '/home/pi/Desktop/images/30112025/08/44/image_30112025_08_45_04_10276.jpg', '/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_24_10559.jpg
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_34_9687.jpg
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_47_13038.jpg
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_44_54_6767.jpg
/home/pi/Desktop/images/30112025/08/44/image_30112025_08_45_04_10276.jpg
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_14_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397046621","1397046659","1397046568","1397046475","1397046511","1397046412"],"photo_ids_order":["1397046412","1397046475","1397046511","1397046568","1397046621","1397046659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b36ec4a6a53be349fbe6f730ca6764af.jpg","text":"TemporaryFile(/tmp/multipartBody709009829432929939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_45_04_10276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c18bdcd22087ed133cdc44938915fdc.jpg","text":"TemporaryFile(/tmp/multipartBody1268320065780230310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_45_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c7da9671b1beb2245503fc25cac4710.jpg","text":"TemporaryFile(/tmp/multipartBody3659448913465230653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_44_54_6767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7571ce50e54221c9338bf0a7a5fbfaaa.jpg","text":"TemporaryFile(/tmp/multipartBody1039747148062788603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_44_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c544d986da3687d6780cd859e348d1cf.jpg","text":"TemporaryFile(/tmp/multipartBody8535194103388315261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_44_47_13038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbe2831fe6c150d01a40998a64086839.jpg","text":"TemporaryFile(/tmp/multipartBody7428251396580648113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497003575,"filename":"image_30112025_08_44_24_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397046511","file1":"1397046475","file0":"1397046412","file4":"1397046621","file5":"1397046659","file3":"1397046568"},"map_files_photo_id_array":[{"photo_id":"1397046659","filename":"file5"},{"photo_id":"1397046511","filename":"file2"},{"photo_id":"1397046621","filename":"file4"},{"photo_id":"1397046475","filename":"file1"},{"photo_id":"1397046412","filename":"file0"},{"photo_id":"1397046568","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397046621":["hashtag1","hashtag2"]},{"1397046659":["hashtag1","hashtag2"]},{"1397046568":["hashtag1","hashtag2"]},{"1397046475":["hashtag1","hashtag2"]},{"1397046511":["hashtag1","hashtag2"]},{"1397046412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397046621, 1397046659, 1397046568, 1397046475, 1397046511, 1397046412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72494316101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:03:02.488223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_24_10272.jpg', '/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_34_9625.jpg', '/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_44_10562.jpg', '/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_54_9645.jpg', '/home/pi/Desktop/images/30112025/08/45/image_30112025_08_46_04_10541.jpg', '/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_14_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_24_10272.jpg
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_34_9625.jpg
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_44_10562.jpg
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_45_54_9645.jpg
/home/pi/Desktop/images/30112025/08/45/image_30112025_08_46_04_10541.jpg
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_14_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397046855","1397046822","1397046785","1397046968","1397046929","1397046894"],"photo_ids_order":["1397046785","1397046822","1397046855","1397046894","1397046929","1397046968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed16423663f91f7f3352d720a7a149ab.jpg","text":"TemporaryFile(/tmp/multipartBody399717991287977468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_45_44_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a77d95cc968c9754ddf5911d19e0343.jpg","text":"TemporaryFile(/tmp/multipartBody9003560704295653117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_45_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52a5da94379b97d4a8b729f1c48ef09f.jpg","text":"TemporaryFile(/tmp/multipartBody7526553004646017879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_45_24_10272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6ef4efb794c8f12fd183e70c6e01b36.jpg","text":"TemporaryFile(/tmp/multipartBody5866244665758843585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_46_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04c7d5f0db70b66de6040c170982d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody5333579266713196616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_46_04_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b281200bde1a1e023b3681087aabd78.jpg","text":"TemporaryFile(/tmp/multipartBody7532182614251007162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497043247,"filename":"image_30112025_08_45_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397046855","file1":"1397046822","file0":"1397046785","file4":"1397046929","file5":"1397046968","file3":"1397046894"},"map_files_photo_id_array":[{"photo_id":"1397046968","filename":"file5"},{"photo_id":"1397046855","filename":"file2"},{"photo_id":"1397046929","filename":"file4"},{"photo_id":"1397046822","filename":"file1"},{"photo_id":"1397046785","filename":"file0"},{"photo_id":"1397046894","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397046855":["hashtag1","hashtag2"]},{"1397046822":["hashtag1","hashtag2"]},{"1397046785":["hashtag1","hashtag2"]},{"1397046968":["hashtag1","hashtag2"]},{"1397046929":["hashtag1","hashtag2"]},{"1397046894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397046855, 1397046822, 1397046785, 1397046968, 1397046929, 1397046894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09712767601013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:03:41.981608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/30/image_31102025_12_30_34_2700.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_38_3645.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_41_2655.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_44_3618.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_47_2706.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_50_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_34_2700.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_38_3645.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_41_2655.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_44_3618.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_47_2706.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_50_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047209","1397047137","1397047100","1397047279","1397047243","1397047173"],"photo_ids_order":["1397047100","1397047137","1397047173","1397047209","1397047243","1397047279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/634e5baff66b0e8cef597f1d5a909675.jpg","text":"TemporaryFile(/tmp/multipartBody3144444566754125529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_44_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/30/ff803c8bb981147835ad411e7c391c51.jpg","text":"TemporaryFile(/tmp/multipartBody7510286753816476739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_38_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/30/5e387ffcd3bd531e96072e9892d8237d.jpg","text":"TemporaryFile(/tmp/multipartBody2772805628432343559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_34_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82c6a6728f5612a763d29b097872a62c.jpg","text":"TemporaryFile(/tmp/multipartBody4647186986335952644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_50_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93bba83888a9f3a3bb7b70bf9b3e09fc.jpg","text":"TemporaryFile(/tmp/multipartBody806604912461343271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_47_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62afa0f2bc9b16702346feef1e722f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5708546305749432011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497082865,"filename":"image_31102025_12_30_41_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047173","file1":"1397047137","file0":"1397047100","file4":"1397047243","file5":"1397047279","file3":"1397047209"},"map_files_photo_id_array":[{"photo_id":"1397047279","filename":"file5"},{"photo_id":"1397047173","filename":"file2"},{"photo_id":"1397047243","filename":"file4"},{"photo_id":"1397047137","filename":"file1"},{"photo_id":"1397047100","filename":"file0"},{"photo_id":"1397047209","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397047209":["hashtag1","hashtag2"]},{"1397047137":["hashtag1","hashtag2"]},{"1397047100":["hashtag1","hashtag2"]},{"1397047279":["hashtag1","hashtag2"]},{"1397047243":["hashtag1","hashtag2"]},{"1397047173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397047209, 1397047137, 1397047100, 1397047279, 1397047243, 1397047173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225285053253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:04:22.158301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_24_9893.jpg', '/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_34_9742.jpg', '/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_44_10587.jpg', '/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_54_9577.jpg', '/home/pi/Desktop/images/30112025/08/46/image_30112025_08_47_04_9772.jpg', '/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_14_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_24_9893.jpg
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_34_9742.jpg
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_44_10587.jpg
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_46_54_9577.jpg
/home/pi/Desktop/images/30112025/08/46/image_30112025_08_47_04_9772.jpg
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_14_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047376","1397047378","1397047380","1397047374","1397047383","1397047371"],"photo_ids_order":["1397047371","1397047374","1397047376","1397047378","1397047380","1397047383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4efd015d7eae2ba159e74204eaf39fed.jpg","text":"TemporaryFile(/tmp/multipartBody2332388356140550799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_46_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09224f204e1bd4037664b8ae9b6953f9.jpg","text":"TemporaryFile(/tmp/multipartBody2312275890118705539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_46_54_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a64b11c2a387701e8c574a9b1c1b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody6139555718929504925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_47_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a207d448aa72d5b9e377bd33076508a.jpg","text":"TemporaryFile(/tmp/multipartBody3732661159738023057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_46_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0c0153f3fe30946a7a47be0be28a588.jpg","text":"TemporaryFile(/tmp/multipartBody3301364615482684639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_47_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e6d2e30c154f1549f001cfb7e09a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody8221206655549389746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497122852,"filename":"image_30112025_08_46_24_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047376","file1":"1397047374","file0":"1397047371","file4":"1397047380","file5":"1397047383","file3":"1397047378"},"map_files_photo_id_array":[{"photo_id":"1397047383","filename":"file5"},{"photo_id":"1397047376","filename":"file2"},{"photo_id":"1397047380","filename":"file4"},{"photo_id":"1397047374","filename":"file1"},{"photo_id":"1397047371","filename":"file0"},{"photo_id":"1397047378","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047376":["hashtag1","hashtag2"]},{"1397047378":["hashtag1","hashtag2"]},{"1397047380":["hashtag1","hashtag2"]},{"1397047374":["hashtag1","hashtag2"]},{"1397047383":["hashtag1","hashtag2"]},{"1397047371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047376, 1397047378, 1397047380, 1397047374, 1397047383, 1397047371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57252216339111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:05:03.141125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_24_9635.jpg', '/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_34_9767.jpg', '/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_44_10597.jpg', '/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_54_9653.jpg', '/home/pi/Desktop/images/30112025/08/47/image_30112025_08_48_04_10532.jpg', '/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_14_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_24_9635.jpg
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_34_9767.jpg
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_44_10597.jpg
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_47_54_9653.jpg
/home/pi/Desktop/images/30112025/08/47/image_30112025_08_48_04_10532.jpg
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_14_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047391","1397047388","1397047387","1397047386","1397047395","1397047389"],"photo_ids_order":["1397047386","1397047387","1397047388","1397047389","1397047391","1397047395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c7cb29ccf212b9f2a71ad5f397f35ce.jpg","text":"TemporaryFile(/tmp/multipartBody6908099294145148066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_48_04_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c7522c73ac7d927b26a174d2915ed38.jpg","text":"TemporaryFile(/tmp/multipartBody9048588422238588855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_47_44_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/477ea046a81c14598be78ca542288881.jpg","text":"TemporaryFile(/tmp/multipartBody4009588935445456302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_47_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b754dd53c0c2b3f128704884d3f3e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5422772775979858438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_47_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f7eea33717809ba5d949e5a31665e30.jpg","text":"TemporaryFile(/tmp/multipartBody52125165108705996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_48_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edbc65e77ac10be7613de186a557e6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4483846232924453884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497163902,"filename":"image_30112025_08_47_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047388","file1":"1397047387","file0":"1397047386","file4":"1397047391","file5":"1397047395","file3":"1397047389"},"map_files_photo_id_array":[{"photo_id":"1397047395","filename":"file5"},{"photo_id":"1397047388","filename":"file2"},{"photo_id":"1397047391","filename":"file4"},{"photo_id":"1397047387","filename":"file1"},{"photo_id":"1397047386","filename":"file0"},{"photo_id":"1397047389","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047391":["hashtag1","hashtag2"]},{"1397047388":["hashtag1","hashtag2"]},{"1397047387":["hashtag1","hashtag2"]},{"1397047386":["hashtag1","hashtag2"]},{"1397047395":["hashtag1","hashtag2"]},{"1397047389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047391, 1397047388, 1397047387, 1397047386, 1397047395, 1397047389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.485297203063965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:05:42.429140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/30/image_31102025_12_30_53_3656.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_56_2669.jpg', '/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_59_2676.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_02_3692.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_05_2626.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_08_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/12/30/image_31102025_12_30_53_3656.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_56_2669.jpg
/home/pi/Desktop/images/31102025/12/30/image_31102025_12_30_59_2676.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_02_3692.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_05_2626.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_08_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":["1397047608","1397047499","1397047535","1397047573","1397047678","1397047642"],"photo_ids_order":["1397047499","1397047535","1397047573","1397047608","1397047642","1397047678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbac8040be222bde7335e3b127bf1ced.jpg","text":"TemporaryFile(/tmp/multipartBody4880772798168809232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_31_02_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/30/719389f4bab7923e9745c8921fe5a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody3951798569836374121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_30_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/30/81aa9c70fe9f2e141b2335fecb958fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4915956465883857606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_30_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/30/71fec14a43732e820953bd7dbec82ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6448104697436251736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_30_59_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/30/e53cdfc8b9e85df54c8013646d71b667.jpg","text":"TemporaryFile(/tmp/multipartBody744285234952094576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_31_08_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/30/4cc2b659b1c6b1d5ebc07c731f91549d.jpg","text":"TemporaryFile(/tmp/multipartBody2740867120784909600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497203306,"filename":"image_31102025_12_31_05_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047573","file1":"1397047535","file0":"1397047499","file4":"1397047642","file5":"1397047678","file3":"1397047608"},"map_files_photo_id_array":[{"photo_id":"1397047678","filename":"file5"},{"photo_id":"1397047573","filename":"file2"},{"photo_id":"1397047642","filename":"file4"},{"photo_id":"1397047535","filename":"file1"},{"photo_id":"1397047499","filename":"file0"},{"photo_id":"1397047608","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397047608":["hashtag1","hashtag2"]},{"1397047499":["hashtag1","hashtag2"]},{"1397047535":["hashtag1","hashtag2"]},{"1397047573":["hashtag1","hashtag2"]},{"1397047678":["hashtag1","hashtag2"]},{"1397047642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397047608, 1397047499, 1397047535, 1397047573, 1397047678, 1397047642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78427481651306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:06:22.611372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_24_9632.jpg', '/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_34_9910.jpg', '/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_44_10647.jpg', '/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_54_9594.jpg', '/home/pi/Desktop/images/30112025/08/48/image_30112025_08_49_03_9653.jpg', '/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_14_10888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_24_9632.jpg
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_34_9910.jpg
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_44_10647.jpg
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_48_54_9594.jpg
/home/pi/Desktop/images/30112025/08/48/image_30112025_08_49_03_9653.jpg
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_14_10888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047778","1397047771","1397047774","1397047846","1397047854","1397047812"],"photo_ids_order":["1397047771","1397047774","1397047778","1397047812","1397047846","1397047854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/600c081eaec7910e677597bb433dbc75.jpg","text":"TemporaryFile(/tmp/multipartBody5356329204838132954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_48_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5219317d321a61967883ed5dcf36e02e.jpg","text":"TemporaryFile(/tmp/multipartBody7552971392158382184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_48_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3aef0944286a85af36079d994f9b525a.jpg","text":"TemporaryFile(/tmp/multipartBody3609172359851101875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_48_34_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66098acd4a1b7cb6c0ec868ff664ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody285270199614870010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_49_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29ed1a1eaa7fedd1a26a9c3db97e3636.jpg","text":"TemporaryFile(/tmp/multipartBody7790614980182163899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_49_14_10888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c54ae56bb2a45b460b989fb3a1c8e535.jpg","text":"TemporaryFile(/tmp/multipartBody6758882612640568984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497243342,"filename":"image_30112025_08_48_54_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047778","file1":"1397047774","file0":"1397047771","file4":"1397047846","file5":"1397047854","file3":"1397047812"},"map_files_photo_id_array":[{"photo_id":"1397047854","filename":"file5"},{"photo_id":"1397047778","filename":"file2"},{"photo_id":"1397047846","filename":"file4"},{"photo_id":"1397047774","filename":"file1"},{"photo_id":"1397047771","filename":"file0"},{"photo_id":"1397047812","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047778":["hashtag1","hashtag2"]},{"1397047771":["hashtag1","hashtag2"]},{"1397047774":["hashtag1","hashtag2"]},{"1397047846":["hashtag1","hashtag2"]},{"1397047854":["hashtag1","hashtag2"]},{"1397047812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047778, 1397047771, 1397047774, 1397047846, 1397047854, 1397047812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.191874265670776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:07:03.410919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_24_9806.jpg', '/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_34_9650.jpg', '/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_44_10549.jpg', '/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_54_9726.jpg', '/home/pi/Desktop/images/30112025/08/49/image_30112025_08_50_04_9826.jpg', '/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_24_9806.jpg
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_34_9650.jpg
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_44_10549.jpg
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_49_54_9726.jpg
/home/pi/Desktop/images/30112025/08/49/image_30112025_08_50_04_9826.jpg
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_14_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047928","1397047927","1397047932","1397047935","1397047929","1397047914"],"photo_ids_order":["1397047914","1397047927","1397047928","1397047929","1397047932","1397047935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af8813174b896b344d7bb42739a844b2.jpg","text":"TemporaryFile(/tmp/multipartBody7186267857704506893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_49_44_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/064de4e6d7220a608970023c7d90d594.jpg","text":"TemporaryFile(/tmp/multipartBody104335059974449526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_49_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72746de941bc867b316e1dc51afda595.jpg","text":"TemporaryFile(/tmp/multipartBody8548616765767329885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_50_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b5b93db8a0431ed18a1410a37f5d004.jpg","text":"TemporaryFile(/tmp/multipartBody2322313556311970579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_50_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38c438eae87a2699d40dd66af0e37c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8000084239758538630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_49_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e98ce6620d7f0a98c66f679d25468731.jpg","text":"TemporaryFile(/tmp/multipartBody6317304074854067787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497284168,"filename":"image_30112025_08_49_24_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047928","file1":"1397047927","file0":"1397047914","file4":"1397047932","file5":"1397047935","file3":"1397047929"},"map_files_photo_id_array":[{"photo_id":"1397047935","filename":"file5"},{"photo_id":"1397047928","filename":"file2"},{"photo_id":"1397047932","filename":"file4"},{"photo_id":"1397047927","filename":"file1"},{"photo_id":"1397047914","filename":"file0"},{"photo_id":"1397047929","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047928":["hashtag1","hashtag2"]},{"1397047927":["hashtag1","hashtag2"]},{"1397047932":["hashtag1","hashtag2"]},{"1397047935":["hashtag1","hashtag2"]},{"1397047929":["hashtag1","hashtag2"]},{"1397047914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047928, 1397047927, 1397047932, 1397047935, 1397047929, 1397047914)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.868834018707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:08:02.400749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_24_10716.jpg', '/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_34_9733.jpg', '/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_44_9727.jpg', '/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_54_9789.jpg', '/home/pi/Desktop/images/30112025/08/50/image_30112025_08_51_04_10680.jpg', '/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_14_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_24_10716.jpg
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_34_9733.jpg
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_44_9727.jpg
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_50_54_9789.jpg
/home/pi/Desktop/images/30112025/08/50/image_30112025_08_51_04_10680.jpg
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_14_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047943","1397047945","1397047942","1397047950","1397047944","1397047947"],"photo_ids_order":["1397047942","1397047943","1397047944","1397047945","1397047947","1397047950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/949ee39604a151286f91ef501acbae1b.jpg","text":"TemporaryFile(/tmp/multipartBody8674409407350547928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_50_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3768fc8fb23cf301c050850eaabe01a6.jpg","text":"TemporaryFile(/tmp/multipartBody840570568916365520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_50_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb9b3f7b74d0d9ab7d2bcffa10245d91.jpg","text":"TemporaryFile(/tmp/multipartBody7477709420796434877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_50_24_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1c02c27423cf3cb33f96b570c8ac604.jpg","text":"TemporaryFile(/tmp/multipartBody1988390544460523114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_51_14_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/711ec0d042f8f8f12bb874befe7eb641.jpg","text":"TemporaryFile(/tmp/multipartBody7225606793611759963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_50_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb2e80343aad981b9ab1d37f5a9ef592.jpg","text":"TemporaryFile(/tmp/multipartBody8917316414289697066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497343084,"filename":"image_30112025_08_51_04_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047944","file1":"1397047943","file0":"1397047942","file4":"1397047947","file5":"1397047950","file3":"1397047945"},"map_files_photo_id_array":[{"photo_id":"1397047950","filename":"file5"},{"photo_id":"1397047944","filename":"file2"},{"photo_id":"1397047947","filename":"file4"},{"photo_id":"1397047943","filename":"file1"},{"photo_id":"1397047942","filename":"file0"},{"photo_id":"1397047945","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047943":["hashtag1","hashtag2"]},{"1397047945":["hashtag1","hashtag2"]},{"1397047942":["hashtag1","hashtag2"]},{"1397047950":["hashtag1","hashtag2"]},{"1397047944":["hashtag1","hashtag2"]},{"1397047947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047943, 1397047945, 1397047942, 1397047950, 1397047944, 1397047947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.788007736206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:08:42.031234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/31/image_31102025_12_31_11_2834.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_14_3543.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_17_2703.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_19_2639.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_23_3793.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_26_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/12/31/image_31102025_12_31_11_2834.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_14_3543.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_17_2703.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_19_2639.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_23_3793.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_26_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":["1397047961","1397047963","1397047960","1397047962","1397047956","1397047959"],"photo_ids_order":["1397047956","1397047959","1397047960","1397047961","1397047962","1397047963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8b55c0740dbd8dc07410940fb2c0141.jpg","text":"TemporaryFile(/tmp/multipartBody306732773985278765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_19_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/621124002350f8e18b64a52c6aeefa44.jpg","text":"TemporaryFile(/tmp/multipartBody8202889495821597416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_26_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3605bae05f78bec5b4c67fd3da0a77dd.jpg","text":"TemporaryFile(/tmp/multipartBody5074754052320705790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_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/30/623b103bafbad2dfeff83049c105f5d6.jpg","text":"TemporaryFile(/tmp/multipartBody1782536803700038153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_23_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/30/ee3f81a16b069c2e9c28b108b6c5bd42.jpg","text":"TemporaryFile(/tmp/multipartBody5014728078218651866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_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/30/c548b8bca15ec14c2a95797b07382de5.jpg","text":"TemporaryFile(/tmp/multipartBody7647956175501681474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497382878,"filename":"image_31102025_12_31_14_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047960","file1":"1397047959","file0":"1397047956","file4":"1397047962","file5":"1397047963","file3":"1397047961"},"map_files_photo_id_array":[{"photo_id":"1397047963","filename":"file5"},{"photo_id":"1397047960","filename":"file2"},{"photo_id":"1397047962","filename":"file4"},{"photo_id":"1397047959","filename":"file1"},{"photo_id":"1397047956","filename":"file0"},{"photo_id":"1397047961","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397047961":["hashtag1","hashtag2"]},{"1397047963":["hashtag1","hashtag2"]},{"1397047960":["hashtag1","hashtag2"]},{"1397047962":["hashtag1","hashtag2"]},{"1397047956":["hashtag1","hashtag2"]},{"1397047959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397047961, 1397047963, 1397047960, 1397047962, 1397047956, 1397047959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.312376499176025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:09:22.251273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_24_9582.jpg', '/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_34_10732.jpg', '/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_44_9719.jpg', '/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_54_9833.jpg', '/home/pi/Desktop/images/30112025/08/51/image_30112025_08_52_04_9669.jpg', '/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_14_10880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_24_9582.jpg
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_34_10732.jpg
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_44_9719.jpg
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_51_54_9833.jpg
/home/pi/Desktop/images/30112025/08/51/image_30112025_08_52_04_9669.jpg
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_14_10880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047979","1397047973","1397047976","1397047970","1397047981","1397047966"],"photo_ids_order":["1397047966","1397047970","1397047973","1397047976","1397047979","1397047981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a68749ca23e89e0351ec30375a7c7eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1907693612110812649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_52_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e5e0de82dfc20eb3915569c0de379da.jpg","text":"TemporaryFile(/tmp/multipartBody3913398488813817257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_51_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fa956f9a0df9c68e4e0a47ef24b1d27.jpg","text":"TemporaryFile(/tmp/multipartBody777158856554761574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_51_54_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aba86eef2d2d3cfd80024e9909b32ff8.jpg","text":"TemporaryFile(/tmp/multipartBody8345904935486547215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_51_34_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21f3fb021ea01076a8ae286548b67531.jpg","text":"TemporaryFile(/tmp/multipartBody7288531714502336517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_52_14_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/594c4987253c75d26b4d9fd902de8520.jpg","text":"TemporaryFile(/tmp/multipartBody1734573418072880306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497422955,"filename":"image_30112025_08_51_24_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047973","file1":"1397047970","file0":"1397047966","file4":"1397047979","file5":"1397047981","file3":"1397047976"},"map_files_photo_id_array":[{"photo_id":"1397047981","filename":"file5"},{"photo_id":"1397047973","filename":"file2"},{"photo_id":"1397047979","filename":"file4"},{"photo_id":"1397047970","filename":"file1"},{"photo_id":"1397047966","filename":"file0"},{"photo_id":"1397047976","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397047979":["hashtag1","hashtag2"]},{"1397047973":["hashtag1","hashtag2"]},{"1397047976":["hashtag1","hashtag2"]},{"1397047970":["hashtag1","hashtag2"]},{"1397047981":["hashtag1","hashtag2"]},{"1397047966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397047979, 1397047973, 1397047976, 1397047970, 1397047981, 1397047966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19612669944763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:10:02.981560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 11:10:12.619884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_30_2657.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_34_3730.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_37_2571.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_39_2762.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_43_3615.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_46_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_30_2657.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_34_3730.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_37_2571.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_39_2762.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_43_3615.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_46_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397047982","1397047990","1397047993","1397047987","1397047995","1397047983"],"photo_ids_order":["1397047982","1397047983","1397047987","1397047990","1397047993","1397047995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/413c7b7f87140b40b6b9011f5fb20ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4740066456413776324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_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/30/ec4a7c171dfc7be07fca9aae9ffe7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5255539235105098591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_39_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/30/92bbda0e79589e7909ed7d9f23991cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5170621138791879129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_43_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b472672e273896daf65413dfca9122c4.jpg","text":"TemporaryFile(/tmp/multipartBody9089347057974167056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_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/30/5340c34c0f76033f96a9d34b75897c53.jpg","text":"TemporaryFile(/tmp/multipartBody6147639615033227193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_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/30/acd5bdf0e91c55b8a99dd656c832be5c.jpg","text":"TemporaryFile(/tmp/multipartBody555305015944755200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497474446,"filename":"image_25112025_20_07_34_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397047987","file1":"1397047983","file0":"1397047982","file4":"1397047993","file5":"1397047995","file3":"1397047990"},"map_files_photo_id_array":[{"photo_id":"1397047995","filename":"file5"},{"photo_id":"1397047987","filename":"file2"},{"photo_id":"1397047993","filename":"file4"},{"photo_id":"1397047983","filename":"file1"},{"photo_id":"1397047982","filename":"file0"},{"photo_id":"1397047990","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397047982":["hashtag1","hashtag2"]},{"1397047990":["hashtag1","hashtag2"]},{"1397047993":["hashtag1","hashtag2"]},{"1397047987":["hashtag1","hashtag2"]},{"1397047995":["hashtag1","hashtag2"]},{"1397047983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397047982, 1397047990, 1397047993, 1397047987, 1397047995, 1397047983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64817762374878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:11:03.447762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_24_9781.jpg', '/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_34_9528.jpg', '/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_44_9803.jpg', '/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_54_10736.jpg', '/home/pi/Desktop/images/30112025/08/52/image_30112025_08_53_04_9751.jpg', '/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_24_9781.jpg
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_34_9528.jpg
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_44_9803.jpg
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_52_54_10736.jpg
/home/pi/Desktop/images/30112025/08/52/image_30112025_08_53_04_9751.jpg
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_14_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048003","1397048002","1397048010","1397048007","1397048001","1397048004"],"photo_ids_order":["1397048001","1397048002","1397048003","1397048004","1397048007","1397048010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71c2100fd1a3607d3a3c96ca00a4f484.jpg","text":"TemporaryFile(/tmp/multipartBody2616662330705202270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_52_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d1aaca2349b89ea90c05716bcddf928.jpg","text":"TemporaryFile(/tmp/multipartBody5238894894643569564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_52_34_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f34bd3afcef61ca35681007ed1d234c.jpg","text":"TemporaryFile(/tmp/multipartBody3173126809001748032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_53_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0128b203f261c0f63cfd91ff2ed269b7.jpg","text":"TemporaryFile(/tmp/multipartBody2988223978481867652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_53_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3d0f68edcf4675262f17ec6c86111b0.jpg","text":"TemporaryFile(/tmp/multipartBody2571802281510668505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_52_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffbc1c13aba558e13f515676e0a8122e.jpg","text":"TemporaryFile(/tmp/multipartBody7693016250659960131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497524213,"filename":"image_30112025_08_52_54_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048003","file1":"1397048002","file0":"1397048001","file4":"1397048007","file5":"1397048010","file3":"1397048004"},"map_files_photo_id_array":[{"photo_id":"1397048010","filename":"file5"},{"photo_id":"1397048003","filename":"file2"},{"photo_id":"1397048007","filename":"file4"},{"photo_id":"1397048002","filename":"file1"},{"photo_id":"1397048001","filename":"file0"},{"photo_id":"1397048004","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048003":["hashtag1","hashtag2"]},{"1397048002":["hashtag1","hashtag2"]},{"1397048010":["hashtag1","hashtag2"]},{"1397048007":["hashtag1","hashtag2"]},{"1397048001":["hashtag1","hashtag2"]},{"1397048004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048003, 1397048002, 1397048010, 1397048007, 1397048001, 1397048004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01742887496948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:11:42.678693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/31/image_31102025_12_31_29_2686.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_32_3724.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_35_2601.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_38_2830.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_40_2705.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_44_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/12/31/image_31102025_12_31_29_2686.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_32_3724.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_35_2601.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_38_2830.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_40_2705.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_44_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":["1397048021","1397048018","1397048017","1397048019","1397048022","1397048016"],"photo_ids_order":["1397048016","1397048017","1397048018","1397048019","1397048021","1397048022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de0728e9c5bdf22e264e52eca17ac55e.jpg","text":"TemporaryFile(/tmp/multipartBody9176041086690192074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_40_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/30/ff38b17142766a4dd13ea9dc6a79ecae.jpg","text":"TemporaryFile(/tmp/multipartBody7838073514988957365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_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/30/0160d7ddf21601d2e9ae54e67683b5df.jpg","text":"TemporaryFile(/tmp/multipartBody4349773794928031988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_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/30/1ca71338a0ab6e8bd65480544d9549d3.jpg","text":"TemporaryFile(/tmp/multipartBody4518581208431173284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_38_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/30/4be16ad657b35d41ae5a3dd6df962b29.jpg","text":"TemporaryFile(/tmp/multipartBody4756474419246787834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_44_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ed07d1abcbf47c402f8b68676e9e38f.jpg","text":"TemporaryFile(/tmp/multipartBody3992237790585745715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497563528,"filename":"image_31102025_12_31_29_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048018","file1":"1397048017","file0":"1397048016","file4":"1397048021","file5":"1397048022","file3":"1397048019"},"map_files_photo_id_array":[{"photo_id":"1397048022","filename":"file5"},{"photo_id":"1397048018","filename":"file2"},{"photo_id":"1397048021","filename":"file4"},{"photo_id":"1397048017","filename":"file1"},{"photo_id":"1397048016","filename":"file0"},{"photo_id":"1397048019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397048021":["hashtag1","hashtag2"]},{"1397048018":["hashtag1","hashtag2"]},{"1397048017":["hashtag1","hashtag2"]},{"1397048019":["hashtag1","hashtag2"]},{"1397048022":["hashtag1","hashtag2"]},{"1397048016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397048021, 1397048018, 1397048017, 1397048019, 1397048022, 1397048016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.949434995651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:12:21.894377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_24_10728.jpg', '/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_34_9543.jpg', '/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_44_9704.jpg', '/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_53_9810.jpg', '/home/pi/Desktop/images/30112025/08/53/image_30112025_08_54_04_10586.jpg', '/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_24_10728.jpg
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_34_9543.jpg
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_44_9704.jpg
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_53_53_9810.jpg
/home/pi/Desktop/images/30112025/08/53/image_30112025_08_54_04_10586.jpg
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_14_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048036","1397048039","1397048031","1397048025","1397048034","1397048028"],"photo_ids_order":["1397048025","1397048028","1397048031","1397048034","1397048036","1397048039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aacc7d61372a088918132d8cf4980e32.jpg","text":"TemporaryFile(/tmp/multipartBody6433811781129169498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_54_04_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/125fdea8531f9beea1ccfa13c6c3b80c.jpg","text":"TemporaryFile(/tmp/multipartBody5142118795697482457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_54_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/173ed34ddc0e0cf2d35bffde66a06a41.jpg","text":"TemporaryFile(/tmp/multipartBody6147627009539901600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_53_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4ef9bd9395f4bf95623dbdae3e79fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2292927403508231206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_53_24_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efbb1eeb1d5bb47284919117702f831d.jpg","text":"TemporaryFile(/tmp/multipartBody4252868833462115689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_53_53_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8f121a8388b45166bf9c4fbea27169b.jpg","text":"TemporaryFile(/tmp/multipartBody442856110170068109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497602550,"filename":"image_30112025_08_53_34_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048031","file1":"1397048028","file0":"1397048025","file4":"1397048036","file5":"1397048039","file3":"1397048034"},"map_files_photo_id_array":[{"photo_id":"1397048039","filename":"file5"},{"photo_id":"1397048031","filename":"file2"},{"photo_id":"1397048036","filename":"file4"},{"photo_id":"1397048028","filename":"file1"},{"photo_id":"1397048025","filename":"file0"},{"photo_id":"1397048034","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048036":["hashtag1","hashtag2"]},{"1397048039":["hashtag1","hashtag2"]},{"1397048031":["hashtag1","hashtag2"]},{"1397048025":["hashtag1","hashtag2"]},{"1397048034":["hashtag1","hashtag2"]},{"1397048028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048036, 1397048039, 1397048031, 1397048025, 1397048034, 1397048028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.890982151031494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:13:02.919068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_24_10601.jpg', '/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_34_9625.jpg', '/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_44_9664.jpg', '/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_54_10595.jpg', '/home/pi/Desktop/images/30112025/08/54/image_30112025_08_55_04_9864.jpg', '/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_24_10601.jpg
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_34_9625.jpg
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_44_9664.jpg
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_54_54_10595.jpg
/home/pi/Desktop/images/30112025/08/54/image_30112025_08_55_04_9864.jpg
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_14_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048054","1397048048","1397048051","1397048045","1397048047","1397048046"],"photo_ids_order":["1397048045","1397048046","1397048047","1397048048","1397048051","1397048054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7593e244ff5a73773b9555bd61372886.jpg","text":"TemporaryFile(/tmp/multipartBody8779329606617541352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_55_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2297c7d3387a9680d1240458237f8b72.jpg","text":"TemporaryFile(/tmp/multipartBody1432266360772818106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_54_54_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b64f486025d1aa1403dec9149535263.jpg","text":"TemporaryFile(/tmp/multipartBody8688359245724883574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_55_04_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61faeea11723d28dc36eb4446adc69bb.jpg","text":"TemporaryFile(/tmp/multipartBody7934790109848183785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_54_24_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1a48a43cb3f5c32c8c0dc84fb6fa54d.jpg","text":"TemporaryFile(/tmp/multipartBody8735598516291468428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_54_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9901ce2ef3de850e587f8d514dc62ad.jpg","text":"TemporaryFile(/tmp/multipartBody830197840806883183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497643692,"filename":"image_30112025_08_54_34_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048047","file1":"1397048046","file0":"1397048045","file4":"1397048051","file5":"1397048054","file3":"1397048048"},"map_files_photo_id_array":[{"photo_id":"1397048054","filename":"file5"},{"photo_id":"1397048047","filename":"file2"},{"photo_id":"1397048051","filename":"file4"},{"photo_id":"1397048046","filename":"file1"},{"photo_id":"1397048045","filename":"file0"},{"photo_id":"1397048048","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048054":["hashtag1","hashtag2"]},{"1397048048":["hashtag1","hashtag2"]},{"1397048051":["hashtag1","hashtag2"]},{"1397048045":["hashtag1","hashtag2"]},{"1397048047":["hashtag1","hashtag2"]},{"1397048046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048054, 1397048048, 1397048051, 1397048045, 1397048047, 1397048046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49686670303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:13:42.279255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/31/image_31102025_12_31_47_2791.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_50_2667.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_56_3796.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_59_2580.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_01_2631.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_05_3843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_47_2791.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_50_2667.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_56_3796.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_59_2580.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_01_2631.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_05_3843.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8038692474365234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:14:02.983414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_23_9753.jpg', '/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_34_10603.jpg', '/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_44_9617.jpg', '/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_54_10736.jpg', '/home/pi/Desktop/images/30112025/08/55/image_30112025_08_56_04_9674.jpg', '/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_14_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_23_9753.jpg
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_34_10603.jpg
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_44_9617.jpg
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_55_54_10736.jpg
/home/pi/Desktop/images/30112025/08/55/image_30112025_08_56_04_9674.jpg
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_14_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048075","1397048069","1397048071","1397048065","1397048068","1397048067"],"photo_ids_order":["1397048065","1397048067","1397048068","1397048069","1397048071","1397048075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87e35ace9d214e692d67598bece22c98.jpg","text":"TemporaryFile(/tmp/multipartBody3442587756841369120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_56_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/511a77c6b0d9e3565e78e40b2df46076.jpg","text":"TemporaryFile(/tmp/multipartBody698662425932252512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_55_54_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27fb241551e8144d088fa3936a1d271c.jpg","text":"TemporaryFile(/tmp/multipartBody887598056555246899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_56_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b2db67c3360323e7e4aacd2f79a8887.jpg","text":"TemporaryFile(/tmp/multipartBody3551305306855913561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_55_23_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfdab5801bc92d3caaedd4f6d47c16d5.jpg","text":"TemporaryFile(/tmp/multipartBody990737502841277670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_55_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed37d2b8cb6054922c09a17e08a7de88.jpg","text":"TemporaryFile(/tmp/multipartBody4893117909161897587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497703691,"filename":"image_30112025_08_55_34_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048068","file1":"1397048067","file0":"1397048065","file4":"1397048071","file5":"1397048075","file3":"1397048069"},"map_files_photo_id_array":[{"photo_id":"1397048075","filename":"file5"},{"photo_id":"1397048068","filename":"file2"},{"photo_id":"1397048071","filename":"file4"},{"photo_id":"1397048067","filename":"file1"},{"photo_id":"1397048065","filename":"file0"},{"photo_id":"1397048069","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048075":["hashtag1","hashtag2"]},{"1397048069":["hashtag1","hashtag2"]},{"1397048071":["hashtag1","hashtag2"]},{"1397048065":["hashtag1","hashtag2"]},{"1397048068":["hashtag1","hashtag2"]},{"1397048067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048075, 1397048069, 1397048071, 1397048065, 1397048068, 1397048067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32569909095764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:14:42.478737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/31/image_31102025_12_31_47_2791.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_50_2667.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_56_3796.jpg', '/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_59_2580.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_01_2631.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_05_3843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_47_2791.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_50_2667.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_56_3796.jpg
/home/pi/Desktop/images/31102025/12/31/image_31102025_12_31_59_2580.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_01_2631.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_05_3843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048089","1397048083","1397048086","1397048088","1397048085","1397048087"],"photo_ids_order":["1397048083","1397048085","1397048086","1397048087","1397048088","1397048089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5afff69e2514762f3af8757445ffb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody6795670058303031508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_32_05_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c9a6d518813b10a05822b3fb81fe27a.jpg","text":"TemporaryFile(/tmp/multipartBody394666818594233037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_31_47_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b46301887d91a49927349a8451fe772.jpg","text":"TemporaryFile(/tmp/multipartBody1828128982692696594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_31_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/30/35ff9e43952d260b401ac33bfe9ccdff.jpg","text":"TemporaryFile(/tmp/multipartBody6908075263644347556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_32_01_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/30/36305cfe56cf6571d9f4406e41dc5260.jpg","text":"TemporaryFile(/tmp/multipartBody4383952560145578296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_31_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/30/97ee2c8ab8507f3b89835a49037b87fa.jpg","text":"TemporaryFile(/tmp/multipartBody5953771763945830794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497743218,"filename":"image_31102025_12_31_59_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048086","file1":"1397048085","file0":"1397048083","file4":"1397048088","file5":"1397048089","file3":"1397048087"},"map_files_photo_id_array":[{"photo_id":"1397048089","filename":"file5"},{"photo_id":"1397048086","filename":"file2"},{"photo_id":"1397048088","filename":"file4"},{"photo_id":"1397048085","filename":"file1"},{"photo_id":"1397048083","filename":"file0"},{"photo_id":"1397048087","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397048089":["hashtag1","hashtag2"]},{"1397048083":["hashtag1","hashtag2"]},{"1397048086":["hashtag1","hashtag2"]},{"1397048088":["hashtag1","hashtag2"]},{"1397048085":["hashtag1","hashtag2"]},{"1397048087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397048089, 1397048083, 1397048086, 1397048088, 1397048085, 1397048087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8656792640686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:15:22.678567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_24_9695.jpg', '/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_34_10611.jpg', '/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_44_9663.jpg', '/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_54_9713.jpg', '/home/pi/Desktop/images/30112025/08/56/image_30112025_08_57_04_10741.jpg', '/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_24_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_24_9695.jpg
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_34_10611.jpg
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_44_9663.jpg
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_56_54_9713.jpg
/home/pi/Desktop/images/30112025/08/56/image_30112025_08_57_04_10741.jpg
/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_24_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048096","1397048102","1397048105","1397048107","1397048099","1397048093"],"photo_ids_order":["1397048093","1397048096","1397048099","1397048102","1397048105","1397048107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89353e93443038029713f4ff6a0e9072.jpg","text":"TemporaryFile(/tmp/multipartBody5226514980845518422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_56_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49f39d65c593b13becfe463f43133f72.jpg","text":"TemporaryFile(/tmp/multipartBody2625013973397458399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_56_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/328e1a399a19c4ae56f8a71597752ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6434279722462234195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_57_04_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36f8f02c5324477f8dd9e7fc24e76a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4802389878606698665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_57_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6682cf9fd1784e9eb0b6f3b194b5a99.jpg","text":"TemporaryFile(/tmp/multipartBody8137344360260185022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_56_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a85824e4c8818931c3fc0846cc516e23.jpg","text":"TemporaryFile(/tmp/multipartBody1938028729472945774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497783409,"filename":"image_30112025_08_56_24_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048099","file1":"1397048096","file0":"1397048093","file4":"1397048105","file5":"1397048107","file3":"1397048102"},"map_files_photo_id_array":[{"photo_id":"1397048107","filename":"file5"},{"photo_id":"1397048099","filename":"file2"},{"photo_id":"1397048105","filename":"file4"},{"photo_id":"1397048096","filename":"file1"},{"photo_id":"1397048093","filename":"file0"},{"photo_id":"1397048102","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048096":["hashtag1","hashtag2"]},{"1397048102":["hashtag1","hashtag2"]},{"1397048105":["hashtag1","hashtag2"]},{"1397048107":["hashtag1","hashtag2"]},{"1397048099":["hashtag1","hashtag2"]},{"1397048093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048096, 1397048102, 1397048105, 1397048107, 1397048099, 1397048093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.952550172805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:16:02.288744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_34_9703.jpg', '/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_54_9664.jpg', '/home/pi/Desktop/images/30112025/08/57/image_30112025_08_58_04_9864.jpg', '/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_14_9857.jpg', '/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_24_10565.jpg', '/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_34_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_34_9703.jpg
/home/pi/Desktop/images/30112025/08/57/image_30112025_08_57_54_9664.jpg
/home/pi/Desktop/images/30112025/08/57/image_30112025_08_58_04_9864.jpg
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_14_9857.jpg
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_24_10565.jpg
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_34_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048111","1397048108","1397048113","1397048116","1397048110","1397048109"],"photo_ids_order":["1397048108","1397048109","1397048110","1397048111","1397048113","1397048116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44600fed09574c82b17e94285e1ec99d.jpg","text":"TemporaryFile(/tmp/multipartBody6670997315343736454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_58_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04e513d66f70628842ee79aa6332aad1.jpg","text":"TemporaryFile(/tmp/multipartBody9175031987043697500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_57_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aad461442854ee5f2be9fe7ca666ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody7110385561517313784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_58_24_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a09a1145918ce404b092e214da4a176d.jpg","text":"TemporaryFile(/tmp/multipartBody5386114606139318883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_58_34_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6056cf953ed4c300a5825302711d2818.jpg","text":"TemporaryFile(/tmp/multipartBody8912393043149633288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_58_04_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f6e374895ae2b63b8300d42e9f4aac8.jpg","text":"TemporaryFile(/tmp/multipartBody3234400048656861463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497823010,"filename":"image_30112025_08_57_54_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048110","file1":"1397048109","file0":"1397048108","file4":"1397048113","file5":"1397048116","file3":"1397048111"},"map_files_photo_id_array":[{"photo_id":"1397048116","filename":"file5"},{"photo_id":"1397048110","filename":"file2"},{"photo_id":"1397048113","filename":"file4"},{"photo_id":"1397048109","filename":"file1"},{"photo_id":"1397048108","filename":"file0"},{"photo_id":"1397048111","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048111":["hashtag1","hashtag2"]},{"1397048108":["hashtag1","hashtag2"]},{"1397048113":["hashtag1","hashtag2"]},{"1397048116":["hashtag1","hashtag2"]},{"1397048110":["hashtag1","hashtag2"]},{"1397048109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048111, 1397048108, 1397048113, 1397048116, 1397048110, 1397048109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62566089630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:16:41.943643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/32/image_31102025_12_32_08_2733.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_11_2791.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_13_2646.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_17_3687.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_20_2667.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_22_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_08_2733.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_11_2791.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_13_2646.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_17_3687.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_20_2667.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_22_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":["1397048129","1397048132","1397048131","1397048125","1397048128","1397048130"],"photo_ids_order":["1397048125","1397048128","1397048129","1397048130","1397048131","1397048132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/458a95d3064b6c4f591d4b0e22cede63.jpg","text":"TemporaryFile(/tmp/multipartBody2890671979295495091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_13_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/30/6c4e8f55b633f6542b4a69ae60a1ba11.jpg","text":"TemporaryFile(/tmp/multipartBody1480343111605781807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_22_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/30/4c7470d2059eb9fac58c0d173d6cda13.jpg","text":"TemporaryFile(/tmp/multipartBody2589817297615253672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_20_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/30/fdef47860f171fa2baf4e622ed562e01.jpg","text":"TemporaryFile(/tmp/multipartBody6119344041985872296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_08_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b487773026dd6fba64605669898f18ec.jpg","text":"TemporaryFile(/tmp/multipartBody8529178485032211280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_11_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19836d6b0edde93fb8569168844bc2fe.jpg","text":"TemporaryFile(/tmp/multipartBody4861394570471416167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497862841,"filename":"image_31102025_12_32_17_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048129","file1":"1397048128","file0":"1397048125","file4":"1397048131","file5":"1397048132","file3":"1397048130"},"map_files_photo_id_array":[{"photo_id":"1397048132","filename":"file5"},{"photo_id":"1397048129","filename":"file2"},{"photo_id":"1397048131","filename":"file4"},{"photo_id":"1397048128","filename":"file1"},{"photo_id":"1397048125","filename":"file0"},{"photo_id":"1397048130","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397048129":["hashtag1","hashtag2"]},{"1397048132":["hashtag1","hashtag2"]},{"1397048131":["hashtag1","hashtag2"]},{"1397048125":["hashtag1","hashtag2"]},{"1397048128":["hashtag1","hashtag2"]},{"1397048130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397048129, 1397048132, 1397048131, 1397048125, 1397048128, 1397048130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59727430343628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:17:23.359663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_44_9766.jpg', '/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_54_10613.jpg', '/home/pi/Desktop/images/30112025/08/58/image_30112025_08_59_04_9718.jpg', '/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_14_9709.jpg', '/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_24_9731.jpg', '/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_34_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_44_9766.jpg
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_58_54_10613.jpg
/home/pi/Desktop/images/30112025/08/58/image_30112025_08_59_04_9718.jpg
/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_14_9709.jpg
/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_24_9731.jpg
/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_34_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048147","1397048144","1397048149","1397048142","1397048136","1397048139"],"photo_ids_order":["1397048136","1397048139","1397048142","1397048144","1397048147","1397048149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f328272b80d489910521f7933df25c2.jpg","text":"TemporaryFile(/tmp/multipartBody5665077102189579641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_59_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5793b2459115fdc39b0bbb1b55044097.jpg","text":"TemporaryFile(/tmp/multipartBody8367145399963268246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_59_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4f9fafa29f891a3eb87d6a61ab57abc.jpg","text":"TemporaryFile(/tmp/multipartBody1560806769026427378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_59_34_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/852ee7f264c63a4c76678ac0c9e06118.jpg","text":"TemporaryFile(/tmp/multipartBody5059021028024442591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_59_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/261bdd0e1cf29e23d581f6fb2d7048d7.jpg","text":"TemporaryFile(/tmp/multipartBody2348603199654080978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_58_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a92eccce0e3d3a3c7217241a019ec45.jpg","text":"TemporaryFile(/tmp/multipartBody7478229315778543979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497904056,"filename":"image_30112025_08_58_54_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048142","file1":"1397048139","file0":"1397048136","file4":"1397048147","file5":"1397048149","file3":"1397048144"},"map_files_photo_id_array":[{"photo_id":"1397048149","filename":"file5"},{"photo_id":"1397048142","filename":"file2"},{"photo_id":"1397048147","filename":"file4"},{"photo_id":"1397048139","filename":"file1"},{"photo_id":"1397048136","filename":"file0"},{"photo_id":"1397048144","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048147":["hashtag1","hashtag2"]},{"1397048144":["hashtag1","hashtag2"]},{"1397048149":["hashtag1","hashtag2"]},{"1397048142":["hashtag1","hashtag2"]},{"1397048136":["hashtag1","hashtag2"]},{"1397048139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048147, 1397048144, 1397048149, 1397048142, 1397048136, 1397048139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75564742088318 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 --only_old 1
2025-11-30 11:18:13.710931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_48_2687.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_52_3941.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_55_2816.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_58_2549.jpg', '/home/pi/Desktop/images/25112025/20/07/image_25112025_20_08_00_2686.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_04_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_48_2687.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_52_3941.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_55_2816.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_07_58_2549.jpg
/home/pi/Desktop/images/25112025/20/07/image_25112025_20_08_00_2686.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_04_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048411","1397048336","1397048374","1397048448","1397048535","1397048489"],"photo_ids_order":["1397048336","1397048374","1397048411","1397048448","1397048489","1397048535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55c22f9ffb9c8d28c48a07496681fa2d.jpg","text":"TemporaryFile(/tmp/multipartBody462433264535787565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_07_55_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fe196f6fb1c3b4beaccfbfc19fe3588.jpg","text":"TemporaryFile(/tmp/multipartBody5427295103456521574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_07_48_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/30/4acf458d3fa6b660f7c305361b14485a.jpg","text":"TemporaryFile(/tmp/multipartBody3370713461653834906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_07_52_3941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f7b1a399c8374369b5afceea5040569.jpg","text":"TemporaryFile(/tmp/multipartBody2759846530221651509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_07_58_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/30/8f6707b2475953f9d0929b11f900a3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4725000944948643697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_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/30/bda609f84ab1bba39c75cb71a61b2374.jpg","text":"TemporaryFile(/tmp/multipartBody3865049848743084090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764497955399,"filename":"image_25112025_20_08_00_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048411","file1":"1397048374","file0":"1397048336","file4":"1397048489","file5":"1397048535","file3":"1397048448"},"map_files_photo_id_array":[{"photo_id":"1397048535","filename":"file5"},{"photo_id":"1397048411","filename":"file2"},{"photo_id":"1397048489","filename":"file4"},{"photo_id":"1397048374","filename":"file1"},{"photo_id":"1397048336","filename":"file0"},{"photo_id":"1397048448","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397048411":["hashtag1","hashtag2"]},{"1397048336":["hashtag1","hashtag2"]},{"1397048374":["hashtag1","hashtag2"]},{"1397048448":["hashtag1","hashtag2"]},{"1397048535":["hashtag1","hashtag2"]},{"1397048489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397048411, 1397048336, 1397048374, 1397048448, 1397048535, 1397048489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.716572999954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:19:02.817576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_44_9542.jpg', '/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_54_10619.jpg', '/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_14_10056.jpg', '/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_25_10394.jpg', '/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_34_9631.jpg', '/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_45_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_44_9542.jpg
/home/pi/Desktop/images/30112025/08/59/image_30112025_08_59_54_10619.jpg
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_14_10056.jpg
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_25_10394.jpg
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_34_9631.jpg
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_45_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048738","1397048720","1397048746","1397048740","1397048742","1397048739"],"photo_ids_order":["1397048720","1397048738","1397048739","1397048740","1397048742","1397048746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72f100505059de157081b319940f8d9c.jpg","text":"TemporaryFile(/tmp/multipartBody3191870782940452476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_08_59_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b06aae8cfd1438ec0a0c57124c01168e.jpg","text":"TemporaryFile(/tmp/multipartBody8653867789684458867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_08_59_44_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6d6bc58607b19cbcb4e12be9571b0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5960962354778414864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_09_00_45_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c3a4aa9c4f191d50ec10cf1f54bd4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2763388276970196902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_09_00_25_10394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c03bb6779c465c4e4b163eda70139088.jpg","text":"TemporaryFile(/tmp/multipartBody7970000854478389503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_09_00_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b9885093a0f1f55b1bb19dcacac2679.jpg","text":"TemporaryFile(/tmp/multipartBody1041074710054770743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498003716,"filename":"image_30112025_09_00_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048739","file1":"1397048738","file0":"1397048720","file4":"1397048742","file5":"1397048746","file3":"1397048740"},"map_files_photo_id_array":[{"photo_id":"1397048746","filename":"file5"},{"photo_id":"1397048739","filename":"file2"},{"photo_id":"1397048742","filename":"file4"},{"photo_id":"1397048738","filename":"file1"},{"photo_id":"1397048720","filename":"file0"},{"photo_id":"1397048740","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048738":["hashtag1","hashtag2"]},{"1397048720":["hashtag1","hashtag2"]},{"1397048746":["hashtag1","hashtag2"]},{"1397048740":["hashtag1","hashtag2"]},{"1397048742":["hashtag1","hashtag2"]},{"1397048739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048738, 1397048720, 1397048746, 1397048740, 1397048742, 1397048739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27265691757202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:19:41.898641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/32/image_31102025_12_32_26_3681.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_29_2559.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_31_2685.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_35_3735.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_38_2581.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_40_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_26_3681.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_29_2559.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_31_2685.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_35_3735.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_38_2581.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_40_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048900","1397048854","1397048871","1397048925","1397048853","1397048907"],"photo_ids_order":["1397048853","1397048854","1397048871","1397048900","1397048907","1397048925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/793318fecc638362709c39b3a1542a84.jpg","text":"TemporaryFile(/tmp/multipartBody4054394072543230830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_35_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/30/22fd21de97c32db000981b7a0744e437.jpg","text":"TemporaryFile(/tmp/multipartBody2193162048170602341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_29_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/30/1ebe7351bc82e385ea9032237f35cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody2156551692326242756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_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/30/b0c6e069c7783118118d143cd5a34f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7860448678243638280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_40_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/30/a6283e4bd1671039e05b060026efd2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3331006501852872400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_26_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/30/fba7698f84d7a50d33a0f24c7d0fceb6.jpg","text":"TemporaryFile(/tmp/multipartBody4402305077555118448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498042811,"filename":"image_31102025_12_32_38_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048871","file1":"1397048854","file0":"1397048853","file4":"1397048907","file5":"1397048925","file3":"1397048900"},"map_files_photo_id_array":[{"photo_id":"1397048925","filename":"file5"},{"photo_id":"1397048871","filename":"file2"},{"photo_id":"1397048907","filename":"file4"},{"photo_id":"1397048854","filename":"file1"},{"photo_id":"1397048853","filename":"file0"},{"photo_id":"1397048900","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397048900":["hashtag1","hashtag2"]},{"1397048854":["hashtag1","hashtag2"]},{"1397048871":["hashtag1","hashtag2"]},{"1397048925":["hashtag1","hashtag2"]},{"1397048853":["hashtag1","hashtag2"]},{"1397048907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397048900, 1397048854, 1397048871, 1397048925, 1397048853, 1397048907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.503737926483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:20:22.080808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_54_9683.jpg', '/home/pi/Desktop/images/30112025/09/00/image_30112025_09_01_05_10614.jpg', '/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_15_9721.jpg', '/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_25_9866.jpg', '/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_44_9614.jpg', '/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_55_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_00_54_9683.jpg
/home/pi/Desktop/images/30112025/09/00/image_30112025_09_01_05_10614.jpg
/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_15_9721.jpg
/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_25_9866.jpg
/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_44_9614.jpg
/home/pi/Desktop/images/30112025/09/01/image_30112025_09_01_55_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048942","1397048938","1397048931","1397048934","1397048928","1397048945"],"photo_ids_order":["1397048928","1397048931","1397048934","1397048938","1397048942","1397048945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82446764f56a5df50b9d7f5c6388369d.jpg","text":"TemporaryFile(/tmp/multipartBody695234839009911231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_01_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49093c47fcbbf141013250d238488269.jpg","text":"TemporaryFile(/tmp/multipartBody7930702554494071983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_01_25_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f44cfecb6999e85649161357196806a.jpg","text":"TemporaryFile(/tmp/multipartBody5609633042964678783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_01_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b667caf249ffaab0ac2b523cf156530.jpg","text":"TemporaryFile(/tmp/multipartBody3054221135221676948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_01_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6d5e09568b5f98d6aed4ba1fa74b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody524868166246086174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_00_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/686bddacc5cafbf17bc1de4173a0b327.jpg","text":"TemporaryFile(/tmp/multipartBody194240583912382513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498082778,"filename":"image_30112025_09_01_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048934","file1":"1397048931","file0":"1397048928","file4":"1397048942","file5":"1397048945","file3":"1397048938"},"map_files_photo_id_array":[{"photo_id":"1397048945","filename":"file5"},{"photo_id":"1397048934","filename":"file2"},{"photo_id":"1397048942","filename":"file4"},{"photo_id":"1397048931","filename":"file1"},{"photo_id":"1397048928","filename":"file0"},{"photo_id":"1397048938","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048942":["hashtag1","hashtag2"]},{"1397048938":["hashtag1","hashtag2"]},{"1397048931":["hashtag1","hashtag2"]},{"1397048934":["hashtag1","hashtag2"]},{"1397048928":["hashtag1","hashtag2"]},{"1397048945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048942, 1397048938, 1397048931, 1397048934, 1397048928, 1397048945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18818140029907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:21:02.844321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/01/image_30112025_09_02_05_9613.jpg', '/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_14_9818.jpg', '/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_25_10741.jpg', '/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_35_9701.jpg', '/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_45_9779.jpg', '/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/01/image_30112025_09_02_05_9613.jpg
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_14_9818.jpg
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_25_10741.jpg
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_35_9701.jpg
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_45_9779.jpg
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_02_54_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048948","1397048947","1397048955","1397048949","1397048946","1397048951"],"photo_ids_order":["1397048946","1397048947","1397048948","1397048949","1397048951","1397048955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03c5dc5d27980aa429522a51829fc24d.jpg","text":"TemporaryFile(/tmp/multipartBody4533848175466198941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df2688697cccd64c3be9ddb01402d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody4737482606708532841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f386435e0d551aecaa3ad9c15a8380b4.jpg","text":"TemporaryFile(/tmp/multipartBody7749140526452730667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09dde5166ac7c88166c34189f415b130.jpg","text":"TemporaryFile(/tmp/multipartBody8785803273881986996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d4ab8cba7cfe19dfa4e0fb8a83c075.jpg","text":"TemporaryFile(/tmp/multipartBody410841198311698284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/519f8c736ef21496aa141997dfc5935f.jpg","text":"TemporaryFile(/tmp/multipartBody3127419054168806931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498123668,"filename":"image_30112025_09_02_45_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048948","file1":"1397048947","file0":"1397048946","file4":"1397048951","file5":"1397048955","file3":"1397048949"},"map_files_photo_id_array":[{"photo_id":"1397048955","filename":"file5"},{"photo_id":"1397048948","filename":"file2"},{"photo_id":"1397048951","filename":"file4"},{"photo_id":"1397048947","filename":"file1"},{"photo_id":"1397048946","filename":"file0"},{"photo_id":"1397048949","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048948":["hashtag1","hashtag2"]},{"1397048947":["hashtag1","hashtag2"]},{"1397048955":["hashtag1","hashtag2"]},{"1397048949":["hashtag1","hashtag2"]},{"1397048946":["hashtag1","hashtag2"]},{"1397048951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048948, 1397048947, 1397048955, 1397048949, 1397048946, 1397048951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63118815422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:21:42.280814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/32/image_31102025_12_32_44_3706.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_47_2677.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_49_2561.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_53_3663.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_56_2888.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_59_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_44_3706.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_47_2677.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_49_2561.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_53_3663.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_56_2888.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_59_2797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8370809555053711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:22:02.870432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/02/image_30112025_09_03_05_10715.jpg', '/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_15_9737.jpg', '/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_24_9724.jpg', '/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_35_10654.jpg', '/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_45_9717.jpg', '/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/02/image_30112025_09_03_05_10715.jpg
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_15_9737.jpg
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_24_9724.jpg
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_35_10654.jpg
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_45_9717.jpg
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_03_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397048986","1397048991","1397048979","1397048973","1397048982","1397048978"],"photo_ids_order":["1397048973","1397048978","1397048979","1397048982","1397048986","1397048991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28dd78e62055e837c6c8fcdf595d9a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3841103991059889244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b26e0080b04ef3a20c48099888b60a3d.jpg","text":"TemporaryFile(/tmp/multipartBody6039237759548274224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bd38daf76ae166b07eae72fe41df001.jpg","text":"TemporaryFile(/tmp/multipartBody3476306643405702372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32b92571d5973ab6b5fabb5c3eab9273.jpg","text":"TemporaryFile(/tmp/multipartBody574724658540071757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/830215c94a04b2751ec6160a41a9a84e.jpg","text":"TemporaryFile(/tmp/multipartBody4431149623341865072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b8eec4a70d87ac4d9125d529243a392.jpg","text":"TemporaryFile(/tmp/multipartBody7367981190706122112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498183611,"filename":"image_30112025_09_03_15_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397048979","file1":"1397048978","file0":"1397048973","file4":"1397048986","file5":"1397048991","file3":"1397048982"},"map_files_photo_id_array":[{"photo_id":"1397048991","filename":"file5"},{"photo_id":"1397048979","filename":"file2"},{"photo_id":"1397048986","filename":"file4"},{"photo_id":"1397048978","filename":"file1"},{"photo_id":"1397048973","filename":"file0"},{"photo_id":"1397048982","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397048986":["hashtag1","hashtag2"]},{"1397048991":["hashtag1","hashtag2"]},{"1397048979":["hashtag1","hashtag2"]},{"1397048973":["hashtag1","hashtag2"]},{"1397048982":["hashtag1","hashtag2"]},{"1397048978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397048986, 1397048991, 1397048979, 1397048973, 1397048982, 1397048978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.626718521118164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:22:42.405881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/32/image_31102025_12_32_44_3706.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_47_2677.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_49_2561.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_53_3663.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_56_2888.jpg', '/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_59_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_44_3706.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_47_2677.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_49_2561.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_53_3663.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_56_2888.jpg
/home/pi/Desktop/images/31102025/12/32/image_31102025_12_32_59_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049004","1397049003","1397049000","1397049032","1397049035","1397049029"],"photo_ids_order":["1397049000","1397049003","1397049004","1397049029","1397049032","1397049035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e3859acbec083b3d4059d6c5666da40.jpg","text":"TemporaryFile(/tmp/multipartBody8655604633369853948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_32_49_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/30/e580b8d2ddaedd37050783a7783b2741.jpg","text":"TemporaryFile(/tmp/multipartBody9220620051667672758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_32_47_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fa74e4c778e64d737643a49b99de3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4569715169481939527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_32_44_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43f5c3f69fc79c05ebdfa65e0ab7b89f.jpg","text":"TemporaryFile(/tmp/multipartBody2245933523560342792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_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/30/606e36c07ef6402ece3e3e15652d09a2.jpg","text":"TemporaryFile(/tmp/multipartBody3611208779993064949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_32_59_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/30/f381b7b33f56d1f053223f84712462f3.jpg","text":"TemporaryFile(/tmp/multipartBody1708377236355025128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498223215,"filename":"image_31102025_12_32_53_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049004","file1":"1397049003","file0":"1397049000","file4":"1397049032","file5":"1397049035","file3":"1397049029"},"map_files_photo_id_array":[{"photo_id":"1397049035","filename":"file5"},{"photo_id":"1397049004","filename":"file2"},{"photo_id":"1397049032","filename":"file4"},{"photo_id":"1397049003","filename":"file1"},{"photo_id":"1397049000","filename":"file0"},{"photo_id":"1397049029","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049004":["hashtag1","hashtag2"]},{"1397049003":["hashtag1","hashtag2"]},{"1397049000":["hashtag1","hashtag2"]},{"1397049032":["hashtag1","hashtag2"]},{"1397049035":["hashtag1","hashtag2"]},{"1397049029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049004, 1397049003, 1397049000, 1397049032, 1397049035, 1397049029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38374853134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:23:22.611366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/03/image_30112025_09_04_05_10638.jpg', '/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_15_9701.jpg', '/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_24_9540.jpg', '/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_35_10784.jpg', '/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_45_9767.jpg', '/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/03/image_30112025_09_04_05_10638.jpg
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_15_9701.jpg
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_24_9540.jpg
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_35_10784.jpg
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_45_9767.jpg
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_04_55_10032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049055","1397049052","1397049048","1397049045","1397049050","1397049053"],"photo_ids_order":["1397049045","1397049048","1397049050","1397049052","1397049053","1397049055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b31b250c1d6d9d96dd852c24fab2152.jpg","text":"TemporaryFile(/tmp/multipartBody5455839570882640217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_55_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/352936d3a456f32d5df13cb03e1f5983.jpg","text":"TemporaryFile(/tmp/multipartBody8577605866620929547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_35_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff3ee243ebaa6a2fa9d0ac28c5e7c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4058143333534920453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4943ba07d499ad09d51478e529fb95d4.jpg","text":"TemporaryFile(/tmp/multipartBody1829689235539614319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/201b7a0946d2cdc15fcfbc5544e13fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2392866454271508326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_24_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a3bc6eb390b0dae8aceaf20b052e19f.jpg","text":"TemporaryFile(/tmp/multipartBody7529309217317154972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498263311,"filename":"image_30112025_09_04_45_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049050","file1":"1397049048","file0":"1397049045","file4":"1397049053","file5":"1397049055","file3":"1397049052"},"map_files_photo_id_array":[{"photo_id":"1397049055","filename":"file5"},{"photo_id":"1397049050","filename":"file2"},{"photo_id":"1397049053","filename":"file4"},{"photo_id":"1397049048","filename":"file1"},{"photo_id":"1397049045","filename":"file0"},{"photo_id":"1397049052","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049055":["hashtag1","hashtag2"]},{"1397049052":["hashtag1","hashtag2"]},{"1397049048":["hashtag1","hashtag2"]},{"1397049045":["hashtag1","hashtag2"]},{"1397049050":["hashtag1","hashtag2"]},{"1397049053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049055, 1397049052, 1397049048, 1397049045, 1397049050, 1397049053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74042463302612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:24:03.393714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/04/image_30112025_09_05_04_9582.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_14_9729.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_25_10445.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_34_9560.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_45_10596.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_05_04_9582.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_14_9729.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_25_10445.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_34_9560.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_45_10596.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_54_9664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7061495780944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 11:24:12.752616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_07_2691.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_13_3670.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_22_3680.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_25_2648.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_31_3682.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_34_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_07_2691.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_13_3670.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_22_3680.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_25_2648.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_31_3682.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_34_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049072","1397049066","1397049069","1397049062","1397049059","1397049074"],"photo_ids_order":["1397049059","1397049062","1397049066","1397049069","1397049072","1397049074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ecbb329763afc73547bd0c30c762c1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1583386070044110105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_31_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/30/8dfba921b3faacbbc72e333c2da0ada8.jpg","text":"TemporaryFile(/tmp/multipartBody1256855011604862781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_22_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2d801cb23c909534bac87fae6b7ec50.jpg","text":"TemporaryFile(/tmp/multipartBody8320450897557424863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_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/30/d4a8ce82452bde225d2ede59ae790c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1978933235224375677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_13_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/30/43523a631466747ddf5bdf9b2dc9393f.jpg","text":"TemporaryFile(/tmp/multipartBody1012518812386076449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_07_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/287b97729fddbf9eac501b647a4d52e3.jpg","text":"TemporaryFile(/tmp/multipartBody6245306885280516716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498314669,"filename":"image_25112025_20_08_34_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049066","file1":"1397049062","file0":"1397049059","file4":"1397049072","file5":"1397049074","file3":"1397049069"},"map_files_photo_id_array":[{"photo_id":"1397049074","filename":"file5"},{"photo_id":"1397049066","filename":"file2"},{"photo_id":"1397049072","filename":"file4"},{"photo_id":"1397049062","filename":"file1"},{"photo_id":"1397049059","filename":"file0"},{"photo_id":"1397049069","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397049072":["hashtag1","hashtag2"]},{"1397049066":["hashtag1","hashtag2"]},{"1397049069":["hashtag1","hashtag2"]},{"1397049062":["hashtag1","hashtag2"]},{"1397049059":["hashtag1","hashtag2"]},{"1397049074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397049072, 1397049066, 1397049069, 1397049062, 1397049059, 1397049074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.530702352523804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:25:02.628281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/04/image_30112025_09_05_04_9582.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_14_9729.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_25_10445.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_34_9560.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_45_10596.jpg', '/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/04/image_30112025_09_05_04_9582.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_14_9729.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_25_10445.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_34_9560.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_45_10596.jpg
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_05_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049082","1397049085","1397049079","1397049078","1397049080","1397049077"],"photo_ids_order":["1397049077","1397049078","1397049079","1397049080","1397049082","1397049085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28ab9f2d693b6fdd4122368a188566bf.jpg","text":"TemporaryFile(/tmp/multipartBody6006754609873903970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2b8ccc9548f6ba35dc6f7d66668be08.jpg","text":"TemporaryFile(/tmp/multipartBody2659572170189374824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dea230a65a534dcf7118ac821072dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3829378806118452377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_25_10445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d7e0fb2c6f3b4195c67c6c30a99f106.jpg","text":"TemporaryFile(/tmp/multipartBody7101799759855217311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0a12ad4dd782c27e753feaca6d9c6de.jpg","text":"TemporaryFile(/tmp/multipartBody8366101532176151356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/751e8c9f484b4fa6ec3c259444497e25.jpg","text":"TemporaryFile(/tmp/multipartBody6885486087231466120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498363409,"filename":"image_30112025_09_05_04_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049079","file1":"1397049078","file0":"1397049077","file4":"1397049082","file5":"1397049085","file3":"1397049080"},"map_files_photo_id_array":[{"photo_id":"1397049085","filename":"file5"},{"photo_id":"1397049079","filename":"file2"},{"photo_id":"1397049082","filename":"file4"},{"photo_id":"1397049078","filename":"file1"},{"photo_id":"1397049077","filename":"file0"},{"photo_id":"1397049080","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049082":["hashtag1","hashtag2"]},{"1397049085":["hashtag1","hashtag2"]},{"1397049079":["hashtag1","hashtag2"]},{"1397049078":["hashtag1","hashtag2"]},{"1397049080":["hashtag1","hashtag2"]},{"1397049077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049082, 1397049085, 1397049079, 1397049078, 1397049080, 1397049077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15494894981384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:25:42.027069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/33/image_31102025_12_33_01_2667.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_05_3633.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_08_2606.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_10_2586.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_14_3798.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_17_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_01_2667.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_05_3633.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_08_2606.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_10_2586.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_14_3798.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_17_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049094","1397049097","1397049096","1397049099","1397049095","1397049098"],"photo_ids_order":["1397049094","1397049095","1397049096","1397049097","1397049098","1397049099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d05d768ee682c0dda1d9bbb233364ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2806549400807519755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_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/30/c4477aafdb677cd3a28c487548383ee5.jpg","text":"TemporaryFile(/tmp/multipartBody7386143056758150262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_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/30/ff42ac1c99fdd3d1fd7b2cd8e0e000f1.jpg","text":"TemporaryFile(/tmp/multipartBody1097325566394027404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_08_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/30/2ada054bace27cb4a04fba9c525fb26b.jpg","text":"TemporaryFile(/tmp/multipartBody4814262718374138409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_17_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81808958dd875e1b9c1c615a4cde75ac.jpg","text":"TemporaryFile(/tmp/multipartBody2509827033016674434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_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/30/328c21e8e7fd39623be2f72a36ed097e.jpg","text":"TemporaryFile(/tmp/multipartBody3403604958455083887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498402932,"filename":"image_31102025_12_33_14_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049096","file1":"1397049095","file0":"1397049094","file4":"1397049098","file5":"1397049099","file3":"1397049097"},"map_files_photo_id_array":[{"photo_id":"1397049099","filename":"file5"},{"photo_id":"1397049096","filename":"file2"},{"photo_id":"1397049098","filename":"file4"},{"photo_id":"1397049095","filename":"file1"},{"photo_id":"1397049094","filename":"file0"},{"photo_id":"1397049097","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049094":["hashtag1","hashtag2"]},{"1397049097":["hashtag1","hashtag2"]},{"1397049096":["hashtag1","hashtag2"]},{"1397049099":["hashtag1","hashtag2"]},{"1397049095":["hashtag1","hashtag2"]},{"1397049098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049094, 1397049097, 1397049096, 1397049099, 1397049095, 1397049098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46369457244873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:26:22.268100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/05/image_30112025_09_06_04_9805.jpg', '/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_15_10724.jpg', '/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_25_9605.jpg', '/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_34_9587.jpg', '/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_45_10787.jpg', '/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_55_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/05/image_30112025_09_06_04_9805.jpg
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_15_10724.jpg
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_25_9605.jpg
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_34_9587.jpg
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_45_10787.jpg
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_06_55_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049116","1397049110","1397049103","1397049111","1397049113","1397049107"],"photo_ids_order":["1397049103","1397049107","1397049110","1397049111","1397049113","1397049116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3299a62b3e5a06693e9c9b32c94144c2.jpg","text":"TemporaryFile(/tmp/multipartBody1621882331627935873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db8a8d000b64543c9f54b2c3b4b81c85.jpg","text":"TemporaryFile(/tmp/multipartBody6272628426896725903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/727bdc46bfddfcd6c13a60d32833312e.jpg","text":"TemporaryFile(/tmp/multipartBody4614013536763012782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_04_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/411fcf93b85b51f57af37930a695b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1471199143240833390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8b7c8a1c34c70de0e4faafe23a2060c.jpg","text":"TemporaryFile(/tmp/multipartBody6902144940711635918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_45_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a927a8dc47cf052303ed5d37cb268330.jpg","text":"TemporaryFile(/tmp/multipartBody909561656193555117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498442976,"filename":"image_30112025_09_06_15_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049110","file1":"1397049107","file0":"1397049103","file4":"1397049113","file5":"1397049116","file3":"1397049111"},"map_files_photo_id_array":[{"photo_id":"1397049116","filename":"file5"},{"photo_id":"1397049110","filename":"file2"},{"photo_id":"1397049113","filename":"file4"},{"photo_id":"1397049107","filename":"file1"},{"photo_id":"1397049103","filename":"file0"},{"photo_id":"1397049111","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049116":["hashtag1","hashtag2"]},{"1397049110":["hashtag1","hashtag2"]},{"1397049103":["hashtag1","hashtag2"]},{"1397049111":["hashtag1","hashtag2"]},{"1397049113":["hashtag1","hashtag2"]},{"1397049107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049116, 1397049110, 1397049103, 1397049111, 1397049113, 1397049107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49554467201233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:27:02.954845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/06/image_30112025_09_07_04_9608.jpg', '/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_15_10576.jpg', '/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_24_9735.jpg', '/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_35_10591.jpg', '/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_45_9700.jpg', '/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/06/image_30112025_09_07_04_9608.jpg
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_15_10576.jpg
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_24_9735.jpg
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_35_10591.jpg
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_45_9700.jpg
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_07_54_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049124","1397049127","1397049121","1397049123","1397049131","1397049125"],"photo_ids_order":["1397049121","1397049123","1397049124","1397049125","1397049127","1397049131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1356a22e44071da0569acf4bce87b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3473084341202546616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ee9fe70d019671cb66befc18505cdaa.jpg","text":"TemporaryFile(/tmp/multipartBody2419209191464275725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7414978ac8720a46686665d45d6d0056.jpg","text":"TemporaryFile(/tmp/multipartBody4150209700545746636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d01925dfd8632e6a375b94f79f23f40.jpg","text":"TemporaryFile(/tmp/multipartBody6914585762835451039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_15_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc488ed302de12870868cde75424b850.jpg","text":"TemporaryFile(/tmp/multipartBody9038148724510467565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b364cc39641f0be6389cd95f22c0983e.jpg","text":"TemporaryFile(/tmp/multipartBody4237127504230400744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498483720,"filename":"image_30112025_09_07_35_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049124","file1":"1397049123","file0":"1397049121","file4":"1397049127","file5":"1397049131","file3":"1397049125"},"map_files_photo_id_array":[{"photo_id":"1397049131","filename":"file5"},{"photo_id":"1397049124","filename":"file2"},{"photo_id":"1397049127","filename":"file4"},{"photo_id":"1397049123","filename":"file1"},{"photo_id":"1397049121","filename":"file0"},{"photo_id":"1397049125","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049124":["hashtag1","hashtag2"]},{"1397049127":["hashtag1","hashtag2"]},{"1397049121":["hashtag1","hashtag2"]},{"1397049123":["hashtag1","hashtag2"]},{"1397049131":["hashtag1","hashtag2"]},{"1397049125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049124, 1397049127, 1397049121, 1397049123, 1397049131, 1397049125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35317897796631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:27:42.596007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/33/image_31102025_12_33_19_2545.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_22_2888.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_26_3768.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_29_2643.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_32_2895.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_34_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/12/33/image_31102025_12_33_19_2545.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_22_2888.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_26_3768.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_29_2643.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_32_2895.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_34_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049137","1397049142","1397049139","1397049141","1397049138","1397049140"],"photo_ids_order":["1397049137","1397049138","1397049139","1397049140","1397049141","1397049142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d955c71f36615f7ab39b21eeb74a4f6.jpg","text":"TemporaryFile(/tmp/multipartBody1925726167123826237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_19_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfea932f463a8156b06a89a9f027d3d4.jpg","text":"TemporaryFile(/tmp/multipartBody1210267930055100484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_34_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/30/2c4e7e24ff45be300afcda9991e5b365.jpg","text":"TemporaryFile(/tmp/multipartBody6101992115511192443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_26_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/30/47b1e463ebbc6b1ccc2a8d91a9a2c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody2053002121620478706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_32_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/30/ca22335174e1ef30a8ada75b5e15fc69.jpg","text":"TemporaryFile(/tmp/multipartBody1200112300778851952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_22_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/30/267e8c4d83775989e7e1174bf67e45b7.jpg","text":"TemporaryFile(/tmp/multipartBody8716448699545914329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498523514,"filename":"image_31102025_12_33_29_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049139","file1":"1397049138","file0":"1397049137","file4":"1397049141","file5":"1397049142","file3":"1397049140"},"map_files_photo_id_array":[{"photo_id":"1397049142","filename":"file5"},{"photo_id":"1397049139","filename":"file2"},{"photo_id":"1397049141","filename":"file4"},{"photo_id":"1397049138","filename":"file1"},{"photo_id":"1397049137","filename":"file0"},{"photo_id":"1397049140","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049137":["hashtag1","hashtag2"]},{"1397049142":["hashtag1","hashtag2"]},{"1397049139":["hashtag1","hashtag2"]},{"1397049141":["hashtag1","hashtag2"]},{"1397049138":["hashtag1","hashtag2"]},{"1397049140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049137, 1397049142, 1397049139, 1397049141, 1397049138, 1397049140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38016676902771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:28:22.744412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/07/image_30112025_09_08_05_10626.jpg', '/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_15_9726.jpg', '/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_24_9540.jpg', '/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_35_10736.jpg', '/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_45_9627.jpg', '/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/07/image_30112025_09_08_05_10626.jpg
/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_15_9726.jpg
/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_24_9540.jpg
/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_35_10736.jpg
/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_45_9627.jpg
/home/pi/Desktop/images/30112025/09/08/image_30112025_09_08_54_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049157","1397049158","1397049152","1397049146","1397049155","1397049149"],"photo_ids_order":["1397049146","1397049149","1397049152","1397049155","1397049157","1397049158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2238a65e338b15344ec7d3a9849428b.jpg","text":"TemporaryFile(/tmp/multipartBody1916735705542433953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20c97ff4a7fc659e3e8288b027052ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5175785256809827845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8566e7f15ac8407a3b40fefd8de72ee8.jpg","text":"TemporaryFile(/tmp/multipartBody9056660135467329570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_24_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/596471cffc5f7affbb209edbb414d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2977726308078578196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf8d971970c04df21c75c932ef637383.jpg","text":"TemporaryFile(/tmp/multipartBody1086113951643247512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a51cbe69c29f9f01d5386d4e5747f78.jpg","text":"TemporaryFile(/tmp/multipartBody8946397634727903804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498563482,"filename":"image_30112025_09_08_15_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049152","file1":"1397049149","file0":"1397049146","file4":"1397049157","file5":"1397049158","file3":"1397049155"},"map_files_photo_id_array":[{"photo_id":"1397049158","filename":"file5"},{"photo_id":"1397049152","filename":"file2"},{"photo_id":"1397049157","filename":"file4"},{"photo_id":"1397049149","filename":"file1"},{"photo_id":"1397049146","filename":"file0"},{"photo_id":"1397049155","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049157":["hashtag1","hashtag2"]},{"1397049158":["hashtag1","hashtag2"]},{"1397049152":["hashtag1","hashtag2"]},{"1397049146":["hashtag1","hashtag2"]},{"1397049155":["hashtag1","hashtag2"]},{"1397049149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049157, 1397049158, 1397049152, 1397049146, 1397049155, 1397049149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47950887680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:29:02.898150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_04_9840.jpg', '/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_15_10655.jpg', '/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_25_9688.jpg', '/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_34_9592.jpg', '/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_45_10678.jpg', '/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_55_9892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_04_9840.jpg
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_15_10655.jpg
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_25_9688.jpg
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_34_9592.jpg
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_45_10678.jpg
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_09_55_9892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049169","1397049160","1397049163","1397049161","1397049164","1397049167"],"photo_ids_order":["1397049160","1397049161","1397049163","1397049164","1397049167","1397049169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa147dd60b0f5544c6a603126a7d7908.jpg","text":"TemporaryFile(/tmp/multipartBody8068014049910608799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_55_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/989754a3dc46281216f382f6feb3ea9e.jpg","text":"TemporaryFile(/tmp/multipartBody4407952381698514654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fad027c96bbb955f82f3eed602611778.jpg","text":"TemporaryFile(/tmp/multipartBody1087559176642182823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3b2d112bf2d79bf0f3a59abe5360a49.jpg","text":"TemporaryFile(/tmp/multipartBody3385409238566337604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b940ab1c19397290b453298d32df063a.jpg","text":"TemporaryFile(/tmp/multipartBody4027818640632667229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/539d00ef413907daf289519b7f9bcb98.jpg","text":"TemporaryFile(/tmp/multipartBody8202566088853489979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498603909,"filename":"image_30112025_09_09_45_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049163","file1":"1397049161","file0":"1397049160","file4":"1397049167","file5":"1397049169","file3":"1397049164"},"map_files_photo_id_array":[{"photo_id":"1397049169","filename":"file5"},{"photo_id":"1397049163","filename":"file2"},{"photo_id":"1397049167","filename":"file4"},{"photo_id":"1397049161","filename":"file1"},{"photo_id":"1397049160","filename":"file0"},{"photo_id":"1397049164","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049169":["hashtag1","hashtag2"]},{"1397049160":["hashtag1","hashtag2"]},{"1397049163":["hashtag1","hashtag2"]},{"1397049161":["hashtag1","hashtag2"]},{"1397049164":["hashtag1","hashtag2"]},{"1397049167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049169, 1397049160, 1397049163, 1397049161, 1397049164, 1397049167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.166380167007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:29:41.917834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/33/image_31102025_12_33_38_3712.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_41_2659.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_43_2732.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_47_3666.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_50_2673.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_52_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_38_3712.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_41_2659.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_43_2732.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_47_3666.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_50_2673.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_52_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":["1397049209","1397049181","1397049211","1397049208","1397049183","1397049210"],"photo_ids_order":["1397049181","1397049183","1397049208","1397049209","1397049210","1397049211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f124358d926bf098de194e95faadf40.jpg","text":"TemporaryFile(/tmp/multipartBody2644083748848877163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_47_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd9e13645e1baf66fee76856248c2031.jpg","text":"TemporaryFile(/tmp/multipartBody3699131118059110118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_38_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/30/05cea292eaab9a13b28bc9f866bd2242.jpg","text":"TemporaryFile(/tmp/multipartBody5446312446419923181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_52_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/30/dee60f8402a00870d413a978fa33fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody6503111241127788105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_43_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e11c60e24998616d502cc3e09f5df87.jpg","text":"TemporaryFile(/tmp/multipartBody7619112876052332626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_41_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/30/74867cc1a3d20e9fc34cf0d2dc90e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody7441922028816296779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498642809,"filename":"image_31102025_12_33_50_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049208","file1":"1397049183","file0":"1397049181","file4":"1397049210","file5":"1397049211","file3":"1397049209"},"map_files_photo_id_array":[{"photo_id":"1397049211","filename":"file5"},{"photo_id":"1397049208","filename":"file2"},{"photo_id":"1397049210","filename":"file4"},{"photo_id":"1397049183","filename":"file1"},{"photo_id":"1397049181","filename":"file0"},{"photo_id":"1397049209","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049209":["hashtag1","hashtag2"]},{"1397049181":["hashtag1","hashtag2"]},{"1397049211":["hashtag1","hashtag2"]},{"1397049208":["hashtag1","hashtag2"]},{"1397049183":["hashtag1","hashtag2"]},{"1397049210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049209, 1397049181, 1397049211, 1397049208, 1397049183, 1397049210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73929524421692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:30:21.987694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/09/image_30112025_09_10_05_9736.jpg', '/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_14_9672.jpg', '/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_25_10713.jpg', '/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_35_9677.jpg', '/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_44_9691.jpg', '/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_57_13184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/09/image_30112025_09_10_05_9736.jpg
/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_14_9672.jpg
/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_25_10713.jpg
/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_35_9677.jpg
/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_44_9691.jpg
/home/pi/Desktop/images/30112025/09/10/image_30112025_09_10_57_13184.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049218","1397049223","1397049220","1397049231","1397049234","1397049228"],"photo_ids_order":["1397049218","1397049220","1397049223","1397049228","1397049231","1397049234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/478b8a3c9ff9d0f4328c34e988d8a36a.jpg","text":"TemporaryFile(/tmp/multipartBody2480876851706493791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e41881f58c8bdec884e581394bd47d87.jpg","text":"TemporaryFile(/tmp/multipartBody2097518867623352952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b425066f9300fb403b7f2368ab5b7c27.jpg","text":"TemporaryFile(/tmp/multipartBody5006754083656131965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad6dbf13188488f34216a2b9257c1079.jpg","text":"TemporaryFile(/tmp/multipartBody4266974904850552896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41fdb766c3acc493893da49280b13c94.jpg","text":"TemporaryFile(/tmp/multipartBody4941561480079339089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_57_13184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be630f8057b6581da7af1359f72c0d59.jpg","text":"TemporaryFile(/tmp/multipartBody5237779181272807844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498682821,"filename":"image_30112025_09_10_35_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049223","file1":"1397049220","file0":"1397049218","file4":"1397049231","file5":"1397049234","file3":"1397049228"},"map_files_photo_id_array":[{"photo_id":"1397049234","filename":"file5"},{"photo_id":"1397049223","filename":"file2"},{"photo_id":"1397049231","filename":"file4"},{"photo_id":"1397049220","filename":"file1"},{"photo_id":"1397049218","filename":"file0"},{"photo_id":"1397049228","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049218":["hashtag1","hashtag2"]},{"1397049223":["hashtag1","hashtag2"]},{"1397049220":["hashtag1","hashtag2"]},{"1397049231":["hashtag1","hashtag2"]},{"1397049234":["hashtag1","hashtag2"]},{"1397049228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049218, 1397049223, 1397049220, 1397049231, 1397049234, 1397049228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21849489212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:31:03.010469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_04_6901.jpg', '/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_14_9785.jpg', '/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_35_9657.jpg', '/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_44_9694.jpg', '/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_54_9883.jpg', '/home/pi/Desktop/images/30112025/09/11/image_30112025_09_12_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_04_6901.jpg
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_14_9785.jpg
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_35_9657.jpg
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_44_9694.jpg
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_11_54_9883.jpg
/home/pi/Desktop/images/30112025/09/11/image_30112025_09_12_05_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049244","1397049238","1397049246","1397049240","1397049242","1397049239"],"photo_ids_order":["1397049238","1397049239","1397049240","1397049242","1397049244","1397049246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a64a311584cd7358d323ebb6869ac11.jpg","text":"TemporaryFile(/tmp/multipartBody5123519987259259266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_11_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfbe29bf2d3850c63bc54b56bab1691e.jpg","text":"TemporaryFile(/tmp/multipartBody6485148850208790105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_11_04_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/30/e89cc288bd877eeb0e6eceaeed9818d7.jpg","text":"TemporaryFile(/tmp/multipartBody4242252689732267904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_12_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/770359a02e60204979a668c2f3bdcc66.jpg","text":"TemporaryFile(/tmp/multipartBody2160759174516802716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_11_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72248d6955e331d626e826b546f8324d.jpg","text":"TemporaryFile(/tmp/multipartBody4166444612889435938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_11_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd1aada55d7dffb157fdfa60acc51e03.jpg","text":"TemporaryFile(/tmp/multipartBody6815364272972213851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498723852,"filename":"image_30112025_09_11_14_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049240","file1":"1397049239","file0":"1397049238","file4":"1397049244","file5":"1397049246","file3":"1397049242"},"map_files_photo_id_array":[{"photo_id":"1397049246","filename":"file5"},{"photo_id":"1397049240","filename":"file2"},{"photo_id":"1397049244","filename":"file4"},{"photo_id":"1397049239","filename":"file1"},{"photo_id":"1397049238","filename":"file0"},{"photo_id":"1397049242","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049244":["hashtag1","hashtag2"]},{"1397049238":["hashtag1","hashtag2"]},{"1397049246":["hashtag1","hashtag2"]},{"1397049240":["hashtag1","hashtag2"]},{"1397049242":["hashtag1","hashtag2"]},{"1397049239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049244, 1397049238, 1397049246, 1397049240, 1397049242, 1397049239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06927824020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:32:02.989374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_15_9887.jpg', '/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_24_9581.jpg', '/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_35_10810.jpg', '/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_45_9635.jpg', '/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_54_9790.jpg', '/home/pi/Desktop/images/30112025/09/12/image_30112025_09_13_04_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_15_9887.jpg
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_24_9581.jpg
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_35_10810.jpg
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_45_9635.jpg
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_12_54_9790.jpg
/home/pi/Desktop/images/30112025/09/12/image_30112025_09_13_04_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049253","1397049259","1397049264","1397049252","1397049261","1397049257"],"photo_ids_order":["1397049252","1397049253","1397049257","1397049259","1397049261","1397049264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4478762659c4d956f5816303c66bc62b.jpg","text":"TemporaryFile(/tmp/multipartBody8194377159962349000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_12_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b0cac36ad396b17412398ec2cc83d88.jpg","text":"TemporaryFile(/tmp/multipartBody8788514609907061013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_12_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98f64c9160ae67c94e072fce939a5b6c.jpg","text":"TemporaryFile(/tmp/multipartBody404727723684646066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_13_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bb8001494df026bb5fe8b2cafafc86b.jpg","text":"TemporaryFile(/tmp/multipartBody5724137078670334820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_12_15_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88c79f2d7b78603a5d6d2cede0b2c519.jpg","text":"TemporaryFile(/tmp/multipartBody7503932080992133100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_12_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5791009135ecc32d84cae6429a45e61.jpg","text":"TemporaryFile(/tmp/multipartBody6073120567068139896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498783793,"filename":"image_30112025_09_12_35_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049257","file1":"1397049253","file0":"1397049252","file4":"1397049261","file5":"1397049264","file3":"1397049259"},"map_files_photo_id_array":[{"photo_id":"1397049264","filename":"file5"},{"photo_id":"1397049257","filename":"file2"},{"photo_id":"1397049261","filename":"file4"},{"photo_id":"1397049253","filename":"file1"},{"photo_id":"1397049252","filename":"file0"},{"photo_id":"1397049259","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049253":["hashtag1","hashtag2"]},{"1397049259":["hashtag1","hashtag2"]},{"1397049264":["hashtag1","hashtag2"]},{"1397049252":["hashtag1","hashtag2"]},{"1397049261":["hashtag1","hashtag2"]},{"1397049257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049253, 1397049259, 1397049264, 1397049252, 1397049261, 1397049257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42343330383301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:32:42.571618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/33/image_31102025_12_33_56_3657.jpg', '/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_59_2869.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_02_2854.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_04_2691.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_08_3634.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_11_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_56_3657.jpg
/home/pi/Desktop/images/31102025/12/33/image_31102025_12_33_59_2869.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_02_2854.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_04_2691.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_08_3634.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_11_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049271","1397049274","1397049276","1397049273","1397049269","1397049272"],"photo_ids_order":["1397049269","1397049271","1397049272","1397049273","1397049274","1397049276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3676b828dbe7f3312667035008caa917.jpg","text":"TemporaryFile(/tmp/multipartBody5441168311842114570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_33_59_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17a91755e016d8e37be6ba89333a18d5.jpg","text":"TemporaryFile(/tmp/multipartBody5097437958833250471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_34_08_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae0561c97481781650b91dd23c6c8525.jpg","text":"TemporaryFile(/tmp/multipartBody8746380922554258824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_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/30/840de3e9e7a4e741c1580715da9aa3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3633477770359489766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_34_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/30/070caf926cedeb173240e9558973798b.jpg","text":"TemporaryFile(/tmp/multipartBody2840329834881047826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_33_56_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/30/55545c74b294556059cf63ddc9313eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2051983072751127710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498823474,"filename":"image_31102025_12_34_02_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049272","file1":"1397049271","file0":"1397049269","file4":"1397049274","file5":"1397049276","file3":"1397049273"},"map_files_photo_id_array":[{"photo_id":"1397049276","filename":"file5"},{"photo_id":"1397049272","filename":"file2"},{"photo_id":"1397049274","filename":"file4"},{"photo_id":"1397049271","filename":"file1"},{"photo_id":"1397049269","filename":"file0"},{"photo_id":"1397049273","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049271":["hashtag1","hashtag2"]},{"1397049274":["hashtag1","hashtag2"]},{"1397049276":["hashtag1","hashtag2"]},{"1397049273":["hashtag1","hashtag2"]},{"1397049269":["hashtag1","hashtag2"]},{"1397049272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049271, 1397049274, 1397049276, 1397049273, 1397049269, 1397049272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96279788017273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:33:22.702473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_15_10753.jpg', '/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_25_9839.jpg', '/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_35_10024.jpg', '/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_44_9706.jpg', '/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_54_9741.jpg', '/home/pi/Desktop/images/30112025/09/13/image_30112025_09_14_05_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_15_10753.jpg
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_25_9839.jpg
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_35_10024.jpg
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_44_9706.jpg
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_13_54_9741.jpg
/home/pi/Desktop/images/30112025/09/13/image_30112025_09_14_05_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049286","1397049288","1397049293","1397049281","1397049290","1397049284"],"photo_ids_order":["1397049281","1397049284","1397049286","1397049288","1397049290","1397049293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f308f0ad0644a5bc560dfb6ada286d0.jpg","text":"TemporaryFile(/tmp/multipartBody6467544102947002273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_13_35_10024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bdcc017d8f5f13708bf683f79c77e52.jpg","text":"TemporaryFile(/tmp/multipartBody3305899746222119211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_13_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b704bfcf774cac730b9631a14012b4be.jpg","text":"TemporaryFile(/tmp/multipartBody3039370212786511248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_14_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84d6ebe42a560f2e685fb84113cd7029.jpg","text":"TemporaryFile(/tmp/multipartBody4287908273025145710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_13_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5842d79370f11267a53d61d144d76fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4742541559115011827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_13_54_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16666e57d88e79e7f8a6b52fa18ab524.jpg","text":"TemporaryFile(/tmp/multipartBody2293364975161976276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498863432,"filename":"image_30112025_09_13_25_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049286","file1":"1397049284","file0":"1397049281","file4":"1397049290","file5":"1397049293","file3":"1397049288"},"map_files_photo_id_array":[{"photo_id":"1397049293","filename":"file5"},{"photo_id":"1397049286","filename":"file2"},{"photo_id":"1397049290","filename":"file4"},{"photo_id":"1397049284","filename":"file1"},{"photo_id":"1397049281","filename":"file0"},{"photo_id":"1397049288","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049286":["hashtag1","hashtag2"]},{"1397049288":["hashtag1","hashtag2"]},{"1397049293":["hashtag1","hashtag2"]},{"1397049281":["hashtag1","hashtag2"]},{"1397049290":["hashtag1","hashtag2"]},{"1397049284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049286, 1397049288, 1397049293, 1397049281, 1397049290, 1397049284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921719789505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:34:02.769183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_15_9671.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_24_9633.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_35_10557.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_45_9788.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_54_9786.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_15_05_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_15_9671.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_24_9633.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_35_10557.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_45_9788.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_54_9786.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_15_05_10697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7481544017791748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 11:34:12.048457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_37_3679.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_40_2639.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_42_2591.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_46_3767.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_49_2569.jpg', '/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_55_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_37_3679.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_40_2639.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_42_2591.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_46_3767.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_49_2569.jpg
/home/pi/Desktop/images/25112025/20/08/image_25112025_20_08_55_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049308","1397049298","1397049310","1397049304","1397049301","1397049312"],"photo_ids_order":["1397049298","1397049301","1397049304","1397049308","1397049310","1397049312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/232304a6db25540b2f942f7dee63b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2628994569030055878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_46_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/30/af28f49dac5602aad25acd13377fe3a3.jpg","text":"TemporaryFile(/tmp/multipartBody3354696624544079191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_37_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/30/a31e1b6a2e6441ea67562383b6878e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2716485444454742750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_49_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55ed2c7ef48ad8feb9e058b4b6f089b6.jpg","text":"TemporaryFile(/tmp/multipartBody7319320754671047437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_42_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dc576f719cc4da761a78d425b20d88f.jpg","text":"TemporaryFile(/tmp/multipartBody5179519329586186865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_40_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/30/ffedfeb29f67257079f072a276fc811b.jpg","text":"TemporaryFile(/tmp/multipartBody7262578089091082201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498913924,"filename":"image_25112025_20_08_55_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049304","file1":"1397049301","file0":"1397049298","file4":"1397049310","file5":"1397049312","file3":"1397049308"},"map_files_photo_id_array":[{"photo_id":"1397049312","filename":"file5"},{"photo_id":"1397049304","filename":"file2"},{"photo_id":"1397049310","filename":"file4"},{"photo_id":"1397049301","filename":"file1"},{"photo_id":"1397049298","filename":"file0"},{"photo_id":"1397049308","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397049308":["hashtag1","hashtag2"]},{"1397049298":["hashtag1","hashtag2"]},{"1397049310":["hashtag1","hashtag2"]},{"1397049304":["hashtag1","hashtag2"]},{"1397049301":["hashtag1","hashtag2"]},{"1397049312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397049308, 1397049298, 1397049310, 1397049304, 1397049301, 1397049312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65333652496338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:35:02.839100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_15_9671.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_24_9633.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_35_10557.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_45_9788.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_54_9786.jpg', '/home/pi/Desktop/images/30112025/09/14/image_30112025_09_15_05_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_15_9671.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_24_9633.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_35_10557.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_45_9788.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_14_54_9786.jpg
/home/pi/Desktop/images/30112025/09/14/image_30112025_09_15_05_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049317","1397049319","1397049321","1397049315","1397049324","1397049318"],"photo_ids_order":["1397049315","1397049317","1397049318","1397049319","1397049321","1397049324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62e3bef13092178af15abb107de6c68f.jpg","text":"TemporaryFile(/tmp/multipartBody7595212900027602272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_14_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fda0efb823d83d07ef3f268c782715e.jpg","text":"TemporaryFile(/tmp/multipartBody837715359270811815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_14_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51549fd7fb23568a058a41a5b667ac49.jpg","text":"TemporaryFile(/tmp/multipartBody5746806430035986795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_14_54_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a07b2d9c96bbe350bd4b46036a8bf4b.jpg","text":"TemporaryFile(/tmp/multipartBody3483346058008180016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_14_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/026dc7acefa35b183202b973c329c959.jpg","text":"TemporaryFile(/tmp/multipartBody2352801257682597804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_15_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a664b77e90c3fb046064b25963277ae.jpg","text":"TemporaryFile(/tmp/multipartBody198547767133732257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764498963627,"filename":"image_30112025_09_14_35_10557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049318","file1":"1397049317","file0":"1397049315","file4":"1397049321","file5":"1397049324","file3":"1397049319"},"map_files_photo_id_array":[{"photo_id":"1397049324","filename":"file5"},{"photo_id":"1397049318","filename":"file2"},{"photo_id":"1397049321","filename":"file4"},{"photo_id":"1397049317","filename":"file1"},{"photo_id":"1397049315","filename":"file0"},{"photo_id":"1397049319","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049317":["hashtag1","hashtag2"]},{"1397049319":["hashtag1","hashtag2"]},{"1397049321":["hashtag1","hashtag2"]},{"1397049315":["hashtag1","hashtag2"]},{"1397049324":["hashtag1","hashtag2"]},{"1397049318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049317, 1397049319, 1397049321, 1397049315, 1397049324, 1397049318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91852402687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:35:42.275237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/34/image_31102025_12_34_14_2760.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_16_2644.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_20_3710.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_23_2651.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_25_2786.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_29_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_14_2760.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_16_2644.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_20_3710.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_23_2651.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_25_2786.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_29_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":["1397049335","1397049334","1397049337","1397049331","1397049333","1397049336"],"photo_ids_order":["1397049331","1397049333","1397049334","1397049335","1397049336","1397049337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfd73523d7f0133c08587b414f45a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6904542841752921657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_23_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93726fe52f77bd0ae91a5124ce510a4e.jpg","text":"TemporaryFile(/tmp/multipartBody590967867643072598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_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/30/a9761e555b64bfa0202676df7905a83e.jpg","text":"TemporaryFile(/tmp/multipartBody1169164081405518886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_29_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a009f6ffbe6c82b11a574f01eeaef92f.jpg","text":"TemporaryFile(/tmp/multipartBody6373570341813001153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_14_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/30/26f176df8fa4832efd44f9cd898c1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2897652832293394743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_16_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/30/ac63b2b9fcc204b4f98f202ed76a1edd.jpg","text":"TemporaryFile(/tmp/multipartBody7825544700027202630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499003199,"filename":"image_31102025_12_34_25_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049334","file1":"1397049333","file0":"1397049331","file4":"1397049336","file5":"1397049337","file3":"1397049335"},"map_files_photo_id_array":[{"photo_id":"1397049337","filename":"file5"},{"photo_id":"1397049334","filename":"file2"},{"photo_id":"1397049336","filename":"file4"},{"photo_id":"1397049333","filename":"file1"},{"photo_id":"1397049331","filename":"file0"},{"photo_id":"1397049335","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049335":["hashtag1","hashtag2"]},{"1397049334":["hashtag1","hashtag2"]},{"1397049337":["hashtag1","hashtag2"]},{"1397049331":["hashtag1","hashtag2"]},{"1397049333":["hashtag1","hashtag2"]},{"1397049336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049335, 1397049334, 1397049337, 1397049331, 1397049333, 1397049336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25917410850525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:36:22.381123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_15_9725.jpg', '/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_25_9746.jpg', '/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_34_9602.jpg', '/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_45_10685.jpg', '/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_55_9855.jpg', '/home/pi/Desktop/images/30112025/09/15/image_30112025_09_16_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_15_9725.jpg
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_25_9746.jpg
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_34_9602.jpg
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_45_10685.jpg
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_15_55_9855.jpg
/home/pi/Desktop/images/30112025/09/15/image_30112025_09_16_04_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049349","1397049351","1397049341","1397049344","1397049353","1397049347"],"photo_ids_order":["1397049341","1397049344","1397049347","1397049349","1397049351","1397049353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0bc939f936aecbd5307488c29aa2755.jpg","text":"TemporaryFile(/tmp/multipartBody3566032143759769798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_15_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16699e1b0e098fb3c6d2018be82b20bf.jpg","text":"TemporaryFile(/tmp/multipartBody7588844278169940613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_15_55_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90b312531c35b0ad04906cc616d02129.jpg","text":"TemporaryFile(/tmp/multipartBody1552051170714281407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_15_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a70fc859d3b83dd8a8b9ab0a79656a79.jpg","text":"TemporaryFile(/tmp/multipartBody2378696859712925562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_15_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bfb9dfbc82f023c4c186116efd278bf.jpg","text":"TemporaryFile(/tmp/multipartBody6498596995188775076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_16_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc274ed57faa9e2de38fd1c9542e61bc.jpg","text":"TemporaryFile(/tmp/multipartBody8318915406193301594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499043086,"filename":"image_30112025_09_15_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049347","file1":"1397049344","file0":"1397049341","file4":"1397049351","file5":"1397049353","file3":"1397049349"},"map_files_photo_id_array":[{"photo_id":"1397049353","filename":"file5"},{"photo_id":"1397049347","filename":"file2"},{"photo_id":"1397049351","filename":"file4"},{"photo_id":"1397049344","filename":"file1"},{"photo_id":"1397049341","filename":"file0"},{"photo_id":"1397049349","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049349":["hashtag1","hashtag2"]},{"1397049351":["hashtag1","hashtag2"]},{"1397049341":["hashtag1","hashtag2"]},{"1397049344":["hashtag1","hashtag2"]},{"1397049353":["hashtag1","hashtag2"]},{"1397049347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049349, 1397049351, 1397049341, 1397049344, 1397049353, 1397049347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18251276016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:37:03.404398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_14_9764.jpg', '/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_25_10850.jpg', '/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_35_9659.jpg', '/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_44_9725.jpg', '/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_55_10755.jpg', '/home/pi/Desktop/images/30112025/09/16/image_30112025_09_17_05_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_14_9764.jpg
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_25_10850.jpg
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_35_9659.jpg
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_44_9725.jpg
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_16_55_10755.jpg
/home/pi/Desktop/images/30112025/09/16/image_30112025_09_17_05_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049361","1397049358","1397049357","1397049354","1397049356","1397049359"],"photo_ids_order":["1397049354","1397049356","1397049357","1397049358","1397049359","1397049361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/072aa7b7e4d980af02aca39e1492c37a.jpg","text":"TemporaryFile(/tmp/multipartBody6516577123709249397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_17_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adb96ec500e2939ec6152024c529ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody860557323888326011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_16_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa5cc245525ddbf6992a162d7069274c.jpg","text":"TemporaryFile(/tmp/multipartBody198338435142602026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_16_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4dd13c33b96f27fa5a9a500c39f29b0.jpg","text":"TemporaryFile(/tmp/multipartBody8896906804362404254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_16_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a075deb802a4de10264540c8bb73060b.jpg","text":"TemporaryFile(/tmp/multipartBody3705544419362280518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_16_25_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63bdecebd4b5370759a1f4b07727857f.jpg","text":"TemporaryFile(/tmp/multipartBody7518667433625316532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499084182,"filename":"image_30112025_09_16_55_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049357","file1":"1397049356","file0":"1397049354","file4":"1397049359","file5":"1397049361","file3":"1397049358"},"map_files_photo_id_array":[{"photo_id":"1397049361","filename":"file5"},{"photo_id":"1397049357","filename":"file2"},{"photo_id":"1397049359","filename":"file4"},{"photo_id":"1397049356","filename":"file1"},{"photo_id":"1397049354","filename":"file0"},{"photo_id":"1397049358","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049361":["hashtag1","hashtag2"]},{"1397049358":["hashtag1","hashtag2"]},{"1397049357":["hashtag1","hashtag2"]},{"1397049354":["hashtag1","hashtag2"]},{"1397049356":["hashtag1","hashtag2"]},{"1397049359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049361, 1397049358, 1397049357, 1397049354, 1397049356, 1397049359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05558443069458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:37:42.840499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/34/image_31102025_12_34_32_2642.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_34_2582.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_38_3651.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_41_2794.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_43_2840.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_46_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/12/34/image_31102025_12_34_32_2642.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_34_2582.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_38_3651.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_41_2794.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_43_2840.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_46_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":["1397049373","1397049375","1397049369","1397049374","1397049377","1397049371"],"photo_ids_order":["1397049369","1397049371","1397049373","1397049374","1397049375","1397049377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5686793af372f075e2ab1585a41a05c.jpg","text":"TemporaryFile(/tmp/multipartBody765715449801090709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_38_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/30/aaf12588a4186c5e884784e96d8bbd25.jpg","text":"TemporaryFile(/tmp/multipartBody569369553979517604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_43_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/30/1bf907bb55cb845accd75a179b68a302.jpg","text":"TemporaryFile(/tmp/multipartBody2417764486021863004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_32_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/30/2d3c64873672f868f4a60c1df59fa4cc.jpg","text":"TemporaryFile(/tmp/multipartBody592166417061760683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_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/30/98cbb8a51ba99ea0674b06b58cd571cc.jpg","text":"TemporaryFile(/tmp/multipartBody2070286355505875047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_46_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c101b6f8ffd3b169441cf943c3d7c88.jpg","text":"TemporaryFile(/tmp/multipartBody7544447087582026170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499123738,"filename":"image_31102025_12_34_34_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049373","file1":"1397049371","file0":"1397049369","file4":"1397049375","file5":"1397049377","file3":"1397049374"},"map_files_photo_id_array":[{"photo_id":"1397049377","filename":"file5"},{"photo_id":"1397049373","filename":"file2"},{"photo_id":"1397049375","filename":"file4"},{"photo_id":"1397049371","filename":"file1"},{"photo_id":"1397049369","filename":"file0"},{"photo_id":"1397049374","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049373":["hashtag1","hashtag2"]},{"1397049375":["hashtag1","hashtag2"]},{"1397049369":["hashtag1","hashtag2"]},{"1397049374":["hashtag1","hashtag2"]},{"1397049377":["hashtag1","hashtag2"]},{"1397049371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049373, 1397049375, 1397049369, 1397049374, 1397049377, 1397049371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.764161825180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:38:21.996430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_15_9716.jpg', '/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_24_9793.jpg', '/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_35_10692.jpg', '/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_45_9644.jpg', '/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_54_9762.jpg', '/home/pi/Desktop/images/30112025/09/17/image_30112025_09_18_04_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_15_9716.jpg
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_24_9793.jpg
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_35_10692.jpg
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_45_9644.jpg
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_17_54_9762.jpg
/home/pi/Desktop/images/30112025/09/17/image_30112025_09_18_04_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049382","1397049391","1397049385","1397049379","1397049394","1397049388"],"photo_ids_order":["1397049379","1397049382","1397049385","1397049388","1397049391","1397049394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84bdcb0a1471302d8f813bb39d9859ae.jpg","text":"TemporaryFile(/tmp/multipartBody779399593306128222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_17_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba852c5f66ff22e2cc9749d2334eec41.jpg","text":"TemporaryFile(/tmp/multipartBody5487392262133641024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_17_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/892045fbe4ac2b50024e91c0b118a62e.jpg","text":"TemporaryFile(/tmp/multipartBody2309531282318987931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_17_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f81494233fe13e328cf8dd40e70eda34.jpg","text":"TemporaryFile(/tmp/multipartBody7503889791930347068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_17_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f77c94a8f095e31c06531e72528420d.jpg","text":"TemporaryFile(/tmp/multipartBody278849896851615421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_18_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/547d8fe2d5ebc09ca940b471927f5ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2111392340154922116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499162729,"filename":"image_30112025_09_17_45_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049385","file1":"1397049382","file0":"1397049379","file4":"1397049391","file5":"1397049394","file3":"1397049388"},"map_files_photo_id_array":[{"photo_id":"1397049394","filename":"file5"},{"photo_id":"1397049385","filename":"file2"},{"photo_id":"1397049391","filename":"file4"},{"photo_id":"1397049382","filename":"file1"},{"photo_id":"1397049379","filename":"file0"},{"photo_id":"1397049388","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049382":["hashtag1","hashtag2"]},{"1397049391":["hashtag1","hashtag2"]},{"1397049385":["hashtag1","hashtag2"]},{"1397049379":["hashtag1","hashtag2"]},{"1397049394":["hashtag1","hashtag2"]},{"1397049388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049382, 1397049391, 1397049385, 1397049379, 1397049394, 1397049388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19072508811951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:39:03.240091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_15_10710.jpg', '/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_25_9729.jpg', '/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_35_9907.jpg', '/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_44_9717.jpg', '/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_55_10851.jpg', '/home/pi/Desktop/images/30112025/09/18/image_30112025_09_19_05_9907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_15_10710.jpg
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_25_9729.jpg
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_35_9907.jpg
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_44_9717.jpg
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_18_55_10851.jpg
/home/pi/Desktop/images/30112025/09/18/image_30112025_09_19_05_9907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049397","1397049401","1397049403","1397049406","1397049399","1397049398"],"photo_ids_order":["1397049397","1397049398","1397049399","1397049401","1397049403","1397049406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/161645f00c1a436f786fcb3aaa21733b.jpg","text":"TemporaryFile(/tmp/multipartBody7198472896558996337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_18_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/346d3a5545db4e36fd4e571b22b088d2.jpg","text":"TemporaryFile(/tmp/multipartBody1465441261810638817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_18_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b500bdd2f63a1826e7e98f216072b0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6777512713052457126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_18_55_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c67c99404a2bb32d277cea59925ce25.jpg","text":"TemporaryFile(/tmp/multipartBody9056384175232467948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_19_05_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef480f2caf509d8e128c938ffb0733f6.jpg","text":"TemporaryFile(/tmp/multipartBody6133126802302495236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_18_35_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2705a819e6709975b0b18f6d181880f.jpg","text":"TemporaryFile(/tmp/multipartBody8542551904017215399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499204076,"filename":"image_30112025_09_18_25_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049399","file1":"1397049398","file0":"1397049397","file4":"1397049403","file5":"1397049406","file3":"1397049401"},"map_files_photo_id_array":[{"photo_id":"1397049406","filename":"file5"},{"photo_id":"1397049399","filename":"file2"},{"photo_id":"1397049403","filename":"file4"},{"photo_id":"1397049398","filename":"file1"},{"photo_id":"1397049397","filename":"file0"},{"photo_id":"1397049401","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049397":["hashtag1","hashtag2"]},{"1397049401":["hashtag1","hashtag2"]},{"1397049403":["hashtag1","hashtag2"]},{"1397049406":["hashtag1","hashtag2"]},{"1397049399":["hashtag1","hashtag2"]},{"1397049398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049397, 1397049401, 1397049403, 1397049406, 1397049399, 1397049398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77756214141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:39:42.210900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/34/image_31102025_12_34_50_3739.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_53_2713.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_55_2719.jpg', '/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_59_3696.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_02_2686.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_04_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_50_3739.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_53_2713.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_55_2719.jpg
/home/pi/Desktop/images/31102025/12/34/image_31102025_12_34_59_3696.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_02_2686.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_04_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049413","1397049415","1397049412","1397049411","1397049414","1397049417"],"photo_ids_order":["1397049411","1397049412","1397049413","1397049414","1397049415","1397049417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64cb03cd26e2d0300275f1bf33678cb8.jpg","text":"TemporaryFile(/tmp/multipartBody4935409706586721851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_34_55_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/30/9007a0896ea0e7cf6e67ccccd87af6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6498468424294520512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_35_02_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/30/01bcad9aee435667512d0256eecc3011.jpg","text":"TemporaryFile(/tmp/multipartBody3452790184475359549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_34_53_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/30/ef3a5219163e653f8a868736952c8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5588709254623114895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_34_50_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/30/60a31f1b26837c83f4ea25276aa4ccf3.jpg","text":"TemporaryFile(/tmp/multipartBody1845845984522947294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_34_59_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ebf00e03243fa6ae1a70f4b58c1f4fed.jpg","text":"TemporaryFile(/tmp/multipartBody2567755515096238281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499243096,"filename":"image_31102025_12_35_04_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049413","file1":"1397049412","file0":"1397049411","file4":"1397049415","file5":"1397049417","file3":"1397049414"},"map_files_photo_id_array":[{"photo_id":"1397049417","filename":"file5"},{"photo_id":"1397049413","filename":"file2"},{"photo_id":"1397049415","filename":"file4"},{"photo_id":"1397049412","filename":"file1"},{"photo_id":"1397049411","filename":"file0"},{"photo_id":"1397049414","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049413":["hashtag1","hashtag2"]},{"1397049415":["hashtag1","hashtag2"]},{"1397049412":["hashtag1","hashtag2"]},{"1397049411":["hashtag1","hashtag2"]},{"1397049414":["hashtag1","hashtag2"]},{"1397049417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049413, 1397049415, 1397049412, 1397049411, 1397049414, 1397049417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60148596763611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:40:22.447892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_15_9669.jpg', '/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_24_9622.jpg', '/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_35_10663.jpg', '/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_45_9788.jpg', '/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_54_9713.jpg', '/home/pi/Desktop/images/30112025/09/19/image_30112025_09_20_05_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_15_9669.jpg
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_24_9622.jpg
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_35_10663.jpg
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_45_9788.jpg
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_19_54_9713.jpg
/home/pi/Desktop/images/30112025/09/19/image_30112025_09_20_05_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049427","1397049421","1397049430","1397049424","1397049432","1397049435"],"photo_ids_order":["1397049421","1397049424","1397049427","1397049430","1397049432","1397049435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2302683c22b2aa6023c02fcbd4454606.jpg","text":"TemporaryFile(/tmp/multipartBody7246820433504021382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_19_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7afffe91c796f61a2921a562f5675d66.jpg","text":"TemporaryFile(/tmp/multipartBody14521285872346145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_19_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/657649199e41f77f201fd53a68db7170.jpg","text":"TemporaryFile(/tmp/multipartBody5856203305517185636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_19_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ac0b72858dff85f7f0083ce4fff0607.jpg","text":"TemporaryFile(/tmp/multipartBody3525227358623553190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_19_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1ccc0a660ccedde651cb2ff86ca0ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6885011234354223967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_19_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd776966378f0405c46d8f0fc638291c.jpg","text":"TemporaryFile(/tmp/multipartBody3929073229539519376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499283189,"filename":"image_30112025_09_20_05_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049427","file1":"1397049424","file0":"1397049421","file4":"1397049432","file5":"1397049435","file3":"1397049430"},"map_files_photo_id_array":[{"photo_id":"1397049435","filename":"file5"},{"photo_id":"1397049427","filename":"file2"},{"photo_id":"1397049432","filename":"file4"},{"photo_id":"1397049424","filename":"file1"},{"photo_id":"1397049421","filename":"file0"},{"photo_id":"1397049430","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049427":["hashtag1","hashtag2"]},{"1397049421":["hashtag1","hashtag2"]},{"1397049430":["hashtag1","hashtag2"]},{"1397049424":["hashtag1","hashtag2"]},{"1397049432":["hashtag1","hashtag2"]},{"1397049435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049427, 1397049421, 1397049430, 1397049424, 1397049432, 1397049435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.681392669677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:41:03.128376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_15_9631.jpg', '/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_24_9765.jpg', '/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_34_9865.jpg', '/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_45_10799.jpg', '/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_55_9717.jpg', '/home/pi/Desktop/images/30112025/09/20/image_30112025_09_21_05_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_15_9631.jpg
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_24_9765.jpg
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_34_9865.jpg
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_45_10799.jpg
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_20_55_9717.jpg
/home/pi/Desktop/images/30112025/09/20/image_30112025_09_21_05_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049439","1397049444","1397049438","1397049440","1397049437","1397049446"],"photo_ids_order":["1397049437","1397049438","1397049439","1397049440","1397049444","1397049446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a823b7b2e90a505a2ab09da3b3aab8f.jpg","text":"TemporaryFile(/tmp/multipartBody1070391799981078978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_20_34_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b5130c339099a8f166169a9c07ea450.jpg","text":"TemporaryFile(/tmp/multipartBody4693805063908636613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_20_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a0b8908675a576a12613c0076f0550c.jpg","text":"TemporaryFile(/tmp/multipartBody6429436326036219300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_20_24_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9275ebdb4794f2dd7439e30a07f08cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7165655324032399368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_20_45_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fad65e4ba266c84484d9e64535eddb9.jpg","text":"TemporaryFile(/tmp/multipartBody2244309736730420045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_20_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12cf2ea457bfb73b6562e9948a58f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody3268426817765672861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499323945,"filename":"image_30112025_09_21_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049439","file1":"1397049438","file0":"1397049437","file4":"1397049444","file5":"1397049446","file3":"1397049440"},"map_files_photo_id_array":[{"photo_id":"1397049446","filename":"file5"},{"photo_id":"1397049439","filename":"file2"},{"photo_id":"1397049444","filename":"file4"},{"photo_id":"1397049438","filename":"file1"},{"photo_id":"1397049437","filename":"file0"},{"photo_id":"1397049440","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049439":["hashtag1","hashtag2"]},{"1397049444":["hashtag1","hashtag2"]},{"1397049438":["hashtag1","hashtag2"]},{"1397049440":["hashtag1","hashtag2"]},{"1397049437":["hashtag1","hashtag2"]},{"1397049446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049439, 1397049444, 1397049438, 1397049440, 1397049437, 1397049446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18500256538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:41:42.502564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/35/image_31102025_12_35_08_3565.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_11_2652.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_13_2828.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_17_3538.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_20_2832.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_22_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_08_3565.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_11_2652.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_13_2828.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_17_3538.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_20_2832.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_22_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049454","1397049457","1397049456","1397049455","1397049458","1397049452"],"photo_ids_order":["1397049452","1397049454","1397049455","1397049456","1397049457","1397049458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da1a117ab027e35a20d329c9f44c2b09.jpg","text":"TemporaryFile(/tmp/multipartBody2546257452250173221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_11_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/30/1a6d1e72500ecc019592b066cc785b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3550423402028145477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_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/30/0dc70fbe88ef1dd97baacf080ce7ffa8.jpg","text":"TemporaryFile(/tmp/multipartBody5598789438754238648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_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/30/7f2cfc9362e1f9530534ac25ca4e159c.jpg","text":"TemporaryFile(/tmp/multipartBody3810653104634405608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_13_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/30/640f3770b9dd516b31dbe513fdc9bba0.jpg","text":"TemporaryFile(/tmp/multipartBody1580100343771810157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_22_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/30/971905c7ea883b350aa48ef0244a6655.jpg","text":"TemporaryFile(/tmp/multipartBody2656431364097022333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499363391,"filename":"image_31102025_12_35_08_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049455","file1":"1397049454","file0":"1397049452","file4":"1397049457","file5":"1397049458","file3":"1397049456"},"map_files_photo_id_array":[{"photo_id":"1397049458","filename":"file5"},{"photo_id":"1397049455","filename":"file2"},{"photo_id":"1397049457","filename":"file4"},{"photo_id":"1397049454","filename":"file1"},{"photo_id":"1397049452","filename":"file0"},{"photo_id":"1397049456","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049454":["hashtag1","hashtag2"]},{"1397049457":["hashtag1","hashtag2"]},{"1397049456":["hashtag1","hashtag2"]},{"1397049455":["hashtag1","hashtag2"]},{"1397049458":["hashtag1","hashtag2"]},{"1397049452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049454, 1397049457, 1397049456, 1397049455, 1397049458, 1397049452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52571415901184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:42:22.656264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_14_9656.jpg', '/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_25_10695.jpg', '/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_35_9631.jpg', '/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_44_9713.jpg', '/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_55_10648.jpg', '/home/pi/Desktop/images/30112025/09/21/image_30112025_09_22_05_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_14_9656.jpg
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_25_10695.jpg
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_35_9631.jpg
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_44_9713.jpg
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_21_55_10648.jpg
/home/pi/Desktop/images/30112025/09/21/image_30112025_09_22_05_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049475","1397049462","1397049471","1397049465","1397049468","1397049473"],"photo_ids_order":["1397049462","1397049465","1397049468","1397049471","1397049473","1397049475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ee0ba12fdca995b96d2611720086399.jpg","text":"TemporaryFile(/tmp/multipartBody6758138464500826843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_22_05_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/171ccd20c2d619529105e8c96672ae1d.jpg","text":"TemporaryFile(/tmp/multipartBody407583437230920511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_21_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27b8f3019a5e4efa0c8b985bf95e4984.jpg","text":"TemporaryFile(/tmp/multipartBody3025481408041996607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_21_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/617f9993385c772f80810c765f4eaad9.jpg","text":"TemporaryFile(/tmp/multipartBody1716923615613056037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_21_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e13dcf80afe3925bf0c321a3fb2fb1b1.jpg","text":"TemporaryFile(/tmp/multipartBody3881270686538677057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_21_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd904eda68e0143610ad1be45ad67388.jpg","text":"TemporaryFile(/tmp/multipartBody6023059216682284911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499403360,"filename":"image_30112025_09_21_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049468","file1":"1397049465","file0":"1397049462","file4":"1397049473","file5":"1397049475","file3":"1397049471"},"map_files_photo_id_array":[{"photo_id":"1397049475","filename":"file5"},{"photo_id":"1397049468","filename":"file2"},{"photo_id":"1397049473","filename":"file4"},{"photo_id":"1397049465","filename":"file1"},{"photo_id":"1397049462","filename":"file0"},{"photo_id":"1397049471","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049475":["hashtag1","hashtag2"]},{"1397049462":["hashtag1","hashtag2"]},{"1397049471":["hashtag1","hashtag2"]},{"1397049465":["hashtag1","hashtag2"]},{"1397049468":["hashtag1","hashtag2"]},{"1397049473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049475, 1397049462, 1397049471, 1397049465, 1397049468, 1397049473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.635127544403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:43:02.599223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_14_9718.jpg', '/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_25_10684.jpg', '/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_35_9687.jpg', '/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_44_9696.jpg', '/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_54_9684.jpg', '/home/pi/Desktop/images/30112025/09/22/image_30112025_09_23_05_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_14_9718.jpg
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_25_10684.jpg
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_35_9687.jpg
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_44_9696.jpg
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_22_54_9684.jpg
/home/pi/Desktop/images/30112025/09/22/image_30112025_09_23_05_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049481","1397049478","1397049480","1397049483","1397049486","1397049479"],"photo_ids_order":["1397049478","1397049479","1397049480","1397049481","1397049483","1397049486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4749920407145843232b8dd78a52e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody2076937304416869752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_22_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe91ad4b51ba0b1b5143e1e82b9b5476.jpg","text":"TemporaryFile(/tmp/multipartBody4984431775742879936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_22_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec496dda01df1eb2991e4d4d9e32c555.jpg","text":"TemporaryFile(/tmp/multipartBody5700916236926979513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_22_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9bcc2abff129c20275b7fea5e5db44f.jpg","text":"TemporaryFile(/tmp/multipartBody1154620593717611554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_22_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a6a0b2fcc0c4c02b55c6c3aa20ed3be.jpg","text":"TemporaryFile(/tmp/multipartBody8692956308177296512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_23_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02323cd7c2d57ea227b7b5f8f73574dc.jpg","text":"TemporaryFile(/tmp/multipartBody6923059860951336461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499443433,"filename":"image_30112025_09_22_25_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049480","file1":"1397049479","file0":"1397049478","file4":"1397049483","file5":"1397049486","file3":"1397049481"},"map_files_photo_id_array":[{"photo_id":"1397049486","filename":"file5"},{"photo_id":"1397049480","filename":"file2"},{"photo_id":"1397049483","filename":"file4"},{"photo_id":"1397049479","filename":"file1"},{"photo_id":"1397049478","filename":"file0"},{"photo_id":"1397049481","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049481":["hashtag1","hashtag2"]},{"1397049478":["hashtag1","hashtag2"]},{"1397049480":["hashtag1","hashtag2"]},{"1397049483":["hashtag1","hashtag2"]},{"1397049486":["hashtag1","hashtag2"]},{"1397049479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049481, 1397049478, 1397049480, 1397049483, 1397049486, 1397049479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.580843448638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:43:41.859336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/35/image_31102025_12_35_25_2950.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_28_2703.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_32_3610.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_34_2813.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_37_2789.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_41_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_25_2950.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_28_2703.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_32_3610.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_34_2813.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_37_2789.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_41_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049496","1397049500","1397049499","1397049498","1397049497","1397049494"],"photo_ids_order":["1397049494","1397049496","1397049497","1397049498","1397049499","1397049500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64b009e43c879d3366d5682c60e55b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3186537050918347669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_28_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/30/ee98766fdc372a144adb986015bf3891.jpg","text":"TemporaryFile(/tmp/multipartBody7010146520945146053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_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/30/3f9fde076944859ea7d41e8b91061488.jpg","text":"TemporaryFile(/tmp/multipartBody6738871485327456866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_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/30/6cc65b812cb3470e1a2f7d7e21216483.jpg","text":"TemporaryFile(/tmp/multipartBody1095564021102730859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_34_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/30/773482cbbf5fbdde0f4be6eab501ea0a.jpg","text":"TemporaryFile(/tmp/multipartBody1566126095317724471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_32_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04e3e442bced7a176b455db2d5dc3706.jpg","text":"TemporaryFile(/tmp/multipartBody1097460507551587084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499482763,"filename":"image_31102025_12_35_25_2950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049497","file1":"1397049496","file0":"1397049494","file4":"1397049499","file5":"1397049500","file3":"1397049498"},"map_files_photo_id_array":[{"photo_id":"1397049500","filename":"file5"},{"photo_id":"1397049497","filename":"file2"},{"photo_id":"1397049499","filename":"file4"},{"photo_id":"1397049496","filename":"file1"},{"photo_id":"1397049494","filename":"file0"},{"photo_id":"1397049498","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049496":["hashtag1","hashtag2"]},{"1397049500":["hashtag1","hashtag2"]},{"1397049499":["hashtag1","hashtag2"]},{"1397049498":["hashtag1","hashtag2"]},{"1397049497":["hashtag1","hashtag2"]},{"1397049494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049496, 1397049500, 1397049499, 1397049498, 1397049497, 1397049494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.790011405944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:44:23.928735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_15_10005.jpg', '/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_25_9753.jpg', '/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_34_9656.jpg', '/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_45_10627.jpg', '/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_55_9675.jpg', '/home/pi/Desktop/images/30112025/09/23/image_30112025_09_24_04_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_15_10005.jpg
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_25_9753.jpg
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_34_9656.jpg
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_45_10627.jpg
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_23_55_9675.jpg
/home/pi/Desktop/images/30112025/09/23/image_30112025_09_24_04_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049512","1397049508","1397049517","1397049505","1397049510","1397049516"],"photo_ids_order":["1397049505","1397049508","1397049510","1397049512","1397049516","1397049517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63d4a86c2c4c0b5de248d39b3d53de7b.jpg","text":"TemporaryFile(/tmp/multipartBody5047481894279942995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_23_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f3048dbcfc42d66ea98ad0725a0936f.jpg","text":"TemporaryFile(/tmp/multipartBody8095647302666557984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_23_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f3fe430eaf265406bea2603756fbf51.jpg","text":"TemporaryFile(/tmp/multipartBody5267316022787258584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_24_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e68492d40229586f80c9385ea5cfc7c.jpg","text":"TemporaryFile(/tmp/multipartBody1155685408159995256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_23_15_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b09421284cdd70024327d6d8bd6ddf8.jpg","text":"TemporaryFile(/tmp/multipartBody4006358623737510803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_23_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0184b27d9bf3592cd6d3c82ebb1c6132.jpg","text":"TemporaryFile(/tmp/multipartBody2589175125349752947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499524717,"filename":"image_30112025_09_23_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049510","file1":"1397049508","file0":"1397049505","file4":"1397049516","file5":"1397049517","file3":"1397049512"},"map_files_photo_id_array":[{"photo_id":"1397049517","filename":"file5"},{"photo_id":"1397049510","filename":"file2"},{"photo_id":"1397049516","filename":"file4"},{"photo_id":"1397049508","filename":"file1"},{"photo_id":"1397049505","filename":"file0"},{"photo_id":"1397049512","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049512":["hashtag1","hashtag2"]},{"1397049508":["hashtag1","hashtag2"]},{"1397049517":["hashtag1","hashtag2"]},{"1397049505":["hashtag1","hashtag2"]},{"1397049510":["hashtag1","hashtag2"]},{"1397049516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049512, 1397049508, 1397049517, 1397049505, 1397049510, 1397049516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274413108825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:45:02.731206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_15_10648.jpg', '/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_25_9717.jpg', '/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_34_9900.jpg', '/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_44_9847.jpg', '/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_55_10732.jpg', '/home/pi/Desktop/images/30112025/09/24/image_30112025_09_25_05_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_15_10648.jpg
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_25_9717.jpg
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_34_9900.jpg
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_44_9847.jpg
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_24_55_10732.jpg
/home/pi/Desktop/images/30112025/09/24/image_30112025_09_25_05_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049526","1397049520","1397049523","1397049519","1397049521","1397049518"],"photo_ids_order":["1397049518","1397049519","1397049520","1397049521","1397049523","1397049526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/776f17c7b9ae1b9c09b4fb03689221af.jpg","text":"TemporaryFile(/tmp/multipartBody212870807613799169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_25_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f9ba571ae684b77bf511726a528f36e.jpg","text":"TemporaryFile(/tmp/multipartBody4234571478778295117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_24_34_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcbf3c1111dcf05e1b4c3cca11610418.jpg","text":"TemporaryFile(/tmp/multipartBody5259997532700868063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_24_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a32854170100d02b8769464b625c3412.jpg","text":"TemporaryFile(/tmp/multipartBody7477126678214487919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_24_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcd5794984c0052b50d83aa751bbf835.jpg","text":"TemporaryFile(/tmp/multipartBody4511100839737197273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_24_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54b3a4366b127934d6d1590beb2d82f7.jpg","text":"TemporaryFile(/tmp/multipartBody6807550210178611793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499563529,"filename":"image_30112025_09_24_15_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049520","file1":"1397049519","file0":"1397049518","file4":"1397049523","file5":"1397049526","file3":"1397049521"},"map_files_photo_id_array":[{"photo_id":"1397049526","filename":"file5"},{"photo_id":"1397049520","filename":"file2"},{"photo_id":"1397049523","filename":"file4"},{"photo_id":"1397049519","filename":"file1"},{"photo_id":"1397049518","filename":"file0"},{"photo_id":"1397049521","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049526":["hashtag1","hashtag2"]},{"1397049520":["hashtag1","hashtag2"]},{"1397049523":["hashtag1","hashtag2"]},{"1397049519":["hashtag1","hashtag2"]},{"1397049521":["hashtag1","hashtag2"]},{"1397049518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049526, 1397049520, 1397049523, 1397049519, 1397049521, 1397049518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66675901412964 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-30 11:46:02.807520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_14_9669.jpg', '/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_24_9837.jpg', '/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_35_10786.jpg', '/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_45_9744.jpg', '/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_54_9670.jpg', '/home/pi/Desktop/images/30112025/09/25/image_30112025_09_26_04_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_14_9669.jpg
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_24_9837.jpg
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_35_10786.jpg
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_45_9744.jpg
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_25_54_9670.jpg
/home/pi/Desktop/images/30112025/09/25/image_30112025_09_26_04_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049532","1397049531","1397049534","1397049533","1397049536","1397049539"],"photo_ids_order":["1397049531","1397049532","1397049533","1397049534","1397049536","1397049539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dfaa8768b4b80603869c05a8e52d528.jpg","text":"TemporaryFile(/tmp/multipartBody7248115884521070663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_25_24_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca3970ecaa9254a30cfa9b11900636b1.jpg","text":"TemporaryFile(/tmp/multipartBody1842955555137301473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_25_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d778365d51719584d85f5ca4ad6f60c4.jpg","text":"TemporaryFile(/tmp/multipartBody1732603827767877498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_25_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e95da35d9523f145402d304b3fbfb076.jpg","text":"TemporaryFile(/tmp/multipartBody2785243804830186454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_25_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/203d0bd721e57aab40e2633fca82468b.jpg","text":"TemporaryFile(/tmp/multipartBody7387579605712110921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_25_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f09fd6ad6dcc43e344de6e29dd57cb47.jpg","text":"TemporaryFile(/tmp/multipartBody1590127206279497619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499623581,"filename":"image_30112025_09_26_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049533","file1":"1397049532","file0":"1397049531","file4":"1397049536","file5":"1397049539","file3":"1397049534"},"map_files_photo_id_array":[{"photo_id":"1397049539","filename":"file5"},{"photo_id":"1397049533","filename":"file2"},{"photo_id":"1397049536","filename":"file4"},{"photo_id":"1397049532","filename":"file1"},{"photo_id":"1397049531","filename":"file0"},{"photo_id":"1397049534","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049532":["hashtag1","hashtag2"]},{"1397049531":["hashtag1","hashtag2"]},{"1397049534":["hashtag1","hashtag2"]},{"1397049533":["hashtag1","hashtag2"]},{"1397049536":["hashtag1","hashtag2"]},{"1397049539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049532, 1397049531, 1397049534, 1397049533, 1397049536, 1397049539)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.96000003814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:47:09.064062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 11:47:16.039023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_03_2637.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_07_3756.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_10_2605.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_12_2790.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_16_3587.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_21_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_03_2637.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_07_3756.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_10_2605.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_12_2790.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_16_3587.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_21_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049553","1397049556","1397049558","1397049551","1397049560","1397049554"],"photo_ids_order":["1397049551","1397049553","1397049554","1397049556","1397049558","1397049560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e11d1a1c943fe90b944d5ae9e7333a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1673987621116822003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_07_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/30/4121cd449f4ef32f5c0aa7432621977b.jpg","text":"TemporaryFile(/tmp/multipartBody6529481440887310371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_12_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/30/28743ac3a2a6967a32f8ba43ebbcd1a5.jpg","text":"TemporaryFile(/tmp/multipartBody6265584597077042596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_16_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/30/3d892f6c609d4f196451799b80dbb470.jpg","text":"TemporaryFile(/tmp/multipartBody1013627209009961267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_03_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d246f507f52af63461627c7cd5aa5ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1863563663232401026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_21_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64b01f12113493f06c6712b87919fde1.jpg","text":"TemporaryFile(/tmp/multipartBody8145011400935788256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499697856,"filename":"image_25112025_20_09_10_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049554","file1":"1397049553","file0":"1397049551","file4":"1397049558","file5":"1397049560","file3":"1397049556"},"map_files_photo_id_array":[{"photo_id":"1397049560","filename":"file5"},{"photo_id":"1397049554","filename":"file2"},{"photo_id":"1397049558","filename":"file4"},{"photo_id":"1397049553","filename":"file1"},{"photo_id":"1397049551","filename":"file0"},{"photo_id":"1397049556","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397049553":["hashtag1","hashtag2"]},{"1397049556":["hashtag1","hashtag2"]},{"1397049558":["hashtag1","hashtag2"]},{"1397049551":["hashtag1","hashtag2"]},{"1397049560":["hashtag1","hashtag2"]},{"1397049554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397049553, 1397049556, 1397049558, 1397049551, 1397049560, 1397049554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86016321182251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:48:02.779962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_15_10706.jpg', '/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_25_9730.jpg', '/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_36_11020.jpg', '/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_45_9119.jpg', '/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_54_9701.jpg', '/home/pi/Desktop/images/30112025/09/26/image_30112025_09_27_05_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_15_10706.jpg
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_25_9730.jpg
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_36_11020.jpg
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_45_9119.jpg
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_26_54_9701.jpg
/home/pi/Desktop/images/30112025/09/26/image_30112025_09_27_05_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049580","1397049577","1397049582","1397049576","1397049578","1397049575"],"photo_ids_order":["1397049575","1397049576","1397049577","1397049578","1397049580","1397049582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c021f8883b1145458e43ad11221f45d4.jpg","text":"TemporaryFile(/tmp/multipartBody7062825046265815720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_26_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f037a676e64fc0736ecf3abf39670a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5391290098385603766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_26_36_11020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/701103dea64de038d58b37494ed67e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3682506531235143454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_27_05_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ebc568fdc508ad6441cf4e9859873ff.jpg","text":"TemporaryFile(/tmp/multipartBody2075401274532174344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_26_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8b5b065a4a5394d780646effb84c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7699105610678165664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_26_45_9119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc0bfed71a6be2755a5bc19e047132e7.jpg","text":"TemporaryFile(/tmp/multipartBody7753766276677477550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499743592,"filename":"image_30112025_09_26_15_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049577","file1":"1397049576","file0":"1397049575","file4":"1397049580","file5":"1397049582","file3":"1397049578"},"map_files_photo_id_array":[{"photo_id":"1397049582","filename":"file5"},{"photo_id":"1397049577","filename":"file2"},{"photo_id":"1397049580","filename":"file4"},{"photo_id":"1397049576","filename":"file1"},{"photo_id":"1397049575","filename":"file0"},{"photo_id":"1397049578","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049580":["hashtag1","hashtag2"]},{"1397049577":["hashtag1","hashtag2"]},{"1397049582":["hashtag1","hashtag2"]},{"1397049576":["hashtag1","hashtag2"]},{"1397049578":["hashtag1","hashtag2"]},{"1397049575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049580, 1397049577, 1397049582, 1397049576, 1397049578, 1397049575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48156929016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:48:42.293089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/35/image_31102025_12_35_44_2803.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_46_2692.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_49_2748.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_53_3692.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_56_2801.jpg', '/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_58_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/12/35/image_31102025_12_35_44_2803.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_46_2692.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_49_2748.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_53_3692.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_56_2801.jpg
/home/pi/Desktop/images/31102025/12/35/image_31102025_12_35_58_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049595","1397049589","1397049592","1397049591","1397049593","1397049587"],"photo_ids_order":["1397049587","1397049589","1397049591","1397049592","1397049593","1397049595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1399544ee1e932ac7c6b90ebba73d24e.jpg","text":"TemporaryFile(/tmp/multipartBody5124319842291501210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_58_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f2b331746db4da1c0c60febf5f6f0a7.jpg","text":"TemporaryFile(/tmp/multipartBody2178954966537981982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_46_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/30/b049c916ee0b503b31f8b866bf416adc.jpg","text":"TemporaryFile(/tmp/multipartBody7164884002974483275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_53_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e696fddd12c999a20944ada606eb5c7.jpg","text":"TemporaryFile(/tmp/multipartBody3632224983874122604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_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/30/c8be277367a0ad3b6e5f846eedd8b72e.jpg","text":"TemporaryFile(/tmp/multipartBody641877634347795146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_56_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0be1bfd4e87d0006b0c6ef7f37ab68eb.jpg","text":"TemporaryFile(/tmp/multipartBody3565798733727616011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499783161,"filename":"image_31102025_12_35_44_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049591","file1":"1397049589","file0":"1397049587","file4":"1397049593","file5":"1397049595","file3":"1397049592"},"map_files_photo_id_array":[{"photo_id":"1397049595","filename":"file5"},{"photo_id":"1397049591","filename":"file2"},{"photo_id":"1397049593","filename":"file4"},{"photo_id":"1397049589","filename":"file1"},{"photo_id":"1397049587","filename":"file0"},{"photo_id":"1397049592","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049595":["hashtag1","hashtag2"]},{"1397049589":["hashtag1","hashtag2"]},{"1397049592":["hashtag1","hashtag2"]},{"1397049591":["hashtag1","hashtag2"]},{"1397049593":["hashtag1","hashtag2"]},{"1397049587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049595, 1397049589, 1397049592, 1397049591, 1397049593, 1397049587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01860213279724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:49:22.547731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_15_9613.jpg', '/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_28_13200.jpg', '/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_34_6645.jpg', '/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_45_10680.jpg', '/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_55_9686.jpg', '/home/pi/Desktop/images/30112025/09/27/image_30112025_09_28_05_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_15_9613.jpg
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_28_13200.jpg
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_34_6645.jpg
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_45_10680.jpg
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_27_55_9686.jpg
/home/pi/Desktop/images/30112025/09/27/image_30112025_09_28_05_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049611","1397049606","1397049609","1397049600","1397049603","1397049614"],"photo_ids_order":["1397049600","1397049603","1397049606","1397049609","1397049611","1397049614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f956cec77ae4d7ca34d298d0046dc72.jpg","text":"TemporaryFile(/tmp/multipartBody6205218895055297598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_27_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/322dbcb145285a24eac8954f8f7ae463.jpg","text":"TemporaryFile(/tmp/multipartBody3585579046991804858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_27_34_6645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4410db2db540334555525d45a29b1b33.jpg","text":"TemporaryFile(/tmp/multipartBody2606178858955494387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_27_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/990e1eb4b93d465905af434fd01bba21.jpg","text":"TemporaryFile(/tmp/multipartBody1795287991873934940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_27_15_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3952a5caabe8bb648c8a9f8cf925e0c2.jpg","text":"TemporaryFile(/tmp/multipartBody7198929380729960831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_27_28_13200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a17860c43dbe809fb74df4f30bc4b51.jpg","text":"TemporaryFile(/tmp/multipartBody7083343455295696332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499823313,"filename":"image_30112025_09_28_05_9904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049606","file1":"1397049603","file0":"1397049600","file4":"1397049611","file5":"1397049614","file3":"1397049609"},"map_files_photo_id_array":[{"photo_id":"1397049614","filename":"file5"},{"photo_id":"1397049606","filename":"file2"},{"photo_id":"1397049611","filename":"file4"},{"photo_id":"1397049603","filename":"file1"},{"photo_id":"1397049600","filename":"file0"},{"photo_id":"1397049609","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049611":["hashtag1","hashtag2"]},{"1397049606":["hashtag1","hashtag2"]},{"1397049609":["hashtag1","hashtag2"]},{"1397049600":["hashtag1","hashtag2"]},{"1397049603":["hashtag1","hashtag2"]},{"1397049614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049611, 1397049606, 1397049609, 1397049600, 1397049603, 1397049614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23296880722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:50:02.431059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_14_9524.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_24_10184.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_35_10366.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_44_9564.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_55_10689.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_29_05_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_14_9524.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_24_10184.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_35_10366.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_44_9564.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_55_10689.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_29_05_9883.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7359645366668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 11:50:11.839063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_28_2678.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_34_3635.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_37_2535.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_40_2903.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_43_3340.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_45_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_28_2678.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_34_3635.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_37_2535.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_40_2903.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_43_3340.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_45_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049631","1397049634","1397049624","1397049618","1397049627","1397049620"],"photo_ids_order":["1397049618","1397049620","1397049624","1397049627","1397049631","1397049634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9443ae9125f959f6063423c966119b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2057991472491902512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_09_43_3340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd638b7edc7775afe717fb3a81856fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5164356156728581450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_09_45_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/30/8c4fcab681934ea4b50822787b0176d8.jpg","text":"TemporaryFile(/tmp/multipartBody7571403221149341244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_09_37_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/30/e8fb9704c98b8c377e6f3832e1244483.jpg","text":"TemporaryFile(/tmp/multipartBody1305597703334292892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_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/30/516a1e3557e96ceb86c30dd0edb13e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7422698179950064616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_09_40_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/30/d4628f002bb0921bb311c75dc2608c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3554017665761373131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499873617,"filename":"image_25112025_20_09_34_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049624","file1":"1397049620","file0":"1397049618","file4":"1397049631","file5":"1397049634","file3":"1397049627"},"map_files_photo_id_array":[{"photo_id":"1397049634","filename":"file5"},{"photo_id":"1397049624","filename":"file2"},{"photo_id":"1397049631","filename":"file4"},{"photo_id":"1397049620","filename":"file1"},{"photo_id":"1397049618","filename":"file0"},{"photo_id":"1397049627","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397049631":["hashtag1","hashtag2"]},{"1397049634":["hashtag1","hashtag2"]},{"1397049624":["hashtag1","hashtag2"]},{"1397049618":["hashtag1","hashtag2"]},{"1397049627":["hashtag1","hashtag2"]},{"1397049620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397049631, 1397049634, 1397049624, 1397049618, 1397049627, 1397049620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58304691314697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:51:02.675337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_14_9524.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_24_10184.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_35_10366.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_44_9564.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_55_10689.jpg', '/home/pi/Desktop/images/30112025/09/28/image_30112025_09_29_05_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_14_9524.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_24_10184.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_35_10366.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_44_9564.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_28_55_10689.jpg
/home/pi/Desktop/images/30112025/09/28/image_30112025_09_29_05_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049649","1397049648","1397049651","1397049650","1397049653","1397049656"],"photo_ids_order":["1397049648","1397049649","1397049650","1397049651","1397049653","1397049656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee4b062de4532fd18915514d85063d51.jpg","text":"TemporaryFile(/tmp/multipartBody4825480590260989264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_28_24_10184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8fe6f20312ce0bee8f6386a3dfffa19.jpg","text":"TemporaryFile(/tmp/multipartBody4299861614397907870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_28_14_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0fa8e470822dc2fbb6742ff32b5b0da.jpg","text":"TemporaryFile(/tmp/multipartBody4679582397384009689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_28_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/564a8551f25b25bb57a3d53a9f80d99a.jpg","text":"TemporaryFile(/tmp/multipartBody403492068071140083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_28_35_10366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49670df59f9d36fb62826261780de927.jpg","text":"TemporaryFile(/tmp/multipartBody8810835333729170068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_28_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78e660e4c7d2af436042cd04a5a77fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4088593996040680695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499923546,"filename":"image_30112025_09_29_05_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049650","file1":"1397049649","file0":"1397049648","file4":"1397049653","file5":"1397049656","file3":"1397049651"},"map_files_photo_id_array":[{"photo_id":"1397049656","filename":"file5"},{"photo_id":"1397049650","filename":"file2"},{"photo_id":"1397049653","filename":"file4"},{"photo_id":"1397049649","filename":"file1"},{"photo_id":"1397049648","filename":"file0"},{"photo_id":"1397049651","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049649":["hashtag1","hashtag2"]},{"1397049648":["hashtag1","hashtag2"]},{"1397049651":["hashtag1","hashtag2"]},{"1397049650":["hashtag1","hashtag2"]},{"1397049653":["hashtag1","hashtag2"]},{"1397049656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049649, 1397049648, 1397049651, 1397049650, 1397049653, 1397049656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92723894119263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:51:42.013811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/36/image_31102025_12_36_01_2703.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_05_3565.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_07_2690.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_10_2652.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_14_3690.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_16_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/12/36/image_31102025_12_36_01_2703.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_05_3565.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_07_2690.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_10_2652.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_14_3690.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_16_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":["1397049667","1397049666","1397049669","1397049663","1397049665","1397049668"],"photo_ids_order":["1397049663","1397049665","1397049666","1397049667","1397049668","1397049669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de1a69ecd8ac028877cba874250ba1ce.jpg","text":"TemporaryFile(/tmp/multipartBody4781700723240788584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_10_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/217c5a6c489dc4ab469bfea4e207841e.jpg","text":"TemporaryFile(/tmp/multipartBody2121108000222073720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_07_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b20adcd87fdd0230e4f2e927872452c.jpg","text":"TemporaryFile(/tmp/multipartBody2534135045298955501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_16_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f403656b11da81ebec8cc9d147b7a2f.jpg","text":"TemporaryFile(/tmp/multipartBody8739519079296891936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a2dc5069ef932c2f7067fd2cea58749.jpg","text":"TemporaryFile(/tmp/multipartBody587865235622637706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_05_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/30/6ebd621bab7255ffb51ab02c42b78da3.jpg","text":"TemporaryFile(/tmp/multipartBody1737844469030831676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764499962920,"filename":"image_31102025_12_36_14_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049666","file1":"1397049665","file0":"1397049663","file4":"1397049668","file5":"1397049669","file3":"1397049667"},"map_files_photo_id_array":[{"photo_id":"1397049669","filename":"file5"},{"photo_id":"1397049666","filename":"file2"},{"photo_id":"1397049668","filename":"file4"},{"photo_id":"1397049665","filename":"file1"},{"photo_id":"1397049663","filename":"file0"},{"photo_id":"1397049667","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049667":["hashtag1","hashtag2"]},{"1397049666":["hashtag1","hashtag2"]},{"1397049669":["hashtag1","hashtag2"]},{"1397049663":["hashtag1","hashtag2"]},{"1397049665":["hashtag1","hashtag2"]},{"1397049668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049667, 1397049666, 1397049669, 1397049663, 1397049665, 1397049668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62010073661804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:52:22.174972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_15_9659.jpg', '/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_24_9639.jpg', '/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_35_10882.jpg', '/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_45_9670.jpg', '/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_54_9661.jpg', '/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_15_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_15_9659.jpg
/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_24_9639.jpg
/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_35_10882.jpg
/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_45_9670.jpg
/home/pi/Desktop/images/30112025/09/29/image_30112025_09_29_54_9661.jpg
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_15_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049679","1397049673","1397049681","1397049675","1397049678","1397049677"],"photo_ids_order":["1397049673","1397049675","1397049677","1397049678","1397049679","1397049681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f8504193c06eb1df7c357640b376a88.jpg","text":"TemporaryFile(/tmp/multipartBody5616649707306045117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_29_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd200d4d934dd7109add54f2da507588.jpg","text":"TemporaryFile(/tmp/multipartBody8501121451135449580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_29_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94e37008557d4e71b49b78be310ed8a7.jpg","text":"TemporaryFile(/tmp/multipartBody462589544945777754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65dfccc3839af531fcc18ffc42ee4330.jpg","text":"TemporaryFile(/tmp/multipartBody41079007464535816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_29_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/725ac45daff0c0647394318f09fb2638.jpg","text":"TemporaryFile(/tmp/multipartBody5443903500629223984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_29_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d01fcfd2504e4838d98c2218a89f9de.jpg","text":"TemporaryFile(/tmp/multipartBody7018911540403846696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500002924,"filename":"image_30112025_09_29_35_10882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049677","file1":"1397049675","file0":"1397049673","file4":"1397049679","file5":"1397049681","file3":"1397049678"},"map_files_photo_id_array":[{"photo_id":"1397049681","filename":"file5"},{"photo_id":"1397049677","filename":"file2"},{"photo_id":"1397049679","filename":"file4"},{"photo_id":"1397049675","filename":"file1"},{"photo_id":"1397049673","filename":"file0"},{"photo_id":"1397049678","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049679":["hashtag1","hashtag2"]},{"1397049673":["hashtag1","hashtag2"]},{"1397049681":["hashtag1","hashtag2"]},{"1397049675":["hashtag1","hashtag2"]},{"1397049678":["hashtag1","hashtag2"]},{"1397049677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049679, 1397049673, 1397049681, 1397049675, 1397049678, 1397049677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72932052612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:53:03.080160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_26_10758.jpg', '/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_35_9713.jpg', '/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_45_9758.jpg', '/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_56_10627.jpg', '/home/pi/Desktop/images/30112025/09/30/image_30112025_09_31_05_9660.jpg', '/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_15_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_26_10758.jpg
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_35_9713.jpg
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_45_9758.jpg
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_30_56_10627.jpg
/home/pi/Desktop/images/30112025/09/30/image_30112025_09_31_05_9660.jpg
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_15_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049688","1397049682","1397049691","1397049685","1397049684","1397049683"],"photo_ids_order":["1397049682","1397049683","1397049684","1397049685","1397049688","1397049691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5a5c409585b15e7e5942b4e68f91648.jpg","text":"TemporaryFile(/tmp/multipartBody5821811374384271151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_31_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6fdd827aa478ea471078ddf72259a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5449541464966128063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_30_26_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daafb18c4a0d801626772ab4087163d5.jpg","text":"TemporaryFile(/tmp/multipartBody6499651864184084398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_31_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7148d872aa9a222cd656efe6e14e87e.jpg","text":"TemporaryFile(/tmp/multipartBody2156888117958429397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_30_56_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccb0ebbc74cf9089d43feab99b418780.jpg","text":"TemporaryFile(/tmp/multipartBody1967404998361000019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_30_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/043e27df3778d8537484a0627c739a94.jpg","text":"TemporaryFile(/tmp/multipartBody1596404517531720693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500043908,"filename":"image_30112025_09_30_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049684","file1":"1397049683","file0":"1397049682","file4":"1397049688","file5":"1397049691","file3":"1397049685"},"map_files_photo_id_array":[{"photo_id":"1397049691","filename":"file5"},{"photo_id":"1397049684","filename":"file2"},{"photo_id":"1397049688","filename":"file4"},{"photo_id":"1397049683","filename":"file1"},{"photo_id":"1397049682","filename":"file0"},{"photo_id":"1397049685","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049688":["hashtag1","hashtag2"]},{"1397049682":["hashtag1","hashtag2"]},{"1397049691":["hashtag1","hashtag2"]},{"1397049685":["hashtag1","hashtag2"]},{"1397049684":["hashtag1","hashtag2"]},{"1397049683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049688, 1397049682, 1397049691, 1397049685, 1397049684, 1397049683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91919827461243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:53:42.622509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/36/image_31102025_12_36_19_2704.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_23_3812.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_25_2665.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_28_2684.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_32_3694.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_35_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_19_2704.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_23_3812.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_25_2665.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_28_2684.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_32_3694.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_35_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049710","1397049697","1397049712","1397049709","1397049711","1397049708"],"photo_ids_order":["1397049697","1397049708","1397049709","1397049710","1397049711","1397049712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11ac4ae54d96bdd2a3c4fa07fafc3a41.jpg","text":"TemporaryFile(/tmp/multipartBody7575337285622275841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_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/30/b81e7d6a5a3eb807db893cbb797a3f25.jpg","text":"TemporaryFile(/tmp/multipartBody5659229256474881243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_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/30/27f7b164590a9d9675b5e34d306a0875.jpg","text":"TemporaryFile(/tmp/multipartBody1062845028426986267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_35_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/30/764427974558099a1361f8181d1f56ec.jpg","text":"TemporaryFile(/tmp/multipartBody8932683894632333241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_25_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/30/08131b05c7546cf23c373c81215931cc.jpg","text":"TemporaryFile(/tmp/multipartBody362260586790952224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_32_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/30/92f796f0a85e1e0a2c45db42cae55730.jpg","text":"TemporaryFile(/tmp/multipartBody1251419805474416417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500083543,"filename":"image_31102025_12_36_23_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049709","file1":"1397049708","file0":"1397049697","file4":"1397049711","file5":"1397049712","file3":"1397049710"},"map_files_photo_id_array":[{"photo_id":"1397049712","filename":"file5"},{"photo_id":"1397049709","filename":"file2"},{"photo_id":"1397049711","filename":"file4"},{"photo_id":"1397049708","filename":"file1"},{"photo_id":"1397049697","filename":"file0"},{"photo_id":"1397049710","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049710":["hashtag1","hashtag2"]},{"1397049697":["hashtag1","hashtag2"]},{"1397049712":["hashtag1","hashtag2"]},{"1397049709":["hashtag1","hashtag2"]},{"1397049711":["hashtag1","hashtag2"]},{"1397049708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049710, 1397049697, 1397049712, 1397049709, 1397049711, 1397049708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64665484428406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:54:22.779798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_25_10200.jpg', '/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_35_9669.jpg', '/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_46_10745.jpg', '/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_55_9626.jpg', '/home/pi/Desktop/images/30112025/09/31/image_30112025_09_32_05_9631.jpg', '/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_16_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_25_10200.jpg
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_35_9669.jpg
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_46_10745.jpg
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_31_55_9626.jpg
/home/pi/Desktop/images/30112025/09/31/image_30112025_09_32_05_9631.jpg
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_16_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049719","1397049724","1397049726","1397049728","1397049722","1397049716"],"photo_ids_order":["1397049716","1397049719","1397049722","1397049724","1397049726","1397049728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11dc681bccba3eac1297f49b4edc7725.jpg","text":"TemporaryFile(/tmp/multipartBody5125933876048170202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_31_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af29914ce2db84ad5e46029baba15705.jpg","text":"TemporaryFile(/tmp/multipartBody4223204007511690910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_31_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a60c1ca427f7dedf518a10beb20b67a7.jpg","text":"TemporaryFile(/tmp/multipartBody7082273367723738463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_32_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd98fb654df02214a5888d53c6ab0801.jpg","text":"TemporaryFile(/tmp/multipartBody6652985818182316803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_32_16_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9dd6eb2193bafc329a0e903e105f28f.jpg","text":"TemporaryFile(/tmp/multipartBody7533480617637115487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_31_46_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acd0792f198e593d5ec63073333805c2.jpg","text":"TemporaryFile(/tmp/multipartBody8409926216742156394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500123592,"filename":"image_30112025_09_31_25_10200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049722","file1":"1397049719","file0":"1397049716","file4":"1397049726","file5":"1397049728","file3":"1397049724"},"map_files_photo_id_array":[{"photo_id":"1397049728","filename":"file5"},{"photo_id":"1397049722","filename":"file2"},{"photo_id":"1397049726","filename":"file4"},{"photo_id":"1397049719","filename":"file1"},{"photo_id":"1397049716","filename":"file0"},{"photo_id":"1397049724","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049719":["hashtag1","hashtag2"]},{"1397049724":["hashtag1","hashtag2"]},{"1397049726":["hashtag1","hashtag2"]},{"1397049728":["hashtag1","hashtag2"]},{"1397049722":["hashtag1","hashtag2"]},{"1397049716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049719, 1397049724, 1397049726, 1397049728, 1397049722, 1397049716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60972356796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:55:02.662589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_25_9603.jpg', '/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_35_9778.jpg', '/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_45_9781.jpg', '/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_56_10709.jpg', '/home/pi/Desktop/images/30112025/09/32/image_30112025_09_33_05_9893.jpg', '/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_15_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_25_9603.jpg
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_35_9778.jpg
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_45_9781.jpg
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_32_56_10709.jpg
/home/pi/Desktop/images/30112025/09/32/image_30112025_09_33_05_9893.jpg
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_15_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397049730","1397049733","1397049732","1397049731","1397049740","1397049737"],"photo_ids_order":["1397049730","1397049731","1397049732","1397049733","1397049737","1397049740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9072cafaff2abfcacf5887e1ffde06dc.jpg","text":"TemporaryFile(/tmp/multipartBody2979571889740982613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_32_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e81c0fe0444670ac7013b2fc3678e33e.jpg","text":"TemporaryFile(/tmp/multipartBody7019653280437054392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_32_56_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9327ccf148e3d68e9ed0f6082a380957.jpg","text":"TemporaryFile(/tmp/multipartBody365494289335426027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_32_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/161376676ee6a16a6883be148d2699ec.jpg","text":"TemporaryFile(/tmp/multipartBody8205556407617336253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_32_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bb09e8e2a4bfa88ed6e65a8b28ad3c0.jpg","text":"TemporaryFile(/tmp/multipartBody237907592269729580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_33_15_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23038437ede86f6a1944b36479d9caac.jpg","text":"TemporaryFile(/tmp/multipartBody639557401116344304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500163475,"filename":"image_30112025_09_33_05_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049732","file1":"1397049731","file0":"1397049730","file4":"1397049737","file5":"1397049740","file3":"1397049733"},"map_files_photo_id_array":[{"photo_id":"1397049740","filename":"file5"},{"photo_id":"1397049732","filename":"file2"},{"photo_id":"1397049737","filename":"file4"},{"photo_id":"1397049731","filename":"file1"},{"photo_id":"1397049730","filename":"file0"},{"photo_id":"1397049733","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049730":["hashtag1","hashtag2"]},{"1397049733":["hashtag1","hashtag2"]},{"1397049732":["hashtag1","hashtag2"]},{"1397049731":["hashtag1","hashtag2"]},{"1397049740":["hashtag1","hashtag2"]},{"1397049737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049730, 1397049733, 1397049732, 1397049731, 1397049740, 1397049737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.861653566360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:56:02.677564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_25_9867.jpg', '/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_35_9728.jpg', '/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_46_10919.jpg', '/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_55_9532.jpg', '/home/pi/Desktop/images/30112025/09/33/image_30112025_09_34_05_9726.jpg', '/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_16_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_25_9867.jpg
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_35_9728.jpg
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_46_10919.jpg
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_33_55_9532.jpg
/home/pi/Desktop/images/30112025/09/33/image_30112025_09_34_05_9726.jpg
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_16_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049754","1397049748","1397049747","1397049750","1397049752","1397049749"],"photo_ids_order":["1397049747","1397049748","1397049749","1397049750","1397049752","1397049754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/949b1be7dfae110effe8e2f5ad7e655d.jpg","text":"TemporaryFile(/tmp/multipartBody5819379050699535753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_34_16_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8f64c2ea13698e9c39a31273f9431be.jpg","text":"TemporaryFile(/tmp/multipartBody2086019163826211647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_33_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16981cde53dd9aa239e22fa4b0c920d6.jpg","text":"TemporaryFile(/tmp/multipartBody8489098853486881770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_33_25_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b2062e09d31025f9fdcb4c85736be10.jpg","text":"TemporaryFile(/tmp/multipartBody6209754821176235764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_33_55_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73e3f8db903a286bf5fbe0ab0876ff5e.jpg","text":"TemporaryFile(/tmp/multipartBody3564661850059051038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_34_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/776b1172e38188dbfe704e24c0726056.jpg","text":"TemporaryFile(/tmp/multipartBody1445835036737484068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500223472,"filename":"image_30112025_09_33_46_10919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049749","file1":"1397049748","file0":"1397049747","file4":"1397049752","file5":"1397049754","file3":"1397049750"},"map_files_photo_id_array":[{"photo_id":"1397049754","filename":"file5"},{"photo_id":"1397049749","filename":"file2"},{"photo_id":"1397049752","filename":"file4"},{"photo_id":"1397049748","filename":"file1"},{"photo_id":"1397049747","filename":"file0"},{"photo_id":"1397049750","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049754":["hashtag1","hashtag2"]},{"1397049748":["hashtag1","hashtag2"]},{"1397049747":["hashtag1","hashtag2"]},{"1397049750":["hashtag1","hashtag2"]},{"1397049752":["hashtag1","hashtag2"]},{"1397049749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049754, 1397049748, 1397049747, 1397049750, 1397049752, 1397049749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24252414703369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:56:42.271217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/36/image_31102025_12_36_37_2864.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_40_2596.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_44_3794.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_47_2807.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_49_2624.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_52_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_37_2864.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_40_2596.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_44_3794.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_47_2807.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_49_2624.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_52_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":["1397049769","1397049763","1397049771","1397049765","1397049773","1397049767"],"photo_ids_order":["1397049763","1397049765","1397049767","1397049769","1397049771","1397049773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d068c11cb802814e4104eae73ededcef.jpg","text":"TemporaryFile(/tmp/multipartBody2102585695383333047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_47_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/30/10114eff53f0feb20761e490a2ccce8a.jpg","text":"TemporaryFile(/tmp/multipartBody6271550474977390303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_37_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/30/ffefa083a2bfe467eeee1d8e8616567a.jpg","text":"TemporaryFile(/tmp/multipartBody5042305599243281089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_49_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d5215f605b0c6c034900ee6a29c0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4566925914402056843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6166e8ea5f3cf82e7c951a9122704db9.jpg","text":"TemporaryFile(/tmp/multipartBody4179629059106058773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_52_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/30/d7a2ce2e9c0439986d74301447411df4.jpg","text":"TemporaryFile(/tmp/multipartBody7369587499040709369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500263293,"filename":"image_31102025_12_36_44_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049767","file1":"1397049765","file0":"1397049763","file4":"1397049771","file5":"1397049773","file3":"1397049769"},"map_files_photo_id_array":[{"photo_id":"1397049773","filename":"file5"},{"photo_id":"1397049767","filename":"file2"},{"photo_id":"1397049771","filename":"file4"},{"photo_id":"1397049765","filename":"file1"},{"photo_id":"1397049763","filename":"file0"},{"photo_id":"1397049769","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397049769":["hashtag1","hashtag2"]},{"1397049763":["hashtag1","hashtag2"]},{"1397049771":["hashtag1","hashtag2"]},{"1397049765":["hashtag1","hashtag2"]},{"1397049773":["hashtag1","hashtag2"]},{"1397049767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397049769, 1397049763, 1397049771, 1397049765, 1397049773, 1397049767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76954960823059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 11:57:22.473480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_26_9747.jpg', '/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_35_9822.jpg', '/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_46_10323.jpg', '/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_55_9680.jpg', '/home/pi/Desktop/images/30112025/09/34/image_30112025_09_35_05_9751.jpg', '/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_15_9905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_26_9747.jpg
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_35_9822.jpg
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_46_10323.jpg
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_34_55_9680.jpg
/home/pi/Desktop/images/30112025/09/34/image_30112025_09_35_05_9751.jpg
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_15_9905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397049787","1397049784","1397049786","1397049789","1397049780","1397049782"],"photo_ids_order":["1397049780","1397049782","1397049784","1397049786","1397049787","1397049789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52e4e466402244a4d467b6d1f85daee1.jpg","text":"TemporaryFile(/tmp/multipartBody4435799829517547274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_35_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/730dea03da40b11bfbba779fd871f300.jpg","text":"TemporaryFile(/tmp/multipartBody5601475760216843717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_34_46_10323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db768ecaf6170c6da2df4e70577ee174.jpg","text":"TemporaryFile(/tmp/multipartBody8664120719922779711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_34_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe857d750a8d9d2213dc7c2f84d7b6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2827802486637367946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_35_15_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dacc3b023b21aa4f3a1291885e8a0384.jpg","text":"TemporaryFile(/tmp/multipartBody7886344410809455824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_34_26_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/104b2fff4f7d54365724ec7b30bda7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7625823001041459664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500303247,"filename":"image_30112025_09_34_35_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397049784","file1":"1397049782","file0":"1397049780","file4":"1397049787","file5":"1397049789","file3":"1397049786"},"map_files_photo_id_array":[{"photo_id":"1397049789","filename":"file5"},{"photo_id":"1397049784","filename":"file2"},{"photo_id":"1397049787","filename":"file4"},{"photo_id":"1397049782","filename":"file1"},{"photo_id":"1397049780","filename":"file0"},{"photo_id":"1397049786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397049787":["hashtag1","hashtag2"]},{"1397049784":["hashtag1","hashtag2"]},{"1397049786":["hashtag1","hashtag2"]},{"1397049789":["hashtag1","hashtag2"]},{"1397049780":["hashtag1","hashtag2"]},{"1397049782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397049787, 1397049784, 1397049786, 1397049789, 1397049780, 1397049782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32208752632141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 11:59:02.837245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_26_10777.jpg', '/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_36_9888.jpg', '/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_45_9691.jpg', '/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_55_9708.jpg', '/home/pi/Desktop/images/30112025/09/35/image_30112025_09_36_06_10702.jpg', '/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_15_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_26_10777.jpg
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_36_9888.jpg
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_45_9691.jpg
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_35_55_9708.jpg
/home/pi/Desktop/images/30112025/09/35/image_30112025_09_36_06_10702.jpg
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_15_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397050287","1397050299","1397050305","1397050302","1397050292","1397050295"],"photo_ids_order":["1397050287","1397050292","1397050295","1397050299","1397050302","1397050305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd99ebd50d4389e2b17ff8ad7835d164.jpg","text":"TemporaryFile(/tmp/multipartBody5641513813163349482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_35_26_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/100352b126cefdf842a27f930b82ed11.jpg","text":"TemporaryFile(/tmp/multipartBody6676852282931231351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_35_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/285a2c977a4a566ad0787723e3642ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2039233852920230980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_36_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb774830361acb4a30bdada794fd01a7.jpg","text":"TemporaryFile(/tmp/multipartBody610456020530638493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_36_06_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc34e712b2ea7fc9a320aefa5788af8d.jpg","text":"TemporaryFile(/tmp/multipartBody3765378014981280567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_35_36_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dab64313dee24d167af08467e85d9c33.jpg","text":"TemporaryFile(/tmp/multipartBody4982186725251748617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500403722,"filename":"image_30112025_09_35_45_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397050295","file1":"1397050292","file0":"1397050287","file4":"1397050302","file5":"1397050305","file3":"1397050299"},"map_files_photo_id_array":[{"photo_id":"1397050305","filename":"file5"},{"photo_id":"1397050295","filename":"file2"},{"photo_id":"1397050302","filename":"file4"},{"photo_id":"1397050292","filename":"file1"},{"photo_id":"1397050287","filename":"file0"},{"photo_id":"1397050299","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397050287":["hashtag1","hashtag2"]},{"1397050299":["hashtag1","hashtag2"]},{"1397050305":["hashtag1","hashtag2"]},{"1397050302":["hashtag1","hashtag2"]},{"1397050292":["hashtag1","hashtag2"]},{"1397050295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397050287, 1397050299, 1397050305, 1397050302, 1397050292, 1397050295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8081374168396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 11:59:41.933809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/36/image_31102025_12_36_56_3849.jpg', '/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_59_2911.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_02_2849.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_04_2643.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_08_3565.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_10_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/12/36/image_31102025_12_36_56_3849.jpg
/home/pi/Desktop/images/31102025/12/36/image_31102025_12_36_59_2911.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_02_2849.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_04_2643.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_08_3565.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_10_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":["1397050502","1397050582","1397050621","1397050488","1397050452","1397050413"],"photo_ids_order":["1397050413","1397050452","1397050488","1397050502","1397050582","1397050621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb4e2ec768577ede90b307d7e1061f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5526714457257278773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_37_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/30/4df6c119ff11c0c7adb5c50f28f587fd.jpg","text":"TemporaryFile(/tmp/multipartBody3918282066493511834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_37_08_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/30/385bbfb0f167a2fe4b120e525abade32.jpg","text":"TemporaryFile(/tmp/multipartBody7499216220007391088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_37_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/30/7e7058ad8120fc306b3a8515bd225a43.jpg","text":"TemporaryFile(/tmp/multipartBody2233480482772769505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_37_02_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/30/7553ecef51f569a5a4d1e6fdfd7900e5.jpg","text":"TemporaryFile(/tmp/multipartBody694151757016280907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_36_59_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/30/751b47ceeddcc82640cca8855c824cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2192939945302166915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500442912,"filename":"image_31102025_12_36_56_3849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397050488","file1":"1397050452","file0":"1397050413","file4":"1397050582","file5":"1397050621","file3":"1397050502"},"map_files_photo_id_array":[{"photo_id":"1397050621","filename":"file5"},{"photo_id":"1397050488","filename":"file2"},{"photo_id":"1397050582","filename":"file4"},{"photo_id":"1397050452","filename":"file1"},{"photo_id":"1397050413","filename":"file0"},{"photo_id":"1397050502","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397050502":["hashtag1","hashtag2"]},{"1397050582":["hashtag1","hashtag2"]},{"1397050621":["hashtag1","hashtag2"]},{"1397050488":["hashtag1","hashtag2"]},{"1397050452":["hashtag1","hashtag2"]},{"1397050413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397050502, 1397050582, 1397050621, 1397050488, 1397050452, 1397050413)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.23784804344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:00:32.094444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_48_2635.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_52_3845.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_55_2657.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_57_2519.jpg', '/home/pi/Desktop/images/25112025/20/09/image_25112025_20_10_01_3705.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_10_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_48_2635.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_52_3845.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_55_2657.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_09_57_2519.jpg
/home/pi/Desktop/images/25112025/20/09/image_25112025_20_10_01_3705.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_10_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":["1397051006","1397050970","1397050931","1397050897","1397051044","1397050862"],"photo_ids_order":["1397050862","1397050897","1397050931","1397050970","1397051006","1397051044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d381d9b18e0ab38f3b5a10c0c6810068.jpg","text":"TemporaryFile(/tmp/multipartBody1468732204702439718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_10_01_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/30/485478d1663b87da8807b133c105f806.jpg","text":"TemporaryFile(/tmp/multipartBody6240400896146490406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_09_57_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/30/2165b385b10e0bbd78719654bdadb427.jpg","text":"TemporaryFile(/tmp/multipartBody5211973206726631624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_09_55_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e717567b92948a0d835bb0f7cf399907.jpg","text":"TemporaryFile(/tmp/multipartBody6810613281045098253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_09_52_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/30/283e939fe7c202bbfa7478a76f477c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7722686809375249338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_10_10_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/30/fc5b84a5379b3af148ea714834672a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2366437303287841216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500494082,"filename":"image_25112025_20_09_48_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397050931","file1":"1397050897","file0":"1397050862","file4":"1397051006","file5":"1397051044","file3":"1397050970"},"map_files_photo_id_array":[{"photo_id":"1397051044","filename":"file5"},{"photo_id":"1397050931","filename":"file2"},{"photo_id":"1397051006","filename":"file4"},{"photo_id":"1397050897","filename":"file1"},{"photo_id":"1397050862","filename":"file0"},{"photo_id":"1397050970","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051006":["hashtag1","hashtag2"]},{"1397050970":["hashtag1","hashtag2"]},{"1397050931":["hashtag1","hashtag2"]},{"1397050897":["hashtag1","hashtag2"]},{"1397051044":["hashtag1","hashtag2"]},{"1397050862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051006, 1397050970, 1397050931, 1397050897, 1397051044, 1397050862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14661526679993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:01:12.363456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_13_2747.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_15_2584.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_19_3630.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_21_2653.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_24_2575.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_28_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_13_2747.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_15_2584.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_19_3630.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_21_2653.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_24_2575.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_28_3782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051330","1397051219","1397051257","1397051179","1397051295","1397051354"],"photo_ids_order":["1397051179","1397051219","1397051257","1397051295","1397051330","1397051354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/879802d77303536f76d18e8a80521da4.jpg","text":"TemporaryFile(/tmp/multipartBody698391127401317056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_24_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30beebe22432e0871e7dae7ea1bef871.jpg","text":"TemporaryFile(/tmp/multipartBody5431040815290235733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_15_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/30/3bd6f8a63d71fed0833b49ddfb824c31.jpg","text":"TemporaryFile(/tmp/multipartBody4649709777988575964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_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/30/a9f6bc083684bd5774e7b664e868d95e.jpg","text":"TemporaryFile(/tmp/multipartBody6556797120529330668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_13_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/30/3a37f62603fc00111c254f11ecfc3435.jpg","text":"TemporaryFile(/tmp/multipartBody2670954659251141431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_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/30/986cc1792e2e782b377fe58ef93e6db9.jpg","text":"TemporaryFile(/tmp/multipartBody4072999089931786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500534220,"filename":"image_25112025_20_10_28_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051257","file1":"1397051219","file0":"1397051179","file4":"1397051330","file5":"1397051354","file3":"1397051295"},"map_files_photo_id_array":[{"photo_id":"1397051354","filename":"file5"},{"photo_id":"1397051257","filename":"file2"},{"photo_id":"1397051330","filename":"file4"},{"photo_id":"1397051219","filename":"file1"},{"photo_id":"1397051179","filename":"file0"},{"photo_id":"1397051295","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051330":["hashtag1","hashtag2"]},{"1397051219":["hashtag1","hashtag2"]},{"1397051257":["hashtag1","hashtag2"]},{"1397051179":["hashtag1","hashtag2"]},{"1397051295":["hashtag1","hashtag2"]},{"1397051354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051330, 1397051219, 1397051257, 1397051179, 1397051295, 1397051354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89934539794922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:02:02.814696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 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 --last_days 10
2025-11-30 12:02:22.395753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_25_9731.jpg', '/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_35_9696.jpg', '/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_46_10674.jpg', '/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_56_10018.jpg', '/home/pi/Desktop/images/30112025/09/36/image_30112025_09_37_05_9688.jpg', '/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_15_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_25_9731.jpg
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_35_9696.jpg
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_46_10674.jpg
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_36_56_10018.jpg
/home/pi/Desktop/images/30112025/09/36/image_30112025_09_37_05_9688.jpg
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_15_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051479","1397051526","1397051529","1397051517","1397051564","1397051531"],"photo_ids_order":["1397051479","1397051517","1397051526","1397051529","1397051531","1397051564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8a225476198267919bfcb720dcf7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8765451292932535297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_36_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4de9e06903f657abb1c32cfe823555f.jpg","text":"TemporaryFile(/tmp/multipartBody6969487564064904809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_36_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9087389ee26576c47c049ed9391a002d.jpg","text":"TemporaryFile(/tmp/multipartBody7312719163983763249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_36_56_10018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07db06ae7012b18f998b803dabb69c52.jpg","text":"TemporaryFile(/tmp/multipartBody1694553366653603021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_36_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80075f525321b48802654611eeee7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody1746554657844612547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_37_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/879ff8868461284fc24aeed64b69c814.jpg","text":"TemporaryFile(/tmp/multipartBody5242221989143438392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500603083,"filename":"image_30112025_09_37_05_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051526","file1":"1397051517","file0":"1397051479","file4":"1397051531","file5":"1397051564","file3":"1397051529"},"map_files_photo_id_array":[{"photo_id":"1397051564","filename":"file5"},{"photo_id":"1397051526","filename":"file2"},{"photo_id":"1397051531","filename":"file4"},{"photo_id":"1397051517","filename":"file1"},{"photo_id":"1397051479","filename":"file0"},{"photo_id":"1397051529","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051479":["hashtag1","hashtag2"]},{"1397051526":["hashtag1","hashtag2"]},{"1397051529":["hashtag1","hashtag2"]},{"1397051517":["hashtag1","hashtag2"]},{"1397051564":["hashtag1","hashtag2"]},{"1397051531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051479, 1397051526, 1397051529, 1397051517, 1397051564, 1397051531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45897817611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:03:03.216104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_26_10725.jpg', '/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_35_9619.jpg', '/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_45_9637.jpg', '/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_55_9761.jpg', '/home/pi/Desktop/images/30112025/09/37/image_30112025_09_38_05_10643.jpg', '/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_15_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_26_10725.jpg
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_35_9619.jpg
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_45_9637.jpg
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_37_55_9761.jpg
/home/pi/Desktop/images/30112025/09/37/image_30112025_09_38_05_10643.jpg
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_15_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051623","1397051626","1397051622","1397051619","1397051630","1397051624"],"photo_ids_order":["1397051619","1397051622","1397051623","1397051624","1397051626","1397051630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dff4fca776b2922489de6ab0aba517f6.jpg","text":"TemporaryFile(/tmp/multipartBody4846181660515574653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_37_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/264283fd6c1080ec038202774aa6a966.jpg","text":"TemporaryFile(/tmp/multipartBody702357351287728468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_38_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07a7c9ca06402ae258b72a9545681262.jpg","text":"TemporaryFile(/tmp/multipartBody5758531324640393484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_37_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa2c06db215963c8fa6b4c497fa2f72f.jpg","text":"TemporaryFile(/tmp/multipartBody5610735160510308933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_37_26_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd3d14dd4e3d90134843cf8872d866a0.jpg","text":"TemporaryFile(/tmp/multipartBody7336752663822897014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_38_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f131f01a3055b35983d53c0966d022a9.jpg","text":"TemporaryFile(/tmp/multipartBody6911845927317150470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500643990,"filename":"image_30112025_09_37_55_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051623","file1":"1397051622","file0":"1397051619","file4":"1397051626","file5":"1397051630","file3":"1397051624"},"map_files_photo_id_array":[{"photo_id":"1397051630","filename":"file5"},{"photo_id":"1397051623","filename":"file2"},{"photo_id":"1397051626","filename":"file4"},{"photo_id":"1397051622","filename":"file1"},{"photo_id":"1397051619","filename":"file0"},{"photo_id":"1397051624","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051623":["hashtag1","hashtag2"]},{"1397051626":["hashtag1","hashtag2"]},{"1397051622":["hashtag1","hashtag2"]},{"1397051619":["hashtag1","hashtag2"]},{"1397051630":["hashtag1","hashtag2"]},{"1397051624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051623, 1397051626, 1397051622, 1397051619, 1397051630, 1397051624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.567636251449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:03:42.637452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/37/image_31102025_12_37_13_2558.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_17_3621.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_19_2846.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_22_2663.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_25_2795.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_29_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_13_2558.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_17_3621.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_19_2846.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_22_2663.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_25_2795.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_29_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051641","1397051638","1397051640","1397051637","1397051636","1397051639"],"photo_ids_order":["1397051636","1397051637","1397051638","1397051639","1397051640","1397051641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50aa24e31ffee855642585f060a50861.jpg","text":"TemporaryFile(/tmp/multipartBody6430483618046938522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_29_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/30/441ad0e5ce114d9d6719987900ff8538.jpg","text":"TemporaryFile(/tmp/multipartBody3764247620376749894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_19_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7238f8fde84b12de94741bca4f8e3c48.jpg","text":"TemporaryFile(/tmp/multipartBody4770013995597363293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_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/30/bf969acffbc6ab078723ae52a71b1e81.jpg","text":"TemporaryFile(/tmp/multipartBody1181130039376112975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_17_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/30/44aa67acef525ec222fa666bdbc17218.jpg","text":"TemporaryFile(/tmp/multipartBody7976602016560223682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_13_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/30/2039bf29ab536d7ba7d9a332e7e32c81.jpg","text":"TemporaryFile(/tmp/multipartBody4896949748078243536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500683562,"filename":"image_31102025_12_37_22_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051638","file1":"1397051637","file0":"1397051636","file4":"1397051640","file5":"1397051641","file3":"1397051639"},"map_files_photo_id_array":[{"photo_id":"1397051641","filename":"file5"},{"photo_id":"1397051638","filename":"file2"},{"photo_id":"1397051640","filename":"file4"},{"photo_id":"1397051637","filename":"file1"},{"photo_id":"1397051636","filename":"file0"},{"photo_id":"1397051639","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397051641":["hashtag1","hashtag2"]},{"1397051638":["hashtag1","hashtag2"]},{"1397051640":["hashtag1","hashtag2"]},{"1397051637":["hashtag1","hashtag2"]},{"1397051636":["hashtag1","hashtag2"]},{"1397051639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397051641, 1397051638, 1397051640, 1397051637, 1397051636, 1397051639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.229769468307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:04:23.324052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_25_9869.jpg', '/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_36_10652.jpg', '/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_45_9591.jpg', '/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_55_9690.jpg', '/home/pi/Desktop/images/30112025/09/38/image_30112025_09_39_06_10716.jpg', '/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_15_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_25_9869.jpg
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_36_10652.jpg
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_45_9591.jpg
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_38_55_9690.jpg
/home/pi/Desktop/images/30112025/09/38/image_30112025_09_39_06_10716.jpg
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_15_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051661","1397051658","1397051655","1397051651","1397051645","1397051648"],"photo_ids_order":["1397051645","1397051648","1397051651","1397051655","1397051658","1397051661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/791dc494d600c47e1d5df332be42f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody996930895111796256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_39_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/416562f9f53cd807f5485bdd51fb016f.jpg","text":"TemporaryFile(/tmp/multipartBody5350648462599577455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_39_06_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ad1631e0b34054f2b6c26b0d4e14858.jpg","text":"TemporaryFile(/tmp/multipartBody4460291207496783832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_38_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2167d0a056aa21de00ee7a0dd687596b.jpg","text":"TemporaryFile(/tmp/multipartBody4272444714801690894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_38_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e06441d3e3385b0c4d3da820757a7ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8749341592990351224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_38_25_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aaef4afb4fa359e85649f04c605b21bb.jpg","text":"TemporaryFile(/tmp/multipartBody5270078602161972482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500724084,"filename":"image_30112025_09_38_36_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051651","file1":"1397051648","file0":"1397051645","file4":"1397051658","file5":"1397051661","file3":"1397051655"},"map_files_photo_id_array":[{"photo_id":"1397051661","filename":"file5"},{"photo_id":"1397051651","filename":"file2"},{"photo_id":"1397051658","filename":"file4"},{"photo_id":"1397051648","filename":"file1"},{"photo_id":"1397051645","filename":"file0"},{"photo_id":"1397051655","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051661":["hashtag1","hashtag2"]},{"1397051658":["hashtag1","hashtag2"]},{"1397051655":["hashtag1","hashtag2"]},{"1397051651":["hashtag1","hashtag2"]},{"1397051645":["hashtag1","hashtag2"]},{"1397051648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051661, 1397051658, 1397051655, 1397051651, 1397051645, 1397051648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25169515609741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:05:12.423364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_30_2513.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_33_2752.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_37_3742.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_39_2579.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_42_2647.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_46_3496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_30_2513.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_33_2752.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_37_3742.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_39_2579.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_42_2647.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_46_3496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051674","1397051676","1397051664","1397051672","1397051669","1397051666"],"photo_ids_order":["1397051664","1397051666","1397051669","1397051672","1397051674","1397051676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4adc57f667b7591a7951ca5e36aeef2a.jpg","text":"TemporaryFile(/tmp/multipartBody2646186848635062924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_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/30/f598b064d684eabc6142106ce4326b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2715249792967795565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_46_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/30/396b167fbbf71e275f6c238d3ad0f445.jpg","text":"TemporaryFile(/tmp/multipartBody5401840392333069630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_30_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/940dbfa259f6de000381ab3645d5264a.jpg","text":"TemporaryFile(/tmp/multipartBody5522273654218242283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_39_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/30/60112900dbb3f620cbee752de1324b83.jpg","text":"TemporaryFile(/tmp/multipartBody578933879646733128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_37_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abadf7c95046f81b4f6d534b8d11fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody2478571074932856426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500774296,"filename":"image_25112025_20_10_33_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051669","file1":"1397051666","file0":"1397051664","file4":"1397051674","file5":"1397051676","file3":"1397051672"},"map_files_photo_id_array":[{"photo_id":"1397051676","filename":"file5"},{"photo_id":"1397051669","filename":"file2"},{"photo_id":"1397051674","filename":"file4"},{"photo_id":"1397051666","filename":"file1"},{"photo_id":"1397051664","filename":"file0"},{"photo_id":"1397051672","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051674":["hashtag1","hashtag2"]},{"1397051676":["hashtag1","hashtag2"]},{"1397051664":["hashtag1","hashtag2"]},{"1397051672":["hashtag1","hashtag2"]},{"1397051669":["hashtag1","hashtag2"]},{"1397051666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051674, 1397051676, 1397051664, 1397051672, 1397051669, 1397051666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.511552810668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:06:03.168456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_25_9719.jpg', '/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_35_9847.jpg', '/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_46_10715.jpg', '/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_55_9590.jpg', '/home/pi/Desktop/images/30112025/09/39/image_30112025_09_40_05_9789.jpg', '/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_15_9958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_25_9719.jpg
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_35_9847.jpg
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_46_10715.jpg
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_39_55_9590.jpg
/home/pi/Desktop/images/30112025/09/39/image_30112025_09_40_05_9789.jpg
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_15_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051692","1397051689","1397051694","1397051697","1397051691","1397051690"],"photo_ids_order":["1397051689","1397051690","1397051691","1397051692","1397051694","1397051697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc5f93e3b61abb817d82dca68906323d.jpg","text":"TemporaryFile(/tmp/multipartBody8600453163840243898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_39_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f257d388d6b8aaa1ff048aff81a06a4.jpg","text":"TemporaryFile(/tmp/multipartBody2727074915180592086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_39_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e09a45de917bedd82cccbfc6c393bab.jpg","text":"TemporaryFile(/tmp/multipartBody5889217980991217220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_40_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8283e764e9a047baeef17badfe5aae2d.jpg","text":"TemporaryFile(/tmp/multipartBody3839532346041357764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_40_15_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94013ad16e7417b20b35327612c1921a.jpg","text":"TemporaryFile(/tmp/multipartBody2076139016162011778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_39_46_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e3d7a9574e88f7501c6887d56f82248.jpg","text":"TemporaryFile(/tmp/multipartBody9222246521592428177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500823930,"filename":"image_30112025_09_39_35_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051691","file1":"1397051690","file0":"1397051689","file4":"1397051694","file5":"1397051697","file3":"1397051692"},"map_files_photo_id_array":[{"photo_id":"1397051697","filename":"file5"},{"photo_id":"1397051691","filename":"file2"},{"photo_id":"1397051694","filename":"file4"},{"photo_id":"1397051690","filename":"file1"},{"photo_id":"1397051689","filename":"file0"},{"photo_id":"1397051692","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051692":["hashtag1","hashtag2"]},{"1397051689":["hashtag1","hashtag2"]},{"1397051694":["hashtag1","hashtag2"]},{"1397051697":["hashtag1","hashtag2"]},{"1397051691":["hashtag1","hashtag2"]},{"1397051690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051692, 1397051689, 1397051694, 1397051697, 1397051691, 1397051690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94798803329468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:06:42.757933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/37/image_31102025_12_37_31_2792.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_34_2825.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_37_2877.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_40_2696.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_44_3760.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_46_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_31_2792.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_34_2825.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_37_2877.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_40_2696.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_44_3760.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_46_2894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051708","1397051710","1397051707","1397051706","1397051709","1397051705"],"photo_ids_order":["1397051705","1397051706","1397051707","1397051708","1397051709","1397051710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3d67061239897a6386d3ba6447e6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7334621284044463628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_40_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/30/50609567519b4753052bf1691a5eaff5.jpg","text":"TemporaryFile(/tmp/multipartBody1682293338580762490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_46_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/30/c8704fa06ed91b01a3780a7b1613d412.jpg","text":"TemporaryFile(/tmp/multipartBody3895905047665129888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_37_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/30/44a5995846f67703e10b541b1f643b42.jpg","text":"TemporaryFile(/tmp/multipartBody2650800281114572306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_34_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/30/80ec09c88400e27a197fa8a721571ace.jpg","text":"TemporaryFile(/tmp/multipartBody1712373590025068013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_44_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/30/9d3d6b07ea0ae73db71f39e7761f13a3.jpg","text":"TemporaryFile(/tmp/multipartBody4300261327917422168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500863720,"filename":"image_31102025_12_37_31_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051707","file1":"1397051706","file0":"1397051705","file4":"1397051709","file5":"1397051710","file3":"1397051708"},"map_files_photo_id_array":[{"photo_id":"1397051710","filename":"file5"},{"photo_id":"1397051707","filename":"file2"},{"photo_id":"1397051709","filename":"file4"},{"photo_id":"1397051706","filename":"file1"},{"photo_id":"1397051705","filename":"file0"},{"photo_id":"1397051708","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397051708":["hashtag1","hashtag2"]},{"1397051710":["hashtag1","hashtag2"]},{"1397051707":["hashtag1","hashtag2"]},{"1397051706":["hashtag1","hashtag2"]},{"1397051709":["hashtag1","hashtag2"]},{"1397051705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397051708, 1397051710, 1397051707, 1397051706, 1397051709, 1397051705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.924052000045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:07:22.905335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_26_10720.jpg', '/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_35_9638.jpg', '/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_45_9698.jpg', '/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_55_9787.jpg', '/home/pi/Desktop/images/30112025/09/40/image_30112025_09_41_06_10727.jpg', '/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_15_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_26_10720.jpg
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_35_9638.jpg
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_45_9698.jpg
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_40_55_9787.jpg
/home/pi/Desktop/images/30112025/09/40/image_30112025_09_41_06_10727.jpg
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_15_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051720","1397051714","1397051722","1397051725","1397051724","1397051717"],"photo_ids_order":["1397051714","1397051717","1397051720","1397051722","1397051724","1397051725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e487c2c10decdeda8106590c5e8138d.jpg","text":"TemporaryFile(/tmp/multipartBody9176843859473501287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_40_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c9f0e85aca1946c501a7d904d37dd24.jpg","text":"TemporaryFile(/tmp/multipartBody4991121603554819598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_40_26_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fe3a54a338930a6c93b5833cc427622.jpg","text":"TemporaryFile(/tmp/multipartBody2591069339970848829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_40_55_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/907f0ea3b83aaa586f753e006dec9525.jpg","text":"TemporaryFile(/tmp/multipartBody2703175503191342836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_41_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06e96c93b35554ea673608b23e1a7964.jpg","text":"TemporaryFile(/tmp/multipartBody582793024895887697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_41_06_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d5cec6a8881608b04e99044ed3f0474.jpg","text":"TemporaryFile(/tmp/multipartBody4985611498873544919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500903658,"filename":"image_30112025_09_40_35_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051720","file1":"1397051717","file0":"1397051714","file4":"1397051724","file5":"1397051725","file3":"1397051722"},"map_files_photo_id_array":[{"photo_id":"1397051725","filename":"file5"},{"photo_id":"1397051720","filename":"file2"},{"photo_id":"1397051724","filename":"file4"},{"photo_id":"1397051717","filename":"file1"},{"photo_id":"1397051714","filename":"file0"},{"photo_id":"1397051722","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051720":["hashtag1","hashtag2"]},{"1397051714":["hashtag1","hashtag2"]},{"1397051722":["hashtag1","hashtag2"]},{"1397051725":["hashtag1","hashtag2"]},{"1397051724":["hashtag1","hashtag2"]},{"1397051717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051720, 1397051714, 1397051722, 1397051725, 1397051724, 1397051717)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.00310945510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:08:16.554557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_52_3739.jpg', '/home/pi/Desktop/images/25112025/20/10/image_25112025_20_11_00_2750.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_04_3554.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_06_2747.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_10_3646.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_13_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_10_52_3739.jpg
/home/pi/Desktop/images/25112025/20/10/image_25112025_20_11_00_2750.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_04_3554.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_06_2747.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_10_3646.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_13_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051729","1397051737","1397051739","1397051727","1397051735","1397051732"],"photo_ids_order":["1397051727","1397051729","1397051732","1397051735","1397051737","1397051739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/231207386faed8c4551f5f9f6fd42001.jpg","text":"TemporaryFile(/tmp/multipartBody3281109780787736395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_11_00_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da370d46f9896d0ae50c8c08a6c5a9c5.jpg","text":"TemporaryFile(/tmp/multipartBody1725809760984392960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_11_10_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/30/9e2e9428f0be4ddb69aa30ef7b4fb68e.jpg","text":"TemporaryFile(/tmp/multipartBody5820459095216226931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_11_13_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/30/5e4f39b7f42ad5aebfb7abd56d56148e.jpg","text":"TemporaryFile(/tmp/multipartBody6232494816685037089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_10_52_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/30/e1558d0fe23ff9fbea25db1abe9bd9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2444320534039185756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_11_06_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/30/73affa323dfc01125d1f86a79e4953ab.jpg","text":"TemporaryFile(/tmp/multipartBody1535971949855972020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764500958274,"filename":"image_25112025_20_11_04_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051732","file1":"1397051729","file0":"1397051727","file4":"1397051737","file5":"1397051739","file3":"1397051735"},"map_files_photo_id_array":[{"photo_id":"1397051739","filename":"file5"},{"photo_id":"1397051732","filename":"file2"},{"photo_id":"1397051737","filename":"file4"},{"photo_id":"1397051729","filename":"file1"},{"photo_id":"1397051727","filename":"file0"},{"photo_id":"1397051735","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051729":["hashtag1","hashtag2"]},{"1397051737":["hashtag1","hashtag2"]},{"1397051739":["hashtag1","hashtag2"]},{"1397051727":["hashtag1","hashtag2"]},{"1397051735":["hashtag1","hashtag2"]},{"1397051732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051729, 1397051737, 1397051739, 1397051727, 1397051735, 1397051732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86324954032898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:09:02.664693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:09:11.863237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_15_2565.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_19_3656.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_24_2644.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_28_3647.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_30_2587.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_33_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_15_2565.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_19_3656.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_24_2644.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_28_3647.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_30_2587.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_33_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051746","1397051755","1397051749","1397051743","1397051753","1397051756"],"photo_ids_order":["1397051743","1397051746","1397051749","1397051753","1397051755","1397051756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6712c4aaf8d8bc20c8b3030fc7e323a9.jpg","text":"TemporaryFile(/tmp/multipartBody7857725183963739607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_19_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/30/256d044cc1491288f4f03c0e0e732157.jpg","text":"TemporaryFile(/tmp/multipartBody6607688080574946591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_30_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/30/a533f5431820796e13dd871317336619.jpg","text":"TemporaryFile(/tmp/multipartBody7804486435169665856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_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/30/474e41cbcc05ae3b95eab80a6eed1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1647929124194520094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_15_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/30/bd8bc925d2ab95702e84e8f0b01d55e0.jpg","text":"TemporaryFile(/tmp/multipartBody9036587642411884847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_28_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/30/8812346cbb05cfa0685f4e2891ce4b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3360755143579830725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501020944,"filename":"image_25112025_20_11_33_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051749","file1":"1397051746","file0":"1397051743","file4":"1397051755","file5":"1397051756","file3":"1397051753"},"map_files_photo_id_array":[{"photo_id":"1397051756","filename":"file5"},{"photo_id":"1397051749","filename":"file2"},{"photo_id":"1397051755","filename":"file4"},{"photo_id":"1397051746","filename":"file1"},{"photo_id":"1397051743","filename":"file0"},{"photo_id":"1397051753","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051746":["hashtag1","hashtag2"]},{"1397051755":["hashtag1","hashtag2"]},{"1397051749":["hashtag1","hashtag2"]},{"1397051743":["hashtag1","hashtag2"]},{"1397051753":["hashtag1","hashtag2"]},{"1397051756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051746, 1397051755, 1397051749, 1397051743, 1397051753, 1397051756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.22399544715881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:10:02.676821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_25_9803.jpg', '/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_35_9717.jpg', '/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_46_10738.jpg', '/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_56_9957.jpg', '/home/pi/Desktop/images/30112025/09/41/image_30112025_09_42_05_9671.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_15_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_25_9803.jpg
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_35_9717.jpg
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_46_10738.jpg
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_41_56_9957.jpg
/home/pi/Desktop/images/30112025/09/41/image_30112025_09_42_05_9671.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_15_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051758","1397051760","1397051763","1397051757","1397051766","1397051759"],"photo_ids_order":["1397051757","1397051758","1397051759","1397051760","1397051763","1397051766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/022cd757fdaa1e101f52a1944427ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody3395885948565888134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_41_35_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44d7a683c74d8076251961645f89814d.jpg","text":"TemporaryFile(/tmp/multipartBody4429154227237280701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_41_56_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af37dab44f6e05364aefd707b7c495a1.jpg","text":"TemporaryFile(/tmp/multipartBody3794603498398761953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_42_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc7db942799f9aba2f4f0e3ac246188f.jpg","text":"TemporaryFile(/tmp/multipartBody4745605604678931424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_41_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2ce385e36fc47eddb07d636b1700cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6853387655532393169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_42_15_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2074b014cca3db019ca4f1ecace050c.jpg","text":"TemporaryFile(/tmp/multipartBody7659100440988307680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501063477,"filename":"image_30112025_09_41_46_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051759","file1":"1397051758","file0":"1397051757","file4":"1397051763","file5":"1397051766","file3":"1397051760"},"map_files_photo_id_array":[{"photo_id":"1397051766","filename":"file5"},{"photo_id":"1397051759","filename":"file2"},{"photo_id":"1397051763","filename":"file4"},{"photo_id":"1397051758","filename":"file1"},{"photo_id":"1397051757","filename":"file0"},{"photo_id":"1397051760","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051758":["hashtag1","hashtag2"]},{"1397051760":["hashtag1","hashtag2"]},{"1397051763":["hashtag1","hashtag2"]},{"1397051757":["hashtag1","hashtag2"]},{"1397051766":["hashtag1","hashtag2"]},{"1397051759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051758, 1397051760, 1397051763, 1397051757, 1397051766, 1397051759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54499936103821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:10:42.146137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/37/image_31102025_12_37_49_2554.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_53_3672.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_55_2851.jpg', '/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_58_2875.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_01_2606.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_05_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_49_2554.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_53_3672.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_55_2851.jpg
/home/pi/Desktop/images/31102025/12/37/image_31102025_12_37_58_2875.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_01_2606.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_05_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051776","1397051773","1397051775","1397051778","1397051774","1397051777"],"photo_ids_order":["1397051773","1397051774","1397051775","1397051776","1397051777","1397051778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ab91660548c15fac420d627be4c9ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7566926028897694200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_37_58_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/30/8805ed468dbf2b3af7b82815e9023933.jpg","text":"TemporaryFile(/tmp/multipartBody3727882619868896234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_37_49_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/30/76635ae385f7829b2807e7e977a957b3.jpg","text":"TemporaryFile(/tmp/multipartBody7265713642718991584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_37_55_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/30/e69421b0a9dd480c13b242b6612ebe59.jpg","text":"TemporaryFile(/tmp/multipartBody5973240624914427734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_38_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/30/a2fbb31380cc9291761eda3316531792.jpg","text":"TemporaryFile(/tmp/multipartBody6896005697320535171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_37_53_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9545f44396829c0ebfe66bb9b289e329.jpg","text":"TemporaryFile(/tmp/multipartBody8959396952642376355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501103068,"filename":"image_31102025_12_38_01_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051775","file1":"1397051774","file0":"1397051773","file4":"1397051777","file5":"1397051778","file3":"1397051776"},"map_files_photo_id_array":[{"photo_id":"1397051778","filename":"file5"},{"photo_id":"1397051775","filename":"file2"},{"photo_id":"1397051777","filename":"file4"},{"photo_id":"1397051774","filename":"file1"},{"photo_id":"1397051773","filename":"file0"},{"photo_id":"1397051776","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397051776":["hashtag1","hashtag2"]},{"1397051773":["hashtag1","hashtag2"]},{"1397051775":["hashtag1","hashtag2"]},{"1397051778":["hashtag1","hashtag2"]},{"1397051774":["hashtag1","hashtag2"]},{"1397051777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397051776, 1397051773, 1397051775, 1397051778, 1397051774, 1397051777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98252296447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:11:22.318823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_26_10610.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_35_9611.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_45_10014.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_55_9739.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_43_05_9783.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_16_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_26_10610.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_35_9611.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_45_10014.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_55_9739.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_43_05_9783.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_16_10651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1778907775878906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:11:32.318706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_43_3491.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_45_2637.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_52_3786.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_58_3411.jpg', '/home/pi/Desktop/images/25112025/20/11/image_25112025_20_12_01_2685.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_11_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_43_3491.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_45_2637.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_52_3786.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_11_58_3411.jpg
/home/pi/Desktop/images/25112025/20/11/image_25112025_20_12_01_2685.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_11_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051797","1397051801","1397051800","1397051793","1397051799","1397051790"],"photo_ids_order":["1397051790","1397051793","1397051797","1397051799","1397051800","1397051801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48998e38cc11a8a1bc8048e529e7f72f.jpg","text":"TemporaryFile(/tmp/multipartBody3378313943153578490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_11_52_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/30/c55d36551e8e0d9d33fab9a1313ae240.jpg","text":"TemporaryFile(/tmp/multipartBody6529528394881663419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_12_11_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2430443e413d24a6791cc9d45b1e041c.jpg","text":"TemporaryFile(/tmp/multipartBody5746172766786785000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_12_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/30/c81d5221a5ec3fa308ec76923423cab1.jpg","text":"TemporaryFile(/tmp/multipartBody1706845881467642108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_11_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/30/3e3a0a9eab80d1a66beab6dced330970.jpg","text":"TemporaryFile(/tmp/multipartBody223336490752846004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_11_58_3411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/466a518ad5ccbbf29e75dae317f3289d.jpg","text":"TemporaryFile(/tmp/multipartBody9140879682603339875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501154344,"filename":"image_25112025_20_11_43_3491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051797","file1":"1397051793","file0":"1397051790","file4":"1397051800","file5":"1397051801","file3":"1397051799"},"map_files_photo_id_array":[{"photo_id":"1397051801","filename":"file5"},{"photo_id":"1397051797","filename":"file2"},{"photo_id":"1397051800","filename":"file4"},{"photo_id":"1397051793","filename":"file1"},{"photo_id":"1397051790","filename":"file0"},{"photo_id":"1397051799","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051797":["hashtag1","hashtag2"]},{"1397051801":["hashtag1","hashtag2"]},{"1397051800":["hashtag1","hashtag2"]},{"1397051793":["hashtag1","hashtag2"]},{"1397051799":["hashtag1","hashtag2"]},{"1397051790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051797, 1397051801, 1397051800, 1397051793, 1397051799, 1397051790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.845043420791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:12:12.514536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_13_1676.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_14_1498.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_16_1626.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_21_1641.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_25_3687.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_28_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_13_1676.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_14_1498.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_16_1626.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_21_1641.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_25_3687.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_28_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051813","1397051807","1397051815","1397051802","1397051810","1397051804"],"photo_ids_order":["1397051802","1397051804","1397051807","1397051810","1397051813","1397051815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/717b1cb62266b6c9082ed0bc5ade9173.jpg","text":"TemporaryFile(/tmp/multipartBody8902599282795008753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_25_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc9768e654cd08af0507c2cc4d317c85.jpg","text":"TemporaryFile(/tmp/multipartBody1126881069312842445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_16_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/30/f22a7ec7dfec1cffb75049707744e345.jpg","text":"TemporaryFile(/tmp/multipartBody5682812582273628590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_28_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/30/71f44b93e206679af496dfc7a31fed93.jpg","text":"TemporaryFile(/tmp/multipartBody244210114916332601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_13_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/30/12315a7238766b51a6e197f2aedb19e5.jpg","text":"TemporaryFile(/tmp/multipartBody3703054123144636974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_21_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/30/bbb8481f95dea6feb787561b568c6926.jpg","text":"TemporaryFile(/tmp/multipartBody3283350265670288745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501194477,"filename":"image_25112025_20_12_14_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051807","file1":"1397051804","file0":"1397051802","file4":"1397051813","file5":"1397051815","file3":"1397051810"},"map_files_photo_id_array":[{"photo_id":"1397051815","filename":"file5"},{"photo_id":"1397051807","filename":"file2"},{"photo_id":"1397051813","filename":"file4"},{"photo_id":"1397051804","filename":"file1"},{"photo_id":"1397051802","filename":"file0"},{"photo_id":"1397051810","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051813":["hashtag1","hashtag2"]},{"1397051807":["hashtag1","hashtag2"]},{"1397051815":["hashtag1","hashtag2"]},{"1397051802":["hashtag1","hashtag2"]},{"1397051810":["hashtag1","hashtag2"]},{"1397051804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051813, 1397051807, 1397051815, 1397051802, 1397051810, 1397051804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10628628730774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:13:03.322858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_26_10610.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_35_9611.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_45_10014.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_55_9739.jpg', '/home/pi/Desktop/images/30112025/09/42/image_30112025_09_43_05_9783.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_16_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_26_10610.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_35_9611.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_45_10014.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_42_55_9739.jpg
/home/pi/Desktop/images/30112025/09/42/image_30112025_09_43_05_9783.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_16_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051818","1397051826","1397051820","1397051817","1397051822","1397051819"],"photo_ids_order":["1397051817","1397051818","1397051819","1397051820","1397051822","1397051826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2f0063a47d5135768e47765d84e53b8.jpg","text":"TemporaryFile(/tmp/multipartBody5803421903027624849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_42_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6241a1206c71ecd0727c36297cd724bb.jpg","text":"TemporaryFile(/tmp/multipartBody8354198629051045834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_43_16_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6edbc131d292f123b33b9d67a3ad6969.jpg","text":"TemporaryFile(/tmp/multipartBody3841073804529908527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_42_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6830c3731dab345d70002909ef8e0ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5203782442925127494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_42_26_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0022d7a73a119fd4df5f22dd97781fba.jpg","text":"TemporaryFile(/tmp/multipartBody6203288880568559299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_43_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c036433808b87806ed1ade2aac95cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8712597803178507255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501244230,"filename":"image_30112025_09_42_45_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051819","file1":"1397051818","file0":"1397051817","file4":"1397051822","file5":"1397051826","file3":"1397051820"},"map_files_photo_id_array":[{"photo_id":"1397051826","filename":"file5"},{"photo_id":"1397051819","filename":"file2"},{"photo_id":"1397051822","filename":"file4"},{"photo_id":"1397051818","filename":"file1"},{"photo_id":"1397051817","filename":"file0"},{"photo_id":"1397051820","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051818":["hashtag1","hashtag2"]},{"1397051826":["hashtag1","hashtag2"]},{"1397051820":["hashtag1","hashtag2"]},{"1397051817":["hashtag1","hashtag2"]},{"1397051822":["hashtag1","hashtag2"]},{"1397051819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051818, 1397051826, 1397051820, 1397051817, 1397051822, 1397051819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74018716812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:13:42.675704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/38/image_31102025_12_38_07_2722.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_10_2621.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_14_3714.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_16_2775.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_19_2740.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_22_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_07_2722.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_10_2621.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_14_3714.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_16_2775.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_19_2740.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_22_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":["1397051833","1397051836","1397051835","1397051834","1397051837","1397051831"],"photo_ids_order":["1397051831","1397051833","1397051834","1397051835","1397051836","1397051837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e412ef1e5a4c1a516482a64ca55a28b8.jpg","text":"TemporaryFile(/tmp/multipartBody7018764083835725872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acc190b4d78b24a7df8349def9a746b1.jpg","text":"TemporaryFile(/tmp/multipartBody5817914522603491363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_19_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae651edc0680c7d5b6d80b4ed1407da5.jpg","text":"TemporaryFile(/tmp/multipartBody342001745442627397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_16_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/30/4081713438cdc14f0c25e462db7b5f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6670557983491904006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_14_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/30/95fcd8e8d5f61039fbd6f60d879b6620.jpg","text":"TemporaryFile(/tmp/multipartBody1554417138658341431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_22_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/931d635881258b29538fee1f00cd825a.jpg","text":"TemporaryFile(/tmp/multipartBody6735396002319093096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501283627,"filename":"image_31102025_12_38_07_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051834","file1":"1397051833","file0":"1397051831","file4":"1397051836","file5":"1397051837","file3":"1397051835"},"map_files_photo_id_array":[{"photo_id":"1397051837","filename":"file5"},{"photo_id":"1397051834","filename":"file2"},{"photo_id":"1397051836","filename":"file4"},{"photo_id":"1397051833","filename":"file1"},{"photo_id":"1397051831","filename":"file0"},{"photo_id":"1397051835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397051833":["hashtag1","hashtag2"]},{"1397051836":["hashtag1","hashtag2"]},{"1397051835":["hashtag1","hashtag2"]},{"1397051834":["hashtag1","hashtag2"]},{"1397051837":["hashtag1","hashtag2"]},{"1397051831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397051833, 1397051836, 1397051835, 1397051834, 1397051837, 1397051831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.702836990356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:14:21.876143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_25_9817.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_35_9679.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_45_9772.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_56_10737.jpg', '/home/pi/Desktop/images/30112025/09/43/image_30112025_09_44_05_9804.jpg', '/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_15_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_25_9817.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_35_9679.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_45_9772.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_43_56_10737.jpg
/home/pi/Desktop/images/30112025/09/43/image_30112025_09_44_05_9804.jpg
/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_15_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051850","1397051844","1397051847","1397051852","1397051855","1397051840"],"photo_ids_order":["1397051840","1397051844","1397051847","1397051850","1397051852","1397051855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/def7db95fb584760f06ba0297c2af62b.jpg","text":"TemporaryFile(/tmp/multipartBody4247846139830729138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_43_56_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beb6b6de8aa0b3d9aa49882a7c9334db.jpg","text":"TemporaryFile(/tmp/multipartBody2327206343207411448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_43_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f20ba38eb1abe32ee1433d53b6a39e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5401792811711803350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_43_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f99fc9bddc491561b30673d454feaf3.jpg","text":"TemporaryFile(/tmp/multipartBody3807741614213510305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_44_05_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6eee124b4112b78bd6a10b90bf5af08.jpg","text":"TemporaryFile(/tmp/multipartBody2916880788824712318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_44_15_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff256e8f8e8fcc07f597bc6b6f4718e0.jpg","text":"TemporaryFile(/tmp/multipartBody5550658596319600406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501322683,"filename":"image_30112025_09_43_25_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051847","file1":"1397051844","file0":"1397051840","file4":"1397051852","file5":"1397051855","file3":"1397051850"},"map_files_photo_id_array":[{"photo_id":"1397051855","filename":"file5"},{"photo_id":"1397051847","filename":"file2"},{"photo_id":"1397051852","filename":"file4"},{"photo_id":"1397051844","filename":"file1"},{"photo_id":"1397051840","filename":"file0"},{"photo_id":"1397051850","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051850":["hashtag1","hashtag2"]},{"1397051844":["hashtag1","hashtag2"]},{"1397051847":["hashtag1","hashtag2"]},{"1397051852":["hashtag1","hashtag2"]},{"1397051855":["hashtag1","hashtag2"]},{"1397051840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051850, 1397051844, 1397051847, 1397051852, 1397051855, 1397051840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.768444538116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:15:02.689381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_25_9604.jpg', '/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_36_10705.jpg', '/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_45_9794.jpg', '/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_55_9609.jpg', '/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_16_9975.jpg', '/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_26_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_25_9604.jpg
/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_36_10705.jpg
/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_45_9794.jpg
/home/pi/Desktop/images/30112025/09/44/image_30112025_09_44_55_9609.jpg
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_16_9975.jpg
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_26_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051857","1397051856","1397051859","1397051864","1397051861","1397051858"],"photo_ids_order":["1397051856","1397051857","1397051858","1397051859","1397051861","1397051864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f4e3ab616755d4418cd6c95de98ab90.jpg","text":"TemporaryFile(/tmp/multipartBody3266922382625996462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_44_36_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea4b4b138953d02dabb08ef163688c47.jpg","text":"TemporaryFile(/tmp/multipartBody1607510760864805952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_44_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d12642184ec4ea4326bcd8db81c0528.jpg","text":"TemporaryFile(/tmp/multipartBody7795974578633315345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_44_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/921e9c17647f7c5ea4fb307df996f9cb.jpg","text":"TemporaryFile(/tmp/multipartBody9003846212579336739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_45_26_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d55efc9cbe3b877d0024268ffc317f24.jpg","text":"TemporaryFile(/tmp/multipartBody7932726901514124071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_45_16_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7594bd037a3c8aeedcba5b8fc540b6fc.jpg","text":"TemporaryFile(/tmp/multipartBody6046432143997629506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501363585,"filename":"image_30112025_09_44_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051858","file1":"1397051857","file0":"1397051856","file4":"1397051861","file5":"1397051864","file3":"1397051859"},"map_files_photo_id_array":[{"photo_id":"1397051864","filename":"file5"},{"photo_id":"1397051858","filename":"file2"},{"photo_id":"1397051861","filename":"file4"},{"photo_id":"1397051857","filename":"file1"},{"photo_id":"1397051856","filename":"file0"},{"photo_id":"1397051859","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051857":["hashtag1","hashtag2"]},{"1397051856":["hashtag1","hashtag2"]},{"1397051859":["hashtag1","hashtag2"]},{"1397051864":["hashtag1","hashtag2"]},{"1397051861":["hashtag1","hashtag2"]},{"1397051858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051857, 1397051856, 1397051859, 1397051864, 1397051861, 1397051858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.89038133621216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:16:02.223563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_35_9673.jpg', '/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_45_9695.jpg', '/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_56_10579.jpg', '/home/pi/Desktop/images/30112025/09/45/image_30112025_09_46_05_9788.jpg', '/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_15_9831.jpg', '/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_25_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_35_9673.jpg
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_45_9695.jpg
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_45_56_10579.jpg
/home/pi/Desktop/images/30112025/09/45/image_30112025_09_46_05_9788.jpg
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_15_9831.jpg
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_25_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051872","1397051880","1397051874","1397051882","1397051873","1397051876"],"photo_ids_order":["1397051872","1397051873","1397051874","1397051876","1397051880","1397051882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92daf5e6cc06ea2d5f2f07d572424e62.jpg","text":"TemporaryFile(/tmp/multipartBody7623281569567619049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_45_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ce2b2a92eafc4af3bf9c24720809d83.jpg","text":"TemporaryFile(/tmp/multipartBody8727142829388943436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_46_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b69509380c071693e556b6566dc8f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody6400230878583448862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_45_56_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af86ae9fba30f76252d89fee81d27bad.jpg","text":"TemporaryFile(/tmp/multipartBody7022479790353535074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_46_25_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dc04fad23ff758f5704458cb4593873.jpg","text":"TemporaryFile(/tmp/multipartBody8814097615754993875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_45_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/203e387a9e64969fc0d6e2ee2e92d54b.jpg","text":"TemporaryFile(/tmp/multipartBody4341103383657781013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501425737,"filename":"image_30112025_09_46_05_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051874","file1":"1397051873","file0":"1397051872","file4":"1397051880","file5":"1397051882","file3":"1397051876"},"map_files_photo_id_array":[{"photo_id":"1397051882","filename":"file5"},{"photo_id":"1397051874","filename":"file2"},{"photo_id":"1397051880","filename":"file4"},{"photo_id":"1397051873","filename":"file1"},{"photo_id":"1397051872","filename":"file0"},{"photo_id":"1397051876","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051872":["hashtag1","hashtag2"]},{"1397051880":["hashtag1","hashtag2"]},{"1397051874":["hashtag1","hashtag2"]},{"1397051882":["hashtag1","hashtag2"]},{"1397051873":["hashtag1","hashtag2"]},{"1397051876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051872, 1397051880, 1397051874, 1397051882, 1397051873, 1397051876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.11363244056702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:17:02.755908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:17:17.670122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_30_2626.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_34_3580.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_39_2594.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_43_3655.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_51_2694.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_55_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_30_2626.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_34_3580.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_39_2594.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_43_3655.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_51_2694.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_55_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051896","1397051899","1397051890","1397051887","1397051901","1397051893"],"photo_ids_order":["1397051887","1397051890","1397051893","1397051896","1397051899","1397051901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88c6fb02d774cbb7f60906134685bc42.jpg","text":"TemporaryFile(/tmp/multipartBody3402306649981818315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_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/30/80ca0eb8e4444d13ba7f2b23e17b2fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7903953284111561244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_51_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54e8dd166a3ae764fcb40847188dae13.jpg","text":"TemporaryFile(/tmp/multipartBody4432452918747062128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_34_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b1dbfa7661f0378a0e8fe8948443923.jpg","text":"TemporaryFile(/tmp/multipartBody7139127114496663027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_30_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/30/d806578a1fa4b8b1fec208dfc640e700.jpg","text":"TemporaryFile(/tmp/multipartBody7227757844497699269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_55_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/30/e99cd16212f7631b564c75086c79e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4440464883550161517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501499439,"filename":"image_25112025_20_12_39_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051893","file1":"1397051890","file0":"1397051887","file4":"1397051899","file5":"1397051901","file3":"1397051896"},"map_files_photo_id_array":[{"photo_id":"1397051901","filename":"file5"},{"photo_id":"1397051893","filename":"file2"},{"photo_id":"1397051899","filename":"file4"},{"photo_id":"1397051890","filename":"file1"},{"photo_id":"1397051887","filename":"file0"},{"photo_id":"1397051896","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051896":["hashtag1","hashtag2"]},{"1397051899":["hashtag1","hashtag2"]},{"1397051890":["hashtag1","hashtag2"]},{"1397051887":["hashtag1","hashtag2"]},{"1397051901":["hashtag1","hashtag2"]},{"1397051893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051896, 1397051899, 1397051890, 1397051887, 1397051901, 1397051893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78308463096619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:18:05.136718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:18:14.818789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_57_2584.jpg', '/home/pi/Desktop/images/25112025/20/12/image_25112025_20_13_00_2665.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_04_3554.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_06_2480.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_10_3668.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_12_2511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_12_57_2584.jpg
/home/pi/Desktop/images/25112025/20/12/image_25112025_20_13_00_2665.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_04_3554.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_06_2480.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_10_3668.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_12_2511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051912","1397051914","1397051902","1397051910","1397051904","1397051907"],"photo_ids_order":["1397051902","1397051904","1397051907","1397051910","1397051912","1397051914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8c75ae7f5eb172f939193c3a561625a.jpg","text":"TemporaryFile(/tmp/multipartBody580257299019492585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_13_10_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/30/e171b419ce0b95d2d6560b015fa0ec21.jpg","text":"TemporaryFile(/tmp/multipartBody183962546030143959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_13_12_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/30/29f2079e5ef70f5f1df19b62c33ace9c.jpg","text":"TemporaryFile(/tmp/multipartBody629509550494619413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_12_57_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/30/274e0da5e294aa8f57121f88365510e4.jpg","text":"TemporaryFile(/tmp/multipartBody7700776333842876411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_13_06_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/30/7509e6d8e01ef983a4fbc79bb74805df.jpg","text":"TemporaryFile(/tmp/multipartBody2257209020447246882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_13_00_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2946d2984db40f128931a1582516feb.jpg","text":"TemporaryFile(/tmp/multipartBody3518055567275725844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501556816,"filename":"image_25112025_20_13_04_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051907","file1":"1397051904","file0":"1397051902","file4":"1397051912","file5":"1397051914","file3":"1397051910"},"map_files_photo_id_array":[{"photo_id":"1397051914","filename":"file5"},{"photo_id":"1397051907","filename":"file2"},{"photo_id":"1397051912","filename":"file4"},{"photo_id":"1397051904","filename":"file1"},{"photo_id":"1397051902","filename":"file0"},{"photo_id":"1397051910","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051912":["hashtag1","hashtag2"]},{"1397051914":["hashtag1","hashtag2"]},{"1397051902":["hashtag1","hashtag2"]},{"1397051910":["hashtag1","hashtag2"]},{"1397051904":["hashtag1","hashtag2"]},{"1397051907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051912, 1397051914, 1397051902, 1397051910, 1397051904, 1397051907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.114482164382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:19:03.660383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:19:12.789288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_15_2605.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_21_2513.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_24_3522.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_27_2685.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_33_6057.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_35_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_15_2605.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_21_2513.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_24_3522.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_27_2685.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_33_6057.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_35_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051926","1397051929","1397051920","1397051923","1397051917","1397051915"],"photo_ids_order":["1397051915","1397051917","1397051920","1397051923","1397051926","1397051929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eeb02e9b655695bfc8191807d146bfa9.jpg","text":"TemporaryFile(/tmp/multipartBody6130282181382692165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_33_6057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ec11690258c6b754264bec4675ac14c.jpg","text":"TemporaryFile(/tmp/multipartBody5956559614718064867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_35_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6517f8fd7f47f58d7e2ea37018da5403.jpg","text":"TemporaryFile(/tmp/multipartBody7008373150476756284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_24_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18ec2abb06e0d4c2d78887534496312f.jpg","text":"TemporaryFile(/tmp/multipartBody2071904830440869588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_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/30/8443dfd199521ee34f44267bf18b2d14.jpg","text":"TemporaryFile(/tmp/multipartBody2433960413750025234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_21_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cadac332ec9def33d7a0b0028fad1075.jpg","text":"TemporaryFile(/tmp/multipartBody4933345795875372002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501614706,"filename":"image_25112025_20_13_15_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051920","file1":"1397051917","file0":"1397051915","file4":"1397051926","file5":"1397051929","file3":"1397051923"},"map_files_photo_id_array":[{"photo_id":"1397051929","filename":"file5"},{"photo_id":"1397051920","filename":"file2"},{"photo_id":"1397051926","filename":"file4"},{"photo_id":"1397051917","filename":"file1"},{"photo_id":"1397051915","filename":"file0"},{"photo_id":"1397051923","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397051926":["hashtag1","hashtag2"]},{"1397051929":["hashtag1","hashtag2"]},{"1397051920":["hashtag1","hashtag2"]},{"1397051923":["hashtag1","hashtag2"]},{"1397051917":["hashtag1","hashtag2"]},{"1397051915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397051926, 1397051929, 1397051920, 1397051923, 1397051917, 1397051915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.943053245544434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:20:02.333211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_35_9685.jpg', '/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_45_10616.jpg', '/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_55_9830.jpg', '/home/pi/Desktop/images/30112025/09/46/image_30112025_09_47_05_9608.jpg', '/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_16_10713.jpg', '/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_25_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_35_9685.jpg
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_45_10616.jpg
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_46_55_9830.jpg
/home/pi/Desktop/images/30112025/09/46/image_30112025_09_47_05_9608.jpg
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_16_10713.jpg
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_25_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051935","1397051937","1397051934","1397051942","1397051936","1397051939"],"photo_ids_order":["1397051934","1397051935","1397051936","1397051937","1397051939","1397051942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9a9f02f16f7623da1e433e3332f7f73.jpg","text":"TemporaryFile(/tmp/multipartBody1824170329923524337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_46_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a1ff9a624dce6dfd3486dfd5948e9b3.jpg","text":"TemporaryFile(/tmp/multipartBody8857872916847783190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_47_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc71ade1f92c997883e01f6925e5b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody8011183464011468303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_46_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/392808585dfdf77de87e0a3a5a5c59b7.jpg","text":"TemporaryFile(/tmp/multipartBody5654222061069448716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_47_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd65952319fe24b08248e205bbb42504.jpg","text":"TemporaryFile(/tmp/multipartBody1440584538412768467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_46_55_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3396d0c20c18ad47464f7d06c17bb134.jpg","text":"TemporaryFile(/tmp/multipartBody5274967425456852215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501663192,"filename":"image_30112025_09_47_16_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051936","file1":"1397051935","file0":"1397051934","file4":"1397051939","file5":"1397051942","file3":"1397051937"},"map_files_photo_id_array":[{"photo_id":"1397051942","filename":"file5"},{"photo_id":"1397051936","filename":"file2"},{"photo_id":"1397051939","filename":"file4"},{"photo_id":"1397051935","filename":"file1"},{"photo_id":"1397051934","filename":"file0"},{"photo_id":"1397051937","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051935":["hashtag1","hashtag2"]},{"1397051937":["hashtag1","hashtag2"]},{"1397051934":["hashtag1","hashtag2"]},{"1397051942":["hashtag1","hashtag2"]},{"1397051936":["hashtag1","hashtag2"]},{"1397051939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051935, 1397051937, 1397051934, 1397051942, 1397051936, 1397051939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91601800918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:20:41.851606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/38/image_31102025_12_38_28_2640.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_31_2750.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_34_2792.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_37_3639.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_40_2648.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_43_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_28_2640.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_31_2750.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_34_2792.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_37_3639.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_40_2648.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_43_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051956","1397051950","1397051953","1397051955","1397051952","1397051954"],"photo_ids_order":["1397051950","1397051952","1397051953","1397051954","1397051955","1397051956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29201c61eb00986ef6069c20cbfe418b.jpg","text":"TemporaryFile(/tmp/multipartBody3396568218905936890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_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/30/1621eda066fcf09d31fcb1a86523a48b.jpg","text":"TemporaryFile(/tmp/multipartBody6093707511209093168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_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/30/64c5fde5c9bf93038ea963dc825d6180.jpg","text":"TemporaryFile(/tmp/multipartBody7414891107011858417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_34_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/30/6a686dd914b83904f4f55298176ca785.jpg","text":"TemporaryFile(/tmp/multipartBody5753946364519842545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5668f93bb135a4be51eb37c4c33073a9.jpg","text":"TemporaryFile(/tmp/multipartBody6718310299378319427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_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/30/3a50c33e00c14af0b5a3ad574140e661.jpg","text":"TemporaryFile(/tmp/multipartBody5154434712440913175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501702773,"filename":"image_31102025_12_38_37_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051953","file1":"1397051952","file0":"1397051950","file4":"1397051955","file5":"1397051956","file3":"1397051954"},"map_files_photo_id_array":[{"photo_id":"1397051956","filename":"file5"},{"photo_id":"1397051953","filename":"file2"},{"photo_id":"1397051955","filename":"file4"},{"photo_id":"1397051952","filename":"file1"},{"photo_id":"1397051950","filename":"file0"},{"photo_id":"1397051954","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397051956":["hashtag1","hashtag2"]},{"1397051950":["hashtag1","hashtag2"]},{"1397051953":["hashtag1","hashtag2"]},{"1397051955":["hashtag1","hashtag2"]},{"1397051952":["hashtag1","hashtag2"]},{"1397051954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397051956, 1397051950, 1397051953, 1397051955, 1397051952, 1397051954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16511511802673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:21:22.041805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_35_9704.jpg', '/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_46_10571.jpg', '/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_55_9612.jpg', '/home/pi/Desktop/images/30112025/09/47/image_30112025_09_48_05_9633.jpg', '/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_16_10777.jpg', '/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_25_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_35_9704.jpg
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_46_10571.jpg
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_47_55_9612.jpg
/home/pi/Desktop/images/30112025/09/47/image_30112025_09_48_05_9633.jpg
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_16_10777.jpg
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_25_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051965","1397051968","1397051970","1397051963","1397051966","1397051960"],"photo_ids_order":["1397051960","1397051963","1397051965","1397051966","1397051968","1397051970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ee075b277f43d68f4091bbbb86dd10a.jpg","text":"TemporaryFile(/tmp/multipartBody4618448394028472595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_47_55_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abc979f208957bc318284765dab0d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4595190080759462633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_48_16_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bad76ba235efe150188f19b960fc385.jpg","text":"TemporaryFile(/tmp/multipartBody2293662371562849117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_48_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/002435d696849447c05ec97e7e30344e.jpg","text":"TemporaryFile(/tmp/multipartBody6666108780018202184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_47_46_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/932977905cf39716847f29264d56160a.jpg","text":"TemporaryFile(/tmp/multipartBody3980905238418418567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_48_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2ba10b993cf2952d1ec6878c864f72d.jpg","text":"TemporaryFile(/tmp/multipartBody7449944774273599574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501742762,"filename":"image_30112025_09_47_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051965","file1":"1397051963","file0":"1397051960","file4":"1397051968","file5":"1397051970","file3":"1397051966"},"map_files_photo_id_array":[{"photo_id":"1397051970","filename":"file5"},{"photo_id":"1397051965","filename":"file2"},{"photo_id":"1397051968","filename":"file4"},{"photo_id":"1397051963","filename":"file1"},{"photo_id":"1397051960","filename":"file0"},{"photo_id":"1397051966","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051965":["hashtag1","hashtag2"]},{"1397051968":["hashtag1","hashtag2"]},{"1397051970":["hashtag1","hashtag2"]},{"1397051963":["hashtag1","hashtag2"]},{"1397051966":["hashtag1","hashtag2"]},{"1397051960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051965, 1397051968, 1397051970, 1397051963, 1397051966, 1397051960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07516860961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:22:02.692529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_35_9764.jpg', '/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_45_9665.jpg', '/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_55_10610.jpg', '/home/pi/Desktop/images/30112025/09/48/image_30112025_09_49_05_9732.jpg', '/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_15_9826.jpg', '/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_26_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_35_9764.jpg
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_45_9665.jpg
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_48_55_10610.jpg
/home/pi/Desktop/images/30112025/09/48/image_30112025_09_49_05_9732.jpg
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_15_9826.jpg
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_26_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051980","1397051977","1397051971","1397051973","1397051972","1397051975"],"photo_ids_order":["1397051971","1397051972","1397051973","1397051975","1397051977","1397051980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b7fc6ffb0457daa4daa364e6b23acdd.jpg","text":"TemporaryFile(/tmp/multipartBody5034431449369962388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_49_26_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88067b17546f7a29cfbc5c15aef469ad.jpg","text":"TemporaryFile(/tmp/multipartBody3421157780762579915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_49_15_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d07f86dccf16c6b242f3a117c9327a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3112346839663992624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_48_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73104fac030b21aa14ec0161a4d779a0.jpg","text":"TemporaryFile(/tmp/multipartBody8105229040978539193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_48_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c42da228daf8365e42f0ca9d498d07b8.jpg","text":"TemporaryFile(/tmp/multipartBody7592721575960249444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_48_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee36a4def6505971c96c46963c48717a.jpg","text":"TemporaryFile(/tmp/multipartBody6121685530889506306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501786231,"filename":"image_30112025_09_49_05_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051973","file1":"1397051972","file0":"1397051971","file4":"1397051977","file5":"1397051980","file3":"1397051975"},"map_files_photo_id_array":[{"photo_id":"1397051980","filename":"file5"},{"photo_id":"1397051973","filename":"file2"},{"photo_id":"1397051977","filename":"file4"},{"photo_id":"1397051972","filename":"file1"},{"photo_id":"1397051971","filename":"file0"},{"photo_id":"1397051975","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051980":["hashtag1","hashtag2"]},{"1397051977":["hashtag1","hashtag2"]},{"1397051971":["hashtag1","hashtag2"]},{"1397051973":["hashtag1","hashtag2"]},{"1397051972":["hashtag1","hashtag2"]},{"1397051975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051980, 1397051977, 1397051971, 1397051973, 1397051972, 1397051975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4180634021759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:23:05.047677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_35_9704.jpg', '/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_45_9638.jpg', '/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_55_9779.jpg', '/home/pi/Desktop/images/30112025/09/49/image_30112025_09_50_05_10674.jpg', '/home/pi/Desktop/images/30112025/09/50/image_30112025_09_50_35_9758.jpg', '/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_35_9704.jpg
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_45_9638.jpg
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_49_55_9779.jpg
/home/pi/Desktop/images/30112025/09/49/image_30112025_09_50_05_10674.jpg
/home/pi/Desktop/images/30112025/09/50/image_30112025_09_50_35_9758.jpg
/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_15_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397051989","1397051991","1397051996","1397051999","1397051990","1397051993"],"photo_ids_order":["1397051989","1397051990","1397051991","1397051993","1397051996","1397051999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94d2461c5bc7189b008bbe40513e0510.jpg","text":"TemporaryFile(/tmp/multipartBody7931588999731633130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_49_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d5cb83890f93fd1d20f296283013900.jpg","text":"TemporaryFile(/tmp/multipartBody530593398548917574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_49_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a67102d9315f5279447323ea215b150d.jpg","text":"TemporaryFile(/tmp/multipartBody1161891289479849671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_50_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4dc23a92ff801c06e425b050e87ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody4596329956208433209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_51_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29ac0c8175c0d4fe08ceff400e410f13.jpg","text":"TemporaryFile(/tmp/multipartBody8804059714406544005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_49_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe815e056920284007b9eb2ff95e1960.jpg","text":"TemporaryFile(/tmp/multipartBody4824741359131554571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501845914,"filename":"image_30112025_09_50_05_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397051991","file1":"1397051990","file0":"1397051989","file4":"1397051996","file5":"1397051999","file3":"1397051993"},"map_files_photo_id_array":[{"photo_id":"1397051999","filename":"file5"},{"photo_id":"1397051991","filename":"file2"},{"photo_id":"1397051996","filename":"file4"},{"photo_id":"1397051990","filename":"file1"},{"photo_id":"1397051989","filename":"file0"},{"photo_id":"1397051993","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397051989":["hashtag1","hashtag2"]},{"1397051991":["hashtag1","hashtag2"]},{"1397051996":["hashtag1","hashtag2"]},{"1397051999":["hashtag1","hashtag2"]},{"1397051990":["hashtag1","hashtag2"]},{"1397051993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397051989, 1397051991, 1397051996, 1397051999, 1397051990, 1397051993)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.27863574028015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:24:03.129627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_26_10728.jpg', '/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_36_9785.jpg', '/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_45_9725.jpg', '/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_55_9650.jpg', '/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_16_9848.jpg', '/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_25_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_26_10728.jpg
/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_36_9785.jpg
/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_45_9725.jpg
/home/pi/Desktop/images/30112025/09/51/image_30112025_09_51_55_9650.jpg
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_16_9848.jpg
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_25_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052007","1397052012","1397052006","1397052015","1397052009","1397052005"],"photo_ids_order":["1397052005","1397052006","1397052007","1397052009","1397052012","1397052015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55c5caf95fcac4b96e9bffe9750cfc37.jpg","text":"TemporaryFile(/tmp/multipartBody4535110383564322677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_51_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41cb37baeec526b1198b31e89a09b80e.jpg","text":"TemporaryFile(/tmp/multipartBody3898515084533782973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_52_16_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09058da54dde6c101313d4421d255e36.jpg","text":"TemporaryFile(/tmp/multipartBody7607917623658616717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_51_36_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ddcb0f920d850c0ede8edd3f96b48f1.jpg","text":"TemporaryFile(/tmp/multipartBody6017518697420462473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_52_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6570fd40ee3cedbbc8c66b4731c1d62.jpg","text":"TemporaryFile(/tmp/multipartBody3988949380366961448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_51_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7d590accd635d7893e107234ed01d53.jpg","text":"TemporaryFile(/tmp/multipartBody8617895453472176594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501907766,"filename":"image_30112025_09_51_26_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052007","file1":"1397052006","file0":"1397052005","file4":"1397052012","file5":"1397052015","file3":"1397052009"},"map_files_photo_id_array":[{"photo_id":"1397052015","filename":"file5"},{"photo_id":"1397052007","filename":"file2"},{"photo_id":"1397052012","filename":"file4"},{"photo_id":"1397052006","filename":"file1"},{"photo_id":"1397052005","filename":"file0"},{"photo_id":"1397052009","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052007":["hashtag1","hashtag2"]},{"1397052012":["hashtag1","hashtag2"]},{"1397052006":["hashtag1","hashtag2"]},{"1397052015":["hashtag1","hashtag2"]},{"1397052009":["hashtag1","hashtag2"]},{"1397052005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052007, 1397052012, 1397052006, 1397052015, 1397052009, 1397052005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.750553607940674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:25:03.228650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_35_9794.jpg', '/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_45_9957.jpg', '/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_55_9719.jpg', '/home/pi/Desktop/images/30112025/09/52/image_30112025_09_53_06_10758.jpg', '/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_15_9645.jpg', '/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_25_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_35_9794.jpg
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_45_9957.jpg
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_52_55_9719.jpg
/home/pi/Desktop/images/30112025/09/52/image_30112025_09_53_06_10758.jpg
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_15_9645.jpg
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_25_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052019","1397052021","1397052024","1397052018","1397052027","1397052017"],"photo_ids_order":["1397052017","1397052018","1397052019","1397052021","1397052024","1397052027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b307851f93a1f41cf279951377b2645.jpg","text":"TemporaryFile(/tmp/multipartBody3390006279104489820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_52_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2a7eb43f9b773c4afce0f9d855b8414.jpg","text":"TemporaryFile(/tmp/multipartBody7428068944384553789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_53_06_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c44056224908403cc30a3bd29bcc8ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5665930842033943717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_53_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6cf3fd6648f4e965546d3c99741362e.jpg","text":"TemporaryFile(/tmp/multipartBody6347128017347728309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_52_45_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/044d7e5c031ac9612a4919eccd38b7ad.jpg","text":"TemporaryFile(/tmp/multipartBody5982928627301688301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_53_25_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2d168503dd15dfa1bf3f915a00ef53b.jpg","text":"TemporaryFile(/tmp/multipartBody7680702331456043183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764501967684,"filename":"image_30112025_09_52_35_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052019","file1":"1397052018","file0":"1397052017","file4":"1397052024","file5":"1397052027","file3":"1397052021"},"map_files_photo_id_array":[{"photo_id":"1397052027","filename":"file5"},{"photo_id":"1397052019","filename":"file2"},{"photo_id":"1397052024","filename":"file4"},{"photo_id":"1397052018","filename":"file1"},{"photo_id":"1397052017","filename":"file0"},{"photo_id":"1397052021","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052019":["hashtag1","hashtag2"]},{"1397052021":["hashtag1","hashtag2"]},{"1397052024":["hashtag1","hashtag2"]},{"1397052018":["hashtag1","hashtag2"]},{"1397052027":["hashtag1","hashtag2"]},{"1397052017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052019, 1397052021, 1397052024, 1397052018, 1397052027, 1397052017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.437631368637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:26:03.785285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_36_10679.jpg', '/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_45_9621.jpg', '/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_55_9690.jpg', '/home/pi/Desktop/images/30112025/09/53/image_30112025_09_54_05_9882.jpg', '/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_16_10636.jpg', '/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_25_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_36_10679.jpg
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_45_9621.jpg
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_53_55_9690.jpg
/home/pi/Desktop/images/30112025/09/53/image_30112025_09_54_05_9882.jpg
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_16_10636.jpg
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_25_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052031","1397052036","1397052030","1397052033","1397052029","1397052038"],"photo_ids_order":["1397052029","1397052030","1397052031","1397052033","1397052036","1397052038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fe0a6839863161c90e9f10828a835e9.jpg","text":"TemporaryFile(/tmp/multipartBody2526245516869832683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_53_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b80f0b4bb6dac3bebe936a207fe5b829.jpg","text":"TemporaryFile(/tmp/multipartBody9168326397774665194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_54_16_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b1240038c8d9c10d39881ee9b525fb7.jpg","text":"TemporaryFile(/tmp/multipartBody670728588572368912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_53_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9bfd4437a98d9b280c34b5a3c06d33d.jpg","text":"TemporaryFile(/tmp/multipartBody5876683405115642689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_54_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/214fc1c37d851de46a99bf72b5e3cf65.jpg","text":"TemporaryFile(/tmp/multipartBody220503263733942115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_53_36_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/778dd67ab9cf6c00e50c1f0f90251476.jpg","text":"TemporaryFile(/tmp/multipartBody7130248960445991807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502027756,"filename":"image_30112025_09_54_25_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052031","file1":"1397052030","file0":"1397052029","file4":"1397052036","file5":"1397052038","file3":"1397052033"},"map_files_photo_id_array":[{"photo_id":"1397052038","filename":"file5"},{"photo_id":"1397052031","filename":"file2"},{"photo_id":"1397052036","filename":"file4"},{"photo_id":"1397052030","filename":"file1"},{"photo_id":"1397052029","filename":"file0"},{"photo_id":"1397052033","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052031":["hashtag1","hashtag2"]},{"1397052036":["hashtag1","hashtag2"]},{"1397052030":["hashtag1","hashtag2"]},{"1397052033":["hashtag1","hashtag2"]},{"1397052029":["hashtag1","hashtag2"]},{"1397052038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052031, 1397052036, 1397052030, 1397052033, 1397052029, 1397052038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.91144394874573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:27:05.152681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:27:14.520477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_36_1643.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_39_2713.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_54_14480.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_55_1621.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_57_1671.jpg', '/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_58_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_36_1643.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_39_2713.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_54_14480.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_55_1621.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_57_1671.jpg
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_13_58_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052052","1397052046","1397052054","1397052050","1397052044","1397052056"],"photo_ids_order":["1397052044","1397052046","1397052050","1397052052","1397052054","1397052056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/017cff12b68136d43e6eaf6d208db573.jpg","text":"TemporaryFile(/tmp/multipartBody710157970948452505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_55_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/30/b22c1a8a35d5ba4c365479edc39be2ec.jpg","text":"TemporaryFile(/tmp/multipartBody7728887683602754392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_39_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/30/cead31062c7bc0e73e1aeb7534315e86.jpg","text":"TemporaryFile(/tmp/multipartBody4620931244293956113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_57_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/30/6caf7b36dab5450cac11ea2379e95d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2882508613380753078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_54_14480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7409a5cbcc4f47132fc1ff5cc865b960.jpg","text":"TemporaryFile(/tmp/multipartBody6745749065067231074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_36_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/30/559ffd75c4497887dadca8beb25fafc6.jpg","text":"TemporaryFile(/tmp/multipartBody5263325440491920937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502097507,"filename":"image_25112025_20_13_58_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052050","file1":"1397052046","file0":"1397052044","file4":"1397052054","file5":"1397052056","file3":"1397052052"},"map_files_photo_id_array":[{"photo_id":"1397052056","filename":"file5"},{"photo_id":"1397052050","filename":"file2"},{"photo_id":"1397052054","filename":"file4"},{"photo_id":"1397052046","filename":"file1"},{"photo_id":"1397052044","filename":"file0"},{"photo_id":"1397052052","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052052":["hashtag1","hashtag2"]},{"1397052046":["hashtag1","hashtag2"]},{"1397052054":["hashtag1","hashtag2"]},{"1397052050":["hashtag1","hashtag2"]},{"1397052044":["hashtag1","hashtag2"]},{"1397052056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052052, 1397052046, 1397052054, 1397052050, 1397052044, 1397052056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.965320110321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:28:02.309484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_35_9712.jpg', '/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_46_10668.jpg', '/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_55_9588.jpg', '/home/pi/Desktop/images/30112025/09/54/image_30112025_09_55_05_9713.jpg', '/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_15_9800.jpg', '/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_26_10822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_35_9712.jpg
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_46_10668.jpg
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_54_55_9588.jpg
/home/pi/Desktop/images/30112025/09/54/image_30112025_09_55_05_9713.jpg
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_15_9800.jpg
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_26_10822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052058","1397052066","1397052060","1397052057","1397052062","1397052059"],"photo_ids_order":["1397052057","1397052058","1397052059","1397052060","1397052062","1397052066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce30625ccd55149044ac83e945a9384d.jpg","text":"TemporaryFile(/tmp/multipartBody4941002950964310109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_54_46_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f785dfb923cbf35753d1036ecafd6842.jpg","text":"TemporaryFile(/tmp/multipartBody6223432224079035113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_55_26_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df4034c8bd142914477cededeb6ac2d0.jpg","text":"TemporaryFile(/tmp/multipartBody504701037523040238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_55_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5be0515bf9cf6b17fbf7384654a2a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5435824831881731231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_54_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b4ed0948da2521be60ed39028b5b35b.jpg","text":"TemporaryFile(/tmp/multipartBody2741018157608715225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_55_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88093f48aed348eded4e5b78730e5a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3636383034632868176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502143139,"filename":"image_30112025_09_54_55_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052059","file1":"1397052058","file0":"1397052057","file4":"1397052062","file5":"1397052066","file3":"1397052060"},"map_files_photo_id_array":[{"photo_id":"1397052066","filename":"file5"},{"photo_id":"1397052059","filename":"file2"},{"photo_id":"1397052062","filename":"file4"},{"photo_id":"1397052058","filename":"file1"},{"photo_id":"1397052057","filename":"file0"},{"photo_id":"1397052060","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052058":["hashtag1","hashtag2"]},{"1397052066":["hashtag1","hashtag2"]},{"1397052060":["hashtag1","hashtag2"]},{"1397052057":["hashtag1","hashtag2"]},{"1397052062":["hashtag1","hashtag2"]},{"1397052059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052058, 1397052066, 1397052060, 1397052057, 1397052062, 1397052059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31007766723633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:28:41.791436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/38/image_31102025_12_38_49_2796.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_52_2812.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_55_2753.jpg', '/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_59_3821.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_01_2589.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_04_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/12/38/image_31102025_12_38_49_2796.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_52_2812.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_55_2753.jpg
/home/pi/Desktop/images/31102025/12/38/image_31102025_12_38_59_3821.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_01_2589.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_04_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":["1397052070","1397052072","1397052075","1397052071","1397052074","1397052073"],"photo_ids_order":["1397052070","1397052071","1397052072","1397052073","1397052074","1397052075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f48ff5555a19db9b6eb98e237344954.jpg","text":"TemporaryFile(/tmp/multipartBody1008450920930124463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_38_49_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f490e189bdcc428b7aab3f11e2f5bcc2.jpg","text":"TemporaryFile(/tmp/multipartBody6144753338563915482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_38_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/30/326d07c145fff8477b3b96cc28bddd8f.jpg","text":"TemporaryFile(/tmp/multipartBody5591112190576665292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_39_04_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/30/b86974e12fe1cff76ba1fb024baed246.jpg","text":"TemporaryFile(/tmp/multipartBody3420902209179704672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_38_52_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/30/05280fb7e8ac2b6f062992c879b16ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5680814354979661136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_39_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/30/fd1febe4cf22a181b9b307cf39c4d196.jpg","text":"TemporaryFile(/tmp/multipartBody303413382001473513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502182723,"filename":"image_31102025_12_38_59_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052072","file1":"1397052071","file0":"1397052070","file4":"1397052074","file5":"1397052075","file3":"1397052073"},"map_files_photo_id_array":[{"photo_id":"1397052075","filename":"file5"},{"photo_id":"1397052072","filename":"file2"},{"photo_id":"1397052074","filename":"file4"},{"photo_id":"1397052071","filename":"file1"},{"photo_id":"1397052070","filename":"file0"},{"photo_id":"1397052073","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052070":["hashtag1","hashtag2"]},{"1397052072":["hashtag1","hashtag2"]},{"1397052075":["hashtag1","hashtag2"]},{"1397052071":["hashtag1","hashtag2"]},{"1397052074":["hashtag1","hashtag2"]},{"1397052073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052070, 1397052072, 1397052075, 1397052071, 1397052074, 1397052073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99629306793213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:29:22.059442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_35_9835.jpg', '/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_45_9796.jpg', '/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_55_9685.jpg', '/home/pi/Desktop/images/30112025/09/55/image_30112025_09_56_06_10632.jpg', '/home/pi/Desktop/images/30112025/09/56/image_30112025_09_56_15_9874.jpg', '/home/pi/Desktop/images/30112025/09/56/image_30112025_09_56_36_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_35_9835.jpg
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_45_9796.jpg
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_55_55_9685.jpg
/home/pi/Desktop/images/30112025/09/55/image_30112025_09_56_06_10632.jpg
/home/pi/Desktop/images/30112025/09/56/image_30112025_09_56_15_9874.jpg
/home/pi/Desktop/images/30112025/09/56/image_30112025_09_56_36_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052090","1397052084","1397052087","1397052080","1397052086","1397052088"],"photo_ids_order":["1397052080","1397052084","1397052086","1397052087","1397052088","1397052090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcf391ba6aaef5410d440b85cd63b11b.jpg","text":"TemporaryFile(/tmp/multipartBody5371973490887514380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_56_36_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95547bdbaaf09578b302ab9292ddd881.jpg","text":"TemporaryFile(/tmp/multipartBody3289036933967373884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_55_45_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db1ea28cef8763d90eb00644c39b362e.jpg","text":"TemporaryFile(/tmp/multipartBody1211197828607666783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_56_06_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f18e0da649b00e5e79f15264e14f1a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7418213535317215848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_55_35_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b5abbb95901221d3d4fe292c7a49d55.jpg","text":"TemporaryFile(/tmp/multipartBody8743095741197156618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_55_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc04c0a47f12f0d1a1844d84df4c7591.jpg","text":"TemporaryFile(/tmp/multipartBody8610915038094306662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502222823,"filename":"image_30112025_09_56_15_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052086","file1":"1397052084","file0":"1397052080","file4":"1397052088","file5":"1397052090","file3":"1397052087"},"map_files_photo_id_array":[{"photo_id":"1397052090","filename":"file5"},{"photo_id":"1397052086","filename":"file2"},{"photo_id":"1397052088","filename":"file4"},{"photo_id":"1397052084","filename":"file1"},{"photo_id":"1397052080","filename":"file0"},{"photo_id":"1397052087","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052090":["hashtag1","hashtag2"]},{"1397052084":["hashtag1","hashtag2"]},{"1397052087":["hashtag1","hashtag2"]},{"1397052080":["hashtag1","hashtag2"]},{"1397052086":["hashtag1","hashtag2"]},{"1397052088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052090, 1397052084, 1397052087, 1397052080, 1397052086, 1397052088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.979300022125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:30:02.834216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/56/image_30112025_09_57_05_9788.jpg', '/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_15_9731.jpg', '/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_26_10847.jpg', '/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_35_9562.jpg', '/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_45_9967.jpg', '/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/56/image_30112025_09_57_05_9788.jpg
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_15_9731.jpg
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_26_10847.jpg
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_35_9562.jpg
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_45_9967.jpg
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_57_55_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052096","1397052093","1397052098","1397052092","1397052091","1397052094"],"photo_ids_order":["1397052091","1397052092","1397052093","1397052094","1397052096","1397052098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b564799d443ffc2221527699d0e2a24.jpg","text":"TemporaryFile(/tmp/multipartBody4228521223702236301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_45_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4c1cbfa950ff05caec74fe9477c32c1.jpg","text":"TemporaryFile(/tmp/multipartBody3242797443380862326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_26_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca7efaec326c2042d85b96024dd0b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5345298974261426525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b26976ea916da133b701494e9caf8441.jpg","text":"TemporaryFile(/tmp/multipartBody1055600620054070214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e7555d10844df08ffef88117d54bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody5215187777960783698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_05_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bb64ecbc8fb1f6786eeb7a9e1808866.jpg","text":"TemporaryFile(/tmp/multipartBody5102340288337825190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502263683,"filename":"image_30112025_09_57_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052093","file1":"1397052092","file0":"1397052091","file4":"1397052096","file5":"1397052098","file3":"1397052094"},"map_files_photo_id_array":[{"photo_id":"1397052098","filename":"file5"},{"photo_id":"1397052093","filename":"file2"},{"photo_id":"1397052096","filename":"file4"},{"photo_id":"1397052092","filename":"file1"},{"photo_id":"1397052091","filename":"file0"},{"photo_id":"1397052094","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052096":["hashtag1","hashtag2"]},{"1397052093":["hashtag1","hashtag2"]},{"1397052098":["hashtag1","hashtag2"]},{"1397052092":["hashtag1","hashtag2"]},{"1397052091":["hashtag1","hashtag2"]},{"1397052094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052096, 1397052093, 1397052098, 1397052092, 1397052091, 1397052094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66377115249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:30:42.332372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/39/image_31102025_12_39_08_3665.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_10_2809.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_13_2648.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_16_2561.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_19_3781.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_22_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_08_3665.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_10_2809.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_13_2648.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_16_2561.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_19_3781.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_22_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":["1397052112","1397052117","1397052114","1397052108","1397052116","1397052110"],"photo_ids_order":["1397052108","1397052110","1397052112","1397052114","1397052116","1397052117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2538c4a856c4f43ab693ec3ae2ed873e.jpg","text":"TemporaryFile(/tmp/multipartBody385596531116368057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_13_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/871448b01b104859be4836959bbc06b8.jpg","text":"TemporaryFile(/tmp/multipartBody521733397330968851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_22_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/30/9ec67d6eb6499b64290366ec214f54e3.jpg","text":"TemporaryFile(/tmp/multipartBody2644890582003316150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_16_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/30/1990a45fa291e1320a0b724393d865fe.jpg","text":"TemporaryFile(/tmp/multipartBody7140886611540503475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_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/30/87db1caa43d994cc9826dd9d170380ca.jpg","text":"TemporaryFile(/tmp/multipartBody2166381539230193612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_19_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b8b2618b4efa3904c7ee18711687ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5213066913221572020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502303282,"filename":"image_31102025_12_39_10_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052112","file1":"1397052110","file0":"1397052108","file4":"1397052116","file5":"1397052117","file3":"1397052114"},"map_files_photo_id_array":[{"photo_id":"1397052117","filename":"file5"},{"photo_id":"1397052112","filename":"file2"},{"photo_id":"1397052116","filename":"file4"},{"photo_id":"1397052110","filename":"file1"},{"photo_id":"1397052108","filename":"file0"},{"photo_id":"1397052114","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052112":["hashtag1","hashtag2"]},{"1397052117":["hashtag1","hashtag2"]},{"1397052114":["hashtag1","hashtag2"]},{"1397052108":["hashtag1","hashtag2"]},{"1397052116":["hashtag1","hashtag2"]},{"1397052110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052112, 1397052117, 1397052114, 1397052108, 1397052116, 1397052110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63027477264404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:31:22.619375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/57/image_30112025_09_58_05_10648.jpg', '/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_15_9939.jpg', '/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_25_9642.jpg', '/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_35_9795.jpg', '/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_46_10772.jpg', '/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_55_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/57/image_30112025_09_58_05_10648.jpg
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_15_9939.jpg
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_25_9642.jpg
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_35_9795.jpg
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_46_10772.jpg
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_58_55_9844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052127","1397052120","1397052131","1397052125","1397052128","1397052122"],"photo_ids_order":["1397052120","1397052122","1397052125","1397052127","1397052128","1397052131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbda99c917043fd7308a07d9413bd7d4.jpg","text":"TemporaryFile(/tmp/multipartBody923153839057618801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_35_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18dd401a0a09e3433b570d966172a23b.jpg","text":"TemporaryFile(/tmp/multipartBody2872249963737971825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf31d42697cc9e191560c372193e50dd.jpg","text":"TemporaryFile(/tmp/multipartBody899918820812294547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_55_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8a9c667b952829d34c96833c33d1080.jpg","text":"TemporaryFile(/tmp/multipartBody6452134652363130145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3454a08fecb3f183cb3d857f2bbeb50.jpg","text":"TemporaryFile(/tmp/multipartBody2762854546748842567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_46_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9d898eb083047bfb36afbaaad3a39c5.jpg","text":"TemporaryFile(/tmp/multipartBody4292384648546597904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502343354,"filename":"image_30112025_09_58_15_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052125","file1":"1397052122","file0":"1397052120","file4":"1397052128","file5":"1397052131","file3":"1397052127"},"map_files_photo_id_array":[{"photo_id":"1397052131","filename":"file5"},{"photo_id":"1397052125","filename":"file2"},{"photo_id":"1397052128","filename":"file4"},{"photo_id":"1397052122","filename":"file1"},{"photo_id":"1397052120","filename":"file0"},{"photo_id":"1397052127","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052127":["hashtag1","hashtag2"]},{"1397052120":["hashtag1","hashtag2"]},{"1397052131":["hashtag1","hashtag2"]},{"1397052125":["hashtag1","hashtag2"]},{"1397052128":["hashtag1","hashtag2"]},{"1397052122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052127, 1397052120, 1397052131, 1397052125, 1397052128, 1397052122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80399680137634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:32:03.111955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/09/58/image_30112025_09_59_05_9726.jpg', '/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_15_9868.jpg', '/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_26_10686.jpg', '/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_36_9882.jpg', '/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_45_9648.jpg', '/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_55_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/09/58/image_30112025_09_59_05_9726.jpg
/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_15_9868.jpg
/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_26_10686.jpg
/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_36_9882.jpg
/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_45_9648.jpg
/home/pi/Desktop/images/30112025/09/59/image_30112025_09_59_55_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052136","1397052135","1397052138","1397052143","1397052140","1397052137"],"photo_ids_order":["1397052135","1397052136","1397052137","1397052138","1397052140","1397052143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd4622725fff77b76d69180ceeeebfb6.jpg","text":"TemporaryFile(/tmp/multipartBody8395384396456204809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_15_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/30/756b2733f908c50d7f3b93661181d62e.jpg","text":"TemporaryFile(/tmp/multipartBody2721732075111904760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba428209b28b90cdc4c944a32efdde64.jpg","text":"TemporaryFile(/tmp/multipartBody3218448994155243260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_36_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/116ad2ac4b6c90763e652ff5c056c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6602094408986028429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9933d65996eabd160b116970f87c7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8350308795593336239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a84675e427ec9dabb7ddcbf2d6601364.jpg","text":"TemporaryFile(/tmp/multipartBody2265705002325044003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502383878,"filename":"image_30112025_09_59_26_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052137","file1":"1397052136","file0":"1397052135","file4":"1397052140","file5":"1397052143","file3":"1397052138"},"map_files_photo_id_array":[{"photo_id":"1397052143","filename":"file5"},{"photo_id":"1397052137","filename":"file2"},{"photo_id":"1397052140","filename":"file4"},{"photo_id":"1397052136","filename":"file1"},{"photo_id":"1397052135","filename":"file0"},{"photo_id":"1397052138","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052136":["hashtag1","hashtag2"]},{"1397052135":["hashtag1","hashtag2"]},{"1397052138":["hashtag1","hashtag2"]},{"1397052143":["hashtag1","hashtag2"]},{"1397052140":["hashtag1","hashtag2"]},{"1397052137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052136, 1397052135, 1397052138, 1397052143, 1397052140, 1397052137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.731818199157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:32:42.626708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/39/image_31102025_12_39_28_3878.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_31_2691.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_34_2680.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_37_2682.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_40_3667.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_43_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/12/39/image_31102025_12_39_28_3878.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_31_2691.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_34_2680.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_37_2682.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_40_3667.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_43_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052151","1397052145","1397052186","1397052144","1397052188","1397052185"],"photo_ids_order":["1397052144","1397052145","1397052151","1397052185","1397052186","1397052188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25f832b91f8f59d2c0c73a03bdd74da5.jpg","text":"TemporaryFile(/tmp/multipartBody3831704389093322923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_34_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/30/56d484bada35ef2425f89d33593dca71.jpg","text":"TemporaryFile(/tmp/multipartBody251513123359451213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d359f801608ec615499180ca72910ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7236572832008148232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_40_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0f82586e5e18fd6d193d385202cc4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6436953421895307256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_28_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2aa15c5ffca8e161fdbd7bde8825ae02.jpg","text":"TemporaryFile(/tmp/multipartBody4157083582293057985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_43_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/30/49037bc8e2c4ab65b1aabd0cb1c544c6.jpg","text":"TemporaryFile(/tmp/multipartBody4823436771351937114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502423524,"filename":"image_31102025_12_39_37_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052151","file1":"1397052145","file0":"1397052144","file4":"1397052186","file5":"1397052188","file3":"1397052185"},"map_files_photo_id_array":[{"photo_id":"1397052188","filename":"file5"},{"photo_id":"1397052151","filename":"file2"},{"photo_id":"1397052186","filename":"file4"},{"photo_id":"1397052145","filename":"file1"},{"photo_id":"1397052144","filename":"file0"},{"photo_id":"1397052185","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052151":["hashtag1","hashtag2"]},{"1397052145":["hashtag1","hashtag2"]},{"1397052186":["hashtag1","hashtag2"]},{"1397052144":["hashtag1","hashtag2"]},{"1397052188":["hashtag1","hashtag2"]},{"1397052185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052151, 1397052145, 1397052186, 1397052144, 1397052188, 1397052185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98983097076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:33:22.749597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_15_10053.jpg', '/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_35_9670.jpg', '/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_45_9709.jpg', '/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_56_10734.jpg', '/home/pi/Desktop/images/30112025/10/00/image_30112025_10_01_05_9662.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_15_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_15_10053.jpg
/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_35_9670.jpg
/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_45_9709.jpg
/home/pi/Desktop/images/30112025/10/00/image_30112025_10_00_56_10734.jpg
/home/pi/Desktop/images/30112025/10/00/image_30112025_10_01_05_9662.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_15_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052195","1397052198","1397052202","1397052192","1397052197","1397052199"],"photo_ids_order":["1397052192","1397052195","1397052197","1397052198","1397052199","1397052202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19deae0d8dd12cd3e9735fa835a77160.jpg","text":"TemporaryFile(/tmp/multipartBody5271611180259835281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_00_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7778352b3771e92034e53a23504e1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5773887686309393524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_00_56_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a89138374b6fbf24e95c8a573eaba313.jpg","text":"TemporaryFile(/tmp/multipartBody5449141229995597644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_01_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36f4748ff0801a1e72c26c882b8e922e.jpg","text":"TemporaryFile(/tmp/multipartBody8101281383870029276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_00_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/171cacf37177ec71270919f752a595ba.jpg","text":"TemporaryFile(/tmp/multipartBody5575063832387408952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_00_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e1403193347cde1c0f99da107c72268.jpg","text":"TemporaryFile(/tmp/multipartBody4048489742930956045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502463452,"filename":"image_30112025_10_01_05_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052197","file1":"1397052195","file0":"1397052192","file4":"1397052199","file5":"1397052202","file3":"1397052198"},"map_files_photo_id_array":[{"photo_id":"1397052202","filename":"file5"},{"photo_id":"1397052197","filename":"file2"},{"photo_id":"1397052199","filename":"file4"},{"photo_id":"1397052195","filename":"file1"},{"photo_id":"1397052192","filename":"file0"},{"photo_id":"1397052198","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052195":["hashtag1","hashtag2"]},{"1397052198":["hashtag1","hashtag2"]},{"1397052202":["hashtag1","hashtag2"]},{"1397052192":["hashtag1","hashtag2"]},{"1397052197":["hashtag1","hashtag2"]},{"1397052199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052195, 1397052198, 1397052202, 1397052192, 1397052197, 1397052199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.105687379837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:34:02.736271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_26_10811.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_36_9737.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_45_9582.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_55_9698.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_02_06_10833.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_16_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_26_10811.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_36_9737.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_45_9582.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_55_9698.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_02_06_10833.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_16_9808.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6916341781616211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 12:34:12.070991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/13/image_25112025_20_14_00_1543.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_02_1593.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_03_1619.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_05_1720.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_15_1535.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_17_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/13/image_25112025_20_14_00_1543.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_02_1593.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_03_1619.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_05_1720.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_15_1535.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_17_1579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052220","1397052213","1397052216","1397052210","1397052207","1397052218"],"photo_ids_order":["1397052207","1397052210","1397052213","1397052216","1397052218","1397052220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9c3a1a3a54ba48f86b210e9c73b93c9.jpg","text":"TemporaryFile(/tmp/multipartBody6045986524545268322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_17_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/30/1be48607208171f30c5074ba1cfb933e.jpg","text":"TemporaryFile(/tmp/multipartBody2167428033878201688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_03_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/30/8e4dd23017dcc38edfecbffe9b247376.jpg","text":"TemporaryFile(/tmp/multipartBody7054855815743258180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_05_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/30/8d35e40a69d75f98cd33dd611c3be789.jpg","text":"TemporaryFile(/tmp/multipartBody3764463915616065657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_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/30/2b8c74adaac714eb40ed878125fe069d.jpg","text":"TemporaryFile(/tmp/multipartBody7090979404040704809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_00_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/30/34195a354b1ad9d9d923b032905e73b0.jpg","text":"TemporaryFile(/tmp/multipartBody6308510714735572751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502513965,"filename":"image_25112025_20_14_15_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052213","file1":"1397052210","file0":"1397052207","file4":"1397052218","file5":"1397052220","file3":"1397052216"},"map_files_photo_id_array":[{"photo_id":"1397052220","filename":"file5"},{"photo_id":"1397052213","filename":"file2"},{"photo_id":"1397052218","filename":"file4"},{"photo_id":"1397052210","filename":"file1"},{"photo_id":"1397052207","filename":"file0"},{"photo_id":"1397052216","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052220":["hashtag1","hashtag2"]},{"1397052213":["hashtag1","hashtag2"]},{"1397052216":["hashtag1","hashtag2"]},{"1397052210":["hashtag1","hashtag2"]},{"1397052207":["hashtag1","hashtag2"]},{"1397052218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052220, 1397052213, 1397052216, 1397052210, 1397052207, 1397052218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20660352706909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:35:02.805088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_26_10811.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_36_9737.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_45_9582.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_55_9698.jpg', '/home/pi/Desktop/images/30112025/10/01/image_30112025_10_02_06_10833.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_16_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_26_10811.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_36_9737.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_45_9582.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_01_55_9698.jpg
/home/pi/Desktop/images/30112025/10/01/image_30112025_10_02_06_10833.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_16_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052223","1397052226","1397052229","1397052222","1397052224","1397052221"],"photo_ids_order":["1397052221","1397052222","1397052223","1397052224","1397052226","1397052229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc33bb4ee325666212a66c585620f45b.jpg","text":"TemporaryFile(/tmp/multipartBody9105844287020192616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_01_45_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21cbe1bac95619fb37c148bd3808a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody345935632080067955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_02_06_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9379ea243391eecb8ca4e6beb7ad013.jpg","text":"TemporaryFile(/tmp/multipartBody4197995843933860122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_02_16_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b0bece96a9df6426e5dd67131dfcbfd.jpg","text":"TemporaryFile(/tmp/multipartBody174141991523626882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_01_36_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e663e9b05da514d6b986d741f71058f.jpg","text":"TemporaryFile(/tmp/multipartBody3770552141929456400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_01_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/103fc30691caeb4d6c310306aef19e0b.jpg","text":"TemporaryFile(/tmp/multipartBody265205291475032806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502563610,"filename":"image_30112025_10_01_26_10811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052223","file1":"1397052222","file0":"1397052221","file4":"1397052226","file5":"1397052229","file3":"1397052224"},"map_files_photo_id_array":[{"photo_id":"1397052229","filename":"file5"},{"photo_id":"1397052223","filename":"file2"},{"photo_id":"1397052226","filename":"file4"},{"photo_id":"1397052222","filename":"file1"},{"photo_id":"1397052221","filename":"file0"},{"photo_id":"1397052224","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052223":["hashtag1","hashtag2"]},{"1397052226":["hashtag1","hashtag2"]},{"1397052229":["hashtag1","hashtag2"]},{"1397052222":["hashtag1","hashtag2"]},{"1397052224":["hashtag1","hashtag2"]},{"1397052221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052223, 1397052226, 1397052229, 1397052222, 1397052224, 1397052221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.110617876052856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:35:42.229286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/39/image_31102025_12_39_46_2617.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_49_3808.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_52_2677.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_55_2704.jpg', '/home/pi/Desktop/images/31102025/12/39/image_31102025_12_40_01_3796.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_04_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_46_2617.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_49_3808.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_52_2677.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_39_55_2704.jpg
/home/pi/Desktop/images/31102025/12/39/image_31102025_12_40_01_3796.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_04_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":["1397052256","1397052259","1397052232","1397052258","1397052257","1397052242"],"photo_ids_order":["1397052232","1397052242","1397052256","1397052257","1397052258","1397052259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3e8203343fa6c41de316e05cdff651b.jpg","text":"TemporaryFile(/tmp/multipartBody6546218116638236184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_39_52_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c5e6b5e0172457eeb689ebb6c12ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody3855140964540367020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_40_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/30/a961af854268afe8d1f6bf9f84049133.jpg","text":"TemporaryFile(/tmp/multipartBody1736966492356207310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_39_46_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e77ea5271aca15b6456fcc121d2abc31.jpg","text":"TemporaryFile(/tmp/multipartBody3270758591608180728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_40_01_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/30/e18786212eae0c0e98d7a6b8b7f72b03.jpg","text":"TemporaryFile(/tmp/multipartBody3390566345348945307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_39_55_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d00a6af10d250fba142d3445ec897087.jpg","text":"TemporaryFile(/tmp/multipartBody1286457498577260330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502603124,"filename":"image_31102025_12_39_49_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052256","file1":"1397052242","file0":"1397052232","file4":"1397052258","file5":"1397052259","file3":"1397052257"},"map_files_photo_id_array":[{"photo_id":"1397052259","filename":"file5"},{"photo_id":"1397052256","filename":"file2"},{"photo_id":"1397052258","filename":"file4"},{"photo_id":"1397052242","filename":"file1"},{"photo_id":"1397052232","filename":"file0"},{"photo_id":"1397052257","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052256":["hashtag1","hashtag2"]},{"1397052259":["hashtag1","hashtag2"]},{"1397052232":["hashtag1","hashtag2"]},{"1397052258":["hashtag1","hashtag2"]},{"1397052257":["hashtag1","hashtag2"]},{"1397052242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052256, 1397052259, 1397052232, 1397052258, 1397052257, 1397052242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96609115600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:36:22.358004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_25_9744.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_35_9695.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_46_10585.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_55_9617.jpg', '/home/pi/Desktop/images/30112025/10/02/image_30112025_10_03_05_9876.jpg', '/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_16_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_25_9744.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_35_9695.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_46_10585.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_02_55_9617.jpg
/home/pi/Desktop/images/30112025/10/02/image_30112025_10_03_05_9876.jpg
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_16_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052262","1397052264","1397052269","1397052266","1397052271","1397052268"],"photo_ids_order":["1397052262","1397052264","1397052266","1397052268","1397052269","1397052271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc43836ab329819ab9a49dce7117562a.jpg","text":"TemporaryFile(/tmp/multipartBody8457046381254396641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_02_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/639dcb61f9f7687d85f5025608450a95.jpg","text":"TemporaryFile(/tmp/multipartBody4108426821416665077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_02_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbc9d1ede5e26d706e37a25e338b01a0.jpg","text":"TemporaryFile(/tmp/multipartBody6949014428720125109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_03_05_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a1b4fccae922e6a56204d8a8900a60a.jpg","text":"TemporaryFile(/tmp/multipartBody173527447144217008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_02_46_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90c93a33731b5a64b71f2939b1659088.jpg","text":"TemporaryFile(/tmp/multipartBody1430296289443989411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_03_16_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf29dbcd040239c55408afbac5c5e7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2541938804275096107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502643109,"filename":"image_30112025_10_02_55_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052266","file1":"1397052264","file0":"1397052262","file4":"1397052269","file5":"1397052271","file3":"1397052268"},"map_files_photo_id_array":[{"photo_id":"1397052271","filename":"file5"},{"photo_id":"1397052266","filename":"file2"},{"photo_id":"1397052269","filename":"file4"},{"photo_id":"1397052264","filename":"file1"},{"photo_id":"1397052262","filename":"file0"},{"photo_id":"1397052268","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052262":["hashtag1","hashtag2"]},{"1397052264":["hashtag1","hashtag2"]},{"1397052269":["hashtag1","hashtag2"]},{"1397052266":["hashtag1","hashtag2"]},{"1397052271":["hashtag1","hashtag2"]},{"1397052268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052262, 1397052264, 1397052269, 1397052266, 1397052271, 1397052268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566243171691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:37:03.056693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_25_9622.jpg', '/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_35_9734.jpg', '/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_45_9791.jpg', '/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_56_10783.jpg', '/home/pi/Desktop/images/30112025/10/03/image_30112025_10_04_06_9784.jpg', '/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_15_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_25_9622.jpg
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_35_9734.jpg
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_45_9791.jpg
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_03_56_10783.jpg
/home/pi/Desktop/images/30112025/10/03/image_30112025_10_04_06_9784.jpg
/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_15_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052282","1397052276","1397052279","1397052273","1397052272","1397052274"],"photo_ids_order":["1397052272","1397052273","1397052274","1397052276","1397052279","1397052282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31295a66bed05b587776f3bac865c36d.jpg","text":"TemporaryFile(/tmp/multipartBody279461700208201908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_04_15_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/943cc5369fdf7e7ad0ab6fbe2c1f0f47.jpg","text":"TemporaryFile(/tmp/multipartBody2053728287548163636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_03_56_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2f0c21edbfd48074f85ffac1c4bdc80.jpg","text":"TemporaryFile(/tmp/multipartBody2777337133682021959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_04_06_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26ec094f7ecf5c16b4418eb62b0039e0.jpg","text":"TemporaryFile(/tmp/multipartBody8641531546047933725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_03_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1834f5969ebba21ce30d6dcdc8fa35c0.jpg","text":"TemporaryFile(/tmp/multipartBody4551556822706562184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_03_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bc44eb25bda3bb74c9eb83178652c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4711795525478827012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502683894,"filename":"image_30112025_10_03_45_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052274","file1":"1397052273","file0":"1397052272","file4":"1397052279","file5":"1397052282","file3":"1397052276"},"map_files_photo_id_array":[{"photo_id":"1397052282","filename":"file5"},{"photo_id":"1397052274","filename":"file2"},{"photo_id":"1397052279","filename":"file4"},{"photo_id":"1397052273","filename":"file1"},{"photo_id":"1397052272","filename":"file0"},{"photo_id":"1397052276","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052282":["hashtag1","hashtag2"]},{"1397052276":["hashtag1","hashtag2"]},{"1397052279":["hashtag1","hashtag2"]},{"1397052273":["hashtag1","hashtag2"]},{"1397052272":["hashtag1","hashtag2"]},{"1397052274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052282, 1397052276, 1397052279, 1397052273, 1397052272, 1397052274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.943886518478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:37:42.554920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/40/image_31102025_12_40_07_2664.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_10_3579.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_13_2590.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_16_2771.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_19_3590.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_22_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_07_2664.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_10_3579.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_13_2590.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_16_2771.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_19_3590.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_22_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052291","1397052288","1397052287","1397052284","1397052286","1397052289"],"photo_ids_order":["1397052284","1397052286","1397052287","1397052288","1397052289","1397052291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14ee3cfdfd497e67fdf9d04b903fdccf.jpg","text":"TemporaryFile(/tmp/multipartBody3543603600528254231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_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/30/405ae0756fe53073a02498dbdedbd116.jpg","text":"TemporaryFile(/tmp/multipartBody8651973052886758500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_16_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/30/742ef2429bc52d7b6b4cd6289a858397.jpg","text":"TemporaryFile(/tmp/multipartBody6106633921597590817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_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/30/03ee81121b49c64050b1173aa3c28cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2230681018190315252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_07_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff640468ae33e48b837f0b0a7f577c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5819449765484074539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_10_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59e6506146ce70e78ea728587895382f.jpg","text":"TemporaryFile(/tmp/multipartBody3663446763442385466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502723447,"filename":"image_31102025_12_40_19_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052287","file1":"1397052286","file0":"1397052284","file4":"1397052289","file5":"1397052291","file3":"1397052288"},"map_files_photo_id_array":[{"photo_id":"1397052291","filename":"file5"},{"photo_id":"1397052287","filename":"file2"},{"photo_id":"1397052289","filename":"file4"},{"photo_id":"1397052286","filename":"file1"},{"photo_id":"1397052284","filename":"file0"},{"photo_id":"1397052288","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052291":["hashtag1","hashtag2"]},{"1397052288":["hashtag1","hashtag2"]},{"1397052287":["hashtag1","hashtag2"]},{"1397052284":["hashtag1","hashtag2"]},{"1397052286":["hashtag1","hashtag2"]},{"1397052289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052291, 1397052288, 1397052287, 1397052284, 1397052286, 1397052289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.729644536972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:38:22.781928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_25_9741.jpg', '/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_36_10755.jpg', '/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_46_9768.jpg', '/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_55_9568.jpg', '/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_13_10058.jpg', '/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_24_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_25_9741.jpg
/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_36_10755.jpg
/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_46_9768.jpg
/home/pi/Desktop/images/30112025/10/04/image_30112025_10_04_55_9568.jpg
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_13_10058.jpg
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_24_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052301","1397052300","1397052299","1397052298","1397052302","1397052295"],"photo_ids_order":["1397052295","1397052298","1397052299","1397052300","1397052301","1397052302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82ba37678496a52b4679d81f9f7267f7.jpg","text":"TemporaryFile(/tmp/multipartBody6400194460106923017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_05_13_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b688c8996af9dbe29c53d5638ad5571.jpg","text":"TemporaryFile(/tmp/multipartBody3523641562885681804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_04_55_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea5509d46f21cab150540481b9c1b619.jpg","text":"TemporaryFile(/tmp/multipartBody4921375320118324775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_04_46_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb6aad7a49326edd4fdd8bb9ffb14777.jpg","text":"TemporaryFile(/tmp/multipartBody1719083000047040406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_04_36_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94c67e989c9ef65786423eae223f31e0.jpg","text":"TemporaryFile(/tmp/multipartBody5941869094810121763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_05_24_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fe8e820d72e98ce481a660bfd248761.jpg","text":"TemporaryFile(/tmp/multipartBody1308549215140217665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502763491,"filename":"image_30112025_10_04_25_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052299","file1":"1397052298","file0":"1397052295","file4":"1397052301","file5":"1397052302","file3":"1397052300"},"map_files_photo_id_array":[{"photo_id":"1397052302","filename":"file5"},{"photo_id":"1397052299","filename":"file2"},{"photo_id":"1397052301","filename":"file4"},{"photo_id":"1397052298","filename":"file1"},{"photo_id":"1397052295","filename":"file0"},{"photo_id":"1397052300","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052301":["hashtag1","hashtag2"]},{"1397052300":["hashtag1","hashtag2"]},{"1397052299":["hashtag1","hashtag2"]},{"1397052298":["hashtag1","hashtag2"]},{"1397052302":["hashtag1","hashtag2"]},{"1397052295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052301, 1397052300, 1397052299, 1397052298, 1397052302, 1397052295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14299750328064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:39:02.755552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_34_9814.jpg', '/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_44_9747.jpg', '/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_54_9835.jpg', '/home/pi/Desktop/images/30112025/10/05/image_30112025_10_06_03_9841.jpg', '/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_14_10769.jpg', '/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_34_9814.jpg
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_44_9747.jpg
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_05_54_9835.jpg
/home/pi/Desktop/images/30112025/10/05/image_30112025_10_06_03_9841.jpg
/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_14_10769.jpg
/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_24_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052328","1397052325","1397052330","1397052333","1397052327","1397052326"],"photo_ids_order":["1397052325","1397052326","1397052327","1397052328","1397052330","1397052333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60211638349e65428bb22c39516890ec.jpg","text":"TemporaryFile(/tmp/multipartBody1256778352072970481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_06_03_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/413857f1ee4bc01afc78181b4930a566.jpg","text":"TemporaryFile(/tmp/multipartBody3049439055319021733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_05_34_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a3ca8b6d9da455f96b853e1c250405a.jpg","text":"TemporaryFile(/tmp/multipartBody7461939413567534906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_06_14_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb3f5325405ef9b3477de768d504fe22.jpg","text":"TemporaryFile(/tmp/multipartBody190437972827652068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_06_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a333075ba865563b18111861b0299cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6166358554858626062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_05_54_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be50786eeaeb6125c7891ec74e4bc2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1940583371556656352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502803835,"filename":"image_30112025_10_05_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052327","file1":"1397052326","file0":"1397052325","file4":"1397052330","file5":"1397052333","file3":"1397052328"},"map_files_photo_id_array":[{"photo_id":"1397052333","filename":"file5"},{"photo_id":"1397052327","filename":"file2"},{"photo_id":"1397052330","filename":"file4"},{"photo_id":"1397052326","filename":"file1"},{"photo_id":"1397052325","filename":"file0"},{"photo_id":"1397052328","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052328":["hashtag1","hashtag2"]},{"1397052325":["hashtag1","hashtag2"]},{"1397052330":["hashtag1","hashtag2"]},{"1397052333":["hashtag1","hashtag2"]},{"1397052327":["hashtag1","hashtag2"]},{"1397052326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052328, 1397052325, 1397052330, 1397052333, 1397052327, 1397052326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37745666503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:39:41.973193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/40/image_31102025_12_40_25_2598.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_28_3641.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_31_2659.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_34_2706.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_37_3702.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_40_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_25_2598.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_28_3641.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_31_2659.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_34_2706.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_37_3702.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_40_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":["1397052340","1397052343","1397052337","1397052339","1397052342","1397052341"],"photo_ids_order":["1397052337","1397052339","1397052340","1397052341","1397052342","1397052343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f9994a0d32871ce7dd1c2267918b012.jpg","text":"TemporaryFile(/tmp/multipartBody6131902273567580857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_31_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71e5fbac1b6f3c85c1ffc8254b96754f.jpg","text":"TemporaryFile(/tmp/multipartBody8364865822418226932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_40_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/30/bf70ce037671755fbb9e1983448d9899.jpg","text":"TemporaryFile(/tmp/multipartBody1633923625470126087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_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/30/fc8b2c3d01fe305afab0a909ec668d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3591413886210413485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_28_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/30/a17550062242b2f50755a1088ddefb00.jpg","text":"TemporaryFile(/tmp/multipartBody8810940633546095722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_37_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/30/159eafe1d54f42d4788337b9d49b2ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2214270587196545713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502842914,"filename":"image_31102025_12_40_34_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052340","file1":"1397052339","file0":"1397052337","file4":"1397052342","file5":"1397052343","file3":"1397052341"},"map_files_photo_id_array":[{"photo_id":"1397052343","filename":"file5"},{"photo_id":"1397052340","filename":"file2"},{"photo_id":"1397052342","filename":"file4"},{"photo_id":"1397052339","filename":"file1"},{"photo_id":"1397052337","filename":"file0"},{"photo_id":"1397052341","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052340":["hashtag1","hashtag2"]},{"1397052343":["hashtag1","hashtag2"]},{"1397052337":["hashtag1","hashtag2"]},{"1397052339":["hashtag1","hashtag2"]},{"1397052342":["hashtag1","hashtag2"]},{"1397052341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052340, 1397052343, 1397052337, 1397052339, 1397052342, 1397052341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05825448036194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:40:22.129697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_34_9894.jpg', '/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_54_10744.jpg', '/home/pi/Desktop/images/30112025/10/06/image_30112025_10_07_04_9694.jpg', '/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_14_9775.jpg', '/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_23_9635.jpg', '/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_34_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_34_9894.jpg
/home/pi/Desktop/images/30112025/10/06/image_30112025_10_06_54_10744.jpg
/home/pi/Desktop/images/30112025/10/06/image_30112025_10_07_04_9694.jpg
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_14_9775.jpg
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_23_9635.jpg
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_34_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052355","1397052349","1397052357","1397052351","1397052353","1397052346"],"photo_ids_order":["1397052346","1397052349","1397052351","1397052353","1397052355","1397052357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afcc5e3652bcc4b4708194d102e5f212.jpg","text":"TemporaryFile(/tmp/multipartBody7030062138094686853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_07_23_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b5f7f6ccd11d71966895796c0ba63e3.jpg","text":"TemporaryFile(/tmp/multipartBody1514974138465263092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_06_54_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3463201ca22a98775dcd0bf477a2853.jpg","text":"TemporaryFile(/tmp/multipartBody8088807719159505349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_07_34_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/994cac8f9089f40ddafb473c834df1c7.jpg","text":"TemporaryFile(/tmp/multipartBody4749114754869222556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_07_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1105e856bc25935e38b135c0cc54609d.jpg","text":"TemporaryFile(/tmp/multipartBody6655160543896471308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_07_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9a8b11ad2c8f0857b47c555807be823.jpg","text":"TemporaryFile(/tmp/multipartBody7022868976513506887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502882923,"filename":"image_30112025_10_06_34_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052351","file1":"1397052349","file0":"1397052346","file4":"1397052355","file5":"1397052357","file3":"1397052353"},"map_files_photo_id_array":[{"photo_id":"1397052357","filename":"file5"},{"photo_id":"1397052351","filename":"file2"},{"photo_id":"1397052355","filename":"file4"},{"photo_id":"1397052349","filename":"file1"},{"photo_id":"1397052346","filename":"file0"},{"photo_id":"1397052353","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052355":["hashtag1","hashtag2"]},{"1397052349":["hashtag1","hashtag2"]},{"1397052357":["hashtag1","hashtag2"]},{"1397052351":["hashtag1","hashtag2"]},{"1397052353":["hashtag1","hashtag2"]},{"1397052346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052355, 1397052349, 1397052357, 1397052351, 1397052353, 1397052346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21883487701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:41:03.014450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_44_9589.jpg', '/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_53_9691.jpg', '/home/pi/Desktop/images/30112025/10/07/image_30112025_10_08_04_10842.jpg', '/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_14_9805.jpg', '/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_24_9654.jpg', '/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_33_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_44_9589.jpg
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_07_53_9691.jpg
/home/pi/Desktop/images/30112025/10/07/image_30112025_10_08_04_10842.jpg
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_14_9805.jpg
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_24_9654.jpg
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_33_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052361","1397052358","1397052363","1397052366","1397052360","1397052359"],"photo_ids_order":["1397052358","1397052359","1397052360","1397052361","1397052363","1397052366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ebacc3638af522998b1bbc074b08612.jpg","text":"TemporaryFile(/tmp/multipartBody6114685335018735923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_08_14_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7c20af210627c98949e2503aad47044.jpg","text":"TemporaryFile(/tmp/multipartBody3965711626026207906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_07_44_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75bd5a9d2c09701e824e5fba1b4c9336.jpg","text":"TemporaryFile(/tmp/multipartBody4087281380746171179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_08_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1fd5aeec362e33fcfa171e7089c733d2.jpg","text":"TemporaryFile(/tmp/multipartBody4911469935137697174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_08_33_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86fc79138ed84bc37e8f9868267bbee6.jpg","text":"TemporaryFile(/tmp/multipartBody6461251072168811587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_08_04_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/577458c39fe9d6e65f53d6b4a7adbd91.jpg","text":"TemporaryFile(/tmp/multipartBody7268257929707218618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502923840,"filename":"image_30112025_10_07_53_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052360","file1":"1397052359","file0":"1397052358","file4":"1397052363","file5":"1397052366","file3":"1397052361"},"map_files_photo_id_array":[{"photo_id":"1397052366","filename":"file5"},{"photo_id":"1397052360","filename":"file2"},{"photo_id":"1397052363","filename":"file4"},{"photo_id":"1397052359","filename":"file1"},{"photo_id":"1397052358","filename":"file0"},{"photo_id":"1397052361","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052361":["hashtag1","hashtag2"]},{"1397052358":["hashtag1","hashtag2"]},{"1397052363":["hashtag1","hashtag2"]},{"1397052366":["hashtag1","hashtag2"]},{"1397052360":["hashtag1","hashtag2"]},{"1397052359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052361, 1397052358, 1397052363, 1397052366, 1397052360, 1397052359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33646583557129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:41:42.322289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/40/image_31102025_12_40_43_2672.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_46_3669.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_49_2778.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_52_2747.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_55_3628.jpg', '/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_43_2672.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_46_3669.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_49_2778.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_52_2747.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_55_3628.jpg
/home/pi/Desktop/images/31102025/12/40/image_31102025_12_40_58_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":["1397052399","1397052372","1397052398","1397052371","1397052397","1397052401"],"photo_ids_order":["1397052371","1397052372","1397052397","1397052398","1397052399","1397052401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc6e96439a586e54dc9b746a5bd8f2a1.jpg","text":"TemporaryFile(/tmp/multipartBody3489685003226004983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_55_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/30/b7b6aa953f09e3cd4dfdeb768c617b75.jpg","text":"TemporaryFile(/tmp/multipartBody4187617766028462560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_46_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/30/6da6dbcd49f2876d33396852da7cc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody119741734406613141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_52_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0f7d419bf2210f9a931b57ac59ec66f.jpg","text":"TemporaryFile(/tmp/multipartBody7128304976312744651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69545bd73bc9125eeec1e3d2bb48cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody2580021403328249415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_49_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4215351fc3c76fa81ca22780903b2d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1551233016837918625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764502963215,"filename":"image_31102025_12_40_58_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052397","file1":"1397052372","file0":"1397052371","file4":"1397052399","file5":"1397052401","file3":"1397052398"},"map_files_photo_id_array":[{"photo_id":"1397052401","filename":"file5"},{"photo_id":"1397052397","filename":"file2"},{"photo_id":"1397052399","filename":"file4"},{"photo_id":"1397052372","filename":"file1"},{"photo_id":"1397052371","filename":"file0"},{"photo_id":"1397052398","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052399":["hashtag1","hashtag2"]},{"1397052372":["hashtag1","hashtag2"]},{"1397052398":["hashtag1","hashtag2"]},{"1397052371":["hashtag1","hashtag2"]},{"1397052397":["hashtag1","hashtag2"]},{"1397052401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052399, 1397052372, 1397052398, 1397052371, 1397052397, 1397052401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28198552131653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:42:22.535496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_44_10623.jpg', '/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_54_9779.jpg', '/home/pi/Desktop/images/30112025/10/08/image_30112025_10_09_04_9742.jpg', '/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_14_10686.jpg', '/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_24_9723.jpg', '/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_44_10623.jpg
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_08_54_9779.jpg
/home/pi/Desktop/images/30112025/10/08/image_30112025_10_09_04_9742.jpg
/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_14_10686.jpg
/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_24_9723.jpg
/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_34_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052409","1397052412","1397052411","1397052405","1397052410","1397052407"],"photo_ids_order":["1397052405","1397052407","1397052409","1397052410","1397052411","1397052412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb8557ccf3b16c047c220c3c201c15e6.jpg","text":"TemporaryFile(/tmp/multipartBody6854987159326854390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_09_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/381af6532b47bd2fb1003e0ebd60e05a.jpg","text":"TemporaryFile(/tmp/multipartBody6174794120308623759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_09_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07a9668ec6daf12faf865bdefbd12e65.jpg","text":"TemporaryFile(/tmp/multipartBody6685430686763307883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_09_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8677be6663db78ddc7ea8d6845d6a28f.jpg","text":"TemporaryFile(/tmp/multipartBody3480472448558089266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_08_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f65dab8ef736fa200620b457b01661e.jpg","text":"TemporaryFile(/tmp/multipartBody7116514656845275296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_09_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/242f054578c873d124a98dc7d7a9da41.jpg","text":"TemporaryFile(/tmp/multipartBody7118700045846341407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503003293,"filename":"image_30112025_10_08_54_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052409","file1":"1397052407","file0":"1397052405","file4":"1397052411","file5":"1397052412","file3":"1397052410"},"map_files_photo_id_array":[{"photo_id":"1397052412","filename":"file5"},{"photo_id":"1397052409","filename":"file2"},{"photo_id":"1397052411","filename":"file4"},{"photo_id":"1397052407","filename":"file1"},{"photo_id":"1397052405","filename":"file0"},{"photo_id":"1397052410","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052409":["hashtag1","hashtag2"]},{"1397052412":["hashtag1","hashtag2"]},{"1397052411":["hashtag1","hashtag2"]},{"1397052405":["hashtag1","hashtag2"]},{"1397052410":["hashtag1","hashtag2"]},{"1397052407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052409, 1397052412, 1397052411, 1397052405, 1397052410, 1397052407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.481685400009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:43:03.240140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_43_9640.jpg', '/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_54_10604.jpg', '/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_13_10031.jpg', '/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_24_10794.jpg', '/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_34_9561.jpg', '/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_43_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_43_9640.jpg
/home/pi/Desktop/images/30112025/10/09/image_30112025_10_09_54_10604.jpg
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_13_10031.jpg
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_24_10794.jpg
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_34_9561.jpg
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_43_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052421","1397052415","1397052414","1397052417","1397052419","1397052413"],"photo_ids_order":["1397052413","1397052414","1397052415","1397052417","1397052419","1397052421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/709bbf704300d7ff977db7f18559e856.jpg","text":"TemporaryFile(/tmp/multipartBody6073472854752252064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_11_43_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19fbf3986fb0f5d715da96eb29e234cd.jpg","text":"TemporaryFile(/tmp/multipartBody3227879016813371871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_11_13_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c2e30868a109178315897e3b2e6a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7969304104180078015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_09_54_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e59eb425a30f337c6e1718fdc6ddf81.jpg","text":"TemporaryFile(/tmp/multipartBody2610549290677507493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_11_24_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0c54e1865ca1a42f0eba41efd1d0060.jpg","text":"TemporaryFile(/tmp/multipartBody7515205823919663286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_11_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79d2d391a7aed5e38845da67075e48c2.jpg","text":"TemporaryFile(/tmp/multipartBody6768302719031196368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503044087,"filename":"image_30112025_10_09_43_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052415","file1":"1397052414","file0":"1397052413","file4":"1397052419","file5":"1397052421","file3":"1397052417"},"map_files_photo_id_array":[{"photo_id":"1397052421","filename":"file5"},{"photo_id":"1397052415","filename":"file2"},{"photo_id":"1397052419","filename":"file4"},{"photo_id":"1397052414","filename":"file1"},{"photo_id":"1397052413","filename":"file0"},{"photo_id":"1397052417","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052421":["hashtag1","hashtag2"]},{"1397052415":["hashtag1","hashtag2"]},{"1397052414":["hashtag1","hashtag2"]},{"1397052417":["hashtag1","hashtag2"]},{"1397052419":["hashtag1","hashtag2"]},{"1397052413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052421, 1397052415, 1397052414, 1397052417, 1397052419, 1397052413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50242257118225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:43:42.647549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/41/image_31102025_12_41_01_2705.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_03_2747.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_07_3942.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_13_2816.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_19_3649.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_22_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_01_2705.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_03_2747.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_07_3942.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_13_2816.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_19_3649.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_22_2629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052427","1397052424","1397052426","1397052423","1397052425","1397052428"],"photo_ids_order":["1397052423","1397052424","1397052425","1397052426","1397052427","1397052428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64736004f6371bf981626f322da35cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5555259311292034610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_19_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/30/1cf46d2f47f7c092a82625bb7c82ce58.jpg","text":"TemporaryFile(/tmp/multipartBody5891139592619250299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_03_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/30/5db2fcdf061514d3a08257d933e8affa.jpg","text":"TemporaryFile(/tmp/multipartBody8467801563928551224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_13_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/30/d8ae88d0aa49d241971defca07431ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2693640787576418317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_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/30/418d90dd878b8f4696dbb6e1dca179bd.jpg","text":"TemporaryFile(/tmp/multipartBody5541854682717153051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_07_3942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9988c2baf43b271a5cf0f24c5cd76006.jpg","text":"TemporaryFile(/tmp/multipartBody5909772611779540572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503083593,"filename":"image_31102025_12_41_22_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052425","file1":"1397052424","file0":"1397052423","file4":"1397052427","file5":"1397052428","file3":"1397052426"},"map_files_photo_id_array":[{"photo_id":"1397052428","filename":"file5"},{"photo_id":"1397052425","filename":"file2"},{"photo_id":"1397052427","filename":"file4"},{"photo_id":"1397052424","filename":"file1"},{"photo_id":"1397052423","filename":"file0"},{"photo_id":"1397052426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052427":["hashtag1","hashtag2"]},{"1397052424":["hashtag1","hashtag2"]},{"1397052426":["hashtag1","hashtag2"]},{"1397052423":["hashtag1","hashtag2"]},{"1397052425":["hashtag1","hashtag2"]},{"1397052428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052427, 1397052424, 1397052426, 1397052423, 1397052425, 1397052428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86658978462219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:44:22.836488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_54_10693.jpg', '/home/pi/Desktop/images/30112025/10/11/image_30112025_10_12_04_9740.jpg', '/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_13_9639.jpg', '/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_24_10776.jpg', '/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_34_9604.jpg', '/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_44_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_11_54_10693.jpg
/home/pi/Desktop/images/30112025/10/11/image_30112025_10_12_04_9740.jpg
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_13_9639.jpg
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_24_10776.jpg
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_34_9604.jpg
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_44_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052433","1397052436","1397052450","1397052438","1397052440","1397052443"],"photo_ids_order":["1397052433","1397052436","1397052438","1397052440","1397052443","1397052450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b11046155d5691f72b6bd53826924e03.jpg","text":"TemporaryFile(/tmp/multipartBody6011664745124560146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_11_54_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4923354ae127315c4630c1689fd38b2.jpg","text":"TemporaryFile(/tmp/multipartBody6689907356527970033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_12_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/962e098b5c0bc3d654edee2c9facbba8.jpg","text":"TemporaryFile(/tmp/multipartBody6404537234584192935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_12_44_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c2b39ccb7bfd49c3f3535820050add2.jpg","text":"TemporaryFile(/tmp/multipartBody2400422412429710109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_12_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b542c6c002ac72069128d763b81f061a.jpg","text":"TemporaryFile(/tmp/multipartBody4847306879640417253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_12_24_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe32edd32dba63870fe4c9a996ddd9a4.jpg","text":"TemporaryFile(/tmp/multipartBody148563029190435737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503123591,"filename":"image_30112025_10_12_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052438","file1":"1397052436","file0":"1397052433","file4":"1397052443","file5":"1397052450","file3":"1397052440"},"map_files_photo_id_array":[{"photo_id":"1397052450","filename":"file5"},{"photo_id":"1397052438","filename":"file2"},{"photo_id":"1397052443","filename":"file4"},{"photo_id":"1397052436","filename":"file1"},{"photo_id":"1397052433","filename":"file0"},{"photo_id":"1397052440","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052433":["hashtag1","hashtag2"]},{"1397052436":["hashtag1","hashtag2"]},{"1397052450":["hashtag1","hashtag2"]},{"1397052438":["hashtag1","hashtag2"]},{"1397052440":["hashtag1","hashtag2"]},{"1397052443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052433, 1397052436, 1397052450, 1397052438, 1397052440, 1397052443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.938838481903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:45:02.828275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_53_9706.jpg', '/home/pi/Desktop/images/30112025/10/12/image_30112025_10_13_04_10732.jpg', '/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_14_9574.jpg', '/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_27_13705.jpg', '/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_34_6671.jpg', '/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_12_53_9706.jpg
/home/pi/Desktop/images/30112025/10/12/image_30112025_10_13_04_10732.jpg
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_14_9574.jpg
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_27_13705.jpg
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_34_6671.jpg
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_44_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052469","1397052468","1397052467","1397052476","1397052470","1397052472"],"photo_ids_order":["1397052467","1397052468","1397052469","1397052470","1397052472","1397052476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4af8ca7a94251c43bd62083ae2dde95.jpg","text":"TemporaryFile(/tmp/multipartBody6940433306679138733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_13_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b556eb3beae4dcdf089fe984e1b27ca.jpg","text":"TemporaryFile(/tmp/multipartBody1186030599124002620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_13_04_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6c0cdfa55880e8b2d6c52ec9146cf74.jpg","text":"TemporaryFile(/tmp/multipartBody7817500480198742736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_12_53_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5eb9c4c2a0b9480f367f639d66e0f491.jpg","text":"TemporaryFile(/tmp/multipartBody8652387649575076416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_13_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f103f74873bf7e61f5b62d72144d8673.jpg","text":"TemporaryFile(/tmp/multipartBody4875476268875855036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_13_27_13705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83881057aef37b27c362cb90b3d4d4df.jpg","text":"TemporaryFile(/tmp/multipartBody4827713271969467923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503163634,"filename":"image_30112025_10_13_34_6671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052469","file1":"1397052468","file0":"1397052467","file4":"1397052472","file5":"1397052476","file3":"1397052470"},"map_files_photo_id_array":[{"photo_id":"1397052476","filename":"file5"},{"photo_id":"1397052469","filename":"file2"},{"photo_id":"1397052472","filename":"file4"},{"photo_id":"1397052468","filename":"file1"},{"photo_id":"1397052467","filename":"file0"},{"photo_id":"1397052470","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052469":["hashtag1","hashtag2"]},{"1397052468":["hashtag1","hashtag2"]},{"1397052467":["hashtag1","hashtag2"]},{"1397052476":["hashtag1","hashtag2"]},{"1397052470":["hashtag1","hashtag2"]},{"1397052472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052469, 1397052468, 1397052467, 1397052476, 1397052470, 1397052472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46679162979126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:45:42.048923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/41/image_31102025_12_41_24_2652.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_28_3655.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_31_2779.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_33_2536.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_37_3787.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_40_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_24_2652.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_28_3655.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_31_2779.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_33_2536.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_37_3787.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_40_2808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052486","1397052485","1397052488","1397052482","1397052484","1397052487"],"photo_ids_order":["1397052482","1397052484","1397052485","1397052486","1397052487","1397052488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e274ee4f29b150ad37a69bc7ef815b55.jpg","text":"TemporaryFile(/tmp/multipartBody5561242804970865822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_33_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/30/ffaf8c03b963e7f98741966e008f1023.jpg","text":"TemporaryFile(/tmp/multipartBody4608059151750691908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_31_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/606af291cbdc07ca99481b59712e3806.jpg","text":"TemporaryFile(/tmp/multipartBody2716925854410748755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_40_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/30/7f3f876ee81d289c844ae7ecec24f7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1552670147856544547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_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/30/ab8fbc3f740c8dbb2f8b20c472d113c2.jpg","text":"TemporaryFile(/tmp/multipartBody3817254006270727801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_28_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/30/d1acdc4aa420f6ddc590125ef02f3512.jpg","text":"TemporaryFile(/tmp/multipartBody4410597421514384075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503202997,"filename":"image_31102025_12_41_37_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052485","file1":"1397052484","file0":"1397052482","file4":"1397052487","file5":"1397052488","file3":"1397052486"},"map_files_photo_id_array":[{"photo_id":"1397052488","filename":"file5"},{"photo_id":"1397052485","filename":"file2"},{"photo_id":"1397052487","filename":"file4"},{"photo_id":"1397052484","filename":"file1"},{"photo_id":"1397052482","filename":"file0"},{"photo_id":"1397052486","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052486":["hashtag1","hashtag2"]},{"1397052485":["hashtag1","hashtag2"]},{"1397052488":["hashtag1","hashtag2"]},{"1397052482":["hashtag1","hashtag2"]},{"1397052484":["hashtag1","hashtag2"]},{"1397052487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052486, 1397052485, 1397052488, 1397052482, 1397052484, 1397052487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86625909805298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:46:22.328214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_53_9700.jpg', '/home/pi/Desktop/images/30112025/10/13/image_30112025_10_14_04_10645.jpg', '/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_14_9617.jpg', '/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_23_9773.jpg', '/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_34_10606.jpg', '/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_13_53_9700.jpg
/home/pi/Desktop/images/30112025/10/13/image_30112025_10_14_04_10645.jpg
/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_14_9617.jpg
/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_23_9773.jpg
/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_34_10606.jpg
/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052492","1397052498","1397052501","1397052494","1397052503","1397052496"],"photo_ids_order":["1397052492","1397052494","1397052496","1397052498","1397052501","1397052503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad093701fae6b1dea6d0a1bcea5291bd.jpg","text":"TemporaryFile(/tmp/multipartBody8957042944016942360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_13_53_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef603bffba16bfee67c6dc4926ca3008.jpg","text":"TemporaryFile(/tmp/multipartBody7964250511941274514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_14_23_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b9f6ff5b62d200d3194f9d7e6dd72ee.jpg","text":"TemporaryFile(/tmp/multipartBody6927402490726826782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_14_34_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e7d2506079509e1be5024ba28a0c49a.jpg","text":"TemporaryFile(/tmp/multipartBody8330258064077892415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_14_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe015e376716bb3d72cecc2c77ebb7f9.jpg","text":"TemporaryFile(/tmp/multipartBody6612480006258547216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_14_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3019cacf40c8053220e8df3cc2d2ce5.jpg","text":"TemporaryFile(/tmp/multipartBody81093536102434089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503243080,"filename":"image_30112025_10_14_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052496","file1":"1397052494","file0":"1397052492","file4":"1397052501","file5":"1397052503","file3":"1397052498"},"map_files_photo_id_array":[{"photo_id":"1397052503","filename":"file5"},{"photo_id":"1397052496","filename":"file2"},{"photo_id":"1397052501","filename":"file4"},{"photo_id":"1397052494","filename":"file1"},{"photo_id":"1397052492","filename":"file0"},{"photo_id":"1397052498","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052492":["hashtag1","hashtag2"]},{"1397052498":["hashtag1","hashtag2"]},{"1397052501":["hashtag1","hashtag2"]},{"1397052494":["hashtag1","hashtag2"]},{"1397052503":["hashtag1","hashtag2"]},{"1397052496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052492, 1397052498, 1397052501, 1397052494, 1397052503, 1397052496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.000699281692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:47:03.131081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_53_9710.jpg', '/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_14_10100.jpg', '/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_24_10584.jpg', '/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_34_9644.jpg', '/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_45_10659.jpg', '/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_54_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/14/image_30112025_10_14_53_9710.jpg
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_14_10100.jpg
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_24_10584.jpg
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_34_9644.jpg
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_45_10659.jpg
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_16_54_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052508","1397052511","1397052505","1397052507","1397052512","1397052506"],"photo_ids_order":["1397052505","1397052506","1397052507","1397052508","1397052511","1397052512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffa6551460b085049032d73d196938f4.jpg","text":"TemporaryFile(/tmp/multipartBody4611313784201334647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_16_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f1696e39bb26466586456cc23b924ad.jpg","text":"TemporaryFile(/tmp/multipartBody8485657202993319852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_16_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b929d5fdbc098c10cc44dc04d412cb77.jpg","text":"TemporaryFile(/tmp/multipartBody1686675242038279998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_14_53_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d372244d5e0584425492c18ebae8b885.jpg","text":"TemporaryFile(/tmp/multipartBody20880785878094341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_16_24_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c50d0e1f2da2311c1bd242e3f77220e.jpg","text":"TemporaryFile(/tmp/multipartBody103968039141502192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_16_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33b3286649c0568b25ed031413aec6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3527744529586443317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503283989,"filename":"image_30112025_10_16_14_10100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052507","file1":"1397052506","file0":"1397052505","file4":"1397052511","file5":"1397052512","file3":"1397052508"},"map_files_photo_id_array":[{"photo_id":"1397052512","filename":"file5"},{"photo_id":"1397052507","filename":"file2"},{"photo_id":"1397052511","filename":"file4"},{"photo_id":"1397052506","filename":"file1"},{"photo_id":"1397052505","filename":"file0"},{"photo_id":"1397052508","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052508":["hashtag1","hashtag2"]},{"1397052511":["hashtag1","hashtag2"]},{"1397052505":["hashtag1","hashtag2"]},{"1397052507":["hashtag1","hashtag2"]},{"1397052512":["hashtag1","hashtag2"]},{"1397052506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052508, 1397052511, 1397052505, 1397052507, 1397052512, 1397052506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362305879592896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:47:42.385912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/41/image_31102025_12_41_43_2779.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_45_2604.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_49_3659.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_52_2898.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_55_2832.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_57_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_43_2779.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_45_2604.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_49_3659.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_52_2898.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_55_2832.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_57_2546.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.836768627166748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:48:03.024148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/16/image_30112025_10_17_04_9762.jpg', '/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_14_9675.jpg', '/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_24_10622.jpg', '/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_34_9705.jpg', '/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_44_9776.jpg', '/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/16/image_30112025_10_17_04_9762.jpg
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_14_9675.jpg
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_24_10622.jpg
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_34_9705.jpg
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_44_9776.jpg
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_17_55_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052520","1397052519","1397052522","1397052521","1397052524","1397052527"],"photo_ids_order":["1397052519","1397052520","1397052521","1397052522","1397052524","1397052527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1bddfdbe5261747954201ee1631fe50.jpg","text":"TemporaryFile(/tmp/multipartBody8368395665585531908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e45a2165dbab2feaff9808da2efe3214.jpg","text":"TemporaryFile(/tmp/multipartBody5626038933562072107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2dfcdaec3797b40bf16038880df42944.jpg","text":"TemporaryFile(/tmp/multipartBody7163477479182747657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1dcada853d61420a9207610d82cd389.jpg","text":"TemporaryFile(/tmp/multipartBody5228639120959685538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0667de4b4f6d0b415d188c635db985ce.jpg","text":"TemporaryFile(/tmp/multipartBody749924303632238153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52e31f3a6d63766304d7de156f6f5665.jpg","text":"TemporaryFile(/tmp/multipartBody6667612739815167847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503343819,"filename":"image_30112025_10_17_55_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052521","file1":"1397052520","file0":"1397052519","file4":"1397052524","file5":"1397052527","file3":"1397052522"},"map_files_photo_id_array":[{"photo_id":"1397052527","filename":"file5"},{"photo_id":"1397052521","filename":"file2"},{"photo_id":"1397052524","filename":"file4"},{"photo_id":"1397052520","filename":"file1"},{"photo_id":"1397052519","filename":"file0"},{"photo_id":"1397052522","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052520":["hashtag1","hashtag2"]},{"1397052519":["hashtag1","hashtag2"]},{"1397052522":["hashtag1","hashtag2"]},{"1397052521":["hashtag1","hashtag2"]},{"1397052524":["hashtag1","hashtag2"]},{"1397052527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052520, 1397052519, 1397052522, 1397052521, 1397052524, 1397052527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.290447473526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:48:42.536658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/41/image_31102025_12_41_43_2779.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_45_2604.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_49_3659.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_52_2898.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_55_2832.jpg', '/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_57_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_43_2779.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_45_2604.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_49_3659.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_52_2898.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_55_2832.jpg
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_41_57_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052535","1397052537","1397052531","1397052534","1397052536","1397052533"],"photo_ids_order":["1397052531","1397052533","1397052534","1397052535","1397052536","1397052537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2aee3dd4cb3f50df48c06d91b92c5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7954709750372765100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_52_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/30/51ea846979295f59daffb3cedf54b680.jpg","text":"TemporaryFile(/tmp/multipartBody3341564844635524572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_57_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/30/6541dce8997cdb298ecc01284830b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7977669320156676645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_43_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2eb043ebab67a72d53d66bec08a6d042.jpg","text":"TemporaryFile(/tmp/multipartBody5918810746390108119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_49_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/30/de5c7ffe1b0b6ad22b4384c7150a3421.jpg","text":"TemporaryFile(/tmp/multipartBody665631845264810143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_55_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/860fb45cc89ac82c8688a2d1f63dff98.jpg","text":"TemporaryFile(/tmp/multipartBody1017162525875673574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503383309,"filename":"image_31102025_12_41_45_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052534","file1":"1397052533","file0":"1397052531","file4":"1397052536","file5":"1397052537","file3":"1397052535"},"map_files_photo_id_array":[{"photo_id":"1397052537","filename":"file5"},{"photo_id":"1397052534","filename":"file2"},{"photo_id":"1397052536","filename":"file4"},{"photo_id":"1397052533","filename":"file1"},{"photo_id":"1397052531","filename":"file0"},{"photo_id":"1397052535","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052535":["hashtag1","hashtag2"]},{"1397052537":["hashtag1","hashtag2"]},{"1397052531":["hashtag1","hashtag2"]},{"1397052534":["hashtag1","hashtag2"]},{"1397052536":["hashtag1","hashtag2"]},{"1397052533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052535, 1397052537, 1397052531, 1397052534, 1397052536, 1397052533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24260139465332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:49:22.672455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/17/image_30112025_10_18_04_9791.jpg', '/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_14_9728.jpg', '/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_24_9550.jpg', '/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_35_10822.jpg', '/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_44_9637.jpg', '/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/17/image_30112025_10_18_04_9791.jpg
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_14_9728.jpg
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_24_9550.jpg
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_35_10822.jpg
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_44_9637.jpg
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_18_54_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052547","1397052541","1397052543","1397052546","1397052549","1397052545"],"photo_ids_order":["1397052541","1397052543","1397052545","1397052546","1397052547","1397052549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2f792fad85c5abf5c4739c2b11f8757.jpg","text":"TemporaryFile(/tmp/multipartBody617842829744440501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9bbfa5e2e05ad6508707dd1e0ac34d9.jpg","text":"TemporaryFile(/tmp/multipartBody7988599944069152098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4deb9de7bc9b7a73b3f6fc1de649f45d.jpg","text":"TemporaryFile(/tmp/multipartBody1294497346623316902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c632a83726b4cbb190f2becae8b56779.jpg","text":"TemporaryFile(/tmp/multipartBody7673522777727906868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_35_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d80492611a1c256520198cffe42875d2.jpg","text":"TemporaryFile(/tmp/multipartBody1851182111795083103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25277d12b1ff876c0253be9c6da47b58.jpg","text":"TemporaryFile(/tmp/multipartBody320639781196811277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503423433,"filename":"image_30112025_10_18_24_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052545","file1":"1397052543","file0":"1397052541","file4":"1397052547","file5":"1397052549","file3":"1397052546"},"map_files_photo_id_array":[{"photo_id":"1397052549","filename":"file5"},{"photo_id":"1397052545","filename":"file2"},{"photo_id":"1397052547","filename":"file4"},{"photo_id":"1397052543","filename":"file1"},{"photo_id":"1397052541","filename":"file0"},{"photo_id":"1397052546","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052547":["hashtag1","hashtag2"]},{"1397052541":["hashtag1","hashtag2"]},{"1397052543":["hashtag1","hashtag2"]},{"1397052546":["hashtag1","hashtag2"]},{"1397052549":["hashtag1","hashtag2"]},{"1397052545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052547, 1397052541, 1397052543, 1397052546, 1397052549, 1397052545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16315317153931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:50:02.292648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/18/image_30112025_10_19_04_9854.jpg', '/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_14_10122.jpg', '/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_24_10594.jpg', '/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_34_10014.jpg', '/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_44_9789.jpg', '/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_14_10203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/18/image_30112025_10_19_04_9854.jpg
/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_14_10122.jpg
/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_24_10594.jpg
/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_34_10014.jpg
/home/pi/Desktop/images/30112025/10/19/image_30112025_10_19_44_9789.jpg
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_14_10203.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052553","1397052556","1397052552","1397052554","1397052551","1397052559"],"photo_ids_order":["1397052551","1397052552","1397052553","1397052554","1397052556","1397052559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2375ce444a21ea0abcbb7c11e53ba299.jpg","text":"TemporaryFile(/tmp/multipartBody7191720218988655368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_19_24_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8ce9ac3c14c3b885b4b83b7ef7ec1c9.jpg","text":"TemporaryFile(/tmp/multipartBody1761665508654959453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_19_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64e424fc5fed64e1d68f6c1690cfd1cd.jpg","text":"TemporaryFile(/tmp/multipartBody8637484395784287731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_19_14_10122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d8049e409158bd16ca7b5308324c87d.jpg","text":"TemporaryFile(/tmp/multipartBody4745566618681758610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_19_34_10014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b5393aebd93849be926cdc1c2781069.jpg","text":"TemporaryFile(/tmp/multipartBody4433554558019730904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_19_04_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8e43b6e01bf8047f82e990e52cf7621.jpg","text":"TemporaryFile(/tmp/multipartBody3320521983671265341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503463056,"filename":"image_30112025_10_21_14_10203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052553","file1":"1397052552","file0":"1397052551","file4":"1397052556","file5":"1397052559","file3":"1397052554"},"map_files_photo_id_array":[{"photo_id":"1397052559","filename":"file5"},{"photo_id":"1397052553","filename":"file2"},{"photo_id":"1397052556","filename":"file4"},{"photo_id":"1397052552","filename":"file1"},{"photo_id":"1397052551","filename":"file0"},{"photo_id":"1397052554","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052553":["hashtag1","hashtag2"]},{"1397052556":["hashtag1","hashtag2"]},{"1397052552":["hashtag1","hashtag2"]},{"1397052554":["hashtag1","hashtag2"]},{"1397052551":["hashtag1","hashtag2"]},{"1397052559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052553, 1397052556, 1397052552, 1397052554, 1397052551, 1397052559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60684514045715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:50:41.900780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/41/image_31102025_12_42_01_3568.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_04_2750.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_06_2723.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_10_3843.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_13_2632.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_16_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/41/image_31102025_12_42_01_3568.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_04_2750.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_06_2723.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_10_3843.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_13_2632.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_16_2883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052568","1397052567","1397052566","1397052569","1397052563","1397052565"],"photo_ids_order":["1397052563","1397052565","1397052566","1397052567","1397052568","1397052569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/861807d9d4b2e6e3f8107b60e6966727.jpg","text":"TemporaryFile(/tmp/multipartBody7629214180810619943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_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/30/99224ed911030350614fbaed7267dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody1664980375621093792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_10_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8edfe4f7c6bf91c940e06239703ecf70.jpg","text":"TemporaryFile(/tmp/multipartBody1044524300739881143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_06_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/30/49d315d4fc6c46336febe55fd14a55f7.jpg","text":"TemporaryFile(/tmp/multipartBody3554074389105298828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_16_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/30/f7618fedad3e11409f605e3c1c38ba80.jpg","text":"TemporaryFile(/tmp/multipartBody9134894125944838262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_01_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/30/f09196c7227e7af055b6b890b57fca1a.jpg","text":"TemporaryFile(/tmp/multipartBody4519542756078649717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503502831,"filename":"image_31102025_12_42_04_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052566","file1":"1397052565","file0":"1397052563","file4":"1397052568","file5":"1397052569","file3":"1397052567"},"map_files_photo_id_array":[{"photo_id":"1397052569","filename":"file5"},{"photo_id":"1397052566","filename":"file2"},{"photo_id":"1397052568","filename":"file4"},{"photo_id":"1397052565","filename":"file1"},{"photo_id":"1397052563","filename":"file0"},{"photo_id":"1397052567","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052568":["hashtag1","hashtag2"]},{"1397052567":["hashtag1","hashtag2"]},{"1397052566":["hashtag1","hashtag2"]},{"1397052569":["hashtag1","hashtag2"]},{"1397052563":["hashtag1","hashtag2"]},{"1397052565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052568, 1397052567, 1397052566, 1397052569, 1397052563, 1397052565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.281378984451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:51:22.214150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_25_10774.jpg', '/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_34_9744.jpg', '/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_45_10102.jpg', '/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_54_9783.jpg', '/home/pi/Desktop/images/30112025/10/21/image_30112025_10_22_04_9712.jpg', '/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_15_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_25_10774.jpg
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_34_9744.jpg
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_45_10102.jpg
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_21_54_9783.jpg
/home/pi/Desktop/images/30112025/10/21/image_30112025_10_22_04_9712.jpg
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_15_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052582","1397052579","1397052572","1397052575","1397052580","1397052577"],"photo_ids_order":["1397052572","1397052575","1397052577","1397052579","1397052580","1397052582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7970d65e5c801231c5b5e13ed654a4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5788349397485018422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_22_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25242567b71f3f42b0507125da1070a3.jpg","text":"TemporaryFile(/tmp/multipartBody995455444935503804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_21_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c8fddbe009e4ae09ca69d5c142db672.jpg","text":"TemporaryFile(/tmp/multipartBody7217444581542989868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_21_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/203ae3c6d80c225954af951dc568ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody4194960487491184934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_21_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c74d4af61ec7dd68f856041d06cb506.jpg","text":"TemporaryFile(/tmp/multipartBody5985980287887386252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_22_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40036101d99d7c6e382adde8cd772134.jpg","text":"TemporaryFile(/tmp/multipartBody4652145288402716725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503542970,"filename":"image_30112025_10_21_45_10102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052577","file1":"1397052575","file0":"1397052572","file4":"1397052580","file5":"1397052582","file3":"1397052579"},"map_files_photo_id_array":[{"photo_id":"1397052582","filename":"file5"},{"photo_id":"1397052577","filename":"file2"},{"photo_id":"1397052580","filename":"file4"},{"photo_id":"1397052575","filename":"file1"},{"photo_id":"1397052572","filename":"file0"},{"photo_id":"1397052579","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052582":["hashtag1","hashtag2"]},{"1397052579":["hashtag1","hashtag2"]},{"1397052572":["hashtag1","hashtag2"]},{"1397052575":["hashtag1","hashtag2"]},{"1397052580":["hashtag1","hashtag2"]},{"1397052577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052582, 1397052579, 1397052572, 1397052575, 1397052580, 1397052577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.433915853500366 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 --only_old 1
2025-11-30 12:52:12.281047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_19_1547.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_20_1530.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_22_1661.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_28_6637.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_32_1598.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_49_16916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_19_1547.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_20_1530.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_22_1661.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_28_6637.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_32_1598.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_49_16916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052585","1397052596","1397052590","1397052584","1397052587","1397052595"],"photo_ids_order":["1397052584","1397052585","1397052587","1397052590","1397052595","1397052596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d4e24695d32bf39b0d8b158a0d26f85.jpg","text":"TemporaryFile(/tmp/multipartBody1903686183346248855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_20_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/30/e613931e1222299549eba166da4d3ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4562234904321244680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_49_16916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5b89592e727641dc80e5c897c0801ec.jpg","text":"TemporaryFile(/tmp/multipartBody5127095418376212014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_28_6637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3e7b5e32680cacdfee0eaacd6511b90.jpg","text":"TemporaryFile(/tmp/multipartBody8819601969556874677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_19_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/30/a8ebb0ab77689d079636d952c5cb7daf.jpg","text":"TemporaryFile(/tmp/multipartBody7250329947003999783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_22_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/30/fba6648e7f75b17f76ccda9cc1e5214c.jpg","text":"TemporaryFile(/tmp/multipartBody4819301254361234497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503593948,"filename":"image_25112025_20_14_32_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052587","file1":"1397052585","file0":"1397052584","file4":"1397052595","file5":"1397052596","file3":"1397052590"},"map_files_photo_id_array":[{"photo_id":"1397052596","filename":"file5"},{"photo_id":"1397052587","filename":"file2"},{"photo_id":"1397052595","filename":"file4"},{"photo_id":"1397052585","filename":"file1"},{"photo_id":"1397052584","filename":"file0"},{"photo_id":"1397052590","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052585":["hashtag1","hashtag2"]},{"1397052596":["hashtag1","hashtag2"]},{"1397052590":["hashtag1","hashtag2"]},{"1397052584":["hashtag1","hashtag2"]},{"1397052587":["hashtag1","hashtag2"]},{"1397052595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052585, 1397052596, 1397052590, 1397052584, 1397052587, 1397052595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.091214418411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:53:03.122224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_24_9352.jpg', '/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_34_9702.jpg', '/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_44_10649.jpg', '/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_54_9742.jpg', '/home/pi/Desktop/images/30112025/10/22/image_30112025_10_23_04_9923.jpg', '/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_14_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_24_9352.jpg
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_34_9702.jpg
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_44_10649.jpg
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_22_54_9742.jpg
/home/pi/Desktop/images/30112025/10/22/image_30112025_10_23_04_9923.jpg
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_14_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052604","1397052606","1397052600","1397052599","1397052602","1397052598"],"photo_ids_order":["1397052598","1397052599","1397052600","1397052602","1397052604","1397052606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db2996974b13c568361709ea984480b6.jpg","text":"TemporaryFile(/tmp/multipartBody2427002482725832078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_23_04_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b04522d36866085733087113d17e417.jpg","text":"TemporaryFile(/tmp/multipartBody3001818685753857044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_23_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/add5e1a278e4b328e2456f6af1962708.jpg","text":"TemporaryFile(/tmp/multipartBody2700430802038899759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_22_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/435eb35f14a9478f268155b70e8eec11.jpg","text":"TemporaryFile(/tmp/multipartBody4435010809524142320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_22_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/caeb16630188f3491529f89501d55739.jpg","text":"TemporaryFile(/tmp/multipartBody6273607417379389476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_22_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca81ab8d3d311c3d989b4840e52a1cec.jpg","text":"TemporaryFile(/tmp/multipartBody7015831538858812343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503644053,"filename":"image_30112025_10_22_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052600","file1":"1397052599","file0":"1397052598","file4":"1397052604","file5":"1397052606","file3":"1397052602"},"map_files_photo_id_array":[{"photo_id":"1397052606","filename":"file5"},{"photo_id":"1397052600","filename":"file2"},{"photo_id":"1397052604","filename":"file4"},{"photo_id":"1397052599","filename":"file1"},{"photo_id":"1397052598","filename":"file0"},{"photo_id":"1397052602","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052604":["hashtag1","hashtag2"]},{"1397052606":["hashtag1","hashtag2"]},{"1397052600":["hashtag1","hashtag2"]},{"1397052599":["hashtag1","hashtag2"]},{"1397052602":["hashtag1","hashtag2"]},{"1397052598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052604, 1397052606, 1397052600, 1397052599, 1397052602, 1397052598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.755404472351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:53:42.547178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/42/image_31102025_12_42_19_2828.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_21_2739.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_25_3682.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_28_2761.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_31_2782.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_33_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_19_2828.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_21_2739.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_25_3682.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_28_2761.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_31_2782.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_33_2867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052613","1397052610","1397052612","1397052609","1397052614","1397052611"],"photo_ids_order":["1397052609","1397052610","1397052611","1397052612","1397052613","1397052614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ebb2d40a3d1fa4d14fcf51d55e74394.jpg","text":"TemporaryFile(/tmp/multipartBody2424640901265858698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_31_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/30/50a222b6dc4c2060cf920e203916b0aa.jpg","text":"TemporaryFile(/tmp/multipartBody8553341245295346571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_21_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a7b3db9893f6c327dcda7d585897011.jpg","text":"TemporaryFile(/tmp/multipartBody329576530510723517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_28_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/30/1ee3594b46b930f3db0b397a649b9abb.jpg","text":"TemporaryFile(/tmp/multipartBody7883921104231651489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_19_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/30/e21302a3275d934f685c3a8aaebcf76f.jpg","text":"TemporaryFile(/tmp/multipartBody2497508498004730643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_33_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/30/cdc52981708d7cb8cd1b3113a85e9e01.jpg","text":"TemporaryFile(/tmp/multipartBody3252889809013734689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503683459,"filename":"image_31102025_12_42_25_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052611","file1":"1397052610","file0":"1397052609","file4":"1397052613","file5":"1397052614","file3":"1397052612"},"map_files_photo_id_array":[{"photo_id":"1397052614","filename":"file5"},{"photo_id":"1397052611","filename":"file2"},{"photo_id":"1397052613","filename":"file4"},{"photo_id":"1397052610","filename":"file1"},{"photo_id":"1397052609","filename":"file0"},{"photo_id":"1397052612","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052613":["hashtag1","hashtag2"]},{"1397052610":["hashtag1","hashtag2"]},{"1397052612":["hashtag1","hashtag2"]},{"1397052609":["hashtag1","hashtag2"]},{"1397052614":["hashtag1","hashtag2"]},{"1397052611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052613, 1397052610, 1397052612, 1397052609, 1397052614, 1397052611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04539084434509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:54:22.764619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_25_10875.jpg', '/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_34_9630.jpg', '/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_44_9693.jpg', '/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_55_10590.jpg', '/home/pi/Desktop/images/30112025/10/23/image_30112025_10_24_04_9714.jpg', '/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_14_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_25_10875.jpg
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_34_9630.jpg
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_44_9693.jpg
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_23_55_10590.jpg
/home/pi/Desktop/images/30112025/10/23/image_30112025_10_24_04_9714.jpg
/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_14_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052625","1397052622","1397052624","1397052618","1397052627","1397052620"],"photo_ids_order":["1397052618","1397052620","1397052622","1397052624","1397052625","1397052627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e093f6e73fb5ac01dd11b1281ff0155d.jpg","text":"TemporaryFile(/tmp/multipartBody2492223367963814509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_24_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/090f6267cb9d528ca562cb61547017eb.jpg","text":"TemporaryFile(/tmp/multipartBody3888756086925113906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_23_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/445cf39de0283723126e953afa029f2a.jpg","text":"TemporaryFile(/tmp/multipartBody3457991171276251455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_23_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e04e41c35e62d0e9829daa0c39da5c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1466283433715016161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_23_25_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85166c047d238a522520ff305c4676d3.jpg","text":"TemporaryFile(/tmp/multipartBody191057559079956468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_24_14_9482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9b2e9945e9b90d88c97d34dc945eef6.jpg","text":"TemporaryFile(/tmp/multipartBody3609119185225196710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503723625,"filename":"image_30112025_10_23_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052622","file1":"1397052620","file0":"1397052618","file4":"1397052625","file5":"1397052627","file3":"1397052624"},"map_files_photo_id_array":[{"photo_id":"1397052627","filename":"file5"},{"photo_id":"1397052622","filename":"file2"},{"photo_id":"1397052625","filename":"file4"},{"photo_id":"1397052620","filename":"file1"},{"photo_id":"1397052618","filename":"file0"},{"photo_id":"1397052624","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052625":["hashtag1","hashtag2"]},{"1397052622":["hashtag1","hashtag2"]},{"1397052624":["hashtag1","hashtag2"]},{"1397052618":["hashtag1","hashtag2"]},{"1397052627":["hashtag1","hashtag2"]},{"1397052620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052625, 1397052622, 1397052624, 1397052618, 1397052627, 1397052620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22314643859863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:55:02.675977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_25_10860.jpg', '/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_34_9729.jpg', '/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_44_9730.jpg', '/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_54_9815.jpg', '/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_14_10055.jpg', '/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_25_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_25_10860.jpg
/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_34_9729.jpg
/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_44_9730.jpg
/home/pi/Desktop/images/30112025/10/24/image_30112025_10_24_54_9815.jpg
/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_14_10055.jpg
/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_25_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052631","1397052628","1397052636","1397052630","1397052633","1397052629"],"photo_ids_order":["1397052628","1397052629","1397052630","1397052631","1397052633","1397052636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8210949a263b6a5904cf04371e23ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5176705833038914322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_24_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/268eb64b73ad21f0cf00fb950e11f9bd.jpg","text":"TemporaryFile(/tmp/multipartBody5914780653969706649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_24_25_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7348e00df1ac58eee5b0aed3d10526b.jpg","text":"TemporaryFile(/tmp/multipartBody5186114000629575739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_26_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/154c8450b9edff2b97bbc1b5421e96c9.jpg","text":"TemporaryFile(/tmp/multipartBody4066644340059276796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_24_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4033c2e896d2fb31dadca9dc28135835.jpg","text":"TemporaryFile(/tmp/multipartBody5580954442673018490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_26_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0318a1cc61c1209909b4e6303f2c13a3.jpg","text":"TemporaryFile(/tmp/multipartBody6852446729609924566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503763620,"filename":"image_30112025_10_24_34_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052630","file1":"1397052629","file0":"1397052628","file4":"1397052633","file5":"1397052636","file3":"1397052631"},"map_files_photo_id_array":[{"photo_id":"1397052636","filename":"file5"},{"photo_id":"1397052630","filename":"file2"},{"photo_id":"1397052633","filename":"file4"},{"photo_id":"1397052629","filename":"file1"},{"photo_id":"1397052628","filename":"file0"},{"photo_id":"1397052631","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052631":["hashtag1","hashtag2"]},{"1397052628":["hashtag1","hashtag2"]},{"1397052636":["hashtag1","hashtag2"]},{"1397052630":["hashtag1","hashtag2"]},{"1397052633":["hashtag1","hashtag2"]},{"1397052629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052631, 1397052628, 1397052636, 1397052630, 1397052633, 1397052629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43693423271179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:55:42.144425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/42/image_31102025_12_42_37_3742.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_40_2736.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_43_2920.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_46_2849.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_48_2719.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_52_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_37_3742.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_40_2736.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_43_2920.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_46_2849.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_48_2719.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_52_3725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052646","1397052648","1397052645","1397052647","1397052641","1397052644"],"photo_ids_order":["1397052641","1397052644","1397052645","1397052646","1397052647","1397052648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/160b1f90901b0df44e0fecb8b3911abd.jpg","text":"TemporaryFile(/tmp/multipartBody4873301702677583656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_46_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/30/2eb211b24f21abd423385015b37c1479.jpg","text":"TemporaryFile(/tmp/multipartBody3752059876866857804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_52_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/30/f148c61036f2a060df9a9e7861f577f0.jpg","text":"TemporaryFile(/tmp/multipartBody4592203884732321153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_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/30/dbde25855b4a92ec7838905d537b0cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6857886078464043565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_48_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/30/c5c01923973d006919a08cbff9180f89.jpg","text":"TemporaryFile(/tmp/multipartBody954349020599628289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_37_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/822ba24ffb059753c58566baba7702a9.jpg","text":"TemporaryFile(/tmp/multipartBody222792837153878161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503803099,"filename":"image_31102025_12_42_40_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052645","file1":"1397052644","file0":"1397052641","file4":"1397052647","file5":"1397052648","file3":"1397052646"},"map_files_photo_id_array":[{"photo_id":"1397052648","filename":"file5"},{"photo_id":"1397052645","filename":"file2"},{"photo_id":"1397052647","filename":"file4"},{"photo_id":"1397052644","filename":"file1"},{"photo_id":"1397052641","filename":"file0"},{"photo_id":"1397052646","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052646":["hashtag1","hashtag2"]},{"1397052648":["hashtag1","hashtag2"]},{"1397052645":["hashtag1","hashtag2"]},{"1397052647":["hashtag1","hashtag2"]},{"1397052641":["hashtag1","hashtag2"]},{"1397052644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052646, 1397052648, 1397052645, 1397052647, 1397052641, 1397052644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.100754499435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 12:56:22.308669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_35_9764.jpg', '/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_45_9751.jpg', '/home/pi/Desktop/images/30112025/10/26/image_30112025_10_27_05_9754.jpg', '/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_15_9857.jpg', '/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_24_9596.jpg', '/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_35_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_35_9764.jpg
/home/pi/Desktop/images/30112025/10/26/image_30112025_10_26_45_9751.jpg
/home/pi/Desktop/images/30112025/10/26/image_30112025_10_27_05_9754.jpg
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_15_9857.jpg
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_24_9596.jpg
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_35_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052660","1397052657","1397052651","1397052659","1397052653","1397052664"],"photo_ids_order":["1397052651","1397052653","1397052657","1397052659","1397052660","1397052664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/734a3696041183df5abe2b7d3f4d320f.jpg","text":"TemporaryFile(/tmp/multipartBody4743766004272959913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_27_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67b636cca26d79c28b9eaf3aba5060df.jpg","text":"TemporaryFile(/tmp/multipartBody6355843059711668352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_27_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1381b4ac7e39858161fca4a9004d0081.jpg","text":"TemporaryFile(/tmp/multipartBody8936227345812769136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_26_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b497679f7ad777786f44b33360b27ff.jpg","text":"TemporaryFile(/tmp/multipartBody7113354889128976021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_27_15_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a48b23cd5a0f56181d01870fcfe37e02.jpg","text":"TemporaryFile(/tmp/multipartBody4305504262239773216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_26_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b75628d7f26f7970c53086a7ef65a4eb.jpg","text":"TemporaryFile(/tmp/multipartBody7398036611551811984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503843090,"filename":"image_30112025_10_27_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052657","file1":"1397052653","file0":"1397052651","file4":"1397052660","file5":"1397052664","file3":"1397052659"},"map_files_photo_id_array":[{"photo_id":"1397052664","filename":"file5"},{"photo_id":"1397052657","filename":"file2"},{"photo_id":"1397052660","filename":"file4"},{"photo_id":"1397052653","filename":"file1"},{"photo_id":"1397052651","filename":"file0"},{"photo_id":"1397052659","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052660":["hashtag1","hashtag2"]},{"1397052657":["hashtag1","hashtag2"]},{"1397052651":["hashtag1","hashtag2"]},{"1397052659":["hashtag1","hashtag2"]},{"1397052653":["hashtag1","hashtag2"]},{"1397052664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052660, 1397052657, 1397052651, 1397052659, 1397052653, 1397052664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19415283203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:57:03.222215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_45_9696.jpg', '/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_54_9680.jpg', '/home/pi/Desktop/images/30112025/10/27/image_30112025_10_28_05_10818.jpg', '/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_15_9454.jpg', '/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_24_9690.jpg', '/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_35_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_45_9696.jpg
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_27_54_9680.jpg
/home/pi/Desktop/images/30112025/10/27/image_30112025_10_28_05_10818.jpg
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_15_9454.jpg
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_24_9690.jpg
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_35_10741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052672","1397052677","1397052674","1397052668","1397052676","1397052670"],"photo_ids_order":["1397052668","1397052670","1397052672","1397052674","1397052676","1397052677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b0d031c371a8559ce70b752fff3f49f.jpg","text":"TemporaryFile(/tmp/multipartBody7465889752024546861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_28_05_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a87556d496e7674087d576f896a860fa.jpg","text":"TemporaryFile(/tmp/multipartBody8190868589090266299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_28_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ded2196f688e07aed39bbefc301f614.jpg","text":"TemporaryFile(/tmp/multipartBody3347424942457812457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_28_15_9454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b5540645d6259b68a5f1205df22e776.jpg","text":"TemporaryFile(/tmp/multipartBody6337656390143421606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_27_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f6830ad2ba23f662eb99f4e35e8fbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3682969646533842043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_28_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34b7a8d499d626bed70d56ef2a8f8103.jpg","text":"TemporaryFile(/tmp/multipartBody6857290841442655200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764503884047,"filename":"image_30112025_10_27_54_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052672","file1":"1397052670","file0":"1397052668","file4":"1397052676","file5":"1397052677","file3":"1397052674"},"map_files_photo_id_array":[{"photo_id":"1397052677","filename":"file5"},{"photo_id":"1397052672","filename":"file2"},{"photo_id":"1397052676","filename":"file4"},{"photo_id":"1397052670","filename":"file1"},{"photo_id":"1397052668","filename":"file0"},{"photo_id":"1397052674","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052672":["hashtag1","hashtag2"]},{"1397052677":["hashtag1","hashtag2"]},{"1397052674":["hashtag1","hashtag2"]},{"1397052668":["hashtag1","hashtag2"]},{"1397052676":["hashtag1","hashtag2"]},{"1397052670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052672, 1397052677, 1397052674, 1397052668, 1397052676, 1397052670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.844990253448486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:57:42.593607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/42/image_31102025_12_42_55_2658.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_57_2565.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_43_01_3649.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_04_2847.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_07_2727.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_09_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/12/42/image_31102025_12_42_55_2658.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_57_2565.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_43_01_3649.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_04_2847.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_07_2727.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_09_2787.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8550839424133301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 12:59:03.910785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_45_9645.jpg', '/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_55_9757.jpg', '/home/pi/Desktop/images/30112025/10/28/image_30112025_10_29_05_10710.jpg', '/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_15_9346.jpg', '/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_24_9846.jpg', '/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_35_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_45_9645.jpg
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_28_55_9757.jpg
/home/pi/Desktop/images/30112025/10/28/image_30112025_10_29_05_10710.jpg
/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_15_9346.jpg
/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_24_9846.jpg
/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_35_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052690","1397052693","1397052687","1397052696","1397052698","1397052692"],"photo_ids_order":["1397052687","1397052690","1397052692","1397052693","1397052696","1397052698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bb91436d465d8a2111c941ac26a5216.jpg","text":"TemporaryFile(/tmp/multipartBody1484191365129959858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_28_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41159091c51fb5399912af53239b46cb.jpg","text":"TemporaryFile(/tmp/multipartBody5781819897430401344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_29_15_9346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88a752eff965837f0be316d591de8a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2597063168277449189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_28_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f3b27feec6df7c004111f35a5a5a964.jpg","text":"TemporaryFile(/tmp/multipartBody284692283788727806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_29_24_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc42869e309f2033a3d064474cb4271d.jpg","text":"TemporaryFile(/tmp/multipartBody7922294850045309014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_29_35_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/039e222b45b1ce287e5dcb4d38f1a811.jpg","text":"TemporaryFile(/tmp/multipartBody5099620957845443169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504004734,"filename":"image_30112025_10_29_05_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052692","file1":"1397052690","file0":"1397052687","file4":"1397052696","file5":"1397052698","file3":"1397052693"},"map_files_photo_id_array":[{"photo_id":"1397052698","filename":"file5"},{"photo_id":"1397052692","filename":"file2"},{"photo_id":"1397052696","filename":"file4"},{"photo_id":"1397052690","filename":"file1"},{"photo_id":"1397052687","filename":"file0"},{"photo_id":"1397052693","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052690":["hashtag1","hashtag2"]},{"1397052693":["hashtag1","hashtag2"]},{"1397052687":["hashtag1","hashtag2"]},{"1397052696":["hashtag1","hashtag2"]},{"1397052698":["hashtag1","hashtag2"]},{"1397052692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052690, 1397052693, 1397052687, 1397052696, 1397052698, 1397052692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57286024093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 12:59:43.185926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/42/image_31102025_12_42_55_2658.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_57_2565.jpg', '/home/pi/Desktop/images/31102025/12/42/image_31102025_12_43_01_3649.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_04_2847.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_07_2727.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_09_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/12/42/image_31102025_12_42_55_2658.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_42_57_2565.jpg
/home/pi/Desktop/images/31102025/12/42/image_31102025_12_43_01_3649.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_04_2847.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_07_2727.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_09_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":["1397052712","1397052709","1397052705","1397052708","1397052710","1397052707"],"photo_ids_order":["1397052705","1397052707","1397052708","1397052709","1397052710","1397052712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c62f20458104552a1e78bc950d82b87f.jpg","text":"TemporaryFile(/tmp/multipartBody8886147597053428765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_43_09_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/30/d4dd5240f022cf7c255ff9def418d990.jpg","text":"TemporaryFile(/tmp/multipartBody5389182954332701982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_43_04_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/30/678c29a6e9be07c9119ee0f7f03fc7c4.jpg","text":"TemporaryFile(/tmp/multipartBody926400935012825418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_42_55_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36edde9273948ad1d3f2bf643ef8cb0a.jpg","text":"TemporaryFile(/tmp/multipartBody2204857307451707554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_43_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/30/cfe8659d4603725130d6d099f6ec3b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2340767583031041481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_43_07_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35ad1caa4b287795e73ad498bed46147.jpg","text":"TemporaryFile(/tmp/multipartBody4646070326430484862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504043934,"filename":"image_31102025_12_42_57_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052708","file1":"1397052707","file0":"1397052705","file4":"1397052710","file5":"1397052712","file3":"1397052709"},"map_files_photo_id_array":[{"photo_id":"1397052712","filename":"file5"},{"photo_id":"1397052708","filename":"file2"},{"photo_id":"1397052710","filename":"file4"},{"photo_id":"1397052707","filename":"file1"},{"photo_id":"1397052705","filename":"file0"},{"photo_id":"1397052709","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052712":["hashtag1","hashtag2"]},{"1397052709":["hashtag1","hashtag2"]},{"1397052705":["hashtag1","hashtag2"]},{"1397052708":["hashtag1","hashtag2"]},{"1397052710":["hashtag1","hashtag2"]},{"1397052707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052712, 1397052709, 1397052705, 1397052708, 1397052710, 1397052707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62937378883362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:00:22.458487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_45_9764.jpg', '/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_55_9816.jpg', '/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_15_10061.jpg', '/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_26_10805.jpg', '/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_35_9725.jpg', '/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_46_10176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_45_9764.jpg
/home/pi/Desktop/images/30112025/10/29/image_30112025_10_29_55_9816.jpg
/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_15_10061.jpg
/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_26_10805.jpg
/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_35_9725.jpg
/home/pi/Desktop/images/30112025/10/30/image_30112025_10_30_46_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052724","1397052721","1397052723","1397052716","1397052725","1397052719"],"photo_ids_order":["1397052716","1397052719","1397052721","1397052723","1397052724","1397052725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ef8151aa8b4ab87ae3394ff9dbde795.jpg","text":"TemporaryFile(/tmp/multipartBody4408305636456899621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_30_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/527388597a93157ff09809220eef1b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2377166079992604542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_30_15_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d107b18a3b1272253f61cee8dc1f074c.jpg","text":"TemporaryFile(/tmp/multipartBody697111721301636305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_30_26_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c14717fdece156823b11823c46bb15a2.jpg","text":"TemporaryFile(/tmp/multipartBody285564337458500490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_29_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25f99164e1189fe9755f987111561b1b.jpg","text":"TemporaryFile(/tmp/multipartBody2864042148425024350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_30_46_10176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7a4abb9a602fe5c9e2c655fb2aaced5.jpg","text":"TemporaryFile(/tmp/multipartBody7825737671038333537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504083225,"filename":"image_30112025_10_29_55_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052721","file1":"1397052719","file0":"1397052716","file4":"1397052724","file5":"1397052725","file3":"1397052723"},"map_files_photo_id_array":[{"photo_id":"1397052725","filename":"file5"},{"photo_id":"1397052721","filename":"file2"},{"photo_id":"1397052724","filename":"file4"},{"photo_id":"1397052719","filename":"file1"},{"photo_id":"1397052716","filename":"file0"},{"photo_id":"1397052723","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052724":["hashtag1","hashtag2"]},{"1397052721":["hashtag1","hashtag2"]},{"1397052723":["hashtag1","hashtag2"]},{"1397052716":["hashtag1","hashtag2"]},{"1397052725":["hashtag1","hashtag2"]},{"1397052719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052724, 1397052721, 1397052723, 1397052716, 1397052725, 1397052719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60630226135254 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 --only_old 1
2025-11-30 13:01:13.590175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_50_1603.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_52_1699.jpg', '/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_54_1807.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_02_1702.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_06_1798.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_08_1506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_50_1603.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_52_1699.jpg
/home/pi/Desktop/images/25112025/20/14/image_25112025_20_14_54_1807.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_02_1702.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_06_1798.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_08_1506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052736","1397052738","1397052726","1397052731","1397052734","1397052728"],"photo_ids_order":["1397052726","1397052728","1397052731","1397052734","1397052736","1397052738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61c7db1db680e11d99a7962ddbe9800f.jpg","text":"TemporaryFile(/tmp/multipartBody5062235178294983325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_15_06_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/30/e1796d30d16492f44c83ae332edb7ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7956326952103764458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_15_08_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/30/25bff1b6acf3f656ca046687b1eadaa3.jpg","text":"TemporaryFile(/tmp/multipartBody4245232372092743119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_14_50_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/30/50bccd74ba0fab93ce556243239a2d89.jpg","text":"TemporaryFile(/tmp/multipartBody4320627227957970064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_14_54_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/30/cf01bc19a7306aea0fb1f8819f57685a.jpg","text":"TemporaryFile(/tmp/multipartBody7902731757905954482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_15_02_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/30/98b0379dff67d8534461f69ab51b749b.jpg","text":"TemporaryFile(/tmp/multipartBody6904248912680186201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504135284,"filename":"image_25112025_20_14_52_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052731","file1":"1397052728","file0":"1397052726","file4":"1397052736","file5":"1397052738","file3":"1397052734"},"map_files_photo_id_array":[{"photo_id":"1397052738","filename":"file5"},{"photo_id":"1397052731","filename":"file2"},{"photo_id":"1397052736","filename":"file4"},{"photo_id":"1397052728","filename":"file1"},{"photo_id":"1397052726","filename":"file0"},{"photo_id":"1397052734","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052736":["hashtag1","hashtag2"]},{"1397052738":["hashtag1","hashtag2"]},{"1397052726":["hashtag1","hashtag2"]},{"1397052731":["hashtag1","hashtag2"]},{"1397052734":["hashtag1","hashtag2"]},{"1397052728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052736, 1397052738, 1397052726, 1397052731, 1397052734, 1397052728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.253868103027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:02:04.684297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/30/image_30112025_10_31_05_9971.jpg', '/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_16_10585.jpg', '/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_25_9115.jpg', '/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_35_9952.jpg', '/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_45_10017.jpg', '/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_55_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/30/image_30112025_10_31_05_9971.jpg
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_16_10585.jpg
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_25_9115.jpg
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_35_9952.jpg
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_45_10017.jpg
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_31_55_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052747","1397052741","1397052744","1397052749","1397052740","1397052742"],"photo_ids_order":["1397052740","1397052741","1397052742","1397052744","1397052747","1397052749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba5684e30ac1e7aa2755ecedd6dc5239.jpg","text":"TemporaryFile(/tmp/multipartBody7206635069962457126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_45_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4983326c3a372c481428c60e0f5bc07.jpg","text":"TemporaryFile(/tmp/multipartBody2477553989517065669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_16_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/501d2878c2d548aa08ad9a7c98fcd147.jpg","text":"TemporaryFile(/tmp/multipartBody1186340035213046211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_35_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65256fd88071cf932d65b69006b1e60d.jpg","text":"TemporaryFile(/tmp/multipartBody9205233960621766058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_55_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99ebcaeb4989579e361aba03834b9bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4594306892243246335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_05_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e7d0c2972ac2f625ab8495f0f56af2a.jpg","text":"TemporaryFile(/tmp/multipartBody5775259261298643816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504185474,"filename":"image_30112025_10_31_25_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052742","file1":"1397052741","file0":"1397052740","file4":"1397052747","file5":"1397052749","file3":"1397052744"},"map_files_photo_id_array":[{"photo_id":"1397052749","filename":"file5"},{"photo_id":"1397052742","filename":"file2"},{"photo_id":"1397052747","filename":"file4"},{"photo_id":"1397052741","filename":"file1"},{"photo_id":"1397052740","filename":"file0"},{"photo_id":"1397052744","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052747":["hashtag1","hashtag2"]},{"1397052741":["hashtag1","hashtag2"]},{"1397052744":["hashtag1","hashtag2"]},{"1397052749":["hashtag1","hashtag2"]},{"1397052740":["hashtag1","hashtag2"]},{"1397052742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052747, 1397052741, 1397052744, 1397052749, 1397052740, 1397052742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03925275802612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:02:44.203598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/43/image_31102025_12_43_16_2545.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_18_2655.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_22_3637.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_25_2583.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_27_2809.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_30_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/12/43/image_31102025_12_43_16_2545.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_18_2655.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_22_3637.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_25_2583.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_27_2809.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_30_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":["1397052751","1397052754","1397052753","1397052756","1397052752","1397052755"],"photo_ids_order":["1397052751","1397052752","1397052753","1397052754","1397052755","1397052756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb87788446f2d0d175f8e04842b4361e.jpg","text":"TemporaryFile(/tmp/multipartBody4385143883475786425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_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/30/9d5768eb6e16da3a3124f58491c2b603.jpg","text":"TemporaryFile(/tmp/multipartBody1076337327428787607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_25_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/30/d7e91a83ebcc12a5ff86c529f6d59eac.jpg","text":"TemporaryFile(/tmp/multipartBody7890615444102629154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_22_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/30/894e9bc0eed3d7e398c67c0985ecac81.jpg","text":"TemporaryFile(/tmp/multipartBody1814421795988481565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_30_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/30/126d474e5d32e65877ce88aab74a6d2c.jpg","text":"TemporaryFile(/tmp/multipartBody7788552636581083555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_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/30/bec4f1faf925d995a8e7b28c34698902.jpg","text":"TemporaryFile(/tmp/multipartBody8051648392836621733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504225199,"filename":"image_31102025_12_43_27_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052753","file1":"1397052752","file0":"1397052751","file4":"1397052755","file5":"1397052756","file3":"1397052754"},"map_files_photo_id_array":[{"photo_id":"1397052756","filename":"file5"},{"photo_id":"1397052753","filename":"file2"},{"photo_id":"1397052755","filename":"file4"},{"photo_id":"1397052752","filename":"file1"},{"photo_id":"1397052751","filename":"file0"},{"photo_id":"1397052754","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052751":["hashtag1","hashtag2"]},{"1397052754":["hashtag1","hashtag2"]},{"1397052753":["hashtag1","hashtag2"]},{"1397052756":["hashtag1","hashtag2"]},{"1397052752":["hashtag1","hashtag2"]},{"1397052755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052751, 1397052754, 1397052753, 1397052756, 1397052752, 1397052755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2565393447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:03:23.185174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/31/image_30112025_10_32_06_10613.jpg', '/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_15_9519.jpg', '/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_36_9771.jpg', '/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_45_9718.jpg', '/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_55_9737.jpg', '/home/pi/Desktop/images/30112025/10/32/image_30112025_10_33_06_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/31/image_30112025_10_32_06_10613.jpg
/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_15_9519.jpg
/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_36_9771.jpg
/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_45_9718.jpg
/home/pi/Desktop/images/30112025/10/32/image_30112025_10_32_55_9737.jpg
/home/pi/Desktop/images/30112025/10/32/image_30112025_10_33_06_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052765","1397052770","1397052767","1397052769","1397052760","1397052763"],"photo_ids_order":["1397052760","1397052763","1397052765","1397052767","1397052769","1397052770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bf27f44a33144a1462b56f125e82250.jpg","text":"TemporaryFile(/tmp/multipartBody1590224923067652889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_32_36_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4feda6f6ea125a7218022cc93b41d8e0.jpg","text":"TemporaryFile(/tmp/multipartBody9168784973705766259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_33_06_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5ae12a5f93c6f6a717fbb480185e058.jpg","text":"TemporaryFile(/tmp/multipartBody9085846555451472587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_32_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4895517772bdceb1c75b25a2c15262dd.jpg","text":"TemporaryFile(/tmp/multipartBody3386464931630315868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_32_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcfaefb39b721572cbd360aaf537cdad.jpg","text":"TemporaryFile(/tmp/multipartBody1406641722409393518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_32_06_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1f64b82b1b795ac26fe5d74fa5548ce.jpg","text":"TemporaryFile(/tmp/multipartBody5158217917256200588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504263948,"filename":"image_30112025_10_32_15_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052765","file1":"1397052763","file0":"1397052760","file4":"1397052769","file5":"1397052770","file3":"1397052767"},"map_files_photo_id_array":[{"photo_id":"1397052770","filename":"file5"},{"photo_id":"1397052765","filename":"file2"},{"photo_id":"1397052769","filename":"file4"},{"photo_id":"1397052763","filename":"file1"},{"photo_id":"1397052760","filename":"file0"},{"photo_id":"1397052767","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052765":["hashtag1","hashtag2"]},{"1397052770":["hashtag1","hashtag2"]},{"1397052767":["hashtag1","hashtag2"]},{"1397052769":["hashtag1","hashtag2"]},{"1397052760":["hashtag1","hashtag2"]},{"1397052763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052765, 1397052770, 1397052767, 1397052769, 1397052760, 1397052763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.208311796188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:04:04.823811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_16_9816.jpg', '/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_25_9786.jpg', '/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_35_9797.jpg', '/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_46_10588.jpg', '/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_56_9960.jpg', '/home/pi/Desktop/images/30112025/10/33/image_30112025_10_34_06_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_16_9816.jpg
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_25_9786.jpg
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_35_9797.jpg
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_46_10588.jpg
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_33_56_9960.jpg
/home/pi/Desktop/images/30112025/10/33/image_30112025_10_34_06_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052772","1397052771","1397052773","1397052781","1397052775","1397052778"],"photo_ids_order":["1397052771","1397052772","1397052773","1397052775","1397052778","1397052781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ead1b1d1c57512376a967826c4ff6d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4404748334309020992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_33_25_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4e572b41b875530c9119ae3bd147da5.jpg","text":"TemporaryFile(/tmp/multipartBody9094472223590924326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_33_16_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/842742f525e67e1227c3b3e666f5cfc7.jpg","text":"TemporaryFile(/tmp/multipartBody5706993664316886377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_33_35_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54782a32ee4d7219fb39e1bb30b09340.jpg","text":"TemporaryFile(/tmp/multipartBody5088124242990970405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_34_06_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23628d4f7374840ab067975f7caa8775.jpg","text":"TemporaryFile(/tmp/multipartBody4482499002615675806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_33_46_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f192f2e1b232022938acc87330ab8a0.jpg","text":"TemporaryFile(/tmp/multipartBody5486955565628126589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504305654,"filename":"image_30112025_10_33_56_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052773","file1":"1397052772","file0":"1397052771","file4":"1397052778","file5":"1397052781","file3":"1397052775"},"map_files_photo_id_array":[{"photo_id":"1397052781","filename":"file5"},{"photo_id":"1397052773","filename":"file2"},{"photo_id":"1397052778","filename":"file4"},{"photo_id":"1397052772","filename":"file1"},{"photo_id":"1397052771","filename":"file0"},{"photo_id":"1397052775","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052772":["hashtag1","hashtag2"]},{"1397052771":["hashtag1","hashtag2"]},{"1397052773":["hashtag1","hashtag2"]},{"1397052781":["hashtag1","hashtag2"]},{"1397052775":["hashtag1","hashtag2"]},{"1397052778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052772, 1397052771, 1397052773, 1397052781, 1397052775, 1397052778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.631659269332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:04:44.117887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/43/image_31102025_12_43_34_3616.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_37_2755.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_39_2644.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_43_3675.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_46_2841.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_49_2908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_34_3616.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_37_2755.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_39_2644.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_43_3675.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_46_2841.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_49_2908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052792","1397052789","1397052791","1397052788","1397052787","1397052790"],"photo_ids_order":["1397052787","1397052788","1397052789","1397052790","1397052791","1397052792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c43e02908ecabb9384ebd01bb19e08e1.jpg","text":"TemporaryFile(/tmp/multipartBody3383142959305211670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_49_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/30/b591cb2ac933afa0aa729a8fe22a18ca.jpg","text":"TemporaryFile(/tmp/multipartBody4872558192390561975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_39_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/30/0be149954632e177f4191cd1b12d1ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2563844714881700542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_46_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e10eca5c0866fe9fe3e39723adcb4efa.jpg","text":"TemporaryFile(/tmp/multipartBody3848674865707795920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_37_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/30/df70553e0c4cf18dd0d3ea2f9a32c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody7325151059531424594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_34_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/30/f51830341a979dfc7254f81b0c45e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8653277983100348970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504345144,"filename":"image_31102025_12_43_43_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052789","file1":"1397052788","file0":"1397052787","file4":"1397052791","file5":"1397052792","file3":"1397052790"},"map_files_photo_id_array":[{"photo_id":"1397052792","filename":"file5"},{"photo_id":"1397052789","filename":"file2"},{"photo_id":"1397052791","filename":"file4"},{"photo_id":"1397052788","filename":"file1"},{"photo_id":"1397052787","filename":"file0"},{"photo_id":"1397052790","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052792":["hashtag1","hashtag2"]},{"1397052789":["hashtag1","hashtag2"]},{"1397052791":["hashtag1","hashtag2"]},{"1397052788":["hashtag1","hashtag2"]},{"1397052787":["hashtag1","hashtag2"]},{"1397052790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052792, 1397052789, 1397052791, 1397052788, 1397052787, 1397052790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09817314147949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:05:22.249984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_15_9821.jpg', '/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_25_9612.jpg', '/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_36_10647.jpg', '/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_45_9766.jpg', '/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_55_9716.jpg', '/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_15_9821.jpg
/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_25_9612.jpg
/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_36_10647.jpg
/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_45_9766.jpg
/home/pi/Desktop/images/30112025/10/34/image_30112025_10_34_55_9716.jpg
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052805","1397052802","1397052795","1397052800","1397052799","1397052803"],"photo_ids_order":["1397052795","1397052799","1397052800","1397052802","1397052803","1397052805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e7257b1964e87233aea0d22b0a1dc8a.jpg","text":"TemporaryFile(/tmp/multipartBody3572639678208256814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_36_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e700a6cbceef21a1b8b871b8b1dff46.jpg","text":"TemporaryFile(/tmp/multipartBody496132407155082131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_34_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a4293f137c6fc1f7951e34935a76253.jpg","text":"TemporaryFile(/tmp/multipartBody6600165757983844429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_34_15_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c736d2c4163c6c18d2b4d71469d540ce.jpg","text":"TemporaryFile(/tmp/multipartBody7829808931928212516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_34_36_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4f2c438fd1258d02826dc5cdd11ee32.jpg","text":"TemporaryFile(/tmp/multipartBody1740222970908720044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_34_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6373fabaeb8b13a5b1c0f782d58e4f47.jpg","text":"TemporaryFile(/tmp/multipartBody7665470345869329264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504383031,"filename":"image_30112025_10_34_55_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052800","file1":"1397052799","file0":"1397052795","file4":"1397052803","file5":"1397052805","file3":"1397052802"},"map_files_photo_id_array":[{"photo_id":"1397052805","filename":"file5"},{"photo_id":"1397052800","filename":"file2"},{"photo_id":"1397052803","filename":"file4"},{"photo_id":"1397052799","filename":"file1"},{"photo_id":"1397052795","filename":"file0"},{"photo_id":"1397052802","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052805":["hashtag1","hashtag2"]},{"1397052802":["hashtag1","hashtag2"]},{"1397052795":["hashtag1","hashtag2"]},{"1397052800":["hashtag1","hashtag2"]},{"1397052799":["hashtag1","hashtag2"]},{"1397052803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052805, 1397052802, 1397052795, 1397052800, 1397052799, 1397052803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80657172203064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:06:03.002914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_25_10625.jpg', '/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_34_9800.jpg', '/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_44_9550.jpg', '/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_55_10882.jpg', '/home/pi/Desktop/images/30112025/10/36/image_30112025_10_37_05_9892.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_14_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_25_10625.jpg
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_34_9800.jpg
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_44_9550.jpg
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_36_55_10882.jpg
/home/pi/Desktop/images/30112025/10/36/image_30112025_10_37_05_9892.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_14_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052808","1397052810","1397052807","1397052812","1397052815","1397052809"],"photo_ids_order":["1397052807","1397052808","1397052809","1397052810","1397052812","1397052815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66de0dad340379fbb6e0fcd4da911b60.jpg","text":"TemporaryFile(/tmp/multipartBody3840635137034560691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_36_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c1d9bd2a2cce4e0b76d26b9c080e774.jpg","text":"TemporaryFile(/tmp/multipartBody5615190399078329307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_36_55_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ec7d7379fc71293f51445a58671df8e.jpg","text":"TemporaryFile(/tmp/multipartBody7247562896682908578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_36_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5974ad14c51ba80574f400aabec2ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody5639395802145064403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_37_05_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/647387780c32093a55a0ebd3113618d3.jpg","text":"TemporaryFile(/tmp/multipartBody7329166077443510243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_37_14_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ccecef077028085fe801cb04d9e93d1.jpg","text":"TemporaryFile(/tmp/multipartBody8973411712200582072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504423792,"filename":"image_30112025_10_36_44_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052809","file1":"1397052808","file0":"1397052807","file4":"1397052812","file5":"1397052815","file3":"1397052810"},"map_files_photo_id_array":[{"photo_id":"1397052815","filename":"file5"},{"photo_id":"1397052809","filename":"file2"},{"photo_id":"1397052812","filename":"file4"},{"photo_id":"1397052808","filename":"file1"},{"photo_id":"1397052807","filename":"file0"},{"photo_id":"1397052810","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052808":["hashtag1","hashtag2"]},{"1397052810":["hashtag1","hashtag2"]},{"1397052807":["hashtag1","hashtag2"]},{"1397052812":["hashtag1","hashtag2"]},{"1397052815":["hashtag1","hashtag2"]},{"1397052809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052808, 1397052810, 1397052807, 1397052812, 1397052815, 1397052809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8172652721405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:06:42.486373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/43/image_31102025_12_43_51_2689.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_55_3771.jpg', '/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_58_2771.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_01_3009.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_04_2734.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_06_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_51_2689.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_55_3771.jpg
/home/pi/Desktop/images/31102025/12/43/image_31102025_12_43_58_2771.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_01_3009.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_04_2734.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_06_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052823","1397052826","1397052828","1397052825","1397052827","1397052821"],"photo_ids_order":["1397052821","1397052823","1397052825","1397052826","1397052827","1397052828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d3ad8979d3f0f7df41217ccd5266a37.jpg","text":"TemporaryFile(/tmp/multipartBody2722657629216879192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_43_55_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/30/f247f590221ee96e4c31ab5582522766.jpg","text":"TemporaryFile(/tmp/multipartBody645367384284511898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_44_01_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/30/04edbbc62a7dc3e7ab2c957e5d7f1028.jpg","text":"TemporaryFile(/tmp/multipartBody2973385811538762450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_44_06_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/30/0121782fb1938bdbfea38e72854f3bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3174829673947581004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_43_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/30/b7bc42b957090b64100445c9d01b812c.jpg","text":"TemporaryFile(/tmp/multipartBody946551835141175324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_44_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/30/291b2494ed43f7800f6cf365cc5a4e4d.jpg","text":"TemporaryFile(/tmp/multipartBody3666130960439775624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504463448,"filename":"image_31102025_12_43_51_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052825","file1":"1397052823","file0":"1397052821","file4":"1397052827","file5":"1397052828","file3":"1397052826"},"map_files_photo_id_array":[{"photo_id":"1397052828","filename":"file5"},{"photo_id":"1397052825","filename":"file2"},{"photo_id":"1397052827","filename":"file4"},{"photo_id":"1397052823","filename":"file1"},{"photo_id":"1397052821","filename":"file0"},{"photo_id":"1397052826","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052823":["hashtag1","hashtag2"]},{"1397052826":["hashtag1","hashtag2"]},{"1397052828":["hashtag1","hashtag2"]},{"1397052825":["hashtag1","hashtag2"]},{"1397052827":["hashtag1","hashtag2"]},{"1397052821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052823, 1397052826, 1397052828, 1397052825, 1397052827, 1397052821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.133854389190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:07:22.639825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6775248050689697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:07:32.701716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_11_1763.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_13_1691.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_14_1754.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_16_1648.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_18_1635.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_24_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_11_1763.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_13_1691.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_14_1754.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_16_1648.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_18_1635.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_24_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052847","1397052846","1397052840","1397052843","1397052845","1397052848"],"photo_ids_order":["1397052840","1397052843","1397052845","1397052846","1397052847","1397052848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0f16394c7e75902701ee6547149f215.jpg","text":"TemporaryFile(/tmp/multipartBody6692650110863497046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_18_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/30/9fb09ce9555c9a04411a9af4dd60652d.jpg","text":"TemporaryFile(/tmp/multipartBody4717822673115457732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_16_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/30/b7f6875815c08932803329058810df0b.jpg","text":"TemporaryFile(/tmp/multipartBody329793036708540002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_11_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/30/58ad9423626101a1328eef5a18d6cf75.jpg","text":"TemporaryFile(/tmp/multipartBody4174386825032014955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_13_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0149b772e7166429934395ea26253ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1158099746603551000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_14_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/30/3160e4790aa00efb575e89b1ab5f99f0.jpg","text":"TemporaryFile(/tmp/multipartBody2932769183347761978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504519797,"filename":"image_25112025_20_15_24_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052845","file1":"1397052843","file0":"1397052840","file4":"1397052847","file5":"1397052848","file3":"1397052846"},"map_files_photo_id_array":[{"photo_id":"1397052848","filename":"file5"},{"photo_id":"1397052845","filename":"file2"},{"photo_id":"1397052847","filename":"file4"},{"photo_id":"1397052843","filename":"file1"},{"photo_id":"1397052840","filename":"file0"},{"photo_id":"1397052846","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052847":["hashtag1","hashtag2"]},{"1397052846":["hashtag1","hashtag2"]},{"1397052840":["hashtag1","hashtag2"]},{"1397052843":["hashtag1","hashtag2"]},{"1397052845":["hashtag1","hashtag2"]},{"1397052848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052847, 1397052846, 1397052840, 1397052843, 1397052845, 1397052848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89938306808472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:08:23.083240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.085275650024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:08:33.033641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_27_3653.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_33_2673.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_36_3656.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_39_2606.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_45_3534.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_48_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_27_3653.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_33_2673.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_36_3656.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_39_2606.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_45_3534.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_48_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052865","1397052859","1397052864","1397052861","1397052863","1397052866"],"photo_ids_order":["1397052859","1397052861","1397052863","1397052864","1397052865","1397052866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c56094287a004072f0a81b586b825ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7292820299352653974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_45_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9918ff4520825305579181a6a9dd210.jpg","text":"TemporaryFile(/tmp/multipartBody8084710427862581305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_27_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a2942519b1251827600ccb889426b11.jpg","text":"TemporaryFile(/tmp/multipartBody4780142245720449188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_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/30/2529a48a31f3662db877a70c385d0595.jpg","text":"TemporaryFile(/tmp/multipartBody1454911768788492535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_33_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/30/1056f364ebd2006810b131f9a1b503f5.jpg","text":"TemporaryFile(/tmp/multipartBody8646671092045016189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_36_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/30/928ce5f9bf2788189948c7ed90858bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9077493020184381439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504575132,"filename":"image_25112025_20_15_48_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052863","file1":"1397052861","file0":"1397052859","file4":"1397052865","file5":"1397052866","file3":"1397052864"},"map_files_photo_id_array":[{"photo_id":"1397052866","filename":"file5"},{"photo_id":"1397052863","filename":"file2"},{"photo_id":"1397052865","filename":"file4"},{"photo_id":"1397052861","filename":"file1"},{"photo_id":"1397052859","filename":"file0"},{"photo_id":"1397052864","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052865":["hashtag1","hashtag2"]},{"1397052859":["hashtag1","hashtag2"]},{"1397052864":["hashtag1","hashtag2"]},{"1397052861":["hashtag1","hashtag2"]},{"1397052863":["hashtag1","hashtag2"]},{"1397052866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052865, 1397052859, 1397052864, 1397052861, 1397052863, 1397052866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07581186294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:09:12.109569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_51_2918.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_54_3516.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_57_2619.jpg', '/home/pi/Desktop/images/25112025/20/15/image_25112025_20_16_00_2613.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_06_3562.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_12_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_51_2918.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_54_3516.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_15_57_2619.jpg
/home/pi/Desktop/images/25112025/20/15/image_25112025_20_16_00_2613.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_06_3562.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_12_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052867","1397052875","1397052878","1397052872","1397052880","1397052868"],"photo_ids_order":["1397052867","1397052868","1397052872","1397052875","1397052878","1397052880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/890fdbdb488d7525940273cccb5989ca.jpg","text":"TemporaryFile(/tmp/multipartBody575765985679465282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_15_51_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/30/47c2c5f0b61dcc1271db6249acd1f9c2.jpg","text":"TemporaryFile(/tmp/multipartBody3911654862214179991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_16_00_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f756218815a0d2534b44d7f969fa525.jpg","text":"TemporaryFile(/tmp/multipartBody3771544620822008281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_16_06_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6e944fe264a0bf7dcf3336fb15259bf.jpg","text":"TemporaryFile(/tmp/multipartBody7902814755942915087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_15_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/30/ffcd6676e501fc07e298f3bbdbbccebe.jpg","text":"TemporaryFile(/tmp/multipartBody4787197758802329069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_16_12_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/30/1849282996dbb0fda2ff1d91657d4401.jpg","text":"TemporaryFile(/tmp/multipartBody9131797165824909632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504614034,"filename":"image_25112025_20_15_54_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052872","file1":"1397052868","file0":"1397052867","file4":"1397052878","file5":"1397052880","file3":"1397052875"},"map_files_photo_id_array":[{"photo_id":"1397052880","filename":"file5"},{"photo_id":"1397052872","filename":"file2"},{"photo_id":"1397052878","filename":"file4"},{"photo_id":"1397052868","filename":"file1"},{"photo_id":"1397052867","filename":"file0"},{"photo_id":"1397052875","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397052867":["hashtag1","hashtag2"]},{"1397052875":["hashtag1","hashtag2"]},{"1397052878":["hashtag1","hashtag2"]},{"1397052872":["hashtag1","hashtag2"]},{"1397052880":["hashtag1","hashtag2"]},{"1397052868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397052867, 1397052875, 1397052878, 1397052872, 1397052880, 1397052868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61416506767273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:10:02.651054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg', '/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_24_9581.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_35_10747.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_44_9662.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_37_54_9621.jpg
/home/pi/Desktop/images/30112025/10/37/image_30112025_10_38_04_9779.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_15_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052891","1397052885","1397052884","1397052887","1397052889","1397052883"],"photo_ids_order":["1397052883","1397052884","1397052885","1397052887","1397052889","1397052891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6d231baabfdbae11320866a3eb1122b.jpg","text":"TemporaryFile(/tmp/multipartBody4218022716991773238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_38_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42bba08fc95bcbe1c45b4a4ce63fa68b.jpg","text":"TemporaryFile(/tmp/multipartBody1427931666137955357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_37_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fcc8aecf61c7ec66d0253a6ae8709c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1680676237378130530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_37_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2b42cf8953f190cb5a82f17b97dca1e.jpg","text":"TemporaryFile(/tmp/multipartBody5702165859043062781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_37_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d80d967e401b919611bb9fe69c992fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6457899329244571505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_38_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea9f920e2c994d5cf4638a0e35fcc428.jpg","text":"TemporaryFile(/tmp/multipartBody3008822134567232809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504665901,"filename":"image_30112025_10_37_24_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052885","file1":"1397052884","file0":"1397052883","file4":"1397052889","file5":"1397052891","file3":"1397052887"},"map_files_photo_id_array":[{"photo_id":"1397052891","filename":"file5"},{"photo_id":"1397052885","filename":"file2"},{"photo_id":"1397052889","filename":"file4"},{"photo_id":"1397052884","filename":"file1"},{"photo_id":"1397052883","filename":"file0"},{"photo_id":"1397052887","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052891":["hashtag1","hashtag2"]},{"1397052885":["hashtag1","hashtag2"]},{"1397052884":["hashtag1","hashtag2"]},{"1397052887":["hashtag1","hashtag2"]},{"1397052889":["hashtag1","hashtag2"]},{"1397052883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052891, 1397052885, 1397052884, 1397052887, 1397052889, 1397052883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46177053451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:11:03.226195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_24_9715.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_34_9708.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_45_10719.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_54_9708.jpg', '/home/pi/Desktop/images/30112025/10/38/image_30112025_10_39_04_9847.jpg', '/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_14_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_24_9715.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_34_9708.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_45_10719.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_38_54_9708.jpg
/home/pi/Desktop/images/30112025/10/38/image_30112025_10_39_04_9847.jpg
/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_14_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052904","1397052897","1397052900","1397052896","1397052898","1397052895"],"photo_ids_order":["1397052895","1397052896","1397052897","1397052898","1397052900","1397052904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a342243d34de408de8f0bd224e8758c.jpg","text":"TemporaryFile(/tmp/multipartBody5712767675350566027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_39_14_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca5e416be5db498ac39dd2747ff669fa.jpg","text":"TemporaryFile(/tmp/multipartBody117604888860520588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_38_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c452508282320de2e3f75a6a507c449.jpg","text":"TemporaryFile(/tmp/multipartBody7733110269436048050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_39_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0343fd49b59ecbcef644cbf0faf5343e.jpg","text":"TemporaryFile(/tmp/multipartBody5945963045398476403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_38_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b9586bcdf957f3f4dd26817cb69327f.jpg","text":"TemporaryFile(/tmp/multipartBody204953932571926588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_38_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4c58fd2ca0cee990132210efe1d676a.jpg","text":"TemporaryFile(/tmp/multipartBody4876772798971735047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504724119,"filename":"image_30112025_10_38_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052897","file1":"1397052896","file0":"1397052895","file4":"1397052900","file5":"1397052904","file3":"1397052898"},"map_files_photo_id_array":[{"photo_id":"1397052904","filename":"file5"},{"photo_id":"1397052897","filename":"file2"},{"photo_id":"1397052900","filename":"file4"},{"photo_id":"1397052896","filename":"file1"},{"photo_id":"1397052895","filename":"file0"},{"photo_id":"1397052898","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052904":["hashtag1","hashtag2"]},{"1397052897":["hashtag1","hashtag2"]},{"1397052900":["hashtag1","hashtag2"]},{"1397052896":["hashtag1","hashtag2"]},{"1397052898":["hashtag1","hashtag2"]},{"1397052895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052904, 1397052897, 1397052900, 1397052896, 1397052898, 1397052895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95830845832825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:11:42.615075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/44/image_31102025_12_44_10_3655.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_13_2625.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_15_2734.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_19_3755.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_22_2813.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_27_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/12/44/image_31102025_12_44_10_3655.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_13_2625.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_15_2734.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_19_3755.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_22_2813.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_27_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":["1397052913","1397052915","1397052909","1397052912","1397052911","1397052914"],"photo_ids_order":["1397052909","1397052911","1397052912","1397052913","1397052914","1397052915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0432b14b0753c29d50f40786e69ebc31.jpg","text":"TemporaryFile(/tmp/multipartBody4237077416925298219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_44_19_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/30/e969c9c5af47ccdb51f70b0917feea5b.jpg","text":"TemporaryFile(/tmp/multipartBody2960038357656330996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_44_27_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/30/81cb84656ac2b359f387a73c7e28da7a.jpg","text":"TemporaryFile(/tmp/multipartBody5038588420165462109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_44_10_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/30/e9a866fbf05f70092556557483788a21.jpg","text":"TemporaryFile(/tmp/multipartBody3742574097906003482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_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/30/3ca1dba7f116f60bbfcc5af2e98915b8.jpg","text":"TemporaryFile(/tmp/multipartBody8124739066605064682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_44_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98b5cdb03df58e8239b81ffe873d2cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4580924140351414010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504763595,"filename":"image_31102025_12_44_22_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052912","file1":"1397052911","file0":"1397052909","file4":"1397052914","file5":"1397052915","file3":"1397052913"},"map_files_photo_id_array":[{"photo_id":"1397052915","filename":"file5"},{"photo_id":"1397052912","filename":"file2"},{"photo_id":"1397052914","filename":"file4"},{"photo_id":"1397052911","filename":"file1"},{"photo_id":"1397052909","filename":"file0"},{"photo_id":"1397052913","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052913":["hashtag1","hashtag2"]},{"1397052915":["hashtag1","hashtag2"]},{"1397052909":["hashtag1","hashtag2"]},{"1397052912":["hashtag1","hashtag2"]},{"1397052911":["hashtag1","hashtag2"]},{"1397052914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052913, 1397052915, 1397052909, 1397052912, 1397052911, 1397052914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27841353416443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:12:22.799097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_24_9972.jpg', '/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_34_9740.jpg', '/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_45_10661.jpg', '/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_54_9725.jpg', '/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_14_10058.jpg', '/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_25_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_24_9972.jpg
/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_34_9740.jpg
/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_45_10661.jpg
/home/pi/Desktop/images/30112025/10/39/image_30112025_10_39_54_9725.jpg
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_14_10058.jpg
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_25_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052922","1397052925","1397052919","1397052927","1397052926","1397052929"],"photo_ids_order":["1397052919","1397052922","1397052925","1397052926","1397052927","1397052929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e75677421f9dbc50b1831fff3a6e67ba.jpg","text":"TemporaryFile(/tmp/multipartBody2533355451295418425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_39_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a018df767861539e1586f901c49a88f.jpg","text":"TemporaryFile(/tmp/multipartBody3779816748792249078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_39_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eac1c405b793ef7e017c30ca7e83d1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4245644090064794127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_39_24_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b139c5be065f9a82cb1ea8b105390646.jpg","text":"TemporaryFile(/tmp/multipartBody2074803824754010849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_40_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cad1330a2c672cd1a6b78a49d3237c9f.jpg","text":"TemporaryFile(/tmp/multipartBody4854596117784776887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_39_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4add241d5e26414fe15c2029cab7f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7493518528309737857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504803601,"filename":"image_30112025_10_40_25_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052925","file1":"1397052922","file0":"1397052919","file4":"1397052927","file5":"1397052929","file3":"1397052926"},"map_files_photo_id_array":[{"photo_id":"1397052929","filename":"file5"},{"photo_id":"1397052925","filename":"file2"},{"photo_id":"1397052927","filename":"file4"},{"photo_id":"1397052922","filename":"file1"},{"photo_id":"1397052919","filename":"file0"},{"photo_id":"1397052926","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052922":["hashtag1","hashtag2"]},{"1397052925":["hashtag1","hashtag2"]},{"1397052919":["hashtag1","hashtag2"]},{"1397052927":["hashtag1","hashtag2"]},{"1397052926":["hashtag1","hashtag2"]},{"1397052929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052922, 1397052925, 1397052919, 1397052927, 1397052926, 1397052929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40934181213379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:13:02.707673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_35_9714.jpg', '/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_44_9660.jpg', '/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_55_10756.jpg', '/home/pi/Desktop/images/30112025/10/40/image_30112025_10_41_05_9638.jpg', '/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_14_9771.jpg', '/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_24_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_35_9714.jpg
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_44_9660.jpg
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_40_55_10756.jpg
/home/pi/Desktop/images/30112025/10/40/image_30112025_10_41_05_9638.jpg
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_14_9771.jpg
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_24_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052931","1397052933","1397052936","1397052938","1397052932","1397052940"],"photo_ids_order":["1397052931","1397052932","1397052933","1397052936","1397052938","1397052940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f25e5522eb88612d413f31f057fa8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7483904513807120609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_40_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0372e78d93174e2c2ba292cc081c3099.jpg","text":"TemporaryFile(/tmp/multipartBody5870453640643956785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_40_55_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e820c7d6ded35ecb665da123d50b0ed8.jpg","text":"TemporaryFile(/tmp/multipartBody5958845005050015235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_41_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76fb8d4043bcd988c80ac3b8f8d87472.jpg","text":"TemporaryFile(/tmp/multipartBody1703828667340836369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_41_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/934efec711665f9fa1c0fe2d7c65f48a.jpg","text":"TemporaryFile(/tmp/multipartBody886535541858908556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_40_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae6f0bcbade4674a0d8629c245371392.jpg","text":"TemporaryFile(/tmp/multipartBody1876214262696765805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504848184,"filename":"image_30112025_10_41_24_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052933","file1":"1397052932","file0":"1397052931","file4":"1397052938","file5":"1397052940","file3":"1397052936"},"map_files_photo_id_array":[{"photo_id":"1397052940","filename":"file5"},{"photo_id":"1397052933","filename":"file2"},{"photo_id":"1397052938","filename":"file4"},{"photo_id":"1397052932","filename":"file1"},{"photo_id":"1397052931","filename":"file0"},{"photo_id":"1397052936","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052931":["hashtag1","hashtag2"]},{"1397052933":["hashtag1","hashtag2"]},{"1397052936":["hashtag1","hashtag2"]},{"1397052938":["hashtag1","hashtag2"]},{"1397052932":["hashtag1","hashtag2"]},{"1397052940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052931, 1397052933, 1397052936, 1397052938, 1397052932, 1397052940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45629596710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:14:02.996113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_35_10663.jpg', '/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_44_9625.jpg', '/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_54_9717.jpg', '/home/pi/Desktop/images/30112025/10/41/image_30112025_10_42_05_10785.jpg', '/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_15_9650.jpg', '/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_35_10663.jpg
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_44_9625.jpg
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_41_54_9717.jpg
/home/pi/Desktop/images/30112025/10/41/image_30112025_10_42_05_10785.jpg
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_15_9650.jpg
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_24_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052946","1397052954","1397052948","1397052950","1397052944","1397052947"],"photo_ids_order":["1397052944","1397052946","1397052947","1397052948","1397052950","1397052954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45fac7d3588bf33d6a50e143a302bd0c.jpg","text":"TemporaryFile(/tmp/multipartBody696410058247943048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_41_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b218c2e6e7d458310f755fc594d5f54.jpg","text":"TemporaryFile(/tmp/multipartBody3124655249932662536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_42_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/395856eed0e6fb41c5db0a6fd8bd122b.jpg","text":"TemporaryFile(/tmp/multipartBody1024958244017931210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_42_05_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57c75c78b78a81cf493ec92e6957a019.jpg","text":"TemporaryFile(/tmp/multipartBody3005237876628409017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_42_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/375dfda90688c1f8399586570c3c935b.jpg","text":"TemporaryFile(/tmp/multipartBody8078565515665726758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_41_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1fb53d0c35c62899aa88b2e2ad7201a7.jpg","text":"TemporaryFile(/tmp/multipartBody8470706951149527768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504903869,"filename":"image_30112025_10_41_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052947","file1":"1397052946","file0":"1397052944","file4":"1397052950","file5":"1397052954","file3":"1397052948"},"map_files_photo_id_array":[{"photo_id":"1397052954","filename":"file5"},{"photo_id":"1397052947","filename":"file2"},{"photo_id":"1397052950","filename":"file4"},{"photo_id":"1397052946","filename":"file1"},{"photo_id":"1397052944","filename":"file0"},{"photo_id":"1397052948","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052946":["hashtag1","hashtag2"]},{"1397052954":["hashtag1","hashtag2"]},{"1397052948":["hashtag1","hashtag2"]},{"1397052950":["hashtag1","hashtag2"]},{"1397052944":["hashtag1","hashtag2"]},{"1397052947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052946, 1397052954, 1397052948, 1397052950, 1397052944, 1397052947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03890895843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:14:42.292252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/44/image_31102025_12_44_31_3635.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_33_2526.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_36_2796.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_40_3808.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_43_2620.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_45_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/12/44/image_31102025_12_44_31_3635.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_33_2526.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_36_2796.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_40_3808.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_43_2620.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_45_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":["1397052964","1397052966","1397052969","1397052962","1397052968","1397052967"],"photo_ids_order":["1397052962","1397052964","1397052966","1397052967","1397052968","1397052969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b99119e31347649113dd14b65b0371f.jpg","text":"TemporaryFile(/tmp/multipartBody7751092092322981011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_33_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/30/25392f4a7d6a821677a7a5d0867301fe.jpg","text":"TemporaryFile(/tmp/multipartBody6546861350754661340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_36_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c194e5a1e7bf10e509f343f9e3248239.jpg","text":"TemporaryFile(/tmp/multipartBody7837317121112902664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_45_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/30/625955360a0a983f86c5f5d9c1012ed0.jpg","text":"TemporaryFile(/tmp/multipartBody290090728811142752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_31_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/30/a3596e106aa5e53fc4afece3997feb88.jpg","text":"TemporaryFile(/tmp/multipartBody7971604444037401021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_43_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdc2129970d5c1bf2eb59c7ce77d2924.jpg","text":"TemporaryFile(/tmp/multipartBody4246706994518535934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504943259,"filename":"image_31102025_12_44_40_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052966","file1":"1397052964","file0":"1397052962","file4":"1397052968","file5":"1397052969","file3":"1397052967"},"map_files_photo_id_array":[{"photo_id":"1397052969","filename":"file5"},{"photo_id":"1397052966","filename":"file2"},{"photo_id":"1397052968","filename":"file4"},{"photo_id":"1397052964","filename":"file1"},{"photo_id":"1397052962","filename":"file0"},{"photo_id":"1397052967","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397052964":["hashtag1","hashtag2"]},{"1397052966":["hashtag1","hashtag2"]},{"1397052969":["hashtag1","hashtag2"]},{"1397052962":["hashtag1","hashtag2"]},{"1397052968":["hashtag1","hashtag2"]},{"1397052967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397052964, 1397052966, 1397052969, 1397052962, 1397052968, 1397052967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.984606981277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:15:22.652371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_35_10746.jpg', '/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_45_9755.jpg', '/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_54_9638.jpg', '/home/pi/Desktop/images/30112025/10/42/image_30112025_10_43_04_9777.jpg', '/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_15_10775.jpg', '/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_25_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_35_10746.jpg
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_45_9755.jpg
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_42_54_9638.jpg
/home/pi/Desktop/images/30112025/10/42/image_30112025_10_43_04_9777.jpg
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_15_10775.jpg
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_25_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052972","1397052975","1397052980","1397052974","1397052977","1397052976"],"photo_ids_order":["1397052972","1397052974","1397052975","1397052976","1397052977","1397052980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee8bd6b52f4b4c0b89687246709e259b.jpg","text":"TemporaryFile(/tmp/multipartBody9000473184183145941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_42_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78b1f4a01dd013bdc456bcb32fe47f48.jpg","text":"TemporaryFile(/tmp/multipartBody1487274025738538502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_42_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6164310fb7fc6ff3d4d22a0e322383c.jpg","text":"TemporaryFile(/tmp/multipartBody1585164509922705810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_43_25_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e1731de1a3c2ed065ed27bd2792ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody4077732498769292273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_42_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b89dfab464d78d68225e80736fa90f8.jpg","text":"TemporaryFile(/tmp/multipartBody3728386093163232378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_43_15_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04c87fa29a738bf3fd1c0a89ba21244a.jpg","text":"TemporaryFile(/tmp/multipartBody4676886996327901243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764504983457,"filename":"image_30112025_10_43_04_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052975","file1":"1397052974","file0":"1397052972","file4":"1397052977","file5":"1397052980","file3":"1397052976"},"map_files_photo_id_array":[{"photo_id":"1397052980","filename":"file5"},{"photo_id":"1397052975","filename":"file2"},{"photo_id":"1397052977","filename":"file4"},{"photo_id":"1397052974","filename":"file1"},{"photo_id":"1397052972","filename":"file0"},{"photo_id":"1397052976","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052972":["hashtag1","hashtag2"]},{"1397052975":["hashtag1","hashtag2"]},{"1397052980":["hashtag1","hashtag2"]},{"1397052974":["hashtag1","hashtag2"]},{"1397052977":["hashtag1","hashtag2"]},{"1397052976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052972, 1397052975, 1397052980, 1397052974, 1397052977, 1397052976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30456805229187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:16:03.136988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_35_9744.jpg', '/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_44_9637.jpg', '/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_55_10770.jpg', '/home/pi/Desktop/images/30112025/10/43/image_30112025_10_44_05_9671.jpg', '/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_14_9777.jpg', '/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_24_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_35_9744.jpg
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_44_9637.jpg
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_43_55_10770.jpg
/home/pi/Desktop/images/30112025/10/43/image_30112025_10_44_05_9671.jpg
/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_14_9777.jpg
/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_24_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397052981","1397052984","1397052987","1397052983","1397052988","1397052982"],"photo_ids_order":["1397052981","1397052982","1397052983","1397052984","1397052987","1397052988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f575e6a4f36e1467e2b6bd11a1d2c14f.jpg","text":"TemporaryFile(/tmp/multipartBody3891016367228727757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_43_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/287011c0f1ac9bf8b19b80331b6ff01a.jpg","text":"TemporaryFile(/tmp/multipartBody5703057358278311884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_44_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ed317336222a431e91020843ff6540d.jpg","text":"TemporaryFile(/tmp/multipartBody2739744649879590172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_44_14_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7ea30a1615a0cada42826f8434b17dc.jpg","text":"TemporaryFile(/tmp/multipartBody4335138046804453285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_43_55_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47bc055030b86ab7883f6fe85ea0e441.jpg","text":"TemporaryFile(/tmp/multipartBody4201186274741553717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_44_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/183b80a213c978ea55a4a877da8c2b32.jpg","text":"TemporaryFile(/tmp/multipartBody2500128083657409353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505023967,"filename":"image_30112025_10_43_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397052983","file1":"1397052982","file0":"1397052981","file4":"1397052987","file5":"1397052988","file3":"1397052984"},"map_files_photo_id_array":[{"photo_id":"1397052988","filename":"file5"},{"photo_id":"1397052983","filename":"file2"},{"photo_id":"1397052987","filename":"file4"},{"photo_id":"1397052982","filename":"file1"},{"photo_id":"1397052981","filename":"file0"},{"photo_id":"1397052984","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397052981":["hashtag1","hashtag2"]},{"1397052984":["hashtag1","hashtag2"]},{"1397052987":["hashtag1","hashtag2"]},{"1397052983":["hashtag1","hashtag2"]},{"1397052988":["hashtag1","hashtag2"]},{"1397052982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397052981, 1397052984, 1397052987, 1397052983, 1397052988, 1397052982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31785869598389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:16:42.772200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/44/image_31102025_12_44_49_3659.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_52_2824.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_54_2745.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_57_2548.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_45_01_3825.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_04_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_49_3659.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_52_2824.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_54_2745.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_57_2548.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_45_01_3825.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_04_2820.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9832673072814941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:17:04.255901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:17:11.853477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_15_2718.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_18_2743.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_21_3669.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_24_2787.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_27_2528.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_33_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_15_2718.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_18_2743.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_21_3669.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_24_2787.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_27_2528.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_33_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053009","1397052999","1397053002","1397053005","1397053007","1397052997"],"photo_ids_order":["1397052997","1397052999","1397053002","1397053005","1397053007","1397053009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ce34eaccbdea33eb022035bb27fc6df.jpg","text":"TemporaryFile(/tmp/multipartBody6992756559566753896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_33_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/30/988dbc7d10a8d1e91f36be615527fd4d.jpg","text":"TemporaryFile(/tmp/multipartBody6373124928233076856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_18_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/171e87c94618d1ac3160d82e44eca062.jpg","text":"TemporaryFile(/tmp/multipartBody7857048875432645616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_21_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f75aca31372992e02e19962e97895d9.jpg","text":"TemporaryFile(/tmp/multipartBody6977781967304256938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_24_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/30/e62d0362430ab5562325fe6f51a00f52.jpg","text":"TemporaryFile(/tmp/multipartBody8568682955730939433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_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/30/702a729db666d07755c2672a7bb4c9cd.jpg","text":"TemporaryFile(/tmp/multipartBody5309304992331501132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505094346,"filename":"image_25112025_20_16_15_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053002","file1":"1397052999","file0":"1397052997","file4":"1397053007","file5":"1397053009","file3":"1397053005"},"map_files_photo_id_array":[{"photo_id":"1397053009","filename":"file5"},{"photo_id":"1397053002","filename":"file2"},{"photo_id":"1397053007","filename":"file4"},{"photo_id":"1397052999","filename":"file1"},{"photo_id":"1397052997","filename":"file0"},{"photo_id":"1397053005","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053009":["hashtag1","hashtag2"]},{"1397052999":["hashtag1","hashtag2"]},{"1397053002":["hashtag1","hashtag2"]},{"1397053005":["hashtag1","hashtag2"]},{"1397053007":["hashtag1","hashtag2"]},{"1397052997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053009, 1397052999, 1397053002, 1397053005, 1397053007, 1397052997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51007390022278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:18:02.597548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_34_9911.jpg', '/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_45_10668.jpg', '/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_13_10054.jpg', '/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_24_10719.jpg', '/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_34_9682.jpg', '/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_44_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_34_9911.jpg
/home/pi/Desktop/images/30112025/10/44/image_30112025_10_44_45_10668.jpg
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_13_10054.jpg
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_24_10719.jpg
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_34_9682.jpg
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_44_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053012","1397053014","1397053011","1397053019","1397053013","1397053016"],"photo_ids_order":["1397053011","1397053012","1397053013","1397053014","1397053016","1397053019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45c33758f0b59b856ca7d80963f965e6.jpg","text":"TemporaryFile(/tmp/multipartBody6193399489749094623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_44_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8df36dd5cc48e3b249ed9ee6f8755bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6399745646664690009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_45_24_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2b33a7ae694b1107a41a93abe9d3c21.jpg","text":"TemporaryFile(/tmp/multipartBody8693371444421541826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_44_34_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb70d4549b03708d62ce371e15734f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1478060707024175260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_45_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41fa7b52cd8b1e0934ae3ce8eb7f0d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4495644262793262195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_45_13_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8da6590b6e4a52c5fa170c5284302ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5745247394417844077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505143443,"filename":"image_30112025_10_45_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053013","file1":"1397053012","file0":"1397053011","file4":"1397053016","file5":"1397053019","file3":"1397053014"},"map_files_photo_id_array":[{"photo_id":"1397053019","filename":"file5"},{"photo_id":"1397053013","filename":"file2"},{"photo_id":"1397053016","filename":"file4"},{"photo_id":"1397053012","filename":"file1"},{"photo_id":"1397053011","filename":"file0"},{"photo_id":"1397053014","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053012":["hashtag1","hashtag2"]},{"1397053014":["hashtag1","hashtag2"]},{"1397053011":["hashtag1","hashtag2"]},{"1397053019":["hashtag1","hashtag2"]},{"1397053013":["hashtag1","hashtag2"]},{"1397053016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053012, 1397053014, 1397053011, 1397053019, 1397053013, 1397053016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35402536392212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:18:41.999999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/44/image_31102025_12_44_49_3659.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_52_2824.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_54_2745.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_57_2548.jpg', '/home/pi/Desktop/images/31102025/12/44/image_31102025_12_45_01_3825.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_04_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_49_3659.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_52_2824.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_54_2745.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_44_57_2548.jpg
/home/pi/Desktop/images/31102025/12/44/image_31102025_12_45_01_3825.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_04_2820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053032","1397053026","1397053029","1397053031","1397053028","1397053030"],"photo_ids_order":["1397053026","1397053028","1397053029","1397053030","1397053031","1397053032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c370e53aa5e8987921ee45b5e287a9fe.jpg","text":"TemporaryFile(/tmp/multipartBody5351400046342448525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_45_04_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/30/7dff76a6b3bed656703e6f5574d2df4c.jpg","text":"TemporaryFile(/tmp/multipartBody1050970244964126365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_44_49_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/30/6cb69dcfcb653ce9f80e29760c5b8b86.jpg","text":"TemporaryFile(/tmp/multipartBody642686063096241180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_44_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/30/beaed6436b9c64b77f1a8a1823b97177.jpg","text":"TemporaryFile(/tmp/multipartBody8189276546452361563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_45_01_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/30/eab976006d9170dfe81040dec59c123f.jpg","text":"TemporaryFile(/tmp/multipartBody993182485820775048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_44_52_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51990cbb5e01764f7898419a1db6cf05.jpg","text":"TemporaryFile(/tmp/multipartBody1754976327101139402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505182776,"filename":"image_31102025_12_44_57_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053029","file1":"1397053028","file0":"1397053026","file4":"1397053031","file5":"1397053032","file3":"1397053030"},"map_files_photo_id_array":[{"photo_id":"1397053032","filename":"file5"},{"photo_id":"1397053029","filename":"file2"},{"photo_id":"1397053031","filename":"file4"},{"photo_id":"1397053028","filename":"file1"},{"photo_id":"1397053026","filename":"file0"},{"photo_id":"1397053030","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053032":["hashtag1","hashtag2"]},{"1397053026":["hashtag1","hashtag2"]},{"1397053029":["hashtag1","hashtag2"]},{"1397053031":["hashtag1","hashtag2"]},{"1397053028":["hashtag1","hashtag2"]},{"1397053030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053032, 1397053026, 1397053029, 1397053031, 1397053028, 1397053030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33454442024231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:19:28.302627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_54_10729.jpg', '/home/pi/Desktop/images/30112025/10/45/image_30112025_10_46_04_9791.jpg', '/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_14_9658.jpg', '/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_23_9740.jpg', '/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_34_10608.jpg', '/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_44_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_45_54_10729.jpg
/home/pi/Desktop/images/30112025/10/45/image_30112025_10_46_04_9791.jpg
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_14_9658.jpg
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_23_9740.jpg
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_34_10608.jpg
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_44_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053041","1397053037","1397053046","1397053042","1397053045","1397053039"],"photo_ids_order":["1397053037","1397053039","1397053041","1397053042","1397053045","1397053046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cc5290e0066cea1ca9e24433f969116.jpg","text":"TemporaryFile(/tmp/multipartBody5020291997143915666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_46_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d12dbe4f37729281a7e4f1044bd05078.jpg","text":"TemporaryFile(/tmp/multipartBody6998031282668221283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_45_54_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3af35b83cb922ea47250489b3cda3d65.jpg","text":"TemporaryFile(/tmp/multipartBody6112023334285912805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_46_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01c1fcc0a06c01cc5f8b5a58ec509789.jpg","text":"TemporaryFile(/tmp/multipartBody6313232007103854460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_46_23_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aef5115ae96dcdb426058590cd41fc9d.jpg","text":"TemporaryFile(/tmp/multipartBody3516510168145883606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_46_34_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f148dc6097e0b42fc7fd72a8bef63067.jpg","text":"TemporaryFile(/tmp/multipartBody6718945136006310165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505229072,"filename":"image_30112025_10_46_04_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053041","file1":"1397053039","file0":"1397053037","file4":"1397053045","file5":"1397053046","file3":"1397053042"},"map_files_photo_id_array":[{"photo_id":"1397053046","filename":"file5"},{"photo_id":"1397053041","filename":"file2"},{"photo_id":"1397053045","filename":"file4"},{"photo_id":"1397053039","filename":"file1"},{"photo_id":"1397053037","filename":"file0"},{"photo_id":"1397053042","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053041":["hashtag1","hashtag2"]},{"1397053037":["hashtag1","hashtag2"]},{"1397053046":["hashtag1","hashtag2"]},{"1397053042":["hashtag1","hashtag2"]},{"1397053045":["hashtag1","hashtag2"]},{"1397053039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053041, 1397053037, 1397053046, 1397053042, 1397053045, 1397053039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27254390716553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:20:12.535609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_37_3823.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_40_3549.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_42_1545.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_44_2519.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_48_3295.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_50_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_37_3823.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_40_3549.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_42_1545.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_44_2519.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_48_3295.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_50_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053050","1397053053","1397053047","1397053055","1397053052","1397053054"],"photo_ids_order":["1397053047","1397053050","1397053052","1397053053","1397053054","1397053055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80d2dbe6d01e2334e1424a1d72058d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2925849827830035740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_40_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/30/a11f24496739ae93a7b158e2acddd794.jpg","text":"TemporaryFile(/tmp/multipartBody49830494312364876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_44_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/30/193495da28c48149c3499787e345ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody7674646263425100993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_37_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abc4880c52b1c4c21ca6691a215df065.jpg","text":"TemporaryFile(/tmp/multipartBody6154096332903884197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_50_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5139b672d5d19d886e3fac19e641043a.jpg","text":"TemporaryFile(/tmp/multipartBody7584589815838153542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_42_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/30/17c40eda8dee7f5e7d65d1f188eb828c.jpg","text":"TemporaryFile(/tmp/multipartBody6975272266843673736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505277365,"filename":"image_25112025_20_16_48_3295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053052","file1":"1397053050","file0":"1397053047","file4":"1397053054","file5":"1397053055","file3":"1397053053"},"map_files_photo_id_array":[{"photo_id":"1397053055","filename":"file5"},{"photo_id":"1397053052","filename":"file2"},{"photo_id":"1397053054","filename":"file4"},{"photo_id":"1397053050","filename":"file1"},{"photo_id":"1397053047","filename":"file0"},{"photo_id":"1397053053","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053050":["hashtag1","hashtag2"]},{"1397053053":["hashtag1","hashtag2"]},{"1397053047":["hashtag1","hashtag2"]},{"1397053055":["hashtag1","hashtag2"]},{"1397053052":["hashtag1","hashtag2"]},{"1397053054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053050, 1397053053, 1397053047, 1397053055, 1397053052, 1397053054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40747904777527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:21:02.704389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_54_9637.jpg', '/home/pi/Desktop/images/30112025/10/46/image_30112025_10_47_04_10801.jpg', '/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_14_9694.jpg', '/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_24_9895.jpg', '/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_34_9763.jpg', '/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_44_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_46_54_9637.jpg
/home/pi/Desktop/images/30112025/10/46/image_30112025_10_47_04_10801.jpg
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_14_9694.jpg
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_24_9895.jpg
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_34_9763.jpg
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_44_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053059","1397053058","1397053066","1397053060","1397053063","1397053057"],"photo_ids_order":["1397053057","1397053058","1397053059","1397053060","1397053063","1397053066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/208a649eaa3f0cca19c6ea71e16c0b62.jpg","text":"TemporaryFile(/tmp/multipartBody3782121929304213312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_47_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ead699134945c5106a826740164af94.jpg","text":"TemporaryFile(/tmp/multipartBody5641163973193940192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_47_04_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5d479bf8831bac73269d13097cb5108.jpg","text":"TemporaryFile(/tmp/multipartBody7801847892076134414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_47_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c930e10470ea8ebd8e3c533d54b1892.jpg","text":"TemporaryFile(/tmp/multipartBody8448551733928624495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_47_24_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf65f1cf450e5a913a5218216b9ba0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3098332892202674193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_47_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88e84100b7699c5a0834830b6f939424.jpg","text":"TemporaryFile(/tmp/multipartBody7687166118419801341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505323627,"filename":"image_30112025_10_46_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053059","file1":"1397053058","file0":"1397053057","file4":"1397053063","file5":"1397053066","file3":"1397053060"},"map_files_photo_id_array":[{"photo_id":"1397053066","filename":"file5"},{"photo_id":"1397053059","filename":"file2"},{"photo_id":"1397053063","filename":"file4"},{"photo_id":"1397053058","filename":"file1"},{"photo_id":"1397053057","filename":"file0"},{"photo_id":"1397053060","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053059":["hashtag1","hashtag2"]},{"1397053058":["hashtag1","hashtag2"]},{"1397053066":["hashtag1","hashtag2"]},{"1397053060":["hashtag1","hashtag2"]},{"1397053063":["hashtag1","hashtag2"]},{"1397053057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053059, 1397053058, 1397053066, 1397053060, 1397053063, 1397053057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85152196884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:21:42.114606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/45/image_31102025_12_45_06_2816.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_09_2826.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_13_3640.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_16_2849.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_18_2578.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_25_3825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_06_2816.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_09_2826.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_13_3640.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_16_2849.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_18_2578.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_25_3825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053071","1397053074","1397053073","1397053067","1397053072","1397053069"],"photo_ids_order":["1397053067","1397053069","1397053071","1397053072","1397053073","1397053074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dffd342fda8df8fa1c6a90e48a10d808.jpg","text":"TemporaryFile(/tmp/multipartBody2996616193949036916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_13_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/995e9a8ae37b80b7083da349b750042d.jpg","text":"TemporaryFile(/tmp/multipartBody6531649958240216056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_25_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/30/8155f8125ea7dc9c7e69d54c367120d4.jpg","text":"TemporaryFile(/tmp/multipartBody5504836323836202013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_18_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74b99c62473e4d41df7d7c06779b1936.jpg","text":"TemporaryFile(/tmp/multipartBody7625469182931054357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_06_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/30/6c41f22216b4c322ecf5e2eb671a26c7.jpg","text":"TemporaryFile(/tmp/multipartBody5928133888274989076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_16_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/30/82179bc11fd9cef66b9f104b1d013969.jpg","text":"TemporaryFile(/tmp/multipartBody7742831599403671854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505363070,"filename":"image_31102025_12_45_09_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053071","file1":"1397053069","file0":"1397053067","file4":"1397053073","file5":"1397053074","file3":"1397053072"},"map_files_photo_id_array":[{"photo_id":"1397053074","filename":"file5"},{"photo_id":"1397053071","filename":"file2"},{"photo_id":"1397053073","filename":"file4"},{"photo_id":"1397053069","filename":"file1"},{"photo_id":"1397053067","filename":"file0"},{"photo_id":"1397053072","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053071":["hashtag1","hashtag2"]},{"1397053074":["hashtag1","hashtag2"]},{"1397053073":["hashtag1","hashtag2"]},{"1397053067":["hashtag1","hashtag2"]},{"1397053072":["hashtag1","hashtag2"]},{"1397053069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053071, 1397053074, 1397053073, 1397053067, 1397053072, 1397053069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85995674133301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:22:22.320044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_54_9713.jpg', '/home/pi/Desktop/images/30112025/10/47/image_30112025_10_48_04_9748.jpg', '/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_14_9793.jpg', '/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_24_10736.jpg', '/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_34_9756.jpg', '/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_44_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_47_54_9713.jpg
/home/pi/Desktop/images/30112025/10/47/image_30112025_10_48_04_9748.jpg
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_14_9793.jpg
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_24_10736.jpg
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_34_9756.jpg
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_44_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053083","1397053077","1397053086","1397053088","1397053090","1397053081"],"photo_ids_order":["1397053077","1397053081","1397053083","1397053086","1397053088","1397053090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f85f02a384a8c2083186d1907d2a3c67.jpg","text":"TemporaryFile(/tmp/multipartBody2918410921668628311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_48_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27174fe307516c3523e88db979044cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8596160919493291678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_47_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66e3b3ab524d3effb3dc4a8e13fdeaea.jpg","text":"TemporaryFile(/tmp/multipartBody8534098200146254000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_48_24_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c9711a798aecb0cb982c18efcbc97d0.jpg","text":"TemporaryFile(/tmp/multipartBody8297822572822026933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_48_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f74c11cecae4f481484bf0997ddfb1bb.jpg","text":"TemporaryFile(/tmp/multipartBody8456282280864400568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_48_44_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/131e7e6bfab47a8f15202b88279b6672.jpg","text":"TemporaryFile(/tmp/multipartBody2745361879555432009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505403118,"filename":"image_30112025_10_48_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053083","file1":"1397053081","file0":"1397053077","file4":"1397053088","file5":"1397053090","file3":"1397053086"},"map_files_photo_id_array":[{"photo_id":"1397053090","filename":"file5"},{"photo_id":"1397053083","filename":"file2"},{"photo_id":"1397053088","filename":"file4"},{"photo_id":"1397053081","filename":"file1"},{"photo_id":"1397053077","filename":"file0"},{"photo_id":"1397053086","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053083":["hashtag1","hashtag2"]},{"1397053077":["hashtag1","hashtag2"]},{"1397053086":["hashtag1","hashtag2"]},{"1397053088":["hashtag1","hashtag2"]},{"1397053090":["hashtag1","hashtag2"]},{"1397053081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053083, 1397053077, 1397053086, 1397053088, 1397053090, 1397053081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91692495346069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:23:03.103254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_54_9615.jpg', '/home/pi/Desktop/images/30112025/10/48/image_30112025_10_49_04_10669.jpg', '/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_14_9751.jpg', '/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_24_9842.jpg', '/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_34_9767.jpg', '/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_54_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_48_54_9615.jpg
/home/pi/Desktop/images/30112025/10/48/image_30112025_10_49_04_10669.jpg
/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_14_9751.jpg
/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_24_9842.jpg
/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_34_9767.jpg
/home/pi/Desktop/images/30112025/10/49/image_30112025_10_49_54_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053092","1397053091","1397053094","1397053097","1397053100","1397053093"],"photo_ids_order":["1397053091","1397053092","1397053093","1397053094","1397053097","1397053100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14d2639c880403c9314a137567255f90.jpg","text":"TemporaryFile(/tmp/multipartBody3451681901782380076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_49_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58c38d3f0bd16e71a03dd3ba76d97de2.jpg","text":"TemporaryFile(/tmp/multipartBody4207736238336825502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_48_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bc2a5b60ac1263275e2b598f38a22c1.jpg","text":"TemporaryFile(/tmp/multipartBody3224678084993477748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_49_24_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ece19b91e90cc39eebe2e49cbd89ecc2.jpg","text":"TemporaryFile(/tmp/multipartBody1422672260304933228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_49_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ca9ef99a3a683831ccaa05067a19cad.jpg","text":"TemporaryFile(/tmp/multipartBody3078054270250908975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_49_54_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b212391ecfd84b674a11744f81d16f5.jpg","text":"TemporaryFile(/tmp/multipartBody2686413982089147266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505443990,"filename":"image_30112025_10_49_14_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053093","file1":"1397053092","file0":"1397053091","file4":"1397053097","file5":"1397053100","file3":"1397053094"},"map_files_photo_id_array":[{"photo_id":"1397053100","filename":"file5"},{"photo_id":"1397053093","filename":"file2"},{"photo_id":"1397053097","filename":"file4"},{"photo_id":"1397053092","filename":"file1"},{"photo_id":"1397053091","filename":"file0"},{"photo_id":"1397053094","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053092":["hashtag1","hashtag2"]},{"1397053091":["hashtag1","hashtag2"]},{"1397053094":["hashtag1","hashtag2"]},{"1397053097":["hashtag1","hashtag2"]},{"1397053100":["hashtag1","hashtag2"]},{"1397053093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053092, 1397053091, 1397053094, 1397053097, 1397053100, 1397053093)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.59021520614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:24:03.023134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_13_10037.jpg', '/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_24_10620.jpg', '/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_34_9826.jpg', '/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_44_9928.jpg', '/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_54_9772.jpg', '/home/pi/Desktop/images/30112025/10/51/image_30112025_10_52_03_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_13_10037.jpg
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_24_10620.jpg
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_34_9826.jpg
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_44_9928.jpg
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_51_54_9772.jpg
/home/pi/Desktop/images/30112025/10/51/image_30112025_10_52_03_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053111","1397053116","1397053119","1397053110","1397053112","1397053109"],"photo_ids_order":["1397053109","1397053110","1397053111","1397053112","1397053116","1397053119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6e984804defb54db93312e6418b3caa.jpg","text":"TemporaryFile(/tmp/multipartBody7055459015022044362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_51_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64627aa0c80af9f337357ffbed7c2744.jpg","text":"TemporaryFile(/tmp/multipartBody609527317854772124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_51_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6b5badc0b7fa6d1214885e28cb61b32.jpg","text":"TemporaryFile(/tmp/multipartBody7315105976847025126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_52_03_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a22d6d4c48590c4d3573e941511cf0e.jpg","text":"TemporaryFile(/tmp/multipartBody259413215107202096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_51_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a81548e14941c4c961fc2a0542fe903.jpg","text":"TemporaryFile(/tmp/multipartBody5361903006488230993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_51_44_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/195b7afa9fdb195900ce1b10571bccbc.jpg","text":"TemporaryFile(/tmp/multipartBody6358314657358626780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505504001,"filename":"image_30112025_10_51_13_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053111","file1":"1397053110","file0":"1397053109","file4":"1397053116","file5":"1397053119","file3":"1397053112"},"map_files_photo_id_array":[{"photo_id":"1397053119","filename":"file5"},{"photo_id":"1397053111","filename":"file2"},{"photo_id":"1397053116","filename":"file4"},{"photo_id":"1397053110","filename":"file1"},{"photo_id":"1397053109","filename":"file0"},{"photo_id":"1397053112","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053111":["hashtag1","hashtag2"]},{"1397053116":["hashtag1","hashtag2"]},{"1397053119":["hashtag1","hashtag2"]},{"1397053110":["hashtag1","hashtag2"]},{"1397053112":["hashtag1","hashtag2"]},{"1397053109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053111, 1397053116, 1397053119, 1397053110, 1397053112, 1397053109)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.90527153015137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:25:07.204430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_14_10753.jpg', '/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_24_9862.jpg', '/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_34_9848.jpg', '/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_44_9725.jpg', '/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_54_10709.jpg', '/home/pi/Desktop/images/30112025/10/52/image_30112025_10_53_04_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_14_10753.jpg
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_24_9862.jpg
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_34_9848.jpg
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_44_9725.jpg
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_52_54_10709.jpg
/home/pi/Desktop/images/30112025/10/52/image_30112025_10_53_04_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053125","1397053130","1397053124","1397053133","1397053127","1397053123"],"photo_ids_order":["1397053123","1397053124","1397053125","1397053127","1397053130","1397053133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0f82a83b3f109d5d479508f8a4e092f.jpg","text":"TemporaryFile(/tmp/multipartBody427990837378232999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_52_34_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6aa9019a8fd31b4cffd1f15e288d8f42.jpg","text":"TemporaryFile(/tmp/multipartBody2202092777298877055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_52_54_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a55d18a134be3aff169ecfd1fd7ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody6346506257255455293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_52_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a0565426c5284017374de843c602055.jpg","text":"TemporaryFile(/tmp/multipartBody264333541073433375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_53_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06e35678a9899825a75008e39895f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3939196566091731324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_52_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cee16e32e77385dccf221833e6d895e8.jpg","text":"TemporaryFile(/tmp/multipartBody572512425085560164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505568081,"filename":"image_30112025_10_52_14_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053125","file1":"1397053124","file0":"1397053123","file4":"1397053130","file5":"1397053133","file3":"1397053127"},"map_files_photo_id_array":[{"photo_id":"1397053133","filename":"file5"},{"photo_id":"1397053125","filename":"file2"},{"photo_id":"1397053130","filename":"file4"},{"photo_id":"1397053124","filename":"file1"},{"photo_id":"1397053123","filename":"file0"},{"photo_id":"1397053127","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053125":["hashtag1","hashtag2"]},{"1397053130":["hashtag1","hashtag2"]},{"1397053124":["hashtag1","hashtag2"]},{"1397053133":["hashtag1","hashtag2"]},{"1397053127":["hashtag1","hashtag2"]},{"1397053123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053125, 1397053130, 1397053124, 1397053133, 1397053127, 1397053123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41987156867981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:25:46.682690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/45/image_31102025_12_45_28_2727.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_30_2702.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_33_2681.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_37_3922.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_40_2662.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_42_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/12/45/image_31102025_12_45_28_2727.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_30_2702.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_33_2681.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_37_3922.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_40_2662.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_42_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053140","1397053142","1397053145","1397053139","1397053141","1397053144"],"photo_ids_order":["1397053139","1397053140","1397053141","1397053142","1397053144","1397053145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1ce2bf34202c4368e6425ce773dbdb8.jpg","text":"TemporaryFile(/tmp/multipartBody4021633807950940689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_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/30/28af09d4d00056ffd33de4ee6de10bba.jpg","text":"TemporaryFile(/tmp/multipartBody741655643140693625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_37_3922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e91be29c242846b2200893bee908de7a.jpg","text":"TemporaryFile(/tmp/multipartBody8876805414923662259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_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/30/337b7ff5a76afceec2c3e8445ee4e815.jpg","text":"TemporaryFile(/tmp/multipartBody6407274834620879595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cacf7e0acb25e30dc7da0c04d3459383.jpg","text":"TemporaryFile(/tmp/multipartBody201326929372033259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_33_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/30/4c65d190ac9c433acf995eda0aef0683.jpg","text":"TemporaryFile(/tmp/multipartBody5648747849407125662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505607637,"filename":"image_31102025_12_45_40_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053141","file1":"1397053140","file0":"1397053139","file4":"1397053144","file5":"1397053145","file3":"1397053142"},"map_files_photo_id_array":[{"photo_id":"1397053145","filename":"file5"},{"photo_id":"1397053141","filename":"file2"},{"photo_id":"1397053144","filename":"file4"},{"photo_id":"1397053140","filename":"file1"},{"photo_id":"1397053139","filename":"file0"},{"photo_id":"1397053142","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053140":["hashtag1","hashtag2"]},{"1397053142":["hashtag1","hashtag2"]},{"1397053145":["hashtag1","hashtag2"]},{"1397053139":["hashtag1","hashtag2"]},{"1397053141":["hashtag1","hashtag2"]},{"1397053144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053140, 1397053142, 1397053145, 1397053139, 1397053141, 1397053144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6692590713501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:26:31.908469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_54_3608.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_57_2556.jpg', '/home/pi/Desktop/images/25112025/20/16/image_25112025_20_17_00_3771.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_03_2535.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_06_2738.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_09_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_54_3608.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_16_57_2556.jpg
/home/pi/Desktop/images/25112025/20/16/image_25112025_20_17_00_3771.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_03_2535.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_06_2738.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_09_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397053164","1397053152","1397053160","1397053154","1397053157","1397053162"],"photo_ids_order":["1397053152","1397053154","1397053157","1397053160","1397053162","1397053164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d81bc2ef60260afa622ef9fe52a58c9.jpg","text":"TemporaryFile(/tmp/multipartBody7305657594462980174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_17_09_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/30/0ced7609a5af932444e11288814e5c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8175629723242972564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_16_54_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/30/faa8643d13502bd87b43e64203979d57.jpg","text":"TemporaryFile(/tmp/multipartBody5210015631880453877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_17_03_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/30/5f7f940f5d1351e28b19fb934ee4fc00.jpg","text":"TemporaryFile(/tmp/multipartBody8893447126645531684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_16_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/30/be21b4d2631004d8ec7eb65809953375.jpg","text":"TemporaryFile(/tmp/multipartBody2776679436673810493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_17_00_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/30/2259cc6499f0825c6f79884732bf4cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4149861096796912573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505653962,"filename":"image_25112025_20_17_06_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053157","file1":"1397053154","file0":"1397053152","file4":"1397053162","file5":"1397053164","file3":"1397053160"},"map_files_photo_id_array":[{"photo_id":"1397053164","filename":"file5"},{"photo_id":"1397053157","filename":"file2"},{"photo_id":"1397053162","filename":"file4"},{"photo_id":"1397053154","filename":"file1"},{"photo_id":"1397053152","filename":"file0"},{"photo_id":"1397053160","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053164":["hashtag1","hashtag2"]},{"1397053152":["hashtag1","hashtag2"]},{"1397053160":["hashtag1","hashtag2"]},{"1397053154":["hashtag1","hashtag2"]},{"1397053157":["hashtag1","hashtag2"]},{"1397053162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053164, 1397053152, 1397053160, 1397053154, 1397053157, 1397053162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21419620513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:27:22.138612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_14_10124.jpg', '/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_24_9668.jpg', '/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_33_9636.jpg', '/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_44_10828.jpg', '/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_54_9345.jpg', '/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_24_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_14_10124.jpg
/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_24_9668.jpg
/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_33_9636.jpg
/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_44_10828.jpg
/home/pi/Desktop/images/30112025/10/53/image_30112025_10_53_54_9345.jpg
/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_24_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053173","1397053172","1397053175","1397053169","1397053171","1397053174"],"photo_ids_order":["1397053169","1397053171","1397053172","1397053173","1397053174","1397053175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af0fa7aa008b906781c4332f829767a0.jpg","text":"TemporaryFile(/tmp/multipartBody528496273624050349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_53_44_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79a7faa53c4c16d387411ebeeba19098.jpg","text":"TemporaryFile(/tmp/multipartBody4494588966242835309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_53_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7a51905f3fc0df9e8b4191bbcbf3c94.jpg","text":"TemporaryFile(/tmp/multipartBody4538717567373740449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_54_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0266ee2ec2dc53c7480623e2eb4b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5905742794294704492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_53_14_10124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e320923ccfaf3f41032601a49c15e297.jpg","text":"TemporaryFile(/tmp/multipartBody1859423541672287027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_53_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/761c492c5694d3bcb7188699207c8455.jpg","text":"TemporaryFile(/tmp/multipartBody5107704988585774386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505702910,"filename":"image_30112025_10_53_54_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053172","file1":"1397053171","file0":"1397053169","file4":"1397053174","file5":"1397053175","file3":"1397053173"},"map_files_photo_id_array":[{"photo_id":"1397053175","filename":"file5"},{"photo_id":"1397053172","filename":"file2"},{"photo_id":"1397053174","filename":"file4"},{"photo_id":"1397053171","filename":"file1"},{"photo_id":"1397053169","filename":"file0"},{"photo_id":"1397053173","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053173":["hashtag1","hashtag2"]},{"1397053172":["hashtag1","hashtag2"]},{"1397053175":["hashtag1","hashtag2"]},{"1397053169":["hashtag1","hashtag2"]},{"1397053171":["hashtag1","hashtag2"]},{"1397053174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053173, 1397053172, 1397053175, 1397053169, 1397053171, 1397053174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.981481313705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:28:02.783928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_34_9797.jpg', '/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_44_10700.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_14_10033.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_25_10834.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_35_9850.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_44_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_34_9797.jpg
/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_44_10700.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_14_10033.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_25_10834.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_35_9850.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_44_9836.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.764232873916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:28:12.405804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_24_2645.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_26_2699.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_30_3655.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_39_3561.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_42_2715.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_45_3235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_24_2645.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_26_2699.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_30_3655.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_39_3561.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_42_2715.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_45_3235.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053188","1397053182","1397053179","1397053190","1397053186","1397053189"],"photo_ids_order":["1397053179","1397053182","1397053186","1397053188","1397053189","1397053190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2a2116c89554d46b483987686c68449.jpg","text":"TemporaryFile(/tmp/multipartBody7387112049342165963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_39_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/30/b6836db98e37ca69aec971aecebbc250.jpg","text":"TemporaryFile(/tmp/multipartBody5592827324642476774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_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/30/299c290157ca3c925bd90cc99316b712.jpg","text":"TemporaryFile(/tmp/multipartBody3689142739635700960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_24_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e52158ca00dcb3e1d9286bba7f2d1b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4328730115685425580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_45_3235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b18388c9a32f36181edfdbd53c22512.jpg","text":"TemporaryFile(/tmp/multipartBody7488335332681186381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_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/30/7c49f9eb1a0484526016240c5442e212.jpg","text":"TemporaryFile(/tmp/multipartBody5715589133421717156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505754406,"filename":"image_25112025_20_17_42_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053186","file1":"1397053182","file0":"1397053179","file4":"1397053189","file5":"1397053190","file3":"1397053188"},"map_files_photo_id_array":[{"photo_id":"1397053190","filename":"file5"},{"photo_id":"1397053186","filename":"file2"},{"photo_id":"1397053189","filename":"file4"},{"photo_id":"1397053182","filename":"file1"},{"photo_id":"1397053179","filename":"file0"},{"photo_id":"1397053188","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053188":["hashtag1","hashtag2"]},{"1397053182":["hashtag1","hashtag2"]},{"1397053179":["hashtag1","hashtag2"]},{"1397053190":["hashtag1","hashtag2"]},{"1397053186":["hashtag1","hashtag2"]},{"1397053189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053188, 1397053182, 1397053179, 1397053190, 1397053186, 1397053189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30859613418579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:29:03.377542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_34_9797.jpg', '/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_44_10700.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_14_10033.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_25_10834.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_35_9850.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_44_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_34_9797.jpg
/home/pi/Desktop/images/30112025/10/54/image_30112025_10_54_44_10700.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_14_10033.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_25_10834.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_35_9850.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_44_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053194","1397053203","1397053196","1397053195","1397053198","1397053192"],"photo_ids_order":["1397053192","1397053194","1397053195","1397053196","1397053198","1397053203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/feab7b3b5ba66195e3286c15ee876bc5.jpg","text":"TemporaryFile(/tmp/multipartBody34930059452665552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_54_44_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a468c70cd28896bd21b705da4c06ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5357812082000860510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_56_44_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0875e60efeb2a19af96aa275cf39188e.jpg","text":"TemporaryFile(/tmp/multipartBody4649974215113725083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_56_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c274124b687ef090bebf43532714e7df.jpg","text":"TemporaryFile(/tmp/multipartBody3868489451585831214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_56_14_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/141f57faa2d5fd3e10a9b59d2914ba8a.jpg","text":"TemporaryFile(/tmp/multipartBody749719146114973411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_56_35_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31b71c4efb0c17f18b9f7d6ef40759e7.jpg","text":"TemporaryFile(/tmp/multipartBody7878365687532920536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505804406,"filename":"image_30112025_10_54_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053195","file1":"1397053194","file0":"1397053192","file4":"1397053198","file5":"1397053203","file3":"1397053196"},"map_files_photo_id_array":[{"photo_id":"1397053203","filename":"file5"},{"photo_id":"1397053195","filename":"file2"},{"photo_id":"1397053198","filename":"file4"},{"photo_id":"1397053194","filename":"file1"},{"photo_id":"1397053192","filename":"file0"},{"photo_id":"1397053196","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053194":["hashtag1","hashtag2"]},{"1397053203":["hashtag1","hashtag2"]},{"1397053196":["hashtag1","hashtag2"]},{"1397053195":["hashtag1","hashtag2"]},{"1397053198":["hashtag1","hashtag2"]},{"1397053192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053194, 1397053203, 1397053196, 1397053195, 1397053198, 1397053192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.268229961395264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:29:42.470970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/45/image_31102025_12_45_46_3671.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_49_2738.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_51_2725.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_54_2669.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_58_3651.jpg', '/home/pi/Desktop/images/31102025/12/45/image_31102025_12_46_00_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/12/45/image_31102025_12_45_46_3671.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_49_2738.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_51_2725.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_54_2669.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_45_58_3651.jpg
/home/pi/Desktop/images/31102025/12/45/image_31102025_12_46_00_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":["1397053210","1397053212","1397053211","1397053214","1397053208","1397053213"],"photo_ids_order":["1397053208","1397053210","1397053211","1397053212","1397053213","1397053214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdaf0d372d75a9848c02faa2500c1682.jpg","text":"TemporaryFile(/tmp/multipartBody4463877754330301088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_45_49_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/30/bd922fb43f3f16567fd1f93501dbbb57.jpg","text":"TemporaryFile(/tmp/multipartBody5612181130261889794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_45_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/30/3e1f9c77f45e1855cd7ef0f8c68370e0.jpg","text":"TemporaryFile(/tmp/multipartBody5144136201472664326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_45_51_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c439d0ea37d2bc4f41ee32d94eafefb.jpg","text":"TemporaryFile(/tmp/multipartBody5369191120260185402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_46_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/30/085c06e6d669ddd9e03e47702dee45f5.jpg","text":"TemporaryFile(/tmp/multipartBody4829994024640618186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_45_46_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/30/892278ef2ca285857fd803281b80ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody7004666637889924558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505843638,"filename":"image_31102025_12_45_58_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053211","file1":"1397053210","file0":"1397053208","file4":"1397053213","file5":"1397053214","file3":"1397053212"},"map_files_photo_id_array":[{"photo_id":"1397053214","filename":"file5"},{"photo_id":"1397053211","filename":"file2"},{"photo_id":"1397053213","filename":"file4"},{"photo_id":"1397053210","filename":"file1"},{"photo_id":"1397053208","filename":"file0"},{"photo_id":"1397053212","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053210":["hashtag1","hashtag2"]},{"1397053212":["hashtag1","hashtag2"]},{"1397053211":["hashtag1","hashtag2"]},{"1397053214":["hashtag1","hashtag2"]},{"1397053208":["hashtag1","hashtag2"]},{"1397053213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053210, 1397053212, 1397053211, 1397053214, 1397053208, 1397053213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58621382713318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:30:22.642520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_54_9839.jpg', '/home/pi/Desktop/images/30112025/10/56/image_30112025_10_57_04_9743.jpg', '/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_25_10779.jpg', '/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_34_9769.jpg', '/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_44_9819.jpg', '/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_56_54_9839.jpg
/home/pi/Desktop/images/30112025/10/56/image_30112025_10_57_04_9743.jpg
/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_25_10779.jpg
/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_34_9769.jpg
/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_44_9819.jpg
/home/pi/Desktop/images/30112025/10/57/image_30112025_10_57_54_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053225","1397053221","1397053218","1397053223","1397053226","1397053228"],"photo_ids_order":["1397053218","1397053221","1397053223","1397053225","1397053226","1397053228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f1379b599a477d0e6f73bb4edc9af6d.jpg","text":"TemporaryFile(/tmp/multipartBody2199983302863363197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_57_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/095a0be1dffd040927c35ec9106f08f7.jpg","text":"TemporaryFile(/tmp/multipartBody2434862818411909145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_57_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a78064c42a4ae471db61b5751c0949e.jpg","text":"TemporaryFile(/tmp/multipartBody8749539002836131809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_56_54_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3b0077c3828bc584feb6792fa95728e.jpg","text":"TemporaryFile(/tmp/multipartBody6951140968896885524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_57_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2153d6051f5a48f05416cdf7bd2fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody2039347258515830019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_57_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f90f01713aa342128df7cbd14d3b237d.jpg","text":"TemporaryFile(/tmp/multipartBody4665796045846689216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505883412,"filename":"image_30112025_10_57_54_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053223","file1":"1397053221","file0":"1397053218","file4":"1397053226","file5":"1397053228","file3":"1397053225"},"map_files_photo_id_array":[{"photo_id":"1397053228","filename":"file5"},{"photo_id":"1397053223","filename":"file2"},{"photo_id":"1397053226","filename":"file4"},{"photo_id":"1397053221","filename":"file1"},{"photo_id":"1397053218","filename":"file0"},{"photo_id":"1397053225","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053225":["hashtag1","hashtag2"]},{"1397053221":["hashtag1","hashtag2"]},{"1397053218":["hashtag1","hashtag2"]},{"1397053223":["hashtag1","hashtag2"]},{"1397053226":["hashtag1","hashtag2"]},{"1397053228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053225, 1397053221, 1397053218, 1397053223, 1397053226, 1397053228)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.99490714073181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:31:11.856939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_48_3096.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_51_2780.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_54_2709.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_56_2680.jpg', '/home/pi/Desktop/images/25112025/20/17/image_25112025_20_18_00_3702.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_03_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_48_3096.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_51_2780.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_54_2709.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_17_56_2680.jpg
/home/pi/Desktop/images/25112025/20/17/image_25112025_20_18_00_3702.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_03_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053230","1397053231","1397053240","1397053234","1397053243","1397053237"],"photo_ids_order":["1397053230","1397053231","1397053234","1397053237","1397053240","1397053243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92606339354206094fb44719b6698841.jpg","text":"TemporaryFile(/tmp/multipartBody6863078380745170645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_17_48_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/30/d4ce1d387244b4485f8fd05208b78ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2129005404544077534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_17_51_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/30/f0f0e4a1f932f6d7e3905393d0caefab.jpg","text":"TemporaryFile(/tmp/multipartBody3275129712399236119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_18_00_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/30/85cb58e54b8f207875fb5667fd96c016.jpg","text":"TemporaryFile(/tmp/multipartBody3171348353816998965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_17_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/30/9caf9f456997df7d18c61123f4d6c095.jpg","text":"TemporaryFile(/tmp/multipartBody3522426514343536994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_18_03_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8b834c6cf63a1aa351153f63dfec382.jpg","text":"TemporaryFile(/tmp/multipartBody7453483393630775194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505933788,"filename":"image_25112025_20_17_56_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053234","file1":"1397053231","file0":"1397053230","file4":"1397053240","file5":"1397053243","file3":"1397053237"},"map_files_photo_id_array":[{"photo_id":"1397053243","filename":"file5"},{"photo_id":"1397053234","filename":"file2"},{"photo_id":"1397053240","filename":"file4"},{"photo_id":"1397053231","filename":"file1"},{"photo_id":"1397053230","filename":"file0"},{"photo_id":"1397053237","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053230":["hashtag1","hashtag2"]},{"1397053231":["hashtag1","hashtag2"]},{"1397053240":["hashtag1","hashtag2"]},{"1397053234":["hashtag1","hashtag2"]},{"1397053243":["hashtag1","hashtag2"]},{"1397053237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053230, 1397053231, 1397053240, 1397053234, 1397053243, 1397053237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51456022262573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:32:10.639012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_14_9650.jpg', '/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_34_9712.jpg', '/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_45_10629.jpg', '/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_54_9705.jpg', '/home/pi/Desktop/images/30112025/10/58/image_30112025_10_59_04_9768.jpg', '/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_14_9650.jpg
/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_34_9712.jpg
/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_45_10629.jpg
/home/pi/Desktop/images/30112025/10/58/image_30112025_10_58_54_9705.jpg
/home/pi/Desktop/images/30112025/10/58/image_30112025_10_59_04_9768.jpg
/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_24_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053257","1397053251","1397053245","1397053254","1397053248","1397053246"],"photo_ids_order":["1397053245","1397053246","1397053248","1397053251","1397053254","1397053257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1aa53a555c610527af1104bb37ba4d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6942715268660930472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_59_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/227a01232556e593087cdcfe417589ce.jpg","text":"TemporaryFile(/tmp/multipartBody1062259171319920917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_58_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0062f49a5ab76b46c027d745f653359a.jpg","text":"TemporaryFile(/tmp/multipartBody1742830443964119402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_58_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d9aa03d3a8152a9cc291c527b646f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6419770898706320256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_59_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68f1e78b35e7dc9f4bda3c6a78d78d59.jpg","text":"TemporaryFile(/tmp/multipartBody5587113505111724416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_58_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f59d8ed321fe6a00b2234f8b96ca48a8.jpg","text":"TemporaryFile(/tmp/multipartBody7812207998980697803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764505991450,"filename":"image_30112025_10_58_34_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053248","file1":"1397053246","file0":"1397053245","file4":"1397053254","file5":"1397053257","file3":"1397053251"},"map_files_photo_id_array":[{"photo_id":"1397053257","filename":"file5"},{"photo_id":"1397053248","filename":"file2"},{"photo_id":"1397053254","filename":"file4"},{"photo_id":"1397053246","filename":"file1"},{"photo_id":"1397053245","filename":"file0"},{"photo_id":"1397053251","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053257":["hashtag1","hashtag2"]},{"1397053251":["hashtag1","hashtag2"]},{"1397053245":["hashtag1","hashtag2"]},{"1397053254":["hashtag1","hashtag2"]},{"1397053248":["hashtag1","hashtag2"]},{"1397053246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053257, 1397053251, 1397053245, 1397053254, 1397053248, 1397053246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86227011680603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:33:02.802431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_45_10687.jpg', '/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_54_9709.jpg', '/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_13_10037.jpg', '/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_24_10622.jpg', '/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_34_9913.jpg', '/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_44_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_45_10687.jpg
/home/pi/Desktop/images/30112025/10/59/image_30112025_10_59_54_9709.jpg
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_13_10037.jpg
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_24_10622.jpg
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_34_9913.jpg
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_44_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053260","1397053262","1397053259","1397053264","1397053267","1397053261"],"photo_ids_order":["1397053259","1397053260","1397053261","1397053262","1397053264","1397053267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a260acd1ae4576b8f4f9348ec31a79a.jpg","text":"TemporaryFile(/tmp/multipartBody7519514640628438479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_10_59_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d18c94e96536380401ab1b64b60af232.jpg","text":"TemporaryFile(/tmp/multipartBody5980607620143370060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_11_01_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98ed860e2e8da5fb85e237e325d8dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody7466575283288443372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_10_59_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d52dbfae132c08955d79676960248f68.jpg","text":"TemporaryFile(/tmp/multipartBody2139196491627416905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_11_01_34_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acb26977c127b30567845003dad3cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody5618493657157576233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_11_01_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33b563d9d2c45f6668ef4df6d35fcae9.jpg","text":"TemporaryFile(/tmp/multipartBody3276218154546436823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506043711,"filename":"image_30112025_11_01_13_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053261","file1":"1397053260","file0":"1397053259","file4":"1397053264","file5":"1397053267","file3":"1397053262"},"map_files_photo_id_array":[{"photo_id":"1397053267","filename":"file5"},{"photo_id":"1397053261","filename":"file2"},{"photo_id":"1397053264","filename":"file4"},{"photo_id":"1397053260","filename":"file1"},{"photo_id":"1397053259","filename":"file0"},{"photo_id":"1397053262","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053260":["hashtag1","hashtag2"]},{"1397053262":["hashtag1","hashtag2"]},{"1397053259":["hashtag1","hashtag2"]},{"1397053264":["hashtag1","hashtag2"]},{"1397053267":["hashtag1","hashtag2"]},{"1397053261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053260, 1397053262, 1397053259, 1397053264, 1397053267, 1397053261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.759841203689575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:33:42.042869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/46/image_31102025_12_46_03_2642.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_12_2947.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_21_2644.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_27_2748.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_31_3608.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_33_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_03_2642.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_12_2947.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_21_2644.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_27_2748.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_31_3608.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_33_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":["1397053275","1397053278","1397053277","1397053276","1397053279","1397053273"],"photo_ids_order":["1397053273","1397053275","1397053276","1397053277","1397053278","1397053279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/528fb1770591800a66b5d1b3d21c31e6.jpg","text":"TemporaryFile(/tmp/multipartBody1370461659577615168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_12_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/474a7b4fd3e09f2902f74575943c4906.jpg","text":"TemporaryFile(/tmp/multipartBody1902828552648089786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_31_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/30/87de4a2b33579c1f1ca04cf643a6f390.jpg","text":"TemporaryFile(/tmp/multipartBody804269199138071409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_27_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/30/34665d8123727e01d86a95bf428e96ea.jpg","text":"TemporaryFile(/tmp/multipartBody8775617533882108632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_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/30/81dd719e0048d5a8e6f7c9a7530209a6.jpg","text":"TemporaryFile(/tmp/multipartBody7634801211460126238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_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/30/d0659c9feda40ebff3d15664fe11ffea.jpg","text":"TemporaryFile(/tmp/multipartBody7719235540061082225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506082950,"filename":"image_31102025_12_46_03_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053276","file1":"1397053275","file0":"1397053273","file4":"1397053278","file5":"1397053279","file3":"1397053277"},"map_files_photo_id_array":[{"photo_id":"1397053279","filename":"file5"},{"photo_id":"1397053276","filename":"file2"},{"photo_id":"1397053278","filename":"file4"},{"photo_id":"1397053275","filename":"file1"},{"photo_id":"1397053273","filename":"file0"},{"photo_id":"1397053277","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053275":["hashtag1","hashtag2"]},{"1397053278":["hashtag1","hashtag2"]},{"1397053277":["hashtag1","hashtag2"]},{"1397053276":["hashtag1","hashtag2"]},{"1397053279":["hashtag1","hashtag2"]},{"1397053273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053275, 1397053278, 1397053277, 1397053276, 1397053279, 1397053273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245803356170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:34:22.364271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_54_9990.jpg', '/home/pi/Desktop/images/30112025/11/01/image_30112025_11_02_03_9687.jpg', '/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_14_10713.jpg', '/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_24_9638.jpg', '/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_34_9815.jpg', '/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_44_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_01_54_9990.jpg
/home/pi/Desktop/images/30112025/11/01/image_30112025_11_02_03_9687.jpg
/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_14_10713.jpg
/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_24_9638.jpg
/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_34_9815.jpg
/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_44_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053293","1397053296","1397053290","1397053282","1397053285","1397053288"],"photo_ids_order":["1397053282","1397053285","1397053288","1397053290","1397053293","1397053296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be3ba480f9ddf21fde576149a00c5ee4.jpg","text":"TemporaryFile(/tmp/multipartBody485455794757239304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_02_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3690c7e2a2f13df92917e806874335a9.jpg","text":"TemporaryFile(/tmp/multipartBody183435013676999942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_02_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b332507f625c713458820cc8fc566e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7784299169311762027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_02_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61b734a63361cb08a1f78907423556cb.jpg","text":"TemporaryFile(/tmp/multipartBody7071751437323677280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_01_54_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/542f65e2466d2ff9af234ceb51181320.jpg","text":"TemporaryFile(/tmp/multipartBody8389022369473867860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_02_03_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3eb1005d26c3afb97071ada38783b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5851029114546503298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506123231,"filename":"image_30112025_11_02_14_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053288","file1":"1397053285","file0":"1397053282","file4":"1397053293","file5":"1397053296","file3":"1397053290"},"map_files_photo_id_array":[{"photo_id":"1397053296","filename":"file5"},{"photo_id":"1397053288","filename":"file2"},{"photo_id":"1397053293","filename":"file4"},{"photo_id":"1397053285","filename":"file1"},{"photo_id":"1397053282","filename":"file0"},{"photo_id":"1397053290","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053293":["hashtag1","hashtag2"]},{"1397053296":["hashtag1","hashtag2"]},{"1397053290":["hashtag1","hashtag2"]},{"1397053282":["hashtag1","hashtag2"]},{"1397053285":["hashtag1","hashtag2"]},{"1397053288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053293, 1397053296, 1397053290, 1397053282, 1397053285, 1397053288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43180751800537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:35:03.236932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_54_9667.jpg', '/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_14_10710.jpg', '/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_24_9725.jpg', '/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_34_9832.jpg', '/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_44_9698.jpg', '/home/pi/Desktop/images/30112025/11/03/image_30112025_11_04_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/02/image_30112025_11_02_54_9667.jpg
/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_14_10710.jpg
/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_24_9725.jpg
/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_34_9832.jpg
/home/pi/Desktop/images/30112025/11/03/image_30112025_11_03_44_9698.jpg
/home/pi/Desktop/images/30112025/11/03/image_30112025_11_04_04_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053303","1397053305","1397053308","1397053302","1397053313","1397053301"],"photo_ids_order":["1397053301","1397053302","1397053303","1397053305","1397053308","1397053313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a633b82f96d2181cd6198ee0358bf97.jpg","text":"TemporaryFile(/tmp/multipartBody7779937427636114178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_03_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfcbac25d65dd0af985b09064bb389a3.jpg","text":"TemporaryFile(/tmp/multipartBody6921953823192922948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_03_34_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e95fef96d511abd41fd6136903c9cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1530621651044814301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_03_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c0e37bfbd11ec8e2d43c2e4045b01c6.jpg","text":"TemporaryFile(/tmp/multipartBody4485365096639531546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_03_14_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77127d9fb9644506d13b046bcc6c1731.jpg","text":"TemporaryFile(/tmp/multipartBody832449942658423200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_04_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e8b89466aae6ac78e7ff755eb2f65fa.jpg","text":"TemporaryFile(/tmp/multipartBody6422767841812448711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506168436,"filename":"image_30112025_11_02_54_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053303","file1":"1397053302","file0":"1397053301","file4":"1397053308","file5":"1397053313","file3":"1397053305"},"map_files_photo_id_array":[{"photo_id":"1397053313","filename":"file5"},{"photo_id":"1397053303","filename":"file2"},{"photo_id":"1397053308","filename":"file4"},{"photo_id":"1397053302","filename":"file1"},{"photo_id":"1397053301","filename":"file0"},{"photo_id":"1397053305","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053303":["hashtag1","hashtag2"]},{"1397053305":["hashtag1","hashtag2"]},{"1397053308":["hashtag1","hashtag2"]},{"1397053302":["hashtag1","hashtag2"]},{"1397053313":["hashtag1","hashtag2"]},{"1397053301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053303, 1397053305, 1397053308, 1397053302, 1397053313, 1397053301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.2224383354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:36:03.094253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_14_9932.jpg', '/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_24_9913.jpg', '/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_34_9765.jpg', '/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_44_10698.jpg', '/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_54_9606.jpg', '/home/pi/Desktop/images/30112025/11/05/image_30112025_11_05_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_14_9932.jpg
/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_24_9913.jpg
/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_34_9765.jpg
/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_44_10698.jpg
/home/pi/Desktop/images/30112025/11/04/image_30112025_11_04_54_9606.jpg
/home/pi/Desktop/images/30112025/11/05/image_30112025_11_05_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053323","1397053329","1397053322","1397053325","1397053319","1397053321"],"photo_ids_order":["1397053319","1397053321","1397053322","1397053323","1397053325","1397053329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d6827673a656c9b79c6c30b00e07b23.jpg","text":"TemporaryFile(/tmp/multipartBody4913158375963713281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_04_44_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f90389b313d1012ea02130fcb32d22a.jpg","text":"TemporaryFile(/tmp/multipartBody6572168899714889585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_05_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58d9a4ee6757997ebacb804ae28782d4.jpg","text":"TemporaryFile(/tmp/multipartBody7707501766641711569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_04_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2d45bcca1e653ae4192202718e39a75.jpg","text":"TemporaryFile(/tmp/multipartBody8320611157859695475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_04_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87deedc8f7469b0a974ca6b1a8de273f.jpg","text":"TemporaryFile(/tmp/multipartBody3633029334432500815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_04_14_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acb7bb6483b66a3d6de28f624636d4b3.jpg","text":"TemporaryFile(/tmp/multipartBody1185136717080932610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506224112,"filename":"image_30112025_11_04_24_9913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053322","file1":"1397053321","file0":"1397053319","file4":"1397053325","file5":"1397053329","file3":"1397053323"},"map_files_photo_id_array":[{"photo_id":"1397053329","filename":"file5"},{"photo_id":"1397053322","filename":"file2"},{"photo_id":"1397053325","filename":"file4"},{"photo_id":"1397053321","filename":"file1"},{"photo_id":"1397053319","filename":"file0"},{"photo_id":"1397053323","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053323":["hashtag1","hashtag2"]},{"1397053329":["hashtag1","hashtag2"]},{"1397053322":["hashtag1","hashtag2"]},{"1397053325":["hashtag1","hashtag2"]},{"1397053319":["hashtag1","hashtag2"]},{"1397053321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053323, 1397053329, 1397053322, 1397053325, 1397053319, 1397053321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963441371917725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:36:42.772223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/46/image_31102025_12_46_36_2672.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_40_3832.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_42_2663.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_45_2661.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_48_2803.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_52_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/12/46/image_31102025_12_46_36_2672.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_40_3832.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_42_2663.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_45_2661.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_48_2803.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_52_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":["1397053338","1397053335","1397053334","1397053337","1397053339","1397053336"],"photo_ids_order":["1397053334","1397053335","1397053336","1397053337","1397053338","1397053339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fd6619c699b4e624498f4b2f72ed439.jpg","text":"TemporaryFile(/tmp/multipartBody1731325517598493456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_48_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/30/23fd4cdd5cc20726d3cc4109bd470c23.jpg","text":"TemporaryFile(/tmp/multipartBody4093012600592848175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_40_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/30/f1ae41dd21946689285f386a645f46a7.jpg","text":"TemporaryFile(/tmp/multipartBody6192391399006017115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_36_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/30/ba86d65d66ca74ef24197d6cb82bd7c5.jpg","text":"TemporaryFile(/tmp/multipartBody8739719735240876253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_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/30/a822e67ef652a680473e51edf1090dcb.jpg","text":"TemporaryFile(/tmp/multipartBody948220469198285421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_52_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/30/174fe9b5856637613e265fafe2fa28aa.jpg","text":"TemporaryFile(/tmp/multipartBody4394949257261204395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506263676,"filename":"image_31102025_12_46_42_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053336","file1":"1397053335","file0":"1397053334","file4":"1397053338","file5":"1397053339","file3":"1397053337"},"map_files_photo_id_array":[{"photo_id":"1397053339","filename":"file5"},{"photo_id":"1397053336","filename":"file2"},{"photo_id":"1397053338","filename":"file4"},{"photo_id":"1397053335","filename":"file1"},{"photo_id":"1397053334","filename":"file0"},{"photo_id":"1397053337","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053338":["hashtag1","hashtag2"]},{"1397053335":["hashtag1","hashtag2"]},{"1397053334":["hashtag1","hashtag2"]},{"1397053337":["hashtag1","hashtag2"]},{"1397053339":["hashtag1","hashtag2"]},{"1397053336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053338, 1397053335, 1397053334, 1397053337, 1397053339, 1397053336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06654691696167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:37:22.047180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/05/image_30112025_11_05_24_10753.jpg', '/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_14_9723.jpg', '/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_34_10613.jpg', '/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_54_9724.jpg', '/home/pi/Desktop/images/30112025/11/06/image_30112025_11_07_05_10632.jpg', '/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_24_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/05/image_30112025_11_05_24_10753.jpg
/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_14_9723.jpg
/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_34_10613.jpg
/home/pi/Desktop/images/30112025/11/06/image_30112025_11_06_54_9724.jpg
/home/pi/Desktop/images/30112025/11/06/image_30112025_11_07_05_10632.jpg
/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_24_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053350","1397053347","1397053352","1397053349","1397053343","1397053345"],"photo_ids_order":["1397053343","1397053345","1397053347","1397053349","1397053350","1397053352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7825358c9377d63c839cfb565d1bb148.jpg","text":"TemporaryFile(/tmp/multipartBody8019901589531860785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_07_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8b1e4a73fbfd141d931acfcce45b27f.jpg","text":"TemporaryFile(/tmp/multipartBody7342328883921651138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_06_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b69d2a6cee40a5b40438e1f19bbc2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4552104052910612959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_07_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba3edc269b9fc3243314b2b4cf83b1ae.jpg","text":"TemporaryFile(/tmp/multipartBody4356585193912356351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_06_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dd9860cad8bfb20a03c50558584992f.jpg","text":"TemporaryFile(/tmp/multipartBody1046699269168887565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_05_24_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3766f1aeb0c9b9d3451f66e573a6c73.jpg","text":"TemporaryFile(/tmp/multipartBody1823505566027482955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506302868,"filename":"image_30112025_11_06_14_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053347","file1":"1397053345","file0":"1397053343","file4":"1397053350","file5":"1397053352","file3":"1397053349"},"map_files_photo_id_array":[{"photo_id":"1397053352","filename":"file5"},{"photo_id":"1397053347","filename":"file2"},{"photo_id":"1397053350","filename":"file4"},{"photo_id":"1397053345","filename":"file1"},{"photo_id":"1397053343","filename":"file0"},{"photo_id":"1397053349","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053350":["hashtag1","hashtag2"]},{"1397053347":["hashtag1","hashtag2"]},{"1397053352":["hashtag1","hashtag2"]},{"1397053349":["hashtag1","hashtag2"]},{"1397053343":["hashtag1","hashtag2"]},{"1397053345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053350, 1397053347, 1397053352, 1397053349, 1397053343, 1397053345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.312108278274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:38:02.733483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_34_9800.jpg', '/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_44_9771.jpg', '/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_54_10674.jpg', '/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_14_9922.jpg', '/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_24_9807.jpg', '/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_34_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_34_9800.jpg
/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_44_9771.jpg
/home/pi/Desktop/images/30112025/11/07/image_30112025_11_07_54_10674.jpg
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_14_9922.jpg
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_24_9807.jpg
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_34_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053356","1397053364","1397053355","1397053357","1397053360","1397053354"],"photo_ids_order":["1397053354","1397053355","1397053356","1397053357","1397053360","1397053364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/091ab26bdc6f955006306502e8fa4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8416400583635086503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_07_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7231be67b97435ab72c2ced1a8a96037.jpg","text":"TemporaryFile(/tmp/multipartBody5501991958910931304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_08_34_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efafa5e6120bc078d5779d4c257bc46c.jpg","text":"TemporaryFile(/tmp/multipartBody2918494445585612381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_07_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de6bb24fb0c049768fd372a7af13eb6e.jpg","text":"TemporaryFile(/tmp/multipartBody519915103417268343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_08_14_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fa67b7c4798a9a0cca4a6d3e090af11.jpg","text":"TemporaryFile(/tmp/multipartBody7537221377943328352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_08_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c09198b74cbba06408eef7e86558ae48.jpg","text":"TemporaryFile(/tmp/multipartBody7202752428551570059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506343582,"filename":"image_30112025_11_07_34_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053356","file1":"1397053355","file0":"1397053354","file4":"1397053360","file5":"1397053364","file3":"1397053357"},"map_files_photo_id_array":[{"photo_id":"1397053364","filename":"file5"},{"photo_id":"1397053356","filename":"file2"},{"photo_id":"1397053360","filename":"file4"},{"photo_id":"1397053355","filename":"file1"},{"photo_id":"1397053354","filename":"file0"},{"photo_id":"1397053357","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053356":["hashtag1","hashtag2"]},{"1397053364":["hashtag1","hashtag2"]},{"1397053355":["hashtag1","hashtag2"]},{"1397053357":["hashtag1","hashtag2"]},{"1397053360":["hashtag1","hashtag2"]},{"1397053354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053356, 1397053364, 1397053355, 1397053357, 1397053360, 1397053354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.293402433395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:38:42.412542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/46/image_31102025_12_46_54_2704.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_57_2734.jpg', '/home/pi/Desktop/images/31102025/12/46/image_31102025_12_47_01_3641.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_03_2777.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_06_2652.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_10_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_54_2704.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_46_57_2734.jpg
/home/pi/Desktop/images/31102025/12/46/image_31102025_12_47_01_3641.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_03_2777.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_06_2652.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_10_3722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053368","1397053371","1397053370","1397053367","1397053366","1397053369"],"photo_ids_order":["1397053366","1397053367","1397053368","1397053369","1397053370","1397053371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f31c64d4fa001734053437ff88d4d06b.jpg","text":"TemporaryFile(/tmp/multipartBody2867133556767091452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_47_01_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e92c6dd248e3065a499b5fd54e279fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1750281388432100276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_47_10_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19d3411d61f251c7b74df326fc56a24c.jpg","text":"TemporaryFile(/tmp/multipartBody2303699797780427648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_47_06_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/30/2b970abadfbc4bca5036438c75003baa.jpg","text":"TemporaryFile(/tmp/multipartBody7085607946225252108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_46_57_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/30/950ba865859b7ff2503d981e79cadc78.jpg","text":"TemporaryFile(/tmp/multipartBody5129434610444461355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_46_54_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdc991506bd15b20e72a532dd381a6c1.jpg","text":"TemporaryFile(/tmp/multipartBody3777808178436182688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506386438,"filename":"image_31102025_12_47_03_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053368","file1":"1397053367","file0":"1397053366","file4":"1397053370","file5":"1397053371","file3":"1397053369"},"map_files_photo_id_array":[{"photo_id":"1397053371","filename":"file5"},{"photo_id":"1397053368","filename":"file2"},{"photo_id":"1397053370","filename":"file4"},{"photo_id":"1397053367","filename":"file1"},{"photo_id":"1397053366","filename":"file0"},{"photo_id":"1397053369","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053368":["hashtag1","hashtag2"]},{"1397053371":["hashtag1","hashtag2"]},{"1397053370":["hashtag1","hashtag2"]},{"1397053367":["hashtag1","hashtag2"]},{"1397053366":["hashtag1","hashtag2"]},{"1397053369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053368, 1397053371, 1397053370, 1397053367, 1397053366, 1397053369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.328948974609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:39:26.374995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_44_10651.jpg', '/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_54_9509.jpg', '/home/pi/Desktop/images/30112025/11/08/image_30112025_11_09_04_9790.jpg', '/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_14_10702.jpg', '/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_24_9800.jpg', '/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_54_10815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_44_10651.jpg
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_08_54_9509.jpg
/home/pi/Desktop/images/30112025/11/08/image_30112025_11_09_04_9790.jpg
/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_14_10702.jpg
/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_24_9800.jpg
/home/pi/Desktop/images/30112025/11/09/image_30112025_11_09_54_10815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053386","1397053383","1397053385","1397053379","1397053376","1397053381"],"photo_ids_order":["1397053376","1397053379","1397053381","1397053383","1397053385","1397053386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d074e2098bc17c6cbb058257e6d24c9b.jpg","text":"TemporaryFile(/tmp/multipartBody148600693639805062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_09_54_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79f14cb0d71bd076cd68b4dbe161f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody6183382667936238242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_09_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cc1e9c0e0047361d267b0c8bb5928f8.jpg","text":"TemporaryFile(/tmp/multipartBody7907866955260193552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_09_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86a0ea8a0fafd91c861be5c82bab54ef.jpg","text":"TemporaryFile(/tmp/multipartBody2635722585449697431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_08_54_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8317c4cbd774e6dc6a99e7df255cee99.jpg","text":"TemporaryFile(/tmp/multipartBody7022308634460124938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_08_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/609241b6fd1274c5fa4e66e7428701ff.jpg","text":"TemporaryFile(/tmp/multipartBody2601536387231092854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506427188,"filename":"image_30112025_11_09_04_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053381","file1":"1397053379","file0":"1397053376","file4":"1397053385","file5":"1397053386","file3":"1397053383"},"map_files_photo_id_array":[{"photo_id":"1397053386","filename":"file5"},{"photo_id":"1397053381","filename":"file2"},{"photo_id":"1397053385","filename":"file4"},{"photo_id":"1397053379","filename":"file1"},{"photo_id":"1397053376","filename":"file0"},{"photo_id":"1397053383","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053386":["hashtag1","hashtag2"]},{"1397053383":["hashtag1","hashtag2"]},{"1397053385":["hashtag1","hashtag2"]},{"1397053379":["hashtag1","hashtag2"]},{"1397053376":["hashtag1","hashtag2"]},{"1397053381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053386, 1397053383, 1397053385, 1397053379, 1397053376, 1397053381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0086464881897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:40:12.642527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_06_3597.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_09_2667.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_12_2714.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_15_3627.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_21_2854.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_23_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_06_3597.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_09_2667.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_12_2714.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_15_3627.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_21_2854.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_23_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053392","1397053395","1397053389","1397053400","1397053387","1397053398"],"photo_ids_order":["1397053387","1397053389","1397053392","1397053395","1397053398","1397053400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f497151013b9a541573a0530edd54b5.jpg","text":"TemporaryFile(/tmp/multipartBody3077288939687481784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_12_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/30/06eb224d92f3bf3de5ff6f0519bc7339.jpg","text":"TemporaryFile(/tmp/multipartBody8634488254424901026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_15_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d43abe0df22eeb20fe05749f77af8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4647616952951103019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_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/30/0d5fd018e586127da7c3738c135024c1.jpg","text":"TemporaryFile(/tmp/multipartBody5236480542899167054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_23_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8848c0ebd44ba47ae01e623a6f310bc.jpg","text":"TemporaryFile(/tmp/multipartBody9219172095926351453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_06_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/30/b5b624a8dc7f556b21664623ead654ec.jpg","text":"TemporaryFile(/tmp/multipartBody3983965457162205640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506474518,"filename":"image_25112025_20_18_21_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053392","file1":"1397053389","file0":"1397053387","file4":"1397053398","file5":"1397053400","file3":"1397053395"},"map_files_photo_id_array":[{"photo_id":"1397053400","filename":"file5"},{"photo_id":"1397053392","filename":"file2"},{"photo_id":"1397053398","filename":"file4"},{"photo_id":"1397053389","filename":"file1"},{"photo_id":"1397053387","filename":"file0"},{"photo_id":"1397053395","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053392":["hashtag1","hashtag2"]},{"1397053395":["hashtag1","hashtag2"]},{"1397053389":["hashtag1","hashtag2"]},{"1397053400":["hashtag1","hashtag2"]},{"1397053387":["hashtag1","hashtag2"]},{"1397053398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053392, 1397053395, 1397053389, 1397053400, 1397053387, 1397053398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44334864616394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:41:03.533201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_14_10053.jpg', '/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_25_10711.jpg', '/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_44_9755.jpg', '/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_55_10691.jpg', '/home/pi/Desktop/images/30112025/11/10/image_30112025_11_11_05_9819.jpg', '/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_15_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_14_10053.jpg
/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_25_10711.jpg
/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_44_9755.jpg
/home/pi/Desktop/images/30112025/11/10/image_30112025_11_10_55_10691.jpg
/home/pi/Desktop/images/30112025/11/10/image_30112025_11_11_05_9819.jpg
/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_15_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053405","1397053404","1397053413","1397053407","1397053409","1397053406"],"photo_ids_order":["1397053404","1397053405","1397053406","1397053407","1397053409","1397053413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d8198f4c119ef4c4e086f1ca591ab0b.jpg","text":"TemporaryFile(/tmp/multipartBody423402664311548519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_10_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e53968ab74e8ab1b4470c71482bc328.jpg","text":"TemporaryFile(/tmp/multipartBody1382020834315488238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_10_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f35a40c640ad325568dfaab32ddcbcce.jpg","text":"TemporaryFile(/tmp/multipartBody307290894192847049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_11_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/903b1646b74266537508783642730a68.jpg","text":"TemporaryFile(/tmp/multipartBody4464148290733926791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_10_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92791ccce351f687bbe720d2e8ceded3.jpg","text":"TemporaryFile(/tmp/multipartBody6039498758846639394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_11_05_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19f26d65819dbe44c5f6b1ecd3082cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2770703947162144541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506524407,"filename":"image_30112025_11_10_44_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053406","file1":"1397053405","file0":"1397053404","file4":"1397053409","file5":"1397053413","file3":"1397053407"},"map_files_photo_id_array":[{"photo_id":"1397053413","filename":"file5"},{"photo_id":"1397053406","filename":"file2"},{"photo_id":"1397053409","filename":"file4"},{"photo_id":"1397053405","filename":"file1"},{"photo_id":"1397053404","filename":"file0"},{"photo_id":"1397053407","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053405":["hashtag1","hashtag2"]},{"1397053404":["hashtag1","hashtag2"]},{"1397053413":["hashtag1","hashtag2"]},{"1397053407":["hashtag1","hashtag2"]},{"1397053409":["hashtag1","hashtag2"]},{"1397053406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053405, 1397053404, 1397053413, 1397053407, 1397053409, 1397053406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21707797050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:41:42.724188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/47/image_31102025_12_47_12_2649.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_15_2568.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_19_3648.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_21_2600.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_24_2734.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_28_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_12_2649.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_15_2568.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_19_3648.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_21_2600.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_24_2734.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_28_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":["1397053423","1397053422","1397053425","1397053419","1397053421","1397053424"],"photo_ids_order":["1397053419","1397053421","1397053422","1397053423","1397053424","1397053425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/806e1df537c380e474a13b81d1805121.jpg","text":"TemporaryFile(/tmp/multipartBody5082835509540449585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_21_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/30/d34a7634b2379fc482dc3a929502375c.jpg","text":"TemporaryFile(/tmp/multipartBody566085379716996001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_19_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/30/8152a4d9754be607d1f122fc4b34525f.jpg","text":"TemporaryFile(/tmp/multipartBody687614791663782878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_28_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4dd3f5a8689b101ccd188d67f7093f7.jpg","text":"TemporaryFile(/tmp/multipartBody681440088944780159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_12_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cadcb176073ca50297827871c244cc50.jpg","text":"TemporaryFile(/tmp/multipartBody6849196531957277497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_15_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/30/f0cf18a7ed9984024b63e59fab5617cc.jpg","text":"TemporaryFile(/tmp/multipartBody5243917485063475306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506563671,"filename":"image_31102025_12_47_24_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053422","file1":"1397053421","file0":"1397053419","file4":"1397053424","file5":"1397053425","file3":"1397053423"},"map_files_photo_id_array":[{"photo_id":"1397053425","filename":"file5"},{"photo_id":"1397053422","filename":"file2"},{"photo_id":"1397053424","filename":"file4"},{"photo_id":"1397053421","filename":"file1"},{"photo_id":"1397053419","filename":"file0"},{"photo_id":"1397053423","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053423":["hashtag1","hashtag2"]},{"1397053422":["hashtag1","hashtag2"]},{"1397053425":["hashtag1","hashtag2"]},{"1397053419":["hashtag1","hashtag2"]},{"1397053421":["hashtag1","hashtag2"]},{"1397053424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053423, 1397053422, 1397053425, 1397053419, 1397053421, 1397053424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50881385803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:42:21.938309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_34_9870.jpg', '/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_44_9841.jpg', '/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_15_9770.jpg', '/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_24_9774.jpg', '/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_54_9774.jpg', '/home/pi/Desktop/images/30112025/11/12/image_30112025_11_13_05_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_34_9870.jpg
/home/pi/Desktop/images/30112025/11/11/image_30112025_11_11_44_9841.jpg
/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_15_9770.jpg
/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_24_9774.jpg
/home/pi/Desktop/images/30112025/11/12/image_30112025_11_12_54_9774.jpg
/home/pi/Desktop/images/30112025/11/12/image_30112025_11_13_05_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053437","1397053431","1397053428","1397053433","1397053439","1397053435"],"photo_ids_order":["1397053428","1397053431","1397053433","1397053435","1397053437","1397053439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90c6dd0d088eaaed8bf6e5f0b9e626ff.jpg","text":"TemporaryFile(/tmp/multipartBody4999954094802140131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_12_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/433c199ead716b8b5d3052f3be0efd69.jpg","text":"TemporaryFile(/tmp/multipartBody8733734594693851229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_11_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a76408deb19a81b2f47c5f878a71588e.jpg","text":"TemporaryFile(/tmp/multipartBody5439074419423682636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_11_34_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23efd28d925a87503ec8da451f3ddcc8.jpg","text":"TemporaryFile(/tmp/multipartBody5099331306253555998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_12_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa858aa3c5f11c8839a5d8263bddac67.jpg","text":"TemporaryFile(/tmp/multipartBody1812525920246512729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_13_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa771a71dc8ea66876fe8e6be9b057ac.jpg","text":"TemporaryFile(/tmp/multipartBody2031994699482503795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506602761,"filename":"image_30112025_11_12_24_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053433","file1":"1397053431","file0":"1397053428","file4":"1397053437","file5":"1397053439","file3":"1397053435"},"map_files_photo_id_array":[{"photo_id":"1397053439","filename":"file5"},{"photo_id":"1397053433","filename":"file2"},{"photo_id":"1397053437","filename":"file4"},{"photo_id":"1397053431","filename":"file1"},{"photo_id":"1397053428","filename":"file0"},{"photo_id":"1397053435","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053437":["hashtag1","hashtag2"]},{"1397053431":["hashtag1","hashtag2"]},{"1397053428":["hashtag1","hashtag2"]},{"1397053433":["hashtag1","hashtag2"]},{"1397053439":["hashtag1","hashtag2"]},{"1397053435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053437, 1397053431, 1397053428, 1397053433, 1397053439, 1397053435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28260159492493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:43:02.704932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_15_9774.jpg', '/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_24_9690.jpg', '/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_34_9820.jpg', '/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_45_10763.jpg', '/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_55_9861.jpg', '/home/pi/Desktop/images/30112025/11/13/image_30112025_11_14_05_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_15_9774.jpg
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_24_9690.jpg
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_34_9820.jpg
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_45_10763.jpg
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_13_55_9861.jpg
/home/pi/Desktop/images/30112025/11/13/image_30112025_11_14_05_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053440","1397053443","1397053445","1397053448","1397053442","1397053441"],"photo_ids_order":["1397053440","1397053441","1397053442","1397053443","1397053445","1397053448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f61e57d5045c4f08bc8efbbbb1fc3345.jpg","text":"TemporaryFile(/tmp/multipartBody7801896165439377520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_13_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89e6c84ad16ea9de15c01c2b790483b3.jpg","text":"TemporaryFile(/tmp/multipartBody7973698344619261621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_13_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7d9e196ffaae5bb271f73fe791d9f90.jpg","text":"TemporaryFile(/tmp/multipartBody3696623033174483062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_13_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6fd579aeb0647fa75b92b283ee0c6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1162565577304692488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_14_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df62ad049be7729b57e8b4bd4d95bab1.jpg","text":"TemporaryFile(/tmp/multipartBody1035403396918191404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_13_34_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d31d29bfe473659b3e632c044530105f.jpg","text":"TemporaryFile(/tmp/multipartBody8211722234562683940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506643596,"filename":"image_30112025_11_13_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053442","file1":"1397053441","file0":"1397053440","file4":"1397053445","file5":"1397053448","file3":"1397053443"},"map_files_photo_id_array":[{"photo_id":"1397053448","filename":"file5"},{"photo_id":"1397053442","filename":"file2"},{"photo_id":"1397053445","filename":"file4"},{"photo_id":"1397053441","filename":"file1"},{"photo_id":"1397053440","filename":"file0"},{"photo_id":"1397053443","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053440":["hashtag1","hashtag2"]},{"1397053443":["hashtag1","hashtag2"]},{"1397053445":["hashtag1","hashtag2"]},{"1397053448":["hashtag1","hashtag2"]},{"1397053442":["hashtag1","hashtag2"]},{"1397053441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053440, 1397053443, 1397053445, 1397053448, 1397053442, 1397053441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95601797103882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:43:41.985222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/47/image_31102025_12_47_30_2753.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_33_2762.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_36_2667.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_39_3566.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_42_2786.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_45_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_30_2753.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_33_2762.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_36_2667.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_39_3566.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_42_2786.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_45_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":["1397053458","1397053460","1397053457","1397053456","1397053459","1397053453"],"photo_ids_order":["1397053453","1397053456","1397053457","1397053458","1397053459","1397053460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36d5c2ea06537e8b426e46ad6e55ffc4.jpg","text":"TemporaryFile(/tmp/multipartBody8447322007869361559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_39_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/30/f9faf66b152a2d8c922e2f64bcdf8748.jpg","text":"TemporaryFile(/tmp/multipartBody7152523425510630555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_45_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d92d0ea9f62544aa43f62106e0e258d.jpg","text":"TemporaryFile(/tmp/multipartBody1638149911632671706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_36_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/30/79ab41c3d0269dce44167a7913da2e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4988052207339527064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_33_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/30/de100b1071af4bd86c64466f8acc6f89.jpg","text":"TemporaryFile(/tmp/multipartBody1545637110586244948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_42_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/30/4b04ddde3209c9bb4e4a3eabea3eac6f.jpg","text":"TemporaryFile(/tmp/multipartBody3485070088224460738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506682916,"filename":"image_31102025_12_47_30_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053457","file1":"1397053456","file0":"1397053453","file4":"1397053459","file5":"1397053460","file3":"1397053458"},"map_files_photo_id_array":[{"photo_id":"1397053460","filename":"file5"},{"photo_id":"1397053457","filename":"file2"},{"photo_id":"1397053459","filename":"file4"},{"photo_id":"1397053456","filename":"file1"},{"photo_id":"1397053453","filename":"file0"},{"photo_id":"1397053458","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053458":["hashtag1","hashtag2"]},{"1397053460":["hashtag1","hashtag2"]},{"1397053457":["hashtag1","hashtag2"]},{"1397053456":["hashtag1","hashtag2"]},{"1397053459":["hashtag1","hashtag2"]},{"1397053453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053458, 1397053460, 1397053457, 1397053456, 1397053459, 1397053453)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.512686014175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:44:32.161433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_27_3647.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_30_2661.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_33_3579.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_38_2662.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_41_2729.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_45_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_27_3647.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_30_2661.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_33_3579.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_38_2662.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_41_2729.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_45_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053482","1397053476","1397053478","1397053472","1397053469","1397053480"],"photo_ids_order":["1397053469","1397053472","1397053476","1397053478","1397053480","1397053482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5967b66586e95868e660ebf1ac65c6b0.jpg","text":"TemporaryFile(/tmp/multipartBody7732314892475529940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_45_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/30/c224955b26283a765c8954c1f1a0f446.jpg","text":"TemporaryFile(/tmp/multipartBody920475200543208977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_33_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/30/8f403b08ca10da5317608fbbf06ff847.jpg","text":"TemporaryFile(/tmp/multipartBody7319238020772591808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_38_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/923cdf3a7a865a5a7a1d281649bb1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1063880586004331357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_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/30/2b444664022b46ee708564aedca99483.jpg","text":"TemporaryFile(/tmp/multipartBody2936107281037582737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_27_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/30/ef71cb724bb6d5641523dce4ad142559.jpg","text":"TemporaryFile(/tmp/multipartBody4709405634965092469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506734171,"filename":"image_25112025_20_18_41_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053476","file1":"1397053472","file0":"1397053469","file4":"1397053480","file5":"1397053482","file3":"1397053478"},"map_files_photo_id_array":[{"photo_id":"1397053482","filename":"file5"},{"photo_id":"1397053476","filename":"file2"},{"photo_id":"1397053480","filename":"file4"},{"photo_id":"1397053472","filename":"file1"},{"photo_id":"1397053469","filename":"file0"},{"photo_id":"1397053478","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053482":["hashtag1","hashtag2"]},{"1397053476":["hashtag1","hashtag2"]},{"1397053478":["hashtag1","hashtag2"]},{"1397053472":["hashtag1","hashtag2"]},{"1397053469":["hashtag1","hashtag2"]},{"1397053480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053482, 1397053476, 1397053478, 1397053472, 1397053469, 1397053480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27811098098755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:45:12.343286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_47_2640.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_51_3684.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_54_2722.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_57_2843.jpg', '/home/pi/Desktop/images/25112025/20/18/image_25112025_20_19_00_2865.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_03_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_47_2640.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_51_3684.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_54_2722.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_18_57_2843.jpg
/home/pi/Desktop/images/25112025/20/18/image_25112025_20_19_00_2865.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_03_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053485","1397053490","1397053492","1397053495","1397053498","1397053483"],"photo_ids_order":["1397053483","1397053485","1397053490","1397053492","1397053495","1397053498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f21d2fdd3f043d81584f5edc28d0d16d.jpg","text":"TemporaryFile(/tmp/multipartBody1601399391185110764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_18_51_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/30/4e4d0484cb3e85475037e3b513402b1c.jpg","text":"TemporaryFile(/tmp/multipartBody8190211517011958595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_18_54_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/30/93788dde0e62f8f79cc74276dd303082.jpg","text":"TemporaryFile(/tmp/multipartBody3979141254636587769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_18_57_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/30/65b39f18598cf4ae5ea82a6cfc74dc75.jpg","text":"TemporaryFile(/tmp/multipartBody6250902010072332057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_19_00_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/30/93c24171793cec02b578b87494d7a462.jpg","text":"TemporaryFile(/tmp/multipartBody8260278426567419503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_19_03_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/30/202dbf4151d82bc555b8c2ff329ac929.jpg","text":"TemporaryFile(/tmp/multipartBody893507908034091961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506778120,"filename":"image_25112025_20_18_47_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053490","file1":"1397053485","file0":"1397053483","file4":"1397053495","file5":"1397053498","file3":"1397053492"},"map_files_photo_id_array":[{"photo_id":"1397053498","filename":"file5"},{"photo_id":"1397053490","filename":"file2"},{"photo_id":"1397053495","filename":"file4"},{"photo_id":"1397053485","filename":"file1"},{"photo_id":"1397053483","filename":"file0"},{"photo_id":"1397053492","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053485":["hashtag1","hashtag2"]},{"1397053490":["hashtag1","hashtag2"]},{"1397053492":["hashtag1","hashtag2"]},{"1397053495":["hashtag1","hashtag2"]},{"1397053498":["hashtag1","hashtag2"]},{"1397053483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053485, 1397053490, 1397053492, 1397053495, 1397053498, 1397053483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.594544649124146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:46:03.068497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_14_9772.jpg', '/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_24_9722.jpg', '/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_35_10834.jpg', '/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_45_9755.jpg', '/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_14_10038.jpg', '/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_25_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_14_9772.jpg
/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_24_9722.jpg
/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_35_10834.jpg
/home/pi/Desktop/images/30112025/11/14/image_30112025_11_14_45_9755.jpg
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_14_10038.jpg
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_25_10810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053501","1397053504","1397053503","1397053505","1397053510","1397053507"],"photo_ids_order":["1397053501","1397053503","1397053504","1397053505","1397053507","1397053510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78ffce42576e7af6c5724bd1ae9ac7ee.jpg","text":"TemporaryFile(/tmp/multipartBody7291866114388200004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_14_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a96aae7423de4c994370ca7846c6aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1060041893392629046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_14_35_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6db346d49ca9ba38acca5574d037204b.jpg","text":"TemporaryFile(/tmp/multipartBody8198229447978543090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_14_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/450742f15c517dcbf9a53e81b47ad944.jpg","text":"TemporaryFile(/tmp/multipartBody2687409696548880074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_14_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e923d7d251e99ea4f94bb7beac08c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4527518198041077087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_16_25_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0eaf193152e46d033179e72960face57.jpg","text":"TemporaryFile(/tmp/multipartBody6684868305345634658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506823934,"filename":"image_30112025_11_16_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053504","file1":"1397053503","file0":"1397053501","file4":"1397053507","file5":"1397053510","file3":"1397053505"},"map_files_photo_id_array":[{"photo_id":"1397053510","filename":"file5"},{"photo_id":"1397053504","filename":"file2"},{"photo_id":"1397053507","filename":"file4"},{"photo_id":"1397053503","filename":"file1"},{"photo_id":"1397053501","filename":"file0"},{"photo_id":"1397053505","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053501":["hashtag1","hashtag2"]},{"1397053504":["hashtag1","hashtag2"]},{"1397053503":["hashtag1","hashtag2"]},{"1397053505":["hashtag1","hashtag2"]},{"1397053510":["hashtag1","hashtag2"]},{"1397053507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053501, 1397053504, 1397053503, 1397053505, 1397053510, 1397053507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72010588645935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:46:42.584233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/47/image_31102025_12_47_48_3590.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_51_2643.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_54_2784.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_48_00_2789.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_03_2672.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_07_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_48_3590.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_51_2643.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_54_2784.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_48_00_2789.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_03_2672.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_07_3643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8407330513000488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:47:03.413950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_35_9910.jpg', '/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_45_9827.jpg', '/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_54_9684.jpg', '/home/pi/Desktop/images/30112025/11/16/image_30112025_11_17_05_10671.jpg', '/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_15_9693.jpg', '/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_35_9910.jpg
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_45_9827.jpg
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_16_54_9684.jpg
/home/pi/Desktop/images/30112025/11/16/image_30112025_11_17_05_10671.jpg
/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_15_9693.jpg
/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_24_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397053522","1397053521","1397053527","1397053529","1397053520","1397053523"],"photo_ids_order":["1397053520","1397053521","1397053522","1397053523","1397053527","1397053529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de7ae12f49e459e2f9689449a2f66edc.jpg","text":"TemporaryFile(/tmp/multipartBody7549677651633165663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_16_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab4cdd10d682830915bbd591f108ac60.jpg","text":"TemporaryFile(/tmp/multipartBody2842397870002578524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_16_45_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f798061c6f5642ec19a952847c444755.jpg","text":"TemporaryFile(/tmp/multipartBody7509286429838183468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_17_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/819a787cf5b472b9bd1c72fbf5518a9d.jpg","text":"TemporaryFile(/tmp/multipartBody130055672359490925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_17_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8be33cc36ecbcb895841638b9e9187a.jpg","text":"TemporaryFile(/tmp/multipartBody308483008157234623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_16_35_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a660e56446fe045a6d5b1d8c27ceb09b.jpg","text":"TemporaryFile(/tmp/multipartBody3944827461817641963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506884315,"filename":"image_30112025_11_17_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053522","file1":"1397053521","file0":"1397053520","file4":"1397053527","file5":"1397053529","file3":"1397053523"},"map_files_photo_id_array":[{"photo_id":"1397053529","filename":"file5"},{"photo_id":"1397053522","filename":"file2"},{"photo_id":"1397053527","filename":"file4"},{"photo_id":"1397053521","filename":"file1"},{"photo_id":"1397053520","filename":"file0"},{"photo_id":"1397053523","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053522":["hashtag1","hashtag2"]},{"1397053521":["hashtag1","hashtag2"]},{"1397053527":["hashtag1","hashtag2"]},{"1397053529":["hashtag1","hashtag2"]},{"1397053520":["hashtag1","hashtag2"]},{"1397053523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053522, 1397053521, 1397053527, 1397053529, 1397053520, 1397053523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.05226707458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:48:03.901384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_35_10588.jpg', '/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_45_9753.jpg', '/home/pi/Desktop/images/30112025/11/17/image_30112025_11_18_04_9797.jpg', '/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_15_10758.jpg', '/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_25_9736.jpg', '/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_45_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_35_10588.jpg
/home/pi/Desktop/images/30112025/11/17/image_30112025_11_17_45_9753.jpg
/home/pi/Desktop/images/30112025/11/17/image_30112025_11_18_04_9797.jpg
/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_15_10758.jpg
/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_25_9736.jpg
/home/pi/Desktop/images/30112025/11/18/image_30112025_11_18_45_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053542","1397053544","1397053549","1397053543","1397053552","1397053546"],"photo_ids_order":["1397053542","1397053543","1397053544","1397053546","1397053549","1397053552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22eb5503b6c90bb7d69629c70b069049.jpg","text":"TemporaryFile(/tmp/multipartBody7965684107002676678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_17_35_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e4dca3e15750c3ac1513f153fe5112d.jpg","text":"TemporaryFile(/tmp/multipartBody2484632547623932762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_18_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9fe3283c5449657fc5b0620c74beff2.jpg","text":"TemporaryFile(/tmp/multipartBody4153569380399671630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_18_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50e5e90d396ce582284dbb3bc3b6991c.jpg","text":"TemporaryFile(/tmp/multipartBody2791594996943768970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_17_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/225248267c47ad126ce242ffa101bb86.jpg","text":"TemporaryFile(/tmp/multipartBody4594693205085115436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_18_45_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edae33894da9587a3b39303a43b6b378.jpg","text":"TemporaryFile(/tmp/multipartBody1850441106038637167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506944752,"filename":"image_30112025_11_18_15_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053544","file1":"1397053543","file0":"1397053542","file4":"1397053549","file5":"1397053552","file3":"1397053546"},"map_files_photo_id_array":[{"photo_id":"1397053552","filename":"file5"},{"photo_id":"1397053544","filename":"file2"},{"photo_id":"1397053549","filename":"file4"},{"photo_id":"1397053543","filename":"file1"},{"photo_id":"1397053542","filename":"file0"},{"photo_id":"1397053546","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053542":["hashtag1","hashtag2"]},{"1397053544":["hashtag1","hashtag2"]},{"1397053549":["hashtag1","hashtag2"]},{"1397053543":["hashtag1","hashtag2"]},{"1397053552":["hashtag1","hashtag2"]},{"1397053546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053542, 1397053544, 1397053549, 1397053543, 1397053552, 1397053546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70961046218872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:48:43.561258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/47/image_31102025_12_47_48_3590.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_51_2643.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_54_2784.jpg', '/home/pi/Desktop/images/31102025/12/47/image_31102025_12_48_00_2789.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_03_2672.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_07_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_48_3590.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_51_2643.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_47_54_2784.jpg
/home/pi/Desktop/images/31102025/12/47/image_31102025_12_48_00_2789.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_03_2672.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_07_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053560","1397053562","1397053559","1397053561","1397053564","1397053558"],"photo_ids_order":["1397053558","1397053559","1397053560","1397053561","1397053562","1397053564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/091d991d4e85769734345322cc5f8743.jpg","text":"TemporaryFile(/tmp/multipartBody5526717664843337220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_47_54_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/30/5d6457c4b88f4d64ad042a8d8ee760dc.jpg","text":"TemporaryFile(/tmp/multipartBody6333177637954303298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_48_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/30/ae2d5954da2fba25f868599fd377c690.jpg","text":"TemporaryFile(/tmp/multipartBody6143983973221284355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_47_51_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/30/01d6a392fea5c3ea53c601b8b3951a1e.jpg","text":"TemporaryFile(/tmp/multipartBody256807068058629817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_48_00_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/30/a4d800b336b8b729a7e6b1ebba537a24.jpg","text":"TemporaryFile(/tmp/multipartBody5138463108778575966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_48_07_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/30/e4c042cb0bc941bb4fcea2317fcf4aff.jpg","text":"TemporaryFile(/tmp/multipartBody446751346443526970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764506984328,"filename":"image_31102025_12_47_48_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053560","file1":"1397053559","file0":"1397053558","file4":"1397053562","file5":"1397053564","file3":"1397053561"},"map_files_photo_id_array":[{"photo_id":"1397053564","filename":"file5"},{"photo_id":"1397053560","filename":"file2"},{"photo_id":"1397053562","filename":"file4"},{"photo_id":"1397053559","filename":"file1"},{"photo_id":"1397053558","filename":"file0"},{"photo_id":"1397053561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053560":["hashtag1","hashtag2"]},{"1397053562":["hashtag1","hashtag2"]},{"1397053559":["hashtag1","hashtag2"]},{"1397053561":["hashtag1","hashtag2"]},{"1397053564":["hashtag1","hashtag2"]},{"1397053558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053560, 1397053562, 1397053559, 1397053561, 1397053564, 1397053558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73345732688904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:49:22.700563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/18/image_30112025_11_19_05_9937.jpg', '/home/pi/Desktop/images/30112025/11/19/image_30112025_11_19_14_9652.jpg', '/home/pi/Desktop/images/30112025/11/19/image_30112025_11_19_35_9793.jpg', '/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_14_10054.jpg', '/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_35_9776.jpg', '/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_54_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/18/image_30112025_11_19_05_9937.jpg
/home/pi/Desktop/images/30112025/11/19/image_30112025_11_19_14_9652.jpg
/home/pi/Desktop/images/30112025/11/19/image_30112025_11_19_35_9793.jpg
/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_14_10054.jpg
/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_35_9776.jpg
/home/pi/Desktop/images/30112025/11/20/image_30112025_11_20_54_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053578","1397053575","1397053577","1397053571","1397053568","1397053573"],"photo_ids_order":["1397053568","1397053571","1397053573","1397053575","1397053577","1397053578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf9b915bbb23e09fde6f340999ef7c93.jpg","text":"TemporaryFile(/tmp/multipartBody5081931307829883289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_20_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ff2e19e984187504d4116999de341bc.jpg","text":"TemporaryFile(/tmp/multipartBody2345196587585233836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_20_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86f715365f8122be930eee80820e2848.jpg","text":"TemporaryFile(/tmp/multipartBody1626790896605261114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_20_35_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c27656fec105e94e64b5af34a6d817d.jpg","text":"TemporaryFile(/tmp/multipartBody1169184226045437238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_19_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b57c3a3bbba23a7f4a7c0fdfc7503ef.jpg","text":"TemporaryFile(/tmp/multipartBody7538923690661511355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_19_05_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c163537cd8022509ec39492065a38967.jpg","text":"TemporaryFile(/tmp/multipartBody7024846420372215840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507023516,"filename":"image_30112025_11_19_35_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053573","file1":"1397053571","file0":"1397053568","file4":"1397053577","file5":"1397053578","file3":"1397053575"},"map_files_photo_id_array":[{"photo_id":"1397053578","filename":"file5"},{"photo_id":"1397053573","filename":"file2"},{"photo_id":"1397053577","filename":"file4"},{"photo_id":"1397053571","filename":"file1"},{"photo_id":"1397053568","filename":"file0"},{"photo_id":"1397053575","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053578":["hashtag1","hashtag2"]},{"1397053575":["hashtag1","hashtag2"]},{"1397053577":["hashtag1","hashtag2"]},{"1397053571":["hashtag1","hashtag2"]},{"1397053568":["hashtag1","hashtag2"]},{"1397053573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053578, 1397053575, 1397053577, 1397053571, 1397053568, 1397053573)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.871272802352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 13:50:12.552787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_06_2581.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_08_2645.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_11_2911.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_15_3661.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_20_2771.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_24_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_06_2581.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_08_2645.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_11_2911.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_15_3661.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_20_2771.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_24_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053590","1397053581","1397053589","1397053583","1397053586","1397053579"],"photo_ids_order":["1397053579","1397053581","1397053583","1397053586","1397053589","1397053590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2fd5cc6bece5113da2555164ca90c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3694491808371323200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_24_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dc83f873fccdc9424728b233c0e4c44.jpg","text":"TemporaryFile(/tmp/multipartBody3242786614748409000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_08_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/30/0cbaec98404fe419a928d134b492892f.jpg","text":"TemporaryFile(/tmp/multipartBody8377905156793495778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_20_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/30/09f0c0e2ddfc2fbb0be8912d51eda8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2489154790332173705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_11_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9daf83761635972f73feef3e99a64101.jpg","text":"TemporaryFile(/tmp/multipartBody5901731250815437704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_15_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/30/7827fb8cf8ed3dcc2ce7f25e74c8384d.jpg","text":"TemporaryFile(/tmp/multipartBody5672156808471855460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507074533,"filename":"image_25112025_20_19_06_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053583","file1":"1397053581","file0":"1397053579","file4":"1397053589","file5":"1397053590","file3":"1397053586"},"map_files_photo_id_array":[{"photo_id":"1397053590","filename":"file5"},{"photo_id":"1397053583","filename":"file2"},{"photo_id":"1397053589","filename":"file4"},{"photo_id":"1397053581","filename":"file1"},{"photo_id":"1397053579","filename":"file0"},{"photo_id":"1397053586","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397053590":["hashtag1","hashtag2"]},{"1397053581":["hashtag1","hashtag2"]},{"1397053589":["hashtag1","hashtag2"]},{"1397053583":["hashtag1","hashtag2"]},{"1397053586":["hashtag1","hashtag2"]},{"1397053579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397053590, 1397053581, 1397053589, 1397053583, 1397053586, 1397053579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89240789413452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:51:03.426586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/20/image_30112025_11_21_04_9951.jpg', '/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_15_10753.jpg', '/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_35_9711.jpg', '/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_54_9742.jpg', '/home/pi/Desktop/images/30112025/11/21/image_30112025_11_22_04_9726.jpg', '/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_25_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/20/image_30112025_11_21_04_9951.jpg
/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_15_10753.jpg
/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_35_9711.jpg
/home/pi/Desktop/images/30112025/11/21/image_30112025_11_21_54_9742.jpg
/home/pi/Desktop/images/30112025/11/21/image_30112025_11_22_04_9726.jpg
/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_25_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053603","1397053602","1397053611","1397053605","1397053607","1397053604"],"photo_ids_order":["1397053602","1397053603","1397053604","1397053605","1397053607","1397053611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beed7bb149ececd7af80515063465186.jpg","text":"TemporaryFile(/tmp/multipartBody8266296510495780615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_21_15_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a7217f9a62580408a5dfe4278bf6d69.jpg","text":"TemporaryFile(/tmp/multipartBody6680897185304695584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_21_04_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a45e93d1d95e3304fc48d9346c09e49.jpg","text":"TemporaryFile(/tmp/multipartBody1978260434670296553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_22_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30cbf98798539ec6bf6cd83415e847d5.jpg","text":"TemporaryFile(/tmp/multipartBody5752021144708091244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_21_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3688889e005c1200c112b506e1b6bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5570894590978835824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_22_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce0a375352e2c108e09566b3cc272e52.jpg","text":"TemporaryFile(/tmp/multipartBody8228556374093338848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507124341,"filename":"image_30112025_11_21_35_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053604","file1":"1397053603","file0":"1397053602","file4":"1397053607","file5":"1397053611","file3":"1397053605"},"map_files_photo_id_array":[{"photo_id":"1397053611","filename":"file5"},{"photo_id":"1397053604","filename":"file2"},{"photo_id":"1397053607","filename":"file4"},{"photo_id":"1397053603","filename":"file1"},{"photo_id":"1397053602","filename":"file0"},{"photo_id":"1397053605","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053603":["hashtag1","hashtag2"]},{"1397053602":["hashtag1","hashtag2"]},{"1397053611":["hashtag1","hashtag2"]},{"1397053605":["hashtag1","hashtag2"]},{"1397053607":["hashtag1","hashtag2"]},{"1397053604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053603, 1397053602, 1397053611, 1397053605, 1397053607, 1397053604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54105758666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:51:42.823898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/48/image_31102025_12_48_09_2627.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_12_2869.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_15_2839.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_19_3670.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_21_2787.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_24_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/12/48/image_31102025_12_48_09_2627.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_12_2869.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_15_2839.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_19_3670.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_21_2787.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_24_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053615","1397053620","1397053617","1397053622","1397053619","1397053618"],"photo_ids_order":["1397053615","1397053617","1397053618","1397053619","1397053620","1397053622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c7d846043f9d6335ef3c75c2641eecc.jpg","text":"TemporaryFile(/tmp/multipartBody6335723909740861309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_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/30/458705c958120481bd2f1b0801d055ad.jpg","text":"TemporaryFile(/tmp/multipartBody5795047126101790391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_21_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/30/23a3ae80fdb8eab3bc61144791b3cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody7437659765659035240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_12_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d3afd2eb8864810348c893b1975a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody68818836352221050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_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/30/793ae5ebc9d365173ca1e0c6e41afab9.jpg","text":"TemporaryFile(/tmp/multipartBody847978990313195683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_19_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40d9059b512e683fb792ca740c5b1e37.jpg","text":"TemporaryFile(/tmp/multipartBody2664028709972095362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507163738,"filename":"image_31102025_12_48_15_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053618","file1":"1397053617","file0":"1397053615","file4":"1397053620","file5":"1397053622","file3":"1397053619"},"map_files_photo_id_array":[{"photo_id":"1397053622","filename":"file5"},{"photo_id":"1397053618","filename":"file2"},{"photo_id":"1397053620","filename":"file4"},{"photo_id":"1397053617","filename":"file1"},{"photo_id":"1397053615","filename":"file0"},{"photo_id":"1397053619","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053615":["hashtag1","hashtag2"]},{"1397053620":["hashtag1","hashtag2"]},{"1397053617":["hashtag1","hashtag2"]},{"1397053622":["hashtag1","hashtag2"]},{"1397053619":["hashtag1","hashtag2"]},{"1397053618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053615, 1397053620, 1397053617, 1397053622, 1397053619, 1397053618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72501254081726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:52:22.772302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_35_9823.jpg', '/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_55_10652.jpg', '/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_15_9791.jpg', '/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_24_9715.jpg', '/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_35_10657.jpg', '/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_45_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_35_9823.jpg
/home/pi/Desktop/images/30112025/11/22/image_30112025_11_22_55_10652.jpg
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_15_9791.jpg
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_24_9715.jpg
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_35_10657.jpg
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_45_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053632","1397053629","1397053626","1397053631","1397053634","1397053633"],"photo_ids_order":["1397053626","1397053629","1397053631","1397053632","1397053633","1397053634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cd658c6de01068e09960e5fbd5a621d.jpg","text":"TemporaryFile(/tmp/multipartBody2496948402423704141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_23_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b53e4f1f20a0e31f872319e1f421968e.jpg","text":"TemporaryFile(/tmp/multipartBody585325141257893221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_22_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69a389b96b8395975f537d724b8aa2f4.jpg","text":"TemporaryFile(/tmp/multipartBody3757391668237114779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_22_35_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b688e71f1cdc212e5b9297829784bbfe.jpg","text":"TemporaryFile(/tmp/multipartBody1069220142873284617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_23_15_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13e7ba9aa831ecf02c5c3ba492f3b92d.jpg","text":"TemporaryFile(/tmp/multipartBody7489654265562989255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_23_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ad84651d5cc8be6ae13c13bbbc4cecb.jpg","text":"TemporaryFile(/tmp/multipartBody1179311535557826192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507203588,"filename":"image_30112025_11_23_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053631","file1":"1397053629","file0":"1397053626","file4":"1397053633","file5":"1397053634","file3":"1397053632"},"map_files_photo_id_array":[{"photo_id":"1397053634","filename":"file5"},{"photo_id":"1397053631","filename":"file2"},{"photo_id":"1397053633","filename":"file4"},{"photo_id":"1397053629","filename":"file1"},{"photo_id":"1397053626","filename":"file0"},{"photo_id":"1397053632","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053632":["hashtag1","hashtag2"]},{"1397053629":["hashtag1","hashtag2"]},{"1397053626":["hashtag1","hashtag2"]},{"1397053631":["hashtag1","hashtag2"]},{"1397053634":["hashtag1","hashtag2"]},{"1397053633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053632, 1397053629, 1397053626, 1397053631, 1397053634, 1397053633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91264462471008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:53:02.897771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_54_9612.jpg', '/home/pi/Desktop/images/30112025/11/23/image_30112025_11_24_05_10684.jpg', '/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_15_9745.jpg', '/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_25_9685.jpg', '/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_34_9800.jpg', '/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_55_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_23_54_9612.jpg
/home/pi/Desktop/images/30112025/11/23/image_30112025_11_24_05_10684.jpg
/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_15_9745.jpg
/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_25_9685.jpg
/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_34_9800.jpg
/home/pi/Desktop/images/30112025/11/24/image_30112025_11_24_55_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053635","1397053638","1397053643","1397053640","1397053637","1397053636"],"photo_ids_order":["1397053635","1397053636","1397053637","1397053638","1397053640","1397053643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62d018fa267f09a43f33545e62b6af22.jpg","text":"TemporaryFile(/tmp/multipartBody4378915037517977543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_23_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68b99548647c46c8b05512b8971b2a54.jpg","text":"TemporaryFile(/tmp/multipartBody5789633903248804934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_24_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f7f7a518947af2657858db48f19c2be.jpg","text":"TemporaryFile(/tmp/multipartBody5977053071302236470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_24_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30d827733db80550fedacfe8803230e6.jpg","text":"TemporaryFile(/tmp/multipartBody6140840909951877216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_24_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3fb24df5d602f585ea97baa386657fe.jpg","text":"TemporaryFile(/tmp/multipartBody6126458082165590387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_24_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/351eaadc830e5f93d81da3dced57f696.jpg","text":"TemporaryFile(/tmp/multipartBody8273877341376307702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507243855,"filename":"image_30112025_11_24_05_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053637","file1":"1397053636","file0":"1397053635","file4":"1397053640","file5":"1397053643","file3":"1397053638"},"map_files_photo_id_array":[{"photo_id":"1397053643","filename":"file5"},{"photo_id":"1397053637","filename":"file2"},{"photo_id":"1397053640","filename":"file4"},{"photo_id":"1397053636","filename":"file1"},{"photo_id":"1397053635","filename":"file0"},{"photo_id":"1397053638","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053635":["hashtag1","hashtag2"]},{"1397053638":["hashtag1","hashtag2"]},{"1397053643":["hashtag1","hashtag2"]},{"1397053640":["hashtag1","hashtag2"]},{"1397053637":["hashtag1","hashtag2"]},{"1397053636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053635, 1397053638, 1397053643, 1397053640, 1397053637, 1397053636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78317093849182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:53:42.231152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/48/image_31102025_12_48_27_2739.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_30_3626.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_33_2550.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_36_2721.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_39_3723.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_42_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_27_2739.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_30_3626.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_33_2550.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_36_2721.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_39_3723.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_42_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053662","1397053661","1397053646","1397053660","1397053648","1397053663"],"photo_ids_order":["1397053646","1397053648","1397053660","1397053661","1397053662","1397053663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/195a635bfd6e18524e4535047b1ff442.jpg","text":"TemporaryFile(/tmp/multipartBody2916419847401110914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_39_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/30/daecf6ba2715c91230ed89cbd0afdda5.jpg","text":"TemporaryFile(/tmp/multipartBody1718313706603192480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_36_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/30/b80863eaaeab1e8914338c8681a982ec.jpg","text":"TemporaryFile(/tmp/multipartBody6145516624818983204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_27_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/30/e1fe0b54250fd68f69493da552f40ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4156326968577914180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_33_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/30/3c5b6bec3f1daab76de28ea00792d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4610376364757143232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_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/30/fe0dd0e443b7f1c2eb24256d1dd5c751.jpg","text":"TemporaryFile(/tmp/multipartBody4041952575296302926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507283129,"filename":"image_31102025_12_48_42_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053660","file1":"1397053648","file0":"1397053646","file4":"1397053662","file5":"1397053663","file3":"1397053661"},"map_files_photo_id_array":[{"photo_id":"1397053663","filename":"file5"},{"photo_id":"1397053660","filename":"file2"},{"photo_id":"1397053662","filename":"file4"},{"photo_id":"1397053648","filename":"file1"},{"photo_id":"1397053646","filename":"file0"},{"photo_id":"1397053661","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397053662":["hashtag1","hashtag2"]},{"1397053661":["hashtag1","hashtag2"]},{"1397053646":["hashtag1","hashtag2"]},{"1397053660":["hashtag1","hashtag2"]},{"1397053648":["hashtag1","hashtag2"]},{"1397053663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397053662, 1397053661, 1397053646, 1397053660, 1397053648, 1397053663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88404941558838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 13:54:22.351239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_15_10053.jpg', '/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_25_10743.jpg', '/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_35_9822.jpg', '/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_45_9753.jpg', '/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_55_9668.jpg', '/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_15_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_15_10053.jpg
/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_25_10743.jpg
/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_35_9822.jpg
/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_45_9753.jpg
/home/pi/Desktop/images/30112025/11/25/image_30112025_11_25_55_9668.jpg
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_15_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053680","1397053674","1397053676","1397053672","1397053666","1397053669"],"photo_ids_order":["1397053666","1397053669","1397053672","1397053674","1397053676","1397053680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a21e2458c08834a0ad22425936a4cb8.jpg","text":"TemporaryFile(/tmp/multipartBody4241768631195132377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_26_15_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd3e07feb70e716c2e80d522a5db762c.jpg","text":"TemporaryFile(/tmp/multipartBody7919075166073457831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_25_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dd3839795e54050347a1c31b77ba305.jpg","text":"TemporaryFile(/tmp/multipartBody5446002733535280773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_25_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c573223648102a3f56206457ef2e4eed.jpg","text":"TemporaryFile(/tmp/multipartBody6502451769664529118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_25_35_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7edf7551f73ef1b3b6ec3bd339862b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4599333523443151544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_25_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/755b6a675f4e8c8c48947277b425139c.jpg","text":"TemporaryFile(/tmp/multipartBody2465828862659448035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507323128,"filename":"image_30112025_11_25_25_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053672","file1":"1397053669","file0":"1397053666","file4":"1397053676","file5":"1397053680","file3":"1397053674"},"map_files_photo_id_array":[{"photo_id":"1397053680","filename":"file5"},{"photo_id":"1397053672","filename":"file2"},{"photo_id":"1397053676","filename":"file4"},{"photo_id":"1397053669","filename":"file1"},{"photo_id":"1397053666","filename":"file0"},{"photo_id":"1397053674","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053680":["hashtag1","hashtag2"]},{"1397053674":["hashtag1","hashtag2"]},{"1397053676":["hashtag1","hashtag2"]},{"1397053672":["hashtag1","hashtag2"]},{"1397053666":["hashtag1","hashtag2"]},{"1397053669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053680, 1397053674, 1397053676, 1397053672, 1397053666, 1397053669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66311073303223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:55:03.173212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_25_9671.jpg', '/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_35_9744.jpg', '/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_45_10679.jpg', '/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_55_9631.jpg', '/home/pi/Desktop/images/30112025/11/26/image_30112025_11_27_05_9887.jpg', '/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_25_9671.jpg
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_35_9744.jpg
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_45_10679.jpg
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_26_55_9631.jpg
/home/pi/Desktop/images/30112025/11/26/image_30112025_11_27_05_9887.jpg
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_15_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053683","1397053689","1397053682","1397053684","1397053687","1397053681"],"photo_ids_order":["1397053681","1397053682","1397053683","1397053684","1397053687","1397053689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4baf26cf48a611d8598c8de92c2625f.jpg","text":"TemporaryFile(/tmp/multipartBody1050239243034964627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_26_45_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2fe5088902d1d79b5851f4a0115e74b.jpg","text":"TemporaryFile(/tmp/multipartBody1025989309700299437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_27_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/905bc8a9f961c705473a9aeede0062ff.jpg","text":"TemporaryFile(/tmp/multipartBody1233567646123666839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_26_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b47efbcb34e82e911285baf8b8d15002.jpg","text":"TemporaryFile(/tmp/multipartBody3421370707392005925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_26_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45624fc2e6fd6925f8594a9009093b30.jpg","text":"TemporaryFile(/tmp/multipartBody7045279894488739960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_27_05_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38a45b767615f1ca6791298cef6be33c.jpg","text":"TemporaryFile(/tmp/multipartBody2082719733856039512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507364895,"filename":"image_30112025_11_26_25_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053683","file1":"1397053682","file0":"1397053681","file4":"1397053687","file5":"1397053689","file3":"1397053684"},"map_files_photo_id_array":[{"photo_id":"1397053689","filename":"file5"},{"photo_id":"1397053683","filename":"file2"},{"photo_id":"1397053687","filename":"file4"},{"photo_id":"1397053682","filename":"file1"},{"photo_id":"1397053681","filename":"file0"},{"photo_id":"1397053684","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053683":["hashtag1","hashtag2"]},{"1397053689":["hashtag1","hashtag2"]},{"1397053682":["hashtag1","hashtag2"]},{"1397053684":["hashtag1","hashtag2"]},{"1397053687":["hashtag1","hashtag2"]},{"1397053681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053683, 1397053689, 1397053682, 1397053684, 1397053687, 1397053681)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.82403802871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:56:06.397259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_25_10698.jpg', '/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_35_9763.jpg', '/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_45_9736.jpg', '/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_55_9910.jpg', '/home/pi/Desktop/images/30112025/11/27/image_30112025_11_28_05_10653.jpg', '/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_15_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_25_10698.jpg
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_35_9763.jpg
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_45_9736.jpg
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_27_55_9910.jpg
/home/pi/Desktop/images/30112025/11/27/image_30112025_11_28_05_10653.jpg
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_15_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053698","1397053710","1397053707","1397053700","1397053699","1397053703"],"photo_ids_order":["1397053698","1397053699","1397053700","1397053703","1397053707","1397053710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b6393a94b4a8977c4acd6135b2a0273.jpg","text":"TemporaryFile(/tmp/multipartBody5248981581954351183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_27_25_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a0231aefeaf4d31c5752cbc356ec278.jpg","text":"TemporaryFile(/tmp/multipartBody1763725366352362481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_28_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdcf0ff433ab2494c6b69daaa19b5877.jpg","text":"TemporaryFile(/tmp/multipartBody7594034895981000135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_28_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3caf92ada4d715d25c9e0e3599cf7c3e.jpg","text":"TemporaryFile(/tmp/multipartBody5224973836290083478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_27_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afded3dabde5ae33ce798872dcbc17e1.jpg","text":"TemporaryFile(/tmp/multipartBody6331320069420191507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_27_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e15518729c066787eeaaed61120afe0a.jpg","text":"TemporaryFile(/tmp/multipartBody4613850305702826536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507429464,"filename":"image_30112025_11_27_55_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053700","file1":"1397053699","file0":"1397053698","file4":"1397053707","file5":"1397053710","file3":"1397053703"},"map_files_photo_id_array":[{"photo_id":"1397053710","filename":"file5"},{"photo_id":"1397053700","filename":"file2"},{"photo_id":"1397053707","filename":"file4"},{"photo_id":"1397053699","filename":"file1"},{"photo_id":"1397053698","filename":"file0"},{"photo_id":"1397053703","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053698":["hashtag1","hashtag2"]},{"1397053710":["hashtag1","hashtag2"]},{"1397053707":["hashtag1","hashtag2"]},{"1397053700":["hashtag1","hashtag2"]},{"1397053699":["hashtag1","hashtag2"]},{"1397053703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053698, 1397053710, 1397053707, 1397053700, 1397053699, 1397053703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76821947097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:57:02.491619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_25_9806.jpg', '/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_35_9642.jpg', '/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_45_10792.jpg', '/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_55_9790.jpg', '/home/pi/Desktop/images/30112025/11/28/image_30112025_11_29_05_9850.jpg', '/home/pi/Desktop/images/30112025/11/29/image_30112025_11_29_25_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_25_9806.jpg
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_35_9642.jpg
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_45_10792.jpg
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_28_55_9790.jpg
/home/pi/Desktop/images/30112025/11/28/image_30112025_11_29_05_9850.jpg
/home/pi/Desktop/images/30112025/11/29/image_30112025_11_29_25_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053713","1397053716","1397053724","1397053721","1397053715","1397053717"],"photo_ids_order":["1397053713","1397053715","1397053716","1397053717","1397053721","1397053724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2a7c2330db2ac28e5093e3b43b7a047.jpg","text":"TemporaryFile(/tmp/multipartBody1610546538868908125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_28_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6a5847ca92e4f84cd48741686ca8b72.jpg","text":"TemporaryFile(/tmp/multipartBody6960133399225663332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_28_45_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/348459bd2f98dfb1549aa8cc13ecdb65.jpg","text":"TemporaryFile(/tmp/multipartBody6589473663583162850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_29_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54ffa39e40e5b1a00ebbd3f9db0f2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6873577971679639266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_29_05_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd3a75d2c12e2ef8328278dbc64c3a90.jpg","text":"TemporaryFile(/tmp/multipartBody585307915224430492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_28_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f022bef062b96e1cab882cca789e0f6.jpg","text":"TemporaryFile(/tmp/multipartBody7372834410376092021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507484172,"filename":"image_30112025_11_28_55_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397053716","file1":"1397053715","file0":"1397053713","file4":"1397053721","file5":"1397053724","file3":"1397053717"},"map_files_photo_id_array":[{"photo_id":"1397053724","filename":"file5"},{"photo_id":"1397053716","filename":"file2"},{"photo_id":"1397053721","filename":"file4"},{"photo_id":"1397053715","filename":"file1"},{"photo_id":"1397053713","filename":"file0"},{"photo_id":"1397053717","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053713":["hashtag1","hashtag2"]},{"1397053716":["hashtag1","hashtag2"]},{"1397053724":["hashtag1","hashtag2"]},{"1397053721":["hashtag1","hashtag2"]},{"1397053715":["hashtag1","hashtag2"]},{"1397053717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053713, 1397053716, 1397053724, 1397053721, 1397053715, 1397053717)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.941903829574585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 13:59:02.903384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/29/image_30112025_11_29_55_9730.jpg', '/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_14_10055.jpg', '/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_24_9956.jpg', '/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_34_10074.jpg', '/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_45_10708.jpg', '/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_55_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/29/image_30112025_11_29_55_9730.jpg
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_14_10055.jpg
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_24_9956.jpg
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_34_10074.jpg
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_45_10708.jpg
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_30_55_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397053962","1397054078","1397054123","1397054003","1397054041","1397053921"],"photo_ids_order":["1397053921","1397053962","1397054003","1397054041","1397054078","1397054123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce3ccab94e86301c49573758e9222c76.jpg","text":"TemporaryFile(/tmp/multipartBody4206996722144542643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_30_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28273f8fd22aa260da3eb21f72c87187.jpg","text":"TemporaryFile(/tmp/multipartBody3206089291051026799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_30_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de45469f32453da1f98f086e253bbab1.jpg","text":"TemporaryFile(/tmp/multipartBody7356810552707900872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_30_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86e2bcd5f41a44f6b90767c1e8325b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4974902043582719235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_30_24_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31409d8ae67904c4d7233dc7ca73d023.jpg","text":"TemporaryFile(/tmp/multipartBody1830147246503305948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_30_34_10074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01d9025f87673fa4ef24e84287f3bba3.jpg","text":"TemporaryFile(/tmp/multipartBody3384628256899394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507604110,"filename":"image_30112025_11_29_55_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397054003","file1":"1397053962","file0":"1397053921","file4":"1397054078","file5":"1397054123","file3":"1397054041"},"map_files_photo_id_array":[{"photo_id":"1397054123","filename":"file5"},{"photo_id":"1397054003","filename":"file2"},{"photo_id":"1397054078","filename":"file4"},{"photo_id":"1397053962","filename":"file1"},{"photo_id":"1397053921","filename":"file0"},{"photo_id":"1397054041","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397053962":["hashtag1","hashtag2"]},{"1397054078":["hashtag1","hashtag2"]},{"1397054123":["hashtag1","hashtag2"]},{"1397054003":["hashtag1","hashtag2"]},{"1397054041":["hashtag1","hashtag2"]},{"1397053921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397053962, 1397054078, 1397054123, 1397054003, 1397054041, 1397053921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3614821434021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 13:59:42.213023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/48/image_31102025_12_48_45_2905.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_49_3707.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_51_2539.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_54_2871.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_57_2767.jpg', '/home/pi/Desktop/images/31102025/12/48/image_31102025_12_49_00_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_45_2905.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_49_3707.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_51_2539.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_54_2871.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_48_57_2767.jpg
/home/pi/Desktop/images/31102025/12/48/image_31102025_12_49_00_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397054258","1397054450","1397054336","1397054413","1397054298","1397054373"],"photo_ids_order":["1397054258","1397054298","1397054336","1397054373","1397054413","1397054450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fd23427cc28924c20610b3db7cd35ac.jpg","text":"TemporaryFile(/tmp/multipartBody8630252917712322060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_48_45_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/30/ec59f9533d713d7df2f6639f7c5fe267.jpg","text":"TemporaryFile(/tmp/multipartBody787097632955481357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_49_00_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a48b46bc858a5196dcdc7cf7d8cef54.jpg","text":"TemporaryFile(/tmp/multipartBody4080826826290070294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_48_51_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/30/f08e6a1fe8c1b5fca4efe7f16fef394a.jpg","text":"TemporaryFile(/tmp/multipartBody8504529049055647690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_48_57_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/30/a6550afae31c725996caa26e0e17fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody4446354356490167755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_48_49_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/30/7baa7c7e822bea1004baa827a07a4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4092787830546618405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507643110,"filename":"image_31102025_12_48_54_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397054336","file1":"1397054298","file0":"1397054258","file4":"1397054413","file5":"1397054450","file3":"1397054373"},"map_files_photo_id_array":[{"photo_id":"1397054450","filename":"file5"},{"photo_id":"1397054336","filename":"file2"},{"photo_id":"1397054413","filename":"file4"},{"photo_id":"1397054298","filename":"file1"},{"photo_id":"1397054258","filename":"file0"},{"photo_id":"1397054373","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397054258":["hashtag1","hashtag2"]},{"1397054450":["hashtag1","hashtag2"]},{"1397054336":["hashtag1","hashtag2"]},{"1397054413":["hashtag1","hashtag2"]},{"1397054298":["hashtag1","hashtag2"]},{"1397054373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397054258, 1397054450, 1397054336, 1397054413, 1397054298, 1397054373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228209257125854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:00:22.463088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/30/image_30112025_11_31_05_9955.jpg', '/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_14_9663.jpg', '/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_24_9852.jpg', '/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_35_10645.jpg', '/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_45_9940.jpg', '/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_54_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/30/image_30112025_11_31_05_9955.jpg
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_14_9663.jpg
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_24_9852.jpg
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_35_10645.jpg
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_45_9940.jpg
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_31_54_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397054460","1397054462","1397054470","1397054467","1397054464","1397054472"],"photo_ids_order":["1397054460","1397054462","1397054464","1397054467","1397054470","1397054472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fcae2b2049a27811c61a468b22891e6.jpg","text":"TemporaryFile(/tmp/multipartBody8582316667342081002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_05_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8201fb8cb7c36bcbd9eb84ea74cbed82.jpg","text":"TemporaryFile(/tmp/multipartBody8908913004947514857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64ee5822e22c47aae01f5a61c7618a73.jpg","text":"TemporaryFile(/tmp/multipartBody8091601111302033412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_45_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6922e5e44116362b6bb203ea84220d47.jpg","text":"TemporaryFile(/tmp/multipartBody4843150431082889375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/084a178f61558cec17e0c23cffa4237a.jpg","text":"TemporaryFile(/tmp/multipartBody6180567653647479044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_24_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77ebbdc9c02a06d5de66f656e3a8a5be.jpg","text":"TemporaryFile(/tmp/multipartBody495513915088608152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507683241,"filename":"image_30112025_11_31_54_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397054464","file1":"1397054462","file0":"1397054460","file4":"1397054470","file5":"1397054472","file3":"1397054467"},"map_files_photo_id_array":[{"photo_id":"1397054472","filename":"file5"},{"photo_id":"1397054464","filename":"file2"},{"photo_id":"1397054470","filename":"file4"},{"photo_id":"1397054462","filename":"file1"},{"photo_id":"1397054460","filename":"file0"},{"photo_id":"1397054467","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397054460":["hashtag1","hashtag2"]},{"1397054462":["hashtag1","hashtag2"]},{"1397054470":["hashtag1","hashtag2"]},{"1397054467":["hashtag1","hashtag2"]},{"1397054464":["hashtag1","hashtag2"]},{"1397054472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397054460, 1397054462, 1397054470, 1397054467, 1397054464, 1397054472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.915627002716064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:01:03.489331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/31/image_30112025_11_32_04_9815.jpg', '/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_15_10705.jpg', '/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_35_9891.jpg', '/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_44_9822.jpg', '/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_55_10591.jpg', '/home/pi/Desktop/images/30112025/11/32/image_30112025_11_33_05_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/31/image_30112025_11_32_04_9815.jpg
/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_15_10705.jpg
/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_35_9891.jpg
/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_44_9822.jpg
/home/pi/Desktop/images/30112025/11/32/image_30112025_11_32_55_10591.jpg
/home/pi/Desktop/images/30112025/11/32/image_30112025_11_33_05_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397054832","1397055050","1397055131","1397054942","1397054723","1397055213"],"photo_ids_order":["1397054723","1397054832","1397054942","1397055050","1397055131","1397055213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/370040cfe8cd6a6cca78b7b7e7031289.jpg","text":"TemporaryFile(/tmp/multipartBody780116430181674285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_32_15_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a51e39751c3cf4f0f815d480b3f8cb48.jpg","text":"TemporaryFile(/tmp/multipartBody64458147999213508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_32_44_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e473b2b7c4538ea958618f6576b6b527.jpg","text":"TemporaryFile(/tmp/multipartBody7590595283758083479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_32_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/942de1ca661b84fa0a0330a9daac545a.jpg","text":"TemporaryFile(/tmp/multipartBody4640372176561532148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_32_35_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/256e64ddaae43f301a0ee5148b236449.jpg","text":"TemporaryFile(/tmp/multipartBody1684351217708199183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_32_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f4bb7d629b9edd04e2ecc4140eacde0.jpg","text":"TemporaryFile(/tmp/multipartBody3867779293567592324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507724428,"filename":"image_30112025_11_33_05_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397054942","file1":"1397054832","file0":"1397054723","file4":"1397055131","file5":"1397055213","file3":"1397055050"},"map_files_photo_id_array":[{"photo_id":"1397055213","filename":"file5"},{"photo_id":"1397054942","filename":"file2"},{"photo_id":"1397055131","filename":"file4"},{"photo_id":"1397054832","filename":"file1"},{"photo_id":"1397054723","filename":"file0"},{"photo_id":"1397055050","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397054832":["hashtag1","hashtag2"]},{"1397055050":["hashtag1","hashtag2"]},{"1397055131":["hashtag1","hashtag2"]},{"1397054942":["hashtag1","hashtag2"]},{"1397054723":["hashtag1","hashtag2"]},{"1397055213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397054832, 1397055050, 1397055131, 1397054942, 1397054723, 1397055213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.834354400634766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:01:42.705388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/49/image_31102025_12_49_03_2637.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_06_2743.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_10_3730.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_12_2703.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_15_2584.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_18_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_03_2637.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_06_2743.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_10_3730.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_12_2703.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_15_2584.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_18_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397055615","1397055521","1397055803","1397056095","1397055928","1397055702"],"photo_ids_order":["1397055521","1397055615","1397055702","1397055803","1397055928","1397056095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6460f8e31643ed46f778fc2d82fee02.jpg","text":"TemporaryFile(/tmp/multipartBody3829042429728130220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_06_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/30/01c41e4739c44e5f617bdfa32a6c6e32.jpg","text":"TemporaryFile(/tmp/multipartBody1171049376755139427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_03_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53fc18297430f5edc7b9b99ef33ea3ae.jpg","text":"TemporaryFile(/tmp/multipartBody1800205181012801031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_12_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/30/c4deb173069449c7f1ce5b13279658ec.jpg","text":"TemporaryFile(/tmp/multipartBody2769657938349315255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_18_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50d66b9de931e2e718fed9c98ef5af98.jpg","text":"TemporaryFile(/tmp/multipartBody3918834812486532493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_15_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/30/96c2f20e13a1aac2fabc5ec5bfe773ac.jpg","text":"TemporaryFile(/tmp/multipartBody1722310673541719357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507763639,"filename":"image_31102025_12_49_10_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397055702","file1":"1397055615","file0":"1397055521","file4":"1397055928","file5":"1397056095","file3":"1397055803"},"map_files_photo_id_array":[{"photo_id":"1397056095","filename":"file5"},{"photo_id":"1397055702","filename":"file2"},{"photo_id":"1397055928","filename":"file4"},{"photo_id":"1397055615","filename":"file1"},{"photo_id":"1397055521","filename":"file0"},{"photo_id":"1397055803","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397055615":["hashtag1","hashtag2"]},{"1397055521":["hashtag1","hashtag2"]},{"1397055803":["hashtag1","hashtag2"]},{"1397056095":["hashtag1","hashtag2"]},{"1397055928":["hashtag1","hashtag2"]},{"1397055702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397055615, 1397055521, 1397055803, 1397056095, 1397055928, 1397055702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19045853614807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:02:21.951624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_14_9763.jpg', '/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_24_9669.jpg', '/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_35_10746.jpg', '/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_44_9543.jpg', '/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_54_9787.jpg', '/home/pi/Desktop/images/30112025/11/33/image_30112025_11_34_05_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_14_9763.jpg
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_24_9669.jpg
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_35_10746.jpg
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_44_9543.jpg
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_33_54_9787.jpg
/home/pi/Desktop/images/30112025/11/33/image_30112025_11_34_05_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397056925","1397057169","1397056779","1397057063","1397057258","1397056623"],"photo_ids_order":["1397056623","1397056779","1397056925","1397057063","1397057169","1397057258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29ada23d9a446503dec3095afb85d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7995239326969337475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_33_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34e5c179f318e366d60918e83eeaf98c.jpg","text":"TemporaryFile(/tmp/multipartBody4267907412917760026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_33_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af222aa479972a8b514cc0872618d71d.jpg","text":"TemporaryFile(/tmp/multipartBody2843799572748563254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_33_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/207de1fa37eca835c833eaffd6f365f8.jpg","text":"TemporaryFile(/tmp/multipartBody7051955888884616528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_33_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9837ce08c6955322aaf0e12ab095cc70.jpg","text":"TemporaryFile(/tmp/multipartBody7949424416535929256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_34_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96d461b2b5b59231fc1c2a2ff05667bb.jpg","text":"TemporaryFile(/tmp/multipartBody662759177179822228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507802781,"filename":"image_30112025_11_33_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397056925","file1":"1397056779","file0":"1397056623","file4":"1397057169","file5":"1397057258","file3":"1397057063"},"map_files_photo_id_array":[{"photo_id":"1397057258","filename":"file5"},{"photo_id":"1397056925","filename":"file2"},{"photo_id":"1397057169","filename":"file4"},{"photo_id":"1397056779","filename":"file1"},{"photo_id":"1397056623","filename":"file0"},{"photo_id":"1397057063","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397056925":["hashtag1","hashtag2"]},{"1397057169":["hashtag1","hashtag2"]},{"1397056779":["hashtag1","hashtag2"]},{"1397057063":["hashtag1","hashtag2"]},{"1397057258":["hashtag1","hashtag2"]},{"1397056623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397056925, 1397057169, 1397056779, 1397057063, 1397057258, 1397056623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21007513999939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:03:02.758410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_15_9825.jpg', '/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_24_9678.jpg', '/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_34_9654.jpg', '/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_45_10841.jpg', '/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_55_9712.jpg', '/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_14_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_15_9825.jpg
/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_24_9678.jpg
/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_34_9654.jpg
/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_45_10841.jpg
/home/pi/Desktop/images/30112025/11/34/image_30112025_11_34_55_9712.jpg
/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_14_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397057650","1397057755","1397057975","1397057864","1397058107","1397058221"],"photo_ids_order":["1397057650","1397057755","1397057864","1397057975","1397058107","1397058221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75e3885ce42bab13e56ddf55426abce1.jpg","text":"TemporaryFile(/tmp/multipartBody2503273695093740022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_34_15_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/850432c0bc506d535f2ce15b0f27c753.jpg","text":"TemporaryFile(/tmp/multipartBody8690851454212149571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_34_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63cc7111daf67be4c66e3a83b28f7e39.jpg","text":"TemporaryFile(/tmp/multipartBody7078894871832076358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_34_45_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d35b07929f58c8dd4649d6bc2d1db85.jpg","text":"TemporaryFile(/tmp/multipartBody8804598017173333876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_34_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed9b8229eab3aa531aa13db602082544.jpg","text":"TemporaryFile(/tmp/multipartBody5863819093222914518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_34_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cea078efdba0dfb69f1ced750e98733.jpg","text":"TemporaryFile(/tmp/multipartBody7085358070179915992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507843656,"filename":"image_30112025_11_35_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397057864","file1":"1397057755","file0":"1397057650","file4":"1397058107","file5":"1397058221","file3":"1397057975"},"map_files_photo_id_array":[{"photo_id":"1397058221","filename":"file5"},{"photo_id":"1397057864","filename":"file2"},{"photo_id":"1397058107","filename":"file4"},{"photo_id":"1397057755","filename":"file1"},{"photo_id":"1397057650","filename":"file0"},{"photo_id":"1397057975","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397057650":["hashtag1","hashtag2"]},{"1397057755":["hashtag1","hashtag2"]},{"1397057975":["hashtag1","hashtag2"]},{"1397057864":["hashtag1","hashtag2"]},{"1397058107":["hashtag1","hashtag2"]},{"1397058221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397057650, 1397057755, 1397057975, 1397057864, 1397058107, 1397058221)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.27618432044983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:04:07.819154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_34_9733.jpg', '/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_44_9861.jpg', '/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_54_10060.jpg', '/home/pi/Desktop/images/30112025/11/35/image_30112025_11_36_04_9709.jpg', '/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_15_10752.jpg', '/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_24_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_34_9733.jpg
/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_44_9861.jpg
/home/pi/Desktop/images/30112025/11/35/image_30112025_11_35_54_10060.jpg
/home/pi/Desktop/images/30112025/11/35/image_30112025_11_36_04_9709.jpg
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_15_10752.jpg
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_24_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397060431","1397059821","1397060037","1397060543","1397060269","1397060554"],"photo_ids_order":["1397059821","1397060037","1397060269","1397060431","1397060543","1397060554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/073bd1f212de75c2164e351893f915f1.jpg","text":"TemporaryFile(/tmp/multipartBody7864032008171803082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_36_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1fe5d9404b332292c517cd1fd89216d.jpg","text":"TemporaryFile(/tmp/multipartBody5208049450394343737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_35_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de33782f6f29d6eb076cef6d77f2c203.jpg","text":"TemporaryFile(/tmp/multipartBody888926542064225755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_35_44_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/247281843015ee5aefee01de8cd89da8.jpg","text":"TemporaryFile(/tmp/multipartBody7483582787629937622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_36_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5564606030d971ad6eb6ac57933ee637.jpg","text":"TemporaryFile(/tmp/multipartBody7555637787223689252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_35_54_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0525229688988afa78b158152f8e659d.jpg","text":"TemporaryFile(/tmp/multipartBody2775183679239596235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507908687,"filename":"image_30112025_11_36_24_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397060269","file1":"1397060037","file0":"1397059821","file4":"1397060543","file5":"1397060554","file3":"1397060431"},"map_files_photo_id_array":[{"photo_id":"1397060554","filename":"file5"},{"photo_id":"1397060269","filename":"file2"},{"photo_id":"1397060543","filename":"file4"},{"photo_id":"1397060037","filename":"file1"},{"photo_id":"1397059821","filename":"file0"},{"photo_id":"1397060431","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397060431":["hashtag1","hashtag2"]},{"1397059821":["hashtag1","hashtag2"]},{"1397060037":["hashtag1","hashtag2"]},{"1397060543":["hashtag1","hashtag2"]},{"1397060269":["hashtag1","hashtag2"]},{"1397060554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397060431, 1397059821, 1397060037, 1397060543, 1397060269, 1397060554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.947174072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:05:02.409077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:05:11.916894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:05:21.857942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_34_9657.jpg', '/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_45_10640.jpg', '/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_54_9682.jpg', '/home/pi/Desktop/images/30112025/11/36/image_30112025_11_37_04_9664.jpg', '/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_14_9771.jpg', '/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_24_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_34_9657.jpg
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_45_10640.jpg
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_36_54_9682.jpg
/home/pi/Desktop/images/30112025/11/36/image_30112025_11_37_04_9664.jpg
/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_14_9771.jpg
/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_24_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061158","1397061332","1397061370","1397061292","1397061430","1397061223"],"photo_ids_order":["1397061158","1397061223","1397061292","1397061332","1397061370","1397061430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eed49fd99086440150b086e57cd1e813.jpg","text":"TemporaryFile(/tmp/multipartBody3410519277234494529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_36_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea8dd0798710aa2489eb99154542f9cc.jpg","text":"TemporaryFile(/tmp/multipartBody5693889553631411929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_37_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67e0c0875aefb0c7a2046b3efd20832b.jpg","text":"TemporaryFile(/tmp/multipartBody2385213653796208493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_37_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0eba5d7a875ed337cf869d8cced12a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8320381296503620379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_36_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/159e331794543f28997b78625c4ed001.jpg","text":"TemporaryFile(/tmp/multipartBody3953525095080565125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_37_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01a9a2767a5bd9f08c1c26cd5b5efbb9.jpg","text":"TemporaryFile(/tmp/multipartBody8731108726026071866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764507982634,"filename":"image_30112025_11_36_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061292","file1":"1397061223","file0":"1397061158","file4":"1397061370","file5":"1397061430","file3":"1397061332"},"map_files_photo_id_array":[{"photo_id":"1397061430","filename":"file5"},{"photo_id":"1397061292","filename":"file2"},{"photo_id":"1397061370","filename":"file4"},{"photo_id":"1397061223","filename":"file1"},{"photo_id":"1397061158","filename":"file0"},{"photo_id":"1397061332","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061158":["hashtag1","hashtag2"]},{"1397061332":["hashtag1","hashtag2"]},{"1397061370":["hashtag1","hashtag2"]},{"1397061292":["hashtag1","hashtag2"]},{"1397061430":["hashtag1","hashtag2"]},{"1397061223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061158, 1397061332, 1397061370, 1397061292, 1397061430, 1397061223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94349431991577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:06:02.564806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:06:12.060927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_27_2554.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_29_2664.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_33_4122.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_39_2658.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_41_2543.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_46_5060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_27_2554.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_29_2664.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_33_4122.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_39_2658.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_41_2543.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_46_5060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061648","1397061671","1397061674","1397061722","1397061682","1397061613"],"photo_ids_order":["1397061613","1397061648","1397061671","1397061674","1397061682","1397061722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d69a69ff775b836bf2b9696e590101f.jpg","text":"TemporaryFile(/tmp/multipartBody1868992824003393324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_29_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/30/3fb2fb7fad78265acc7eb64d08d0eed6.jpg","text":"TemporaryFile(/tmp/multipartBody8643852553261022900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_33_4122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d008f260f3f9d948a0c3169d4d7b817e.jpg","text":"TemporaryFile(/tmp/multipartBody3513382042579454356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f29f28b15625b907d48aac67cf7c3b64.jpg","text":"TemporaryFile(/tmp/multipartBody8668651662540084402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_46_5060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/127585827203c85f8072bb0f657629dc.jpg","text":"TemporaryFile(/tmp/multipartBody9011452768898163333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_41_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/30/d96e61491abc74515f018c36bd1d12aa.jpg","text":"TemporaryFile(/tmp/multipartBody1042286144051605315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508034006,"filename":"image_25112025_20_19_27_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061671","file1":"1397061648","file0":"1397061613","file4":"1397061682","file5":"1397061722","file3":"1397061674"},"map_files_photo_id_array":[{"photo_id":"1397061722","filename":"file5"},{"photo_id":"1397061671","filename":"file2"},{"photo_id":"1397061682","filename":"file4"},{"photo_id":"1397061648","filename":"file1"},{"photo_id":"1397061613","filename":"file0"},{"photo_id":"1397061674","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397061648":["hashtag1","hashtag2"]},{"1397061671":["hashtag1","hashtag2"]},{"1397061674":["hashtag1","hashtag2"]},{"1397061722":["hashtag1","hashtag2"]},{"1397061682":["hashtag1","hashtag2"]},{"1397061613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397061648, 1397061671, 1397061674, 1397061722, 1397061682, 1397061613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89368438720703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:07:10.262783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_34_9660.jpg', '/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_44_9778.jpg', '/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_55_10840.jpg', '/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_14_9685.jpg', '/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_24_9828.jpg', '/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_55_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_34_9660.jpg
/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_44_9778.jpg
/home/pi/Desktop/images/30112025/11/37/image_30112025_11_37_55_10840.jpg
/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_14_9685.jpg
/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_24_9828.jpg
/home/pi/Desktop/images/30112025/11/38/image_30112025_11_38_55_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061750","1397061753","1397061746","1397061748","1397061757","1397061745"],"photo_ids_order":["1397061745","1397061746","1397061748","1397061750","1397061753","1397061757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/441f96fe459bd57029e6d1a2eecc54ce.jpg","text":"TemporaryFile(/tmp/multipartBody3275855771837233675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_38_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e694dcb69947d137807fad32ee563518.jpg","text":"TemporaryFile(/tmp/multipartBody8298584365490522285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_38_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e804d16abb7910ee4f1db22513eadf62.jpg","text":"TemporaryFile(/tmp/multipartBody9130009866349333833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_37_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4fac4fcb222f1db2997df50adc1db4e.jpg","text":"TemporaryFile(/tmp/multipartBody2580863949336197581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_37_55_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/054c8c74630f4a10ee8d93621d6c3072.jpg","text":"TemporaryFile(/tmp/multipartBody970426704793587320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_38_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba707bdba200a65b65a2591dfc630653.jpg","text":"TemporaryFile(/tmp/multipartBody1772000339629119785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508091044,"filename":"image_30112025_11_37_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061748","file1":"1397061746","file0":"1397061745","file4":"1397061753","file5":"1397061757","file3":"1397061750"},"map_files_photo_id_array":[{"photo_id":"1397061757","filename":"file5"},{"photo_id":"1397061748","filename":"file2"},{"photo_id":"1397061753","filename":"file4"},{"photo_id":"1397061746","filename":"file1"},{"photo_id":"1397061745","filename":"file0"},{"photo_id":"1397061750","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061750":["hashtag1","hashtag2"]},{"1397061753":["hashtag1","hashtag2"]},{"1397061746":["hashtag1","hashtag2"]},{"1397061748":["hashtag1","hashtag2"]},{"1397061757":["hashtag1","hashtag2"]},{"1397061745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061750, 1397061753, 1397061746, 1397061748, 1397061757, 1397061745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38458514213562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:08:03.225468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/38/image_30112025_11_39_04_9217.jpg', '/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_24_9756.jpg', '/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_34_9615.jpg', '/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_44_10031.jpg', '/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_54_9826.jpg', '/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/38/image_30112025_11_39_04_9217.jpg
/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_24_9756.jpg
/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_34_9615.jpg
/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_44_10031.jpg
/home/pi/Desktop/images/30112025/11/39/image_30112025_11_39_54_9826.jpg
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_14_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061771","1397061768","1397061770","1397061773","1397061775","1397061778"],"photo_ids_order":["1397061768","1397061770","1397061771","1397061773","1397061775","1397061778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b3a24d52987c532ff230dd767b5cc57.jpg","text":"TemporaryFile(/tmp/multipartBody8837322945625047754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_39_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f52fc89195054f9c5384135bb6ee2baf.jpg","text":"TemporaryFile(/tmp/multipartBody2844482564709843110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_39_04_9217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/935a9e1b43dd92a482ef6c6e0691f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7258116155378193834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_39_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4be2b8bc39b92f7563428fa49bdd546.jpg","text":"TemporaryFile(/tmp/multipartBody8867149850627190145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_39_44_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/202ad6b5e083d226336e5cb18e2e54b7.jpg","text":"TemporaryFile(/tmp/multipartBody4575915548598595128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_39_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42bb3a8182f0b0aeb14d849e80183071.jpg","text":"TemporaryFile(/tmp/multipartBody2984758477919745670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508144059,"filename":"image_30112025_11_40_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061771","file1":"1397061770","file0":"1397061768","file4":"1397061775","file5":"1397061778","file3":"1397061773"},"map_files_photo_id_array":[{"photo_id":"1397061778","filename":"file5"},{"photo_id":"1397061771","filename":"file2"},{"photo_id":"1397061775","filename":"file4"},{"photo_id":"1397061770","filename":"file1"},{"photo_id":"1397061768","filename":"file0"},{"photo_id":"1397061773","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061771":["hashtag1","hashtag2"]},{"1397061768":["hashtag1","hashtag2"]},{"1397061770":["hashtag1","hashtag2"]},{"1397061773":["hashtag1","hashtag2"]},{"1397061775":["hashtag1","hashtag2"]},{"1397061778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061771, 1397061768, 1397061770, 1397061773, 1397061775, 1397061778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66490936279297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:08:42.714053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/49/image_31102025_12_49_24_2638.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_27_2670.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_30_3594.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_36_3603.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_39_2575.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_48_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_24_2638.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_27_2670.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_30_3594.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_36_3603.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_39_2575.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_48_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":["1397061786","1397061812","1397061821","1397061787","1397061823","1397061820"],"photo_ids_order":["1397061786","1397061787","1397061812","1397061820","1397061821","1397061823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f496cac19efc1de0f57c7243e4889b3.jpg","text":"TemporaryFile(/tmp/multipartBody1424551087031053966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_24_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5ce7f5aac9006795d044ef2c8d29ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4502503935044037699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_30_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/30/0ad28d239d1da5b886dd387a8f699cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8031366642112569243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_39_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/30/ad6d14385a0f5e709808870684dbeead.jpg","text":"TemporaryFile(/tmp/multipartBody7514294633983055724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_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/30/b79334e5446c2d8373fe381ad326289d.jpg","text":"TemporaryFile(/tmp/multipartBody6658226341466240128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_48_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/30/c74142c0300abcb625d57e00ace31ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6256169290357927903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508183702,"filename":"image_31102025_12_49_36_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061812","file1":"1397061787","file0":"1397061786","file4":"1397061821","file5":"1397061823","file3":"1397061820"},"map_files_photo_id_array":[{"photo_id":"1397061823","filename":"file5"},{"photo_id":"1397061812","filename":"file2"},{"photo_id":"1397061821","filename":"file4"},{"photo_id":"1397061787","filename":"file1"},{"photo_id":"1397061786","filename":"file0"},{"photo_id":"1397061820","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397061786":["hashtag1","hashtag2"]},{"1397061812":["hashtag1","hashtag2"]},{"1397061821":["hashtag1","hashtag2"]},{"1397061787":["hashtag1","hashtag2"]},{"1397061823":["hashtag1","hashtag2"]},{"1397061820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397061786, 1397061812, 1397061821, 1397061787, 1397061823, 1397061820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.646281242370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:09:21.979943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_25_10790.jpg', '/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_35_9688.jpg', '/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_45_9772.jpg', '/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_54_9717.jpg', '/home/pi/Desktop/images/30112025/11/40/image_30112025_11_41_05_10619.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_25_10790.jpg
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_35_9688.jpg
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_45_9772.jpg
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_40_54_9717.jpg
/home/pi/Desktop/images/30112025/11/40/image_30112025_11_41_05_10619.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_15_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061840","1397061837","1397061835","1397061829","1397061832","1397061826"],"photo_ids_order":["1397061826","1397061829","1397061832","1397061835","1397061837","1397061840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11068d602806e2f79ad4f5a6a5a967c3.jpg","text":"TemporaryFile(/tmp/multipartBody1258822905227156893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_41_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc2146be5a3504d24ca608b27d9b2895.jpg","text":"TemporaryFile(/tmp/multipartBody2103929851891565494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_41_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfa7a8ff67101a86c0496af616de0a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7931634441822692271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_40_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5676936ab95f58176dcfc114ec3e283.jpg","text":"TemporaryFile(/tmp/multipartBody7673392995038975234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_40_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8118d6955b3fcc382bb2e490832070dd.jpg","text":"TemporaryFile(/tmp/multipartBody2347395681520198617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_40_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1fc8e457f06325b7f5cba5c6fefe158.jpg","text":"TemporaryFile(/tmp/multipartBody3164109760265811111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508222852,"filename":"image_30112025_11_40_25_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061832","file1":"1397061829","file0":"1397061826","file4":"1397061837","file5":"1397061840","file3":"1397061835"},"map_files_photo_id_array":[{"photo_id":"1397061840","filename":"file5"},{"photo_id":"1397061832","filename":"file2"},{"photo_id":"1397061837","filename":"file4"},{"photo_id":"1397061829","filename":"file1"},{"photo_id":"1397061826","filename":"file0"},{"photo_id":"1397061835","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061840":["hashtag1","hashtag2"]},{"1397061837":["hashtag1","hashtag2"]},{"1397061835":["hashtag1","hashtag2"]},{"1397061829":["hashtag1","hashtag2"]},{"1397061832":["hashtag1","hashtag2"]},{"1397061826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061840, 1397061837, 1397061835, 1397061829, 1397061832, 1397061826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.845040798187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:10:02.487174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_25_10695.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_35_9773.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_45_9658.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_55_9755.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_42_05_10748.jpg', '/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_25_10695.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_35_9773.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_45_9658.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_55_9755.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_42_05_10748.jpg
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_15_9767.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7769527435302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:10:12.001837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_48_1505.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_50_2655.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_53_2608.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_57_3763.jpg', '/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_59_2606.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_03_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_48_1505.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_50_2655.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_53_2608.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_57_3763.jpg
/home/pi/Desktop/images/25112025/20/19/image_25112025_20_19_59_2606.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_03_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061852","1397061855","1397061860","1397061857","1397061845","1397061847"],"photo_ids_order":["1397061845","1397061847","1397061852","1397061855","1397061857","1397061860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c601b1740afca4914cfea8ffeb04c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1993565028898432221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_19_53_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/30/6e4f60caedca4aab1afd951266160ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1794654862394453735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_19_57_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/30/9e814746827d0e0ad6ae9236a0b26fb8.jpg","text":"TemporaryFile(/tmp/multipartBody727772727497316648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_20_03_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/30/9edecfad4d68ca86444fb7903f56c556.jpg","text":"TemporaryFile(/tmp/multipartBody4456923409839419720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_19_59_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/30/2da2aad71e47b7b29672cfd025b64694.jpg","text":"TemporaryFile(/tmp/multipartBody4302202861289452086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_19_48_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e88c6fefbd94ccad434d267d9dbf81c9.jpg","text":"TemporaryFile(/tmp/multipartBody4678916389707220043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508273906,"filename":"image_25112025_20_19_50_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061852","file1":"1397061847","file0":"1397061845","file4":"1397061857","file5":"1397061860","file3":"1397061855"},"map_files_photo_id_array":[{"photo_id":"1397061860","filename":"file5"},{"photo_id":"1397061852","filename":"file2"},{"photo_id":"1397061857","filename":"file4"},{"photo_id":"1397061847","filename":"file1"},{"photo_id":"1397061845","filename":"file0"},{"photo_id":"1397061855","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397061852":["hashtag1","hashtag2"]},{"1397061855":["hashtag1","hashtag2"]},{"1397061860":["hashtag1","hashtag2"]},{"1397061857":["hashtag1","hashtag2"]},{"1397061845":["hashtag1","hashtag2"]},{"1397061847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397061852, 1397061855, 1397061860, 1397061857, 1397061845, 1397061847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.111655712127686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:11:03.094953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_25_10695.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_35_9773.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_45_9658.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_55_9755.jpg', '/home/pi/Desktop/images/30112025/11/41/image_30112025_11_42_05_10748.jpg', '/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_25_10695.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_35_9773.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_45_9658.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_41_55_9755.jpg
/home/pi/Desktop/images/30112025/11/41/image_30112025_11_42_05_10748.jpg
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_15_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061870","1397061864","1397061873","1397061863","1397061866","1397061865"],"photo_ids_order":["1397061863","1397061864","1397061865","1397061866","1397061870","1397061873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2426f7fd39736bc9690423b4b8939871.jpg","text":"TemporaryFile(/tmp/multipartBody6383345571045409689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_42_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bff911105d8dcc73eae78a799f8be308.jpg","text":"TemporaryFile(/tmp/multipartBody7474241592773951249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_41_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf99cd1f48ff3ed99767cba3a78f36d5.jpg","text":"TemporaryFile(/tmp/multipartBody5342730188853120151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_42_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5937ad8e151215db05429a907d45f906.jpg","text":"TemporaryFile(/tmp/multipartBody1024965096651063173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_41_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/125546449b6cc268baa09612b6bb5c28.jpg","text":"TemporaryFile(/tmp/multipartBody5638346652703241536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_41_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69089d76b3f30616aed340bc6dd7e30d.jpg","text":"TemporaryFile(/tmp/multipartBody5043044009451140949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508324038,"filename":"image_30112025_11_41_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061865","file1":"1397061864","file0":"1397061863","file4":"1397061870","file5":"1397061873","file3":"1397061866"},"map_files_photo_id_array":[{"photo_id":"1397061873","filename":"file5"},{"photo_id":"1397061865","filename":"file2"},{"photo_id":"1397061870","filename":"file4"},{"photo_id":"1397061864","filename":"file1"},{"photo_id":"1397061863","filename":"file0"},{"photo_id":"1397061866","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061870":["hashtag1","hashtag2"]},{"1397061864":["hashtag1","hashtag2"]},{"1397061873":["hashtag1","hashtag2"]},{"1397061863":["hashtag1","hashtag2"]},{"1397061866":["hashtag1","hashtag2"]},{"1397061865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061870, 1397061864, 1397061873, 1397061863, 1397061866, 1397061865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68948411941528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:11:42.278628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/49/image_31102025_12_49_51_2640.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_57_3809.jpg', '/home/pi/Desktop/images/31102025/12/49/image_31102025_12_50_00_2885.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_03_2697.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_09_2888.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_12_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_51_2640.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_49_57_3809.jpg
/home/pi/Desktop/images/31102025/12/49/image_31102025_12_50_00_2885.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_03_2697.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_09_2888.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_12_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061906","1397061905","1397061908","1397061880","1397061907","1397061882"],"photo_ids_order":["1397061880","1397061882","1397061905","1397061906","1397061907","1397061908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bddba757c1ed129936a10db1b0a74aad.jpg","text":"TemporaryFile(/tmp/multipartBody1313888127674783261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_50_03_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/30/073a61d01079e1319ec911836f14bf28.jpg","text":"TemporaryFile(/tmp/multipartBody7457711221633092783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_50_00_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/30/86ccd8c1fce35aa797aeedc4464f314e.jpg","text":"TemporaryFile(/tmp/multipartBody4531959345907756343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_50_12_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/30/5418b81dfb58d10bed6d406413d163fd.jpg","text":"TemporaryFile(/tmp/multipartBody5436972499668943279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_49_51_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/30/e0eceef994c511c499e52772fa07a90f.jpg","text":"TemporaryFile(/tmp/multipartBody4660796889094478735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_50_09_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff8061c7fa5a59f5200447f09a53ab63.jpg","text":"TemporaryFile(/tmp/multipartBody1339898250754683870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508363227,"filename":"image_31102025_12_49_57_3809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061905","file1":"1397061882","file0":"1397061880","file4":"1397061907","file5":"1397061908","file3":"1397061906"},"map_files_photo_id_array":[{"photo_id":"1397061908","filename":"file5"},{"photo_id":"1397061905","filename":"file2"},{"photo_id":"1397061907","filename":"file4"},{"photo_id":"1397061882","filename":"file1"},{"photo_id":"1397061880","filename":"file0"},{"photo_id":"1397061906","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397061906":["hashtag1","hashtag2"]},{"1397061905":["hashtag1","hashtag2"]},{"1397061908":["hashtag1","hashtag2"]},{"1397061880":["hashtag1","hashtag2"]},{"1397061907":["hashtag1","hashtag2"]},{"1397061882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397061906, 1397061905, 1397061908, 1397061880, 1397061907, 1397061882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09517240524292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:12:22.474859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_25_9740.jpg', '/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_35_9868.jpg', '/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_45_9886.jpg', '/home/pi/Desktop/images/30112025/11/42/image_30112025_11_43_04_9845.jpg', '/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_25_9852.jpg', '/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_44_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_25_9740.jpg
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_35_9868.jpg
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_42_45_9886.jpg
/home/pi/Desktop/images/30112025/11/42/image_30112025_11_43_04_9845.jpg
/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_25_9852.jpg
/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_44_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061912","1397061921","1397061915","1397061924","1397061918","1397061922"],"photo_ids_order":["1397061912","1397061915","1397061918","1397061921","1397061922","1397061924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76e59e42457923fec61c5b0821845f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6199374543705936125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_42_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65f128064f260941a600f0f1609a2a93.jpg","text":"TemporaryFile(/tmp/multipartBody3527405447623152896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_43_04_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f6a88d19fe1db114b028e24af45cf22.jpg","text":"TemporaryFile(/tmp/multipartBody4931332271477056667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_42_35_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/30/5e2d885250bb0593b7156cf74d3c2b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8628614327903237438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_43_44_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fbde390fb3b3c4ba7d6eb2e0fb83d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4869874549350125838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_42_45_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5745ae33c4ef39941373b7c6424007fa.jpg","text":"TemporaryFile(/tmp/multipartBody7398129941175967488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508403356,"filename":"image_30112025_11_43_25_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061918","file1":"1397061915","file0":"1397061912","file4":"1397061922","file5":"1397061924","file3":"1397061921"},"map_files_photo_id_array":[{"photo_id":"1397061924","filename":"file5"},{"photo_id":"1397061918","filename":"file2"},{"photo_id":"1397061922","filename":"file4"},{"photo_id":"1397061915","filename":"file1"},{"photo_id":"1397061912","filename":"file0"},{"photo_id":"1397061921","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061912":["hashtag1","hashtag2"]},{"1397061921":["hashtag1","hashtag2"]},{"1397061915":["hashtag1","hashtag2"]},{"1397061924":["hashtag1","hashtag2"]},{"1397061918":["hashtag1","hashtag2"]},{"1397061922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061912, 1397061921, 1397061915, 1397061924, 1397061918, 1397061922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08962559700012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:13:03.284061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_55_10827.jpg', '/home/pi/Desktop/images/30112025/11/43/image_30112025_11_44_05_9661.jpg', '/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_15_9800.jpg', '/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_25_9783.jpg', '/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_45_9717.jpg', '/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/43/image_30112025_11_43_55_10827.jpg
/home/pi/Desktop/images/30112025/11/43/image_30112025_11_44_05_9661.jpg
/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_15_9800.jpg
/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_25_9783.jpg
/home/pi/Desktop/images/30112025/11/44/image_30112025_11_44_45_9717.jpg
/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061927","1397061935","1397061932","1397061926","1397061929","1397061925"],"photo_ids_order":["1397061925","1397061926","1397061927","1397061929","1397061932","1397061935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/758d53751a6c1e7fae6fe962b5a66b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1722082686976805418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_44_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b43ea986f38695877a8feec26e2cbb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2930830647179283955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_46_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54a6209b02994cafc291877cae77a639.jpg","text":"TemporaryFile(/tmp/multipartBody5759099534013639848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_44_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6a3e7ae2b371c17537aac013b39ee34.jpg","text":"TemporaryFile(/tmp/multipartBody1753701612366774684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_44_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92805f3e5815816baa701dc39b4788b7.jpg","text":"TemporaryFile(/tmp/multipartBody1825224615147330982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_44_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7531054ea8368026ca3b1cd7482c9a11.jpg","text":"TemporaryFile(/tmp/multipartBody5132874451593776199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508446317,"filename":"image_30112025_11_43_55_10827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061927","file1":"1397061926","file0":"1397061925","file4":"1397061932","file5":"1397061935","file3":"1397061929"},"map_files_photo_id_array":[{"photo_id":"1397061935","filename":"file5"},{"photo_id":"1397061927","filename":"file2"},{"photo_id":"1397061932","filename":"file4"},{"photo_id":"1397061926","filename":"file1"},{"photo_id":"1397061925","filename":"file0"},{"photo_id":"1397061929","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061927":["hashtag1","hashtag2"]},{"1397061935":["hashtag1","hashtag2"]},{"1397061932":["hashtag1","hashtag2"]},{"1397061926":["hashtag1","hashtag2"]},{"1397061929":["hashtag1","hashtag2"]},{"1397061925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061927, 1397061935, 1397061932, 1397061926, 1397061929, 1397061925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.157915353775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:13:42.666047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/50/image_31102025_12_50_15_2697.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_18_2832.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_21_2910.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_23_2877.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_27_3680.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_33_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/12/50/image_31102025_12_50_15_2697.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_18_2832.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_21_2910.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_23_2877.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_27_3680.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_33_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":["1397061945","1397061948","1397061947","1397061946","1397061949","1397061943"],"photo_ids_order":["1397061943","1397061945","1397061946","1397061947","1397061948","1397061949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f1798d60e6f5e79ed9fa65ad0f58db1.jpg","text":"TemporaryFile(/tmp/multipartBody5695733521727517542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_18_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/30/73be3e516b93ee1f1cb076c4a82fa8f2.jpg","text":"TemporaryFile(/tmp/multipartBody5451127645015773782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_27_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/30/07e7c1fed78954bd94ce977e0156a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3576762674607381401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_23_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/30/a916c858e935f8c18311ac90d62f70a5.jpg","text":"TemporaryFile(/tmp/multipartBody7070971694618797685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_21_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/30/f937994c8059b65dbdcb4b3b48e6885a.jpg","text":"TemporaryFile(/tmp/multipartBody2465155656368617383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_33_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/344260c81cf168ad3f7f51834e5dfd1e.jpg","text":"TemporaryFile(/tmp/multipartBody393283358454108442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508483674,"filename":"image_31102025_12_50_15_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061946","file1":"1397061945","file0":"1397061943","file4":"1397061948","file5":"1397061949","file3":"1397061947"},"map_files_photo_id_array":[{"photo_id":"1397061949","filename":"file5"},{"photo_id":"1397061946","filename":"file2"},{"photo_id":"1397061948","filename":"file4"},{"photo_id":"1397061945","filename":"file1"},{"photo_id":"1397061943","filename":"file0"},{"photo_id":"1397061947","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397061945":["hashtag1","hashtag2"]},{"1397061948":["hashtag1","hashtag2"]},{"1397061947":["hashtag1","hashtag2"]},{"1397061946":["hashtag1","hashtag2"]},{"1397061949":["hashtag1","hashtag2"]},{"1397061943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397061945, 1397061948, 1397061947, 1397061946, 1397061949, 1397061943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31185245513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:14:21.749614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_35_5881.jpg', '/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_44_9509.jpg', '/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_54_9857.jpg', '/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_24_9736.jpg', '/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_34_9859.jpg', '/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_35_5881.jpg
/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_44_9509.jpg
/home/pi/Desktop/images/30112025/11/46/image_30112025_11_46_54_9857.jpg
/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_24_9736.jpg
/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_34_9859.jpg
/home/pi/Desktop/images/30112025/11/47/image_30112025_11_47_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061963","1397061957","1397061966","1397061960","1397061962","1397061952"],"photo_ids_order":["1397061952","1397061957","1397061960","1397061962","1397061963","1397061966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/005103a40d41367597ec29e2e07b9586.jpg","text":"TemporaryFile(/tmp/multipartBody7241280016218009916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_47_34_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6965a3971860f4a170d44937acb2aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody6213216899772482951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_46_44_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2348ccf1d8cf82da5da087f3ee470f51.jpg","text":"TemporaryFile(/tmp/multipartBody5310748208026771273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_47_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a90ff3f974e9b44b445f8c41da7ea917.jpg","text":"TemporaryFile(/tmp/multipartBody7382349746653224719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_46_54_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e410cfcd4ebc593c16893a266120023b.jpg","text":"TemporaryFile(/tmp/multipartBody2795277941056235278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_47_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ae01a193015faf458094c70b809107a.jpg","text":"TemporaryFile(/tmp/multipartBody4730291727207883617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508522536,"filename":"image_30112025_11_46_35_5881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061960","file1":"1397061957","file0":"1397061952","file4":"1397061963","file5":"1397061966","file3":"1397061962"},"map_files_photo_id_array":[{"photo_id":"1397061966","filename":"file5"},{"photo_id":"1397061960","filename":"file2"},{"photo_id":"1397061963","filename":"file4"},{"photo_id":"1397061957","filename":"file1"},{"photo_id":"1397061952","filename":"file0"},{"photo_id":"1397061962","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061963":["hashtag1","hashtag2"]},{"1397061957":["hashtag1","hashtag2"]},{"1397061966":["hashtag1","hashtag2"]},{"1397061960":["hashtag1","hashtag2"]},{"1397061962":["hashtag1","hashtag2"]},{"1397061952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061963, 1397061957, 1397061966, 1397061960, 1397061962, 1397061952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57931900024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:15:02.823423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_24_9911.jpg', '/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_34_10658.jpg', '/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_44_9735.jpg', '/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_54_9826.jpg', '/home/pi/Desktop/images/30112025/11/48/image_30112025_11_49_04_9851.jpg', '/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_24_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_24_9911.jpg
/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_34_10658.jpg
/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_44_9735.jpg
/home/pi/Desktop/images/30112025/11/48/image_30112025_11_48_54_9826.jpg
/home/pi/Desktop/images/30112025/11/48/image_30112025_11_49_04_9851.jpg
/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_24_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397061990","1397061987","1397061986","1397061985","1397061988","1397061993"],"photo_ids_order":["1397061985","1397061986","1397061987","1397061988","1397061990","1397061993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/114865009d92cf7841a1dfa83fd49090.jpg","text":"TemporaryFile(/tmp/multipartBody5465756389168220452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_49_04_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/900b308148c0ef134f90dc742205b7de.jpg","text":"TemporaryFile(/tmp/multipartBody805489527949754998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_48_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccbe2b39f1fd8d38c46693cb90a273ba.jpg","text":"TemporaryFile(/tmp/multipartBody6861148460830883260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_48_34_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/380a6692ea1b0811cdcd4421d10e3d71.jpg","text":"TemporaryFile(/tmp/multipartBody8084907421353076543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_48_24_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/628fec2ab0d50ea1405a1dcfdc8c5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2120441887613447642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_48_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/708dc9a50f0a10b1d8323619954da1e8.jpg","text":"TemporaryFile(/tmp/multipartBody7095272452976749679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508563789,"filename":"image_30112025_11_49_24_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397061987","file1":"1397061986","file0":"1397061985","file4":"1397061990","file5":"1397061993","file3":"1397061988"},"map_files_photo_id_array":[{"photo_id":"1397061993","filename":"file5"},{"photo_id":"1397061987","filename":"file2"},{"photo_id":"1397061990","filename":"file4"},{"photo_id":"1397061986","filename":"file1"},{"photo_id":"1397061985","filename":"file0"},{"photo_id":"1397061988","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397061990":["hashtag1","hashtag2"]},{"1397061987":["hashtag1","hashtag2"]},{"1397061986":["hashtag1","hashtag2"]},{"1397061985":["hashtag1","hashtag2"]},{"1397061988":["hashtag1","hashtag2"]},{"1397061993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397061990, 1397061987, 1397061986, 1397061985, 1397061988, 1397061993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72811198234558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:15:42.054913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/50/image_31102025_12_50_36_3629.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_39_2678.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_42_2833.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_44_2710.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_48_3731.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_51_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_36_3629.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_39_2678.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_42_2833.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_44_2710.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_48_3731.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_51_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":["1397061999","1397062002","1397062005","1397062004","1397062001","1397062003"],"photo_ids_order":["1397061999","1397062001","1397062002","1397062003","1397062004","1397062005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0a6b33e4756de1891e912572fb23fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6444821629251610813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_36_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/30/5102081b301ed283789cb9b82597ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody8290756174253237395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_42_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/30/684f51a8b35af5ccd4707cb3aafde1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2404564408219749287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_51_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c701c1886f5e6526b4a8b8ebcbff9065.jpg","text":"TemporaryFile(/tmp/multipartBody3570016850422856978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_48_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/30/47499c437c9e6e20be453c9213b83c15.jpg","text":"TemporaryFile(/tmp/multipartBody9181658635745650605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_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/30/f30cf4d1166084fba4ba83ccac48ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody8972863621253760142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508603066,"filename":"image_31102025_12_50_44_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062002","file1":"1397062001","file0":"1397061999","file4":"1397062004","file5":"1397062005","file3":"1397062003"},"map_files_photo_id_array":[{"photo_id":"1397062005","filename":"file5"},{"photo_id":"1397062002","filename":"file2"},{"photo_id":"1397062004","filename":"file4"},{"photo_id":"1397062001","filename":"file1"},{"photo_id":"1397061999","filename":"file0"},{"photo_id":"1397062003","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397061999":["hashtag1","hashtag2"]},{"1397062002":["hashtag1","hashtag2"]},{"1397062005":["hashtag1","hashtag2"]},{"1397062004":["hashtag1","hashtag2"]},{"1397062001":["hashtag1","hashtag2"]},{"1397062003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397061999, 1397062002, 1397062005, 1397062004, 1397062001, 1397062003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341628074645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:16:22.377535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_34_9712.jpg', '/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_54_9677.jpg', '/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_14_10056.jpg', '/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_25_10906.jpg', '/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_35_9908.jpg', '/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_45_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_34_9712.jpg
/home/pi/Desktop/images/30112025/11/49/image_30112025_11_49_54_9677.jpg
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_14_10056.jpg
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_25_10906.jpg
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_35_9908.jpg
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_45_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397062011","1397062008","1397062022","1397062013","1397062015","1397062018"],"photo_ids_order":["1397062008","1397062011","1397062013","1397062015","1397062018","1397062022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4bf604482c39811ff053ad737c93472.jpg","text":"TemporaryFile(/tmp/multipartBody6170904739914273719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_49_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9777dd3e0d90178a42b2f8e8cfaa40b3.jpg","text":"TemporaryFile(/tmp/multipartBody7976267159373423815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_49_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e6bb8ab20fb798fe1b5c5e4b2129f99.jpg","text":"TemporaryFile(/tmp/multipartBody7570983593325113131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_50_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5c617f6dd096cfa295de2d14a8b9c44.jpg","text":"TemporaryFile(/tmp/multipartBody3508385451130581613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_50_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f841232196a1a45db5b1926bb6e13df.jpg","text":"TemporaryFile(/tmp/multipartBody8460751005454030789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_50_25_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7c1f1afd1c1578036073bab71fb9239.jpg","text":"TemporaryFile(/tmp/multipartBody3093778176383502381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508643209,"filename":"image_30112025_11_50_35_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062013","file1":"1397062011","file0":"1397062008","file4":"1397062018","file5":"1397062022","file3":"1397062015"},"map_files_photo_id_array":[{"photo_id":"1397062022","filename":"file5"},{"photo_id":"1397062013","filename":"file2"},{"photo_id":"1397062018","filename":"file4"},{"photo_id":"1397062011","filename":"file1"},{"photo_id":"1397062008","filename":"file0"},{"photo_id":"1397062015","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397062011":["hashtag1","hashtag2"]},{"1397062008":["hashtag1","hashtag2"]},{"1397062022":["hashtag1","hashtag2"]},{"1397062013":["hashtag1","hashtag2"]},{"1397062015":["hashtag1","hashtag2"]},{"1397062018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397062011, 1397062008, 1397062022, 1397062013, 1397062015, 1397062018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.427034854888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:17:02.991013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_55_9833.jpg', '/home/pi/Desktop/images/30112025/11/50/image_30112025_11_51_05_9752.jpg', '/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_14_9834.jpg', '/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_25_10631.jpg', '/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_35_9740.jpg', '/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_45_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_50_55_9833.jpg
/home/pi/Desktop/images/30112025/11/50/image_30112025_11_51_05_9752.jpg
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_14_9834.jpg
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_25_10631.jpg
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_35_9740.jpg
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_45_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397062029","1397062031","1397062033","1397062027","1397062036","1397062030"],"photo_ids_order":["1397062027","1397062029","1397062030","1397062031","1397062033","1397062036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbb85558c197763f7b32cf7dec57b4c9.jpg","text":"TemporaryFile(/tmp/multipartBody289781058508983171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_51_05_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/316d08b84f2e9e6ee0ce6ea45ed401e0.jpg","text":"TemporaryFile(/tmp/multipartBody7359929596492411494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_51_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6f553837ce87913cdb5b8b4d9e813b4.jpg","text":"TemporaryFile(/tmp/multipartBody5231946722576192351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_51_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26a975deeec6afc89cac2174e182e44f.jpg","text":"TemporaryFile(/tmp/multipartBody943065208642840249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_50_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6af205b7ebee09e0e9cde3ceee60865c.jpg","text":"TemporaryFile(/tmp/multipartBody3314436105482508118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_51_45_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8462c5ea973fc6977d466ee5f44c86b8.jpg","text":"TemporaryFile(/tmp/multipartBody2981936767487953422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508683918,"filename":"image_30112025_11_51_14_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062030","file1":"1397062029","file0":"1397062027","file4":"1397062033","file5":"1397062036","file3":"1397062031"},"map_files_photo_id_array":[{"photo_id":"1397062036","filename":"file5"},{"photo_id":"1397062030","filename":"file2"},{"photo_id":"1397062033","filename":"file4"},{"photo_id":"1397062029","filename":"file1"},{"photo_id":"1397062027","filename":"file0"},{"photo_id":"1397062031","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397062029":["hashtag1","hashtag2"]},{"1397062031":["hashtag1","hashtag2"]},{"1397062033":["hashtag1","hashtag2"]},{"1397062027":["hashtag1","hashtag2"]},{"1397062036":["hashtag1","hashtag2"]},{"1397062030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397062029, 1397062031, 1397062033, 1397062027, 1397062036, 1397062030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10885214805603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:17:42.424962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/50/image_31102025_12_50_53_2614.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_57_3665.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_51_00_2674.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_11_2542.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_15_3642.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_18_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_53_2614.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_57_3665.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_51_00_2674.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_11_2542.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_15_3642.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_18_2699.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9015991687774658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:18:03.059475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_55_10677.jpg', '/home/pi/Desktop/images/30112025/11/51/image_30112025_11_52_05_9651.jpg', '/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_34_9820.jpg', '/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_45_10858.jpg', '/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_55_9729.jpg', '/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_25_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_51_55_10677.jpg
/home/pi/Desktop/images/30112025/11/51/image_30112025_11_52_05_9651.jpg
/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_34_9820.jpg
/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_45_10858.jpg
/home/pi/Desktop/images/30112025/11/52/image_30112025_11_52_55_9729.jpg
/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_25_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397062053","1397062055","1397062058","1397062054","1397062062","1397062056"],"photo_ids_order":["1397062053","1397062054","1397062055","1397062056","1397062058","1397062062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f81b4ea832a20788db1792f8232c987.jpg","text":"TemporaryFile(/tmp/multipartBody6505503514471877982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_51_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5eea616186f9e350d3e9a95729d569a9.jpg","text":"TemporaryFile(/tmp/multipartBody4757978324359652919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_52_34_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62678cc324c4cfb08fcbd28ded120a12.jpg","text":"TemporaryFile(/tmp/multipartBody1905412845521421891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_52_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb461c5e4afdb76fe9a10679971afb0b.jpg","text":"TemporaryFile(/tmp/multipartBody3721805532880199128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_52_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1ca2777b333b664ba4972ce10594ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2752778791265111006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_53_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17371c6567863cb0c215c6f3c458b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6772891083580047143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508743958,"filename":"image_30112025_11_52_45_10858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062055","file1":"1397062054","file0":"1397062053","file4":"1397062058","file5":"1397062062","file3":"1397062056"},"map_files_photo_id_array":[{"photo_id":"1397062062","filename":"file5"},{"photo_id":"1397062055","filename":"file2"},{"photo_id":"1397062058","filename":"file4"},{"photo_id":"1397062054","filename":"file1"},{"photo_id":"1397062053","filename":"file0"},{"photo_id":"1397062056","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397062053":["hashtag1","hashtag2"]},{"1397062055":["hashtag1","hashtag2"]},{"1397062058":["hashtag1","hashtag2"]},{"1397062054":["hashtag1","hashtag2"]},{"1397062062":["hashtag1","hashtag2"]},{"1397062056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397062053, 1397062055, 1397062058, 1397062054, 1397062062, 1397062056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82798790931702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:18:42.585085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/50/image_31102025_12_50_53_2614.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_57_3665.jpg', '/home/pi/Desktop/images/31102025/12/50/image_31102025_12_51_00_2674.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_11_2542.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_15_3642.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_18_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_53_2614.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_50_57_3665.jpg
/home/pi/Desktop/images/31102025/12/50/image_31102025_12_51_00_2674.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_11_2542.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_15_3642.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_18_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397062172","1397062139","1397062208","1397062279","1397062246","1397062102"],"photo_ids_order":["1397062102","1397062139","1397062172","1397062208","1397062246","1397062279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98682aa13e4c7ca563a24bc36b056ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1881400137296359927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_51_00_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de9cf2df2c770b54b2b7378941cf2359.jpg","text":"TemporaryFile(/tmp/multipartBody2024181305338541331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_50_57_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/197831686b5458ff6678b364ae43fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody5864495746048429740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_51_11_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/30/c8110e747dfc2bad604f534797790e39.jpg","text":"TemporaryFile(/tmp/multipartBody4943729338700563758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_51_18_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c9b23079185b440879eff0332188a6a.jpg","text":"TemporaryFile(/tmp/multipartBody767014624511815287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_51_15_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/30/9004a0eb34bc393dd0feafd3580faed3.jpg","text":"TemporaryFile(/tmp/multipartBody878795483050743573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508783402,"filename":"image_31102025_12_50_53_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062172","file1":"1397062139","file0":"1397062102","file4":"1397062246","file5":"1397062279","file3":"1397062208"},"map_files_photo_id_array":[{"photo_id":"1397062279","filename":"file5"},{"photo_id":"1397062172","filename":"file2"},{"photo_id":"1397062246","filename":"file4"},{"photo_id":"1397062139","filename":"file1"},{"photo_id":"1397062102","filename":"file0"},{"photo_id":"1397062208","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397062172":["hashtag1","hashtag2"]},{"1397062139":["hashtag1","hashtag2"]},{"1397062208":["hashtag1","hashtag2"]},{"1397062279":["hashtag1","hashtag2"]},{"1397062246":["hashtag1","hashtag2"]},{"1397062102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397062172, 1397062139, 1397062208, 1397062279, 1397062246, 1397062102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77813386917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:19:22.739689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_35_9744.jpg', '/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_45_9768.jpg', '/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_54_9737.jpg', '/home/pi/Desktop/images/30112025/11/53/image_30112025_11_54_05_10752.jpg', '/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_15_9711.jpg', '/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_25_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_35_9744.jpg
/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_45_9768.jpg
/home/pi/Desktop/images/30112025/11/53/image_30112025_11_53_54_9737.jpg
/home/pi/Desktop/images/30112025/11/53/image_30112025_11_54_05_10752.jpg
/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_15_9711.jpg
/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_25_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397062602","1397062457","1397062565","1397062529","1397062492","1397062418"],"photo_ids_order":["1397062418","1397062457","1397062492","1397062529","1397062565","1397062602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0aef9e3928948335415ecfce83fea88f.jpg","text":"TemporaryFile(/tmp/multipartBody5155886936864617180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_54_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02fa83da1dcba3f8874a71b5188cc6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4037300015962979479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_53_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f94a6ba14d8927882a160f26b9d0fecc.jpg","text":"TemporaryFile(/tmp/multipartBody6158349625612111689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_54_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e631d3940fb386a141ee1256338a45ff.jpg","text":"TemporaryFile(/tmp/multipartBody8393357972308438067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_54_05_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86a4c079722113934b990f8a22df74fe.jpg","text":"TemporaryFile(/tmp/multipartBody8232620271682706026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_53_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aea2f43fe444c3cdaf078e044653d4d7.jpg","text":"TemporaryFile(/tmp/multipartBody5600530386909088418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508823629,"filename":"image_30112025_11_53_35_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062492","file1":"1397062457","file0":"1397062418","file4":"1397062565","file5":"1397062602","file3":"1397062529"},"map_files_photo_id_array":[{"photo_id":"1397062602","filename":"file5"},{"photo_id":"1397062492","filename":"file2"},{"photo_id":"1397062565","filename":"file4"},{"photo_id":"1397062457","filename":"file1"},{"photo_id":"1397062418","filename":"file0"},{"photo_id":"1397062529","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397062602":["hashtag1","hashtag2"]},{"1397062457":["hashtag1","hashtag2"]},{"1397062565":["hashtag1","hashtag2"]},{"1397062529":["hashtag1","hashtag2"]},{"1397062492":["hashtag1","hashtag2"]},{"1397062418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397062602, 1397062457, 1397062565, 1397062529, 1397062492, 1397062418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94382333755493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:20:02.411290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_34_9677.jpg', '/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_45_10882.jpg', '/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_14_10202.jpg', '/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_25_10721.jpg', '/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_34_9694.jpg', '/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_44_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_34_9677.jpg
/home/pi/Desktop/images/30112025/11/54/image_30112025_11_54_45_10882.jpg
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_14_10202.jpg
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_25_10721.jpg
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_34_9694.jpg
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_44_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397062835","1397062802","1397062768","1397062732","1397062863","1397062866"],"photo_ids_order":["1397062732","1397062768","1397062802","1397062835","1397062863","1397062866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb74d892ff3aeeb6a1fd93a9f113a3af.jpg","text":"TemporaryFile(/tmp/multipartBody8524968726253946129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_56_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f60114e3b28b7c4b6a5332bbc84a723d.jpg","text":"TemporaryFile(/tmp/multipartBody4675758403775530928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_56_14_10202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4db5094263da04a3277aace2beb56653.jpg","text":"TemporaryFile(/tmp/multipartBody3734691686024886518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_54_45_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b7ba3c9d929b1f15f852aae5de034d2.jpg","text":"TemporaryFile(/tmp/multipartBody3704304317852262213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_54_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2952e3bf7139a5682ae885d37f67661.jpg","text":"TemporaryFile(/tmp/multipartBody1921724503688902940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_56_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3edb1a20a3b5f1418881108521f2ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1960245757953905083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508863263,"filename":"image_30112025_11_56_44_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397062802","file1":"1397062768","file0":"1397062732","file4":"1397062863","file5":"1397062866","file3":"1397062835"},"map_files_photo_id_array":[{"photo_id":"1397062866","filename":"file5"},{"photo_id":"1397062802","filename":"file2"},{"photo_id":"1397062863","filename":"file4"},{"photo_id":"1397062768","filename":"file1"},{"photo_id":"1397062732","filename":"file0"},{"photo_id":"1397062835","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397062835":["hashtag1","hashtag2"]},{"1397062802":["hashtag1","hashtag2"]},{"1397062768":["hashtag1","hashtag2"]},{"1397062732":["hashtag1","hashtag2"]},{"1397062863":["hashtag1","hashtag2"]},{"1397062866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397062835, 1397062802, 1397062768, 1397062732, 1397062863, 1397062866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.068095207214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:21:02.480695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:21:11.962232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:21:22.047384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_54_9655.jpg', '/home/pi/Desktop/images/30112025/11/56/image_30112025_11_57_05_10842.jpg', '/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_14_9774.jpg', '/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_24_9705.jpg', '/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_34_9651.jpg', '/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_44_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_56_54_9655.jpg
/home/pi/Desktop/images/30112025/11/56/image_30112025_11_57_05_10842.jpg
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_14_9774.jpg
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_24_9705.jpg
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_34_9651.jpg
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063084","1397063039","1397063111","1397063131","1397063079","1397063082"],"photo_ids_order":["1397063039","1397063079","1397063082","1397063084","1397063111","1397063131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f721120d8a124f2e786c43c9c03a9d90.jpg","text":"TemporaryFile(/tmp/multipartBody2717311492676858769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_57_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dad6237599ec1b06c683664c5dc0b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody6388820217694598347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_56_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4067b575adbabbf87fe9f8061228d054.jpg","text":"TemporaryFile(/tmp/multipartBody8891687374200127378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_57_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6479f805690de8377b6521bbd8b00c3.jpg","text":"TemporaryFile(/tmp/multipartBody1043388712161544391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_57_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f25f0981fbd1f8f61146cca640bab571.jpg","text":"TemporaryFile(/tmp/multipartBody8851902192325191865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_57_05_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91864f07cd4acfc76992eb8b28e420fc.jpg","text":"TemporaryFile(/tmp/multipartBody4379956615107219942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508942845,"filename":"image_30112025_11_57_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063082","file1":"1397063079","file0":"1397063039","file4":"1397063111","file5":"1397063131","file3":"1397063084"},"map_files_photo_id_array":[{"photo_id":"1397063131","filename":"file5"},{"photo_id":"1397063082","filename":"file2"},{"photo_id":"1397063111","filename":"file4"},{"photo_id":"1397063079","filename":"file1"},{"photo_id":"1397063039","filename":"file0"},{"photo_id":"1397063084","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063084":["hashtag1","hashtag2"]},{"1397063039":["hashtag1","hashtag2"]},{"1397063111":["hashtag1","hashtag2"]},{"1397063131":["hashtag1","hashtag2"]},{"1397063079":["hashtag1","hashtag2"]},{"1397063082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063084, 1397063039, 1397063111, 1397063131, 1397063079, 1397063082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60988450050354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:22:02.676620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_54_9734.jpg', '/home/pi/Desktop/images/30112025/11/57/image_30112025_11_58_04_9684.jpg', '/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_15_10755.jpg', '/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_24_9643.jpg', '/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_34_9728.jpg', '/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_57_54_9734.jpg
/home/pi/Desktop/images/30112025/11/57/image_30112025_11_58_04_9684.jpg
/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_15_10755.jpg
/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_24_9643.jpg
/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_34_9728.jpg
/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_45_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063141","1397063135","1397063138","1397063134","1397063133","1397063136"],"photo_ids_order":["1397063133","1397063134","1397063135","1397063136","1397063138","1397063141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4d0c8401e09fea13638d575d6de4617.jpg","text":"TemporaryFile(/tmp/multipartBody6694466744531461727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_58_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/340c5f390f7570a06bdc7ca32903d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody3175008229802314220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_58_15_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71cdb77e843646beb39d7bcb7c90e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8006072735219268024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_58_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbfaaeca84438c6b251283ee77c6f337.jpg","text":"TemporaryFile(/tmp/multipartBody5164586545142843183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_58_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82b01b3c5e4523448be901fa7d286a48.jpg","text":"TemporaryFile(/tmp/multipartBody3791264087196454278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_57_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ad005c0bdaa7f80e321abbd0e66c1a0.jpg","text":"TemporaryFile(/tmp/multipartBody7747429634455950834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764508983565,"filename":"image_30112025_11_58_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063135","file1":"1397063134","file0":"1397063133","file4":"1397063138","file5":"1397063141","file3":"1397063136"},"map_files_photo_id_array":[{"photo_id":"1397063141","filename":"file5"},{"photo_id":"1397063135","filename":"file2"},{"photo_id":"1397063138","filename":"file4"},{"photo_id":"1397063134","filename":"file1"},{"photo_id":"1397063133","filename":"file0"},{"photo_id":"1397063136","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063141":["hashtag1","hashtag2"]},{"1397063135":["hashtag1","hashtag2"]},{"1397063138":["hashtag1","hashtag2"]},{"1397063134":["hashtag1","hashtag2"]},{"1397063133":["hashtag1","hashtag2"]},{"1397063136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063141, 1397063135, 1397063138, 1397063134, 1397063133, 1397063136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.118563652038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:22:42.309820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/51/image_31102025_12_51_24_3667.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_27_2564.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_29_2612.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_33_3663.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_36_2818.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_39_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/12/51/image_31102025_12_51_24_3667.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_27_2564.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_29_2612.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_33_3663.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_36_2818.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_39_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063150","1397063153","1397063152","1397063151","1397063154","1397063148"],"photo_ids_order":["1397063148","1397063150","1397063151","1397063152","1397063153","1397063154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0cc831ce922250cd1e7b1febd4ff864.jpg","text":"TemporaryFile(/tmp/multipartBody1168201076969089593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_27_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/30/38e063dab0ece7837c7861bdb9ed177e.jpg","text":"TemporaryFile(/tmp/multipartBody8766583553898224888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_36_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/30/1ef63e98e827c4e70cc984fdff289117.jpg","text":"TemporaryFile(/tmp/multipartBody2064519032277382305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_33_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a398bc0688fb731f466d946b1b3c0920.jpg","text":"TemporaryFile(/tmp/multipartBody1166865832592434266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_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/30/eace4d735e7692e99494295a09374386.jpg","text":"TemporaryFile(/tmp/multipartBody3852439007422548934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_39_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2eb7e0c8fdf7225c57884789ca57c6f9.jpg","text":"TemporaryFile(/tmp/multipartBody1444228318542189684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509023241,"filename":"image_31102025_12_51_24_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063151","file1":"1397063150","file0":"1397063148","file4":"1397063153","file5":"1397063154","file3":"1397063152"},"map_files_photo_id_array":[{"photo_id":"1397063154","filename":"file5"},{"photo_id":"1397063151","filename":"file2"},{"photo_id":"1397063153","filename":"file4"},{"photo_id":"1397063150","filename":"file1"},{"photo_id":"1397063148","filename":"file0"},{"photo_id":"1397063152","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063150":["hashtag1","hashtag2"]},{"1397063153":["hashtag1","hashtag2"]},{"1397063152":["hashtag1","hashtag2"]},{"1397063151":["hashtag1","hashtag2"]},{"1397063154":["hashtag1","hashtag2"]},{"1397063148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063150, 1397063153, 1397063152, 1397063151, 1397063154, 1397063148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9169979095459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:23:22.560020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_54_9819.jpg', '/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_24_9772.jpg', '/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_45_10835.jpg', '/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_54_9761.jpg', '/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_14_10057.jpg', '/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_25_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/11/58/image_30112025_11_58_54_9819.jpg
/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_24_9772.jpg
/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_45_10835.jpg
/home/pi/Desktop/images/30112025/11/59/image_30112025_11_59_54_9761.jpg
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_14_10057.jpg
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_25_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063171","1397063167","1397063161","1397063158","1397063169","1397063163"],"photo_ids_order":["1397063158","1397063161","1397063163","1397063167","1397063169","1397063171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a470a5477e7d5cfdbe1fd8125252d073.jpg","text":"TemporaryFile(/tmp/multipartBody459660776638367672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_12_00_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be5b979bd803c8a4b660854c522aa6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2197012677654163991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_11_59_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/952780884542891984de92bcb276f477.jpg","text":"TemporaryFile(/tmp/multipartBody5290408313286716346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_11_59_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/463a56bcca0f670a7f5c86f565880bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8515848365904954570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_11_58_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc405dd32aed32142bb6993e0809a4da.jpg","text":"TemporaryFile(/tmp/multipartBody6123325345063243675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_12_00_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f00a28ec2e63eec34ed966c0834ad4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5900819445983034231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509063387,"filename":"image_30112025_11_59_45_10835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063163","file1":"1397063161","file0":"1397063158","file4":"1397063169","file5":"1397063171","file3":"1397063167"},"map_files_photo_id_array":[{"photo_id":"1397063171","filename":"file5"},{"photo_id":"1397063163","filename":"file2"},{"photo_id":"1397063169","filename":"file4"},{"photo_id":"1397063161","filename":"file1"},{"photo_id":"1397063158","filename":"file0"},{"photo_id":"1397063167","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063171":["hashtag1","hashtag2"]},{"1397063167":["hashtag1","hashtag2"]},{"1397063161":["hashtag1","hashtag2"]},{"1397063158":["hashtag1","hashtag2"]},{"1397063169":["hashtag1","hashtag2"]},{"1397063163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063171, 1397063167, 1397063161, 1397063158, 1397063169, 1397063163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96992349624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:24:03.459336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_35_9889.jpg', '/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_45_9662.jpg', '/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_54_9849.jpg', '/home/pi/Desktop/images/30112025/12/00/image_30112025_12_01_04_9834.jpg', '/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_15_10784.jpg', '/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_35_9889.jpg
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_45_9662.jpg
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_00_54_9849.jpg
/home/pi/Desktop/images/30112025/12/00/image_30112025_12_01_04_9834.jpg
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_15_10784.jpg
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_25_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063174","1397063173","1397063182","1397063176","1397063179","1397063175"],"photo_ids_order":["1397063173","1397063174","1397063175","1397063176","1397063179","1397063182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac1905c3b178ddba8fdd7e6735cdd98f.jpg","text":"TemporaryFile(/tmp/multipartBody7201645695803322749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_00_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abbed5932d78076f41d02f321366fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody831278259133501998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_00_35_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd90e2bf9b6ba3849c1e0febe9788861.jpg","text":"TemporaryFile(/tmp/multipartBody3443527791594511334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_01_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ce98a9546cfabdacaac145322d25e20.jpg","text":"TemporaryFile(/tmp/multipartBody7372930005293535296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_01_04_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6d7e0e615c4f2997b9c8f4491cbae67.jpg","text":"TemporaryFile(/tmp/multipartBody2103560097881965870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_01_15_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/435c53722aae89f5a05c863c01c1bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody18556749212467919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509104435,"filename":"image_30112025_12_00_54_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063175","file1":"1397063174","file0":"1397063173","file4":"1397063179","file5":"1397063182","file3":"1397063176"},"map_files_photo_id_array":[{"photo_id":"1397063182","filename":"file5"},{"photo_id":"1397063175","filename":"file2"},{"photo_id":"1397063179","filename":"file4"},{"photo_id":"1397063174","filename":"file1"},{"photo_id":"1397063173","filename":"file0"},{"photo_id":"1397063176","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063174":["hashtag1","hashtag2"]},{"1397063173":["hashtag1","hashtag2"]},{"1397063182":["hashtag1","hashtag2"]},{"1397063176":["hashtag1","hashtag2"]},{"1397063179":["hashtag1","hashtag2"]},{"1397063175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063174, 1397063173, 1397063182, 1397063176, 1397063179, 1397063175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31629538536072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:24:42.829637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/51/image_31102025_12_51_42_3566.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_45_2680.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_48_2876.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_50_2744.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_54_3648.jpg', '/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_57_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_42_3566.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_45_2680.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_48_2876.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_50_2744.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_54_3648.jpg
/home/pi/Desktop/images/31102025/12/51/image_31102025_12_51_57_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":["1397063191","1397063194","1397063197","1397063196","1397063193","1397063195"],"photo_ids_order":["1397063191","1397063193","1397063194","1397063195","1397063196","1397063197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53aab1725a324625a206af793a988857.jpg","text":"TemporaryFile(/tmp/multipartBody6002543372140636291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_42_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/30/1240994c683d5dbeaa4e06ef1c20e908.jpg","text":"TemporaryFile(/tmp/multipartBody3499004333171732357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_48_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/30/ff0da99492b2bd6f4d03b1a27cc1794b.jpg","text":"TemporaryFile(/tmp/multipartBody8652547260863388469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_57_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/30/27ed60ea58b4fadfbfcc4120270a6059.jpg","text":"TemporaryFile(/tmp/multipartBody5966552659213847114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_54_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c06214970898f799022e8119a82bd010.jpg","text":"TemporaryFile(/tmp/multipartBody3292471672303512667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_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/30/397da5da952a962f229cfe644e699666.jpg","text":"TemporaryFile(/tmp/multipartBody4453814361733440181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509143785,"filename":"image_31102025_12_51_50_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063194","file1":"1397063193","file0":"1397063191","file4":"1397063196","file5":"1397063197","file3":"1397063195"},"map_files_photo_id_array":[{"photo_id":"1397063197","filename":"file5"},{"photo_id":"1397063194","filename":"file2"},{"photo_id":"1397063196","filename":"file4"},{"photo_id":"1397063193","filename":"file1"},{"photo_id":"1397063191","filename":"file0"},{"photo_id":"1397063195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063191":["hashtag1","hashtag2"]},{"1397063194":["hashtag1","hashtag2"]},{"1397063197":["hashtag1","hashtag2"]},{"1397063196":["hashtag1","hashtag2"]},{"1397063193":["hashtag1","hashtag2"]},{"1397063195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063191, 1397063194, 1397063197, 1397063196, 1397063193, 1397063195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08355712890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:25:21.952876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_34_9708.jpg', '/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_44_9915.jpg', '/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_55_10570.jpg', '/home/pi/Desktop/images/30112025/12/01/image_30112025_12_02_05_9871.jpg', '/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_15_9807.jpg', '/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_34_9708.jpg
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_44_9915.jpg
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_01_55_10570.jpg
/home/pi/Desktop/images/30112025/12/01/image_30112025_12_02_05_9871.jpg
/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_15_9807.jpg
/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_24_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063207","1397063203","1397063212","1397063209","1397063200","1397063214"],"photo_ids_order":["1397063200","1397063203","1397063207","1397063209","1397063212","1397063214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/651159d97d58d5e8b80c7b33edae814c.jpg","text":"TemporaryFile(/tmp/multipartBody3342966240363386064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_01_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3b3f6416a110fe5449e917362d20c5d.jpg","text":"TemporaryFile(/tmp/multipartBody9084564515403452852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_01_44_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbd5d0127d4b9ac037ef09970fb6b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8513135905750421503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_02_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ccb82d8716f411e0381836dbea1e8e3.jpg","text":"TemporaryFile(/tmp/multipartBody5487342174944950899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_02_05_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb109e45c53a14bcc2903db8e5b7d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1633360956823696820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_01_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ae1c2c671a58a0bd217bb16060a75ce.jpg","text":"TemporaryFile(/tmp/multipartBody6628482633560873426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509182794,"filename":"image_30112025_12_02_24_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063207","file1":"1397063203","file0":"1397063200","file4":"1397063212","file5":"1397063214","file3":"1397063209"},"map_files_photo_id_array":[{"photo_id":"1397063214","filename":"file5"},{"photo_id":"1397063207","filename":"file2"},{"photo_id":"1397063212","filename":"file4"},{"photo_id":"1397063203","filename":"file1"},{"photo_id":"1397063200","filename":"file0"},{"photo_id":"1397063209","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063207":["hashtag1","hashtag2"]},{"1397063203":["hashtag1","hashtag2"]},{"1397063212":["hashtag1","hashtag2"]},{"1397063209":["hashtag1","hashtag2"]},{"1397063200":["hashtag1","hashtag2"]},{"1397063214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063207, 1397063203, 1397063212, 1397063209, 1397063200, 1397063214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091540813446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:26:02.629592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_45_9653.jpg', '/home/pi/Desktop/images/30112025/12/02/image_30112025_12_03_04_9804.jpg', '/home/pi/Desktop/images/30112025/12/03/image_30112025_12_03_34_9698.jpg', '/home/pi/Desktop/images/30112025/12/03/image_30112025_12_04_05_9780.jpg', '/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_14_9730.jpg', '/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_25_10849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/02/image_30112025_12_02_45_9653.jpg
/home/pi/Desktop/images/30112025/12/02/image_30112025_12_03_04_9804.jpg
/home/pi/Desktop/images/30112025/12/03/image_30112025_12_03_34_9698.jpg
/home/pi/Desktop/images/30112025/12/03/image_30112025_12_04_05_9780.jpg
/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_14_9730.jpg
/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_25_10849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063219","1397063216","1397063221","1397063218","1397063223","1397063217"],"photo_ids_order":["1397063216","1397063217","1397063218","1397063219","1397063221","1397063223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2818f9d89e26894a8ab0fa29c66cf87.jpg","text":"TemporaryFile(/tmp/multipartBody4628139987502911378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_04_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97879374ab351a84bf84f000c63d45bf.jpg","text":"TemporaryFile(/tmp/multipartBody1723514778860817234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_02_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34359da3b16540299914273e7f63b535.jpg","text":"TemporaryFile(/tmp/multipartBody539191666227688429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_04_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25b342e31f34afb4f1ecf55e98c57eac.jpg","text":"TemporaryFile(/tmp/multipartBody8356344361523703925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_03_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd462d55c71f87e3afa83deac4a4ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody300948468627607667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_04_25_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be5da4ced8aed85b13511162021a0154.jpg","text":"TemporaryFile(/tmp/multipartBody4622984443727592726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509223489,"filename":"image_30112025_12_03_04_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063218","file1":"1397063217","file0":"1397063216","file4":"1397063221","file5":"1397063223","file3":"1397063219"},"map_files_photo_id_array":[{"photo_id":"1397063223","filename":"file5"},{"photo_id":"1397063218","filename":"file2"},{"photo_id":"1397063221","filename":"file4"},{"photo_id":"1397063217","filename":"file1"},{"photo_id":"1397063216","filename":"file0"},{"photo_id":"1397063219","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063219":["hashtag1","hashtag2"]},{"1397063216":["hashtag1","hashtag2"]},{"1397063221":["hashtag1","hashtag2"]},{"1397063218":["hashtag1","hashtag2"]},{"1397063223":["hashtag1","hashtag2"]},{"1397063217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063219, 1397063216, 1397063221, 1397063218, 1397063223, 1397063217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55733060836792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:26:42.189694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/51/image_31102025_12_51_59_2661.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_03_3646.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_09_2867.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_12_3621.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_15_2641.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_18_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/12/51/image_31102025_12_51_59_2661.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_03_3646.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_09_2867.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_12_3621.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_15_2641.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_18_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":["1397063237","1397063234","1397063239","1397063232","1397063235","1397063238"],"photo_ids_order":["1397063232","1397063234","1397063235","1397063237","1397063238","1397063239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2919c05b5364397fbeae068695c339e0.jpg","text":"TemporaryFile(/tmp/multipartBody6685943091576048297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_52_12_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/30/dba632166ed8dcde0403fb1c9bcd6982.jpg","text":"TemporaryFile(/tmp/multipartBody8667415324180822522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_52_03_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/30/719480a36f066beeb517e35fb05576a5.jpg","text":"TemporaryFile(/tmp/multipartBody3795587431359013306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_52_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/30/bb6140829d5d95c28a0ca546eb200944.jpg","text":"TemporaryFile(/tmp/multipartBody8951008127980070388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_51_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/30/c97cb970dd499d760b4bced00056e386.jpg","text":"TemporaryFile(/tmp/multipartBody4243323751864004826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_52_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8960b64c95ccc78e36b2f8a99cf59cc.jpg","text":"TemporaryFile(/tmp/multipartBody6943606925348110905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509263174,"filename":"image_31102025_12_52_15_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063235","file1":"1397063234","file0":"1397063232","file4":"1397063238","file5":"1397063239","file3":"1397063237"},"map_files_photo_id_array":[{"photo_id":"1397063239","filename":"file5"},{"photo_id":"1397063235","filename":"file2"},{"photo_id":"1397063238","filename":"file4"},{"photo_id":"1397063234","filename":"file1"},{"photo_id":"1397063232","filename":"file0"},{"photo_id":"1397063237","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063237":["hashtag1","hashtag2"]},{"1397063234":["hashtag1","hashtag2"]},{"1397063239":["hashtag1","hashtag2"]},{"1397063232":["hashtag1","hashtag2"]},{"1397063235":["hashtag1","hashtag2"]},{"1397063238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063237, 1397063234, 1397063239, 1397063232, 1397063235, 1397063238)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.85210371017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:27:32.456103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.7174365520477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:27:42.491996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/52/image_31102025_12_52_21_3569.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_24_2713.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_29_2803.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_33_3654.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_36_2681.jpg', '/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_45_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_21_3569.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_24_2713.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_29_2803.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_33_3654.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_36_2681.jpg
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_52_45_2877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063261","1397063258","1397063260","1397063254","1397063251","1397063256"],"photo_ids_order":["1397063251","1397063254","1397063256","1397063258","1397063260","1397063261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/878ba59376cd0f2bb47c056fd72b3f22.jpg","text":"TemporaryFile(/tmp/multipartBody2940726313015940223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_45_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/30/9e2cc31a9921194832ac396bc167fa2e.jpg","text":"TemporaryFile(/tmp/multipartBody4239424217318600275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_33_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/30/469f94b26d7a962f62843e7c2c1b10b4.jpg","text":"TemporaryFile(/tmp/multipartBody8143954376503060333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_36_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/30/ce5b158fe9fe931d5c389b72f98571e7.jpg","text":"TemporaryFile(/tmp/multipartBody7195720402709107491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_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/30/84787225ace255337388dd4b32866820.jpg","text":"TemporaryFile(/tmp/multipartBody1434629046447024757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_21_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/30/e655f278b26101671e1f1811ab8e9c44.jpg","text":"TemporaryFile(/tmp/multipartBody4175201038378351773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509323464,"filename":"image_31102025_12_52_29_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063256","file1":"1397063254","file0":"1397063251","file4":"1397063260","file5":"1397063261","file3":"1397063258"},"map_files_photo_id_array":[{"photo_id":"1397063261","filename":"file5"},{"photo_id":"1397063256","filename":"file2"},{"photo_id":"1397063260","filename":"file4"},{"photo_id":"1397063254","filename":"file1"},{"photo_id":"1397063251","filename":"file0"},{"photo_id":"1397063258","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063261":["hashtag1","hashtag2"]},{"1397063258":["hashtag1","hashtag2"]},{"1397063260":["hashtag1","hashtag2"]},{"1397063254":["hashtag1","hashtag2"]},{"1397063251":["hashtag1","hashtag2"]},{"1397063256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063261, 1397063258, 1397063260, 1397063254, 1397063251, 1397063256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.951175928115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:28:22.653294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_45_9976.jpg', '/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_55_9758.jpg', '/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_05_10538.jpg', '/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_25_9845.jpg', '/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_34_9723.jpg', '/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_45_9976.jpg
/home/pi/Desktop/images/30112025/12/04/image_30112025_12_04_55_9758.jpg
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_05_10538.jpg
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_25_9845.jpg
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_34_9723.jpg
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_44_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063276","1397063264","1397063278","1397063271","1397063274","1397063268"],"photo_ids_order":["1397063264","1397063268","1397063271","1397063274","1397063276","1397063278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afb51068fc2038b9ec675cfcc1c92f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8789782708408519861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_05_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d200997bd518df194099530176a01a7e.jpg","text":"TemporaryFile(/tmp/multipartBody5126689347502580653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_04_45_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5864db002eb109e14995e6a2a0b11ae5.jpg","text":"TemporaryFile(/tmp/multipartBody330378327719474867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_05_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2040a77ccf4b609a3083ab3ec3f5b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody9052253958260450126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_05_05_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a3195958e3fabd399ad089e21fb8ad8.jpg","text":"TemporaryFile(/tmp/multipartBody898897716599329285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_05_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf41a9eb5766eee1f85d76a84fbb2be0.jpg","text":"TemporaryFile(/tmp/multipartBody2141569212742191500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509363516,"filename":"image_30112025_12_04_55_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063271","file1":"1397063268","file0":"1397063264","file4":"1397063276","file5":"1397063278","file3":"1397063274"},"map_files_photo_id_array":[{"photo_id":"1397063278","filename":"file5"},{"photo_id":"1397063271","filename":"file2"},{"photo_id":"1397063276","filename":"file4"},{"photo_id":"1397063268","filename":"file1"},{"photo_id":"1397063264","filename":"file0"},{"photo_id":"1397063274","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063276":["hashtag1","hashtag2"]},{"1397063264":["hashtag1","hashtag2"]},{"1397063278":["hashtag1","hashtag2"]},{"1397063271":["hashtag1","hashtag2"]},{"1397063274":["hashtag1","hashtag2"]},{"1397063268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063276, 1397063264, 1397063278, 1397063271, 1397063274, 1397063268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4119188785553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:29:03.785806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_55_10857.jpg', '/home/pi/Desktop/images/30112025/12/05/image_30112025_12_06_05_9859.jpg', '/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_25_9845.jpg', '/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_35_10053.jpg', '/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_55_10687.jpg', '/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_15_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_05_55_10857.jpg
/home/pi/Desktop/images/30112025/12/05/image_30112025_12_06_05_9859.jpg
/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_25_9845.jpg
/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_35_10053.jpg
/home/pi/Desktop/images/30112025/12/06/image_30112025_12_06_55_10687.jpg
/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_15_9916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397063282","1397063279","1397063284","1397063281","1397063291","1397063288"],"photo_ids_order":["1397063279","1397063281","1397063282","1397063284","1397063288","1397063291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f7a49ef31e3324c4c3ff263f7574e05.jpg","text":"TemporaryFile(/tmp/multipartBody4874019728260984214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_06_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10de279f57dad43905e39358c3d9030b.jpg","text":"TemporaryFile(/tmp/multipartBody4137400362683642467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_05_55_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e324a0c52431e9e12e9c4a7b4a2bc10d.jpg","text":"TemporaryFile(/tmp/multipartBody1561265167419703170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_06_35_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7de72a018a90cbaf005e101ed703e77.jpg","text":"TemporaryFile(/tmp/multipartBody4578474766274231919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_06_05_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cb5a06ddae62ba579d61e2b4eb7a861.jpg","text":"TemporaryFile(/tmp/multipartBody3837019354023975517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_07_15_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4380204e6b280d0b03d1234b96e77b86.jpg","text":"TemporaryFile(/tmp/multipartBody6037416811075380620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509404888,"filename":"image_30112025_12_06_55_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063282","file1":"1397063281","file0":"1397063279","file4":"1397063288","file5":"1397063291","file3":"1397063284"},"map_files_photo_id_array":[{"photo_id":"1397063291","filename":"file5"},{"photo_id":"1397063282","filename":"file2"},{"photo_id":"1397063288","filename":"file4"},{"photo_id":"1397063281","filename":"file1"},{"photo_id":"1397063279","filename":"file0"},{"photo_id":"1397063284","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063282":["hashtag1","hashtag2"]},{"1397063279":["hashtag1","hashtag2"]},{"1397063284":["hashtag1","hashtag2"]},{"1397063281":["hashtag1","hashtag2"]},{"1397063291":["hashtag1","hashtag2"]},{"1397063288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063282, 1397063279, 1397063284, 1397063281, 1397063291, 1397063288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40202569961548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:30:02.917232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_34_9912.jpg', '/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_44_9670.jpg', '/home/pi/Desktop/images/30112025/12/08/image_30112025_12_08_24_9833.jpg', '/home/pi/Desktop/images/30112025/12/08/image_30112025_12_08_54_9739.jpg', '/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_14_9290.jpg', '/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_24_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_34_9912.jpg
/home/pi/Desktop/images/30112025/12/07/image_30112025_12_07_44_9670.jpg
/home/pi/Desktop/images/30112025/12/08/image_30112025_12_08_24_9833.jpg
/home/pi/Desktop/images/30112025/12/08/image_30112025_12_08_54_9739.jpg
/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_14_9290.jpg
/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_24_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063297","1397063299","1397063296","1397063305","1397063298","1397063301"],"photo_ids_order":["1397063296","1397063297","1397063298","1397063299","1397063301","1397063305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61a64cd0884080e4669b1a3d5588d746.jpg","text":"TemporaryFile(/tmp/multipartBody2839050406088167134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_07_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa64b925bfb0370f8fb05a43aadd1398.jpg","text":"TemporaryFile(/tmp/multipartBody1669231475073832014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_08_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27374c4b41ad850167a1f802c51f5a31.jpg","text":"TemporaryFile(/tmp/multipartBody8539836301087486044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_07_34_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8929a65c4b20e368d1cd4e9260f1f1fb.jpg","text":"TemporaryFile(/tmp/multipartBody1308767460353889902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_09_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2aaa89e1075744bdc2641a41777abc1.jpg","text":"TemporaryFile(/tmp/multipartBody4774247387359391053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_08_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/673a1ae2fb3648ad9f22ca92904e32b8.jpg","text":"TemporaryFile(/tmp/multipartBody568745382266027711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509463845,"filename":"image_30112025_12_09_14_9290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063298","file1":"1397063297","file0":"1397063296","file4":"1397063301","file5":"1397063305","file3":"1397063299"},"map_files_photo_id_array":[{"photo_id":"1397063305","filename":"file5"},{"photo_id":"1397063298","filename":"file2"},{"photo_id":"1397063301","filename":"file4"},{"photo_id":"1397063297","filename":"file1"},{"photo_id":"1397063296","filename":"file0"},{"photo_id":"1397063299","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063297":["hashtag1","hashtag2"]},{"1397063299":["hashtag1","hashtag2"]},{"1397063296":["hashtag1","hashtag2"]},{"1397063305":["hashtag1","hashtag2"]},{"1397063298":["hashtag1","hashtag2"]},{"1397063301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063297, 1397063299, 1397063296, 1397063305, 1397063298, 1397063301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23596549034119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:30:42.457192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/52/image_31102025_12_53_00_2808.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_02_2695.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_09_2695.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_11_2694.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_15_3653.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_21_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/52/image_31102025_12_53_00_2808.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_02_2695.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_09_2695.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_11_2694.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_15_3653.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_21_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":["1397063312","1397063309","1397063311","1397063314","1397063313","1397063310"],"photo_ids_order":["1397063309","1397063310","1397063311","1397063312","1397063313","1397063314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e300c2b5d2746fc545396a1134e2f269.jpg","text":"TemporaryFile(/tmp/multipartBody5410208753949915331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_11_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/30/7a20ec9b18ebb1227e5ff4f7c1c7b2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7567014157436314573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_00_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/30/402192eaba9ef3b981406f5c8dd81551.jpg","text":"TemporaryFile(/tmp/multipartBody4368991676070417012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_09_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bf663c8d8c0e8139734310a6777bba3.jpg","text":"TemporaryFile(/tmp/multipartBody5830474882216856784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_21_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/30/9d5e0901a90cb4740a7172b18801346c.jpg","text":"TemporaryFile(/tmp/multipartBody3430164685852837914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_15_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/30/6305aa297550d17adf63e8039e689ad4.jpg","text":"TemporaryFile(/tmp/multipartBody2583156962215797197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509503410,"filename":"image_31102025_12_53_02_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063311","file1":"1397063310","file0":"1397063309","file4":"1397063313","file5":"1397063314","file3":"1397063312"},"map_files_photo_id_array":[{"photo_id":"1397063314","filename":"file5"},{"photo_id":"1397063311","filename":"file2"},{"photo_id":"1397063313","filename":"file4"},{"photo_id":"1397063310","filename":"file1"},{"photo_id":"1397063309","filename":"file0"},{"photo_id":"1397063312","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063312":["hashtag1","hashtag2"]},{"1397063309":["hashtag1","hashtag2"]},{"1397063311":["hashtag1","hashtag2"]},{"1397063314":["hashtag1","hashtag2"]},{"1397063313":["hashtag1","hashtag2"]},{"1397063310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063312, 1397063309, 1397063311, 1397063314, 1397063313, 1397063310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.026867151260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:31:22.663080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_35_10770.jpg', '/home/pi/Desktop/images/30112025/12/09/image_30112025_12_10_04_9692.jpg', '/home/pi/Desktop/images/30112025/12/10/image_30112025_12_10_14_10103.jpg', '/home/pi/Desktop/images/30112025/12/10/image_30112025_12_10_34_9850.jpg', '/home/pi/Desktop/images/30112025/12/10/image_30112025_12_11_04_9572.jpg', '/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_25_10878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/09/image_30112025_12_09_35_10770.jpg
/home/pi/Desktop/images/30112025/12/09/image_30112025_12_10_04_9692.jpg
/home/pi/Desktop/images/30112025/12/10/image_30112025_12_10_14_10103.jpg
/home/pi/Desktop/images/30112025/12/10/image_30112025_12_10_34_9850.jpg
/home/pi/Desktop/images/30112025/12/10/image_30112025_12_11_04_9572.jpg
/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_25_10878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063330","1397063324","1397063318","1397063321","1397063326","1397063328"],"photo_ids_order":["1397063318","1397063321","1397063324","1397063326","1397063328","1397063330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/631c46840fab8b1cb297cecac11bed4b.jpg","text":"TemporaryFile(/tmp/multipartBody5340584792521811788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_11_25_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7be9ffca81744389449ac1cb4f6daa8.jpg","text":"TemporaryFile(/tmp/multipartBody5085493581581260526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_10_14_10103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e83352f8a52c7296d94ad762566cbca4.jpg","text":"TemporaryFile(/tmp/multipartBody8206494261308272236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_09_35_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5d9ff8b8dd2c09867c57065e6b60f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8707485383697516675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_10_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8658233f563e8011defc452ee1d7293.jpg","text":"TemporaryFile(/tmp/multipartBody4897452081251665007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_10_34_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e65f475bd88dd7040f6084551cb58f8.jpg","text":"TemporaryFile(/tmp/multipartBody6456109169213448086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509543507,"filename":"image_30112025_12_11_04_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063324","file1":"1397063321","file0":"1397063318","file4":"1397063328","file5":"1397063330","file3":"1397063326"},"map_files_photo_id_array":[{"photo_id":"1397063330","filename":"file5"},{"photo_id":"1397063324","filename":"file2"},{"photo_id":"1397063328","filename":"file4"},{"photo_id":"1397063321","filename":"file1"},{"photo_id":"1397063318","filename":"file0"},{"photo_id":"1397063326","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063330":["hashtag1","hashtag2"]},{"1397063324":["hashtag1","hashtag2"]},{"1397063318":["hashtag1","hashtag2"]},{"1397063321":["hashtag1","hashtag2"]},{"1397063326":["hashtag1","hashtag2"]},{"1397063328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063330, 1397063324, 1397063318, 1397063321, 1397063326, 1397063328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.711859464645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:32:02.449575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_35_10006.jpg', '/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_55_9758.jpg', '/home/pi/Desktop/images/30112025/12/11/image_30112025_12_12_04_9731.jpg', '/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_15_10769.jpg', '/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_25_9742.jpg', '/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_35_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_35_10006.jpg
/home/pi/Desktop/images/30112025/12/11/image_30112025_12_11_55_9758.jpg
/home/pi/Desktop/images/30112025/12/11/image_30112025_12_12_04_9731.jpg
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_15_10769.jpg
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_25_9742.jpg
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_35_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063339","1397063333","1397063335","1397063332","1397063334","1397063337"],"photo_ids_order":["1397063332","1397063333","1397063334","1397063335","1397063337","1397063339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d70884a0bceb42044ea2b46a763d6b6.jpg","text":"TemporaryFile(/tmp/multipartBody2012015008953998157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_12_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2291ccdb761f7684c6e43bc3b2a6dec4.jpg","text":"TemporaryFile(/tmp/multipartBody7182118441750614204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_11_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32f1083a2db3708cbef40a17707ee018.jpg","text":"TemporaryFile(/tmp/multipartBody1549025996402521301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_12_15_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d81a539dc470929680723fb626a1748.jpg","text":"TemporaryFile(/tmp/multipartBody5942556142468311535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_11_35_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e68c9ff125ff623574ff0852df6b25e1.jpg","text":"TemporaryFile(/tmp/multipartBody1541828978733954755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_12_04_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff3aefce4112ac0aa499936cd00db175.jpg","text":"TemporaryFile(/tmp/multipartBody6075108804929584347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509583351,"filename":"image_30112025_12_12_25_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063334","file1":"1397063333","file0":"1397063332","file4":"1397063337","file5":"1397063339","file3":"1397063335"},"map_files_photo_id_array":[{"photo_id":"1397063339","filename":"file5"},{"photo_id":"1397063334","filename":"file2"},{"photo_id":"1397063337","filename":"file4"},{"photo_id":"1397063333","filename":"file1"},{"photo_id":"1397063332","filename":"file0"},{"photo_id":"1397063335","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063339":["hashtag1","hashtag2"]},{"1397063333":["hashtag1","hashtag2"]},{"1397063335":["hashtag1","hashtag2"]},{"1397063332":["hashtag1","hashtag2"]},{"1397063334":["hashtag1","hashtag2"]},{"1397063337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063339, 1397063333, 1397063335, 1397063332, 1397063334, 1397063337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01481103897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:32:41.836452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/53/image_31102025_12_53_23_2698.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_27_3681.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_30_2858.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_33_2784.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_35_2745.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_39_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_23_2698.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_27_3681.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_30_2858.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_33_2784.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_35_2745.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_39_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":["1397063345","1397063348","1397063347","1397063350","1397063346","1397063349"],"photo_ids_order":["1397063345","1397063346","1397063347","1397063348","1397063349","1397063350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f039921fb16eb78cd667a2550342e302.jpg","text":"TemporaryFile(/tmp/multipartBody4904916075761061465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_23_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80ec092c2aed544d2fc28148fc364bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3527406867397705936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_33_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0dc83d687826a7525fcf48fb7b53825.jpg","text":"TemporaryFile(/tmp/multipartBody1744838935727248610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_30_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/30/467bb652ba2dfc28c0c646c08c630cf4.jpg","text":"TemporaryFile(/tmp/multipartBody1014132267641335294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_39_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a023eaad73ebc878966c3ccae4cb8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4758259559432487242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_27_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/30/1c9326f92f838dd0e249d14d5cdb9f70.jpg","text":"TemporaryFile(/tmp/multipartBody8599862936914114322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509622762,"filename":"image_31102025_12_53_35_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063347","file1":"1397063346","file0":"1397063345","file4":"1397063349","file5":"1397063350","file3":"1397063348"},"map_files_photo_id_array":[{"photo_id":"1397063350","filename":"file5"},{"photo_id":"1397063347","filename":"file2"},{"photo_id":"1397063349","filename":"file4"},{"photo_id":"1397063346","filename":"file1"},{"photo_id":"1397063345","filename":"file0"},{"photo_id":"1397063348","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063345":["hashtag1","hashtag2"]},{"1397063348":["hashtag1","hashtag2"]},{"1397063347":["hashtag1","hashtag2"]},{"1397063350":["hashtag1","hashtag2"]},{"1397063346":["hashtag1","hashtag2"]},{"1397063349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063345, 1397063348, 1397063347, 1397063350, 1397063346, 1397063349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12435054779053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:33:22.213543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_44_9842.jpg', '/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_54_10101.jpg', '/home/pi/Desktop/images/30112025/12/12/image_30112025_12_13_04_9645.jpg', '/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_15_10860.jpg', '/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_25_9691.jpg', '/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_44_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_44_9842.jpg
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_12_54_10101.jpg
/home/pi/Desktop/images/30112025/12/12/image_30112025_12_13_04_9645.jpg
/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_15_10860.jpg
/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_25_9691.jpg
/home/pi/Desktop/images/30112025/12/13/image_30112025_12_13_44_9903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063360","1397063354","1397063363","1397063357","1397063359","1397063361"],"photo_ids_order":["1397063354","1397063357","1397063359","1397063360","1397063361","1397063363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a49b769557f085740574d7fa6a0ea700.jpg","text":"TemporaryFile(/tmp/multipartBody1404080050810998711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_13_15_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ee793aa4855007d0fbaa6ad74b2d683.jpg","text":"TemporaryFile(/tmp/multipartBody7856341611394675832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_12_44_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0114c3917ec2471d0ecbb00bb7822994.jpg","text":"TemporaryFile(/tmp/multipartBody5725472502364197494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_13_44_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc7df980a1790cb4c11e0645545adb96.jpg","text":"TemporaryFile(/tmp/multipartBody1680229276955735547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_12_54_10101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3bbbb3c1686f22faa555801985facd56.jpg","text":"TemporaryFile(/tmp/multipartBody4294199603479362766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_13_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c9f4b6753a0de4eabb81a2c052e625f.jpg","text":"TemporaryFile(/tmp/multipartBody5692389412152367544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509663953,"filename":"image_30112025_12_13_25_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063359","file1":"1397063357","file0":"1397063354","file4":"1397063361","file5":"1397063363","file3":"1397063360"},"map_files_photo_id_array":[{"photo_id":"1397063363","filename":"file5"},{"photo_id":"1397063359","filename":"file2"},{"photo_id":"1397063361","filename":"file4"},{"photo_id":"1397063357","filename":"file1"},{"photo_id":"1397063354","filename":"file0"},{"photo_id":"1397063360","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063360":["hashtag1","hashtag2"]},{"1397063354":["hashtag1","hashtag2"]},{"1397063363":["hashtag1","hashtag2"]},{"1397063357":["hashtag1","hashtag2"]},{"1397063359":["hashtag1","hashtag2"]},{"1397063361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063360, 1397063354, 1397063363, 1397063357, 1397063359, 1397063361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93348145484924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:34:02.982864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/13/image_30112025_12_14_05_10660.jpg', '/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_15_9745.jpg', '/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_35_10589.jpg', '/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_45_9733.jpg', '/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_55_9731.jpg', '/home/pi/Desktop/images/30112025/12/14/image_30112025_12_15_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/13/image_30112025_12_14_05_10660.jpg
/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_15_9745.jpg
/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_35_10589.jpg
/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_45_9733.jpg
/home/pi/Desktop/images/30112025/12/14/image_30112025_12_14_55_9731.jpg
/home/pi/Desktop/images/30112025/12/14/image_30112025_12_15_04_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063369","1397063366","1397063365","1397063364","1397063367","1397063372"],"photo_ids_order":["1397063364","1397063365","1397063366","1397063367","1397063369","1397063372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8920452eb063dadc69ccccd6e506eb15.jpg","text":"TemporaryFile(/tmp/multipartBody1991855755624716413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_14_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20e50b2449b8b7bc6474e974e3bb6c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8003976431590973124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_14_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce262c5f4f203a691f9031e6b8a0dc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5634914671831091647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_14_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ade8f473b39564ca4056b15bdd728f7.jpg","text":"TemporaryFile(/tmp/multipartBody4260300679917268739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_14_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4ef81a0d8348e9412fa78fbe673966c.jpg","text":"TemporaryFile(/tmp/multipartBody8478982554367819166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_14_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a7bda2f47f940ac7518f4361d2d4143.jpg","text":"TemporaryFile(/tmp/multipartBody2371512149523402962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509703926,"filename":"image_30112025_12_15_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063366","file1":"1397063365","file0":"1397063364","file4":"1397063369","file5":"1397063372","file3":"1397063367"},"map_files_photo_id_array":[{"photo_id":"1397063372","filename":"file5"},{"photo_id":"1397063366","filename":"file2"},{"photo_id":"1397063369","filename":"file4"},{"photo_id":"1397063365","filename":"file1"},{"photo_id":"1397063364","filename":"file0"},{"photo_id":"1397063367","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063369":["hashtag1","hashtag2"]},{"1397063366":["hashtag1","hashtag2"]},{"1397063365":["hashtag1","hashtag2"]},{"1397063364":["hashtag1","hashtag2"]},{"1397063367":["hashtag1","hashtag2"]},{"1397063372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063369, 1397063366, 1397063365, 1397063364, 1397063367, 1397063372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.720877170562744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:34:42.487137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/53/image_31102025_12_53_42_2808.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_51_2571.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_53_2665.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_57_3615.jpg', '/home/pi/Desktop/images/31102025/12/53/image_31102025_12_54_00_2756.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_02_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_42_2808.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_51_2571.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_53_2665.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_53_57_3615.jpg
/home/pi/Desktop/images/31102025/12/53/image_31102025_12_54_00_2756.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_02_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063381","1397063384","1397063383","1397063386","1397063382","1397063385"],"photo_ids_order":["1397063381","1397063382","1397063383","1397063384","1397063385","1397063386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97b2b0b5185feb35856576323a7d7233.jpg","text":"TemporaryFile(/tmp/multipartBody3172511643013183687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_53_42_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/30/124a5f16d0f87f533fa6c99bce674901.jpg","text":"TemporaryFile(/tmp/multipartBody5749462373459627638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_53_57_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14e0c87af9d1296e71d7ecc20de0a31d.jpg","text":"TemporaryFile(/tmp/multipartBody4974274961845157679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_53_53_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4693e6024c9af724256f1189c221d55c.jpg","text":"TemporaryFile(/tmp/multipartBody7347925734586217505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_54_02_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/30/8525a443a1a36cb18458c319d564b392.jpg","text":"TemporaryFile(/tmp/multipartBody6873304980248884267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_53_51_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73d490bcf171fdd27a48ca85a33689c3.jpg","text":"TemporaryFile(/tmp/multipartBody3622385075865382954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509743446,"filename":"image_31102025_12_54_00_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063383","file1":"1397063382","file0":"1397063381","file4":"1397063385","file5":"1397063386","file3":"1397063384"},"map_files_photo_id_array":[{"photo_id":"1397063386","filename":"file5"},{"photo_id":"1397063383","filename":"file2"},{"photo_id":"1397063385","filename":"file4"},{"photo_id":"1397063382","filename":"file1"},{"photo_id":"1397063381","filename":"file0"},{"photo_id":"1397063384","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063381":["hashtag1","hashtag2"]},{"1397063384":["hashtag1","hashtag2"]},{"1397063383":["hashtag1","hashtag2"]},{"1397063386":["hashtag1","hashtag2"]},{"1397063382":["hashtag1","hashtag2"]},{"1397063385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063381, 1397063384, 1397063383, 1397063386, 1397063382, 1397063385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.177870750427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:35:22.676224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/15/image_30112025_12_15_15_10770.jpg', '/home/pi/Desktop/images/30112025/12/15/image_30112025_12_15_35_9841.jpg', '/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_15_9685.jpg', '/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_25_9866.jpg', '/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_34_9893.jpg', '/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_48_13224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/15/image_30112025_12_15_15_10770.jpg
/home/pi/Desktop/images/30112025/12/15/image_30112025_12_15_35_9841.jpg
/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_15_9685.jpg
/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_25_9866.jpg
/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_34_9893.jpg
/home/pi/Desktop/images/30112025/12/16/image_30112025_12_16_48_13224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063396","1397063402","1397063404","1397063399","1397063390","1397063393"],"photo_ids_order":["1397063390","1397063393","1397063396","1397063399","1397063402","1397063404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/628465857891eb3614805eb031754fdb.jpg","text":"TemporaryFile(/tmp/multipartBody8996075121222064061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_16_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad633568382c8890e4deac08428f52e7.jpg","text":"TemporaryFile(/tmp/multipartBody3778483599856812073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_16_34_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e331f9772a6de7ca38e3935c86f366ec.jpg","text":"TemporaryFile(/tmp/multipartBody6352947945361306026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_16_48_13224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3931b82cb47665de78a66c34be0e969.jpg","text":"TemporaryFile(/tmp/multipartBody779594034854337227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_16_25_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3746c3c3ebd2c11acc9699bd6303bda.jpg","text":"TemporaryFile(/tmp/multipartBody5171976011836256192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_15_15_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a8ac2b8b12b667ebb7b4a89581f93b2.jpg","text":"TemporaryFile(/tmp/multipartBody527994814611871819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509783521,"filename":"image_30112025_12_15_35_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063396","file1":"1397063393","file0":"1397063390","file4":"1397063402","file5":"1397063404","file3":"1397063399"},"map_files_photo_id_array":[{"photo_id":"1397063404","filename":"file5"},{"photo_id":"1397063396","filename":"file2"},{"photo_id":"1397063402","filename":"file4"},{"photo_id":"1397063393","filename":"file1"},{"photo_id":"1397063390","filename":"file0"},{"photo_id":"1397063399","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063396":["hashtag1","hashtag2"]},{"1397063402":["hashtag1","hashtag2"]},{"1397063404":["hashtag1","hashtag2"]},{"1397063399":["hashtag1","hashtag2"]},{"1397063390":["hashtag1","hashtag2"]},{"1397063393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063396, 1397063402, 1397063404, 1397063399, 1397063390, 1397063393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93557929992676 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 --only_old 1
2025-11-30 14:36:16.318831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7205424308776855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:36:28.640965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_15_10756.jpg', '/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_25_9853.jpg', '/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_36_11058.jpg', '/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_45_9076.jpg', '/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_55_9594.jpg', '/home/pi/Desktop/images/30112025/12/17/image_30112025_12_18_05_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_15_10756.jpg
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_25_9853.jpg
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_36_11058.jpg
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_45_9076.jpg
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_17_55_9594.jpg
/home/pi/Desktop/images/30112025/12/17/image_30112025_12_18_05_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063423","1397063417","1397063420","1397063425","1397063413","1397063424"],"photo_ids_order":["1397063413","1397063417","1397063420","1397063423","1397063424","1397063425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f8e016c1bfaf6d85f82aaedcc6166fa.jpg","text":"TemporaryFile(/tmp/multipartBody3762469069887854783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_17_45_9076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59f9640e3a30520a520cc6d8087835c5.jpg","text":"TemporaryFile(/tmp/multipartBody5904730182981012090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_17_25_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d1cb0952a3e6de087fdb12e4b34814b.jpg","text":"TemporaryFile(/tmp/multipartBody1422095028536093519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_17_36_11058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d511616191d52208dc0f1d99fd1adcb.jpg","text":"TemporaryFile(/tmp/multipartBody9004866591420194776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_18_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a96570b3ad5eb1ca62bba7eb5e7efbf1.jpg","text":"TemporaryFile(/tmp/multipartBody8412386912101707947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_17_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a3073373bbcbc2ccd0d7cfc93f67a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6492146006232647183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509849459,"filename":"image_30112025_12_17_55_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063420","file1":"1397063417","file0":"1397063413","file4":"1397063424","file5":"1397063425","file3":"1397063423"},"map_files_photo_id_array":[{"photo_id":"1397063425","filename":"file5"},{"photo_id":"1397063420","filename":"file2"},{"photo_id":"1397063424","filename":"file4"},{"photo_id":"1397063417","filename":"file1"},{"photo_id":"1397063413","filename":"file0"},{"photo_id":"1397063423","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063423":["hashtag1","hashtag2"]},{"1397063417":["hashtag1","hashtag2"]},{"1397063420":["hashtag1","hashtag2"]},{"1397063425":["hashtag1","hashtag2"]},{"1397063413":["hashtag1","hashtag2"]},{"1397063424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063423, 1397063417, 1397063420, 1397063425, 1397063413, 1397063424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.250091314315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:37:12.399140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_06_2831.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_08_2669.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_15_3663.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_17_2603.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_20_2609.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_24_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063438","1397063426","1397063434","1397063428","1397063430","1397063436"],"photo_ids_order":["1397063426","1397063428","1397063430","1397063434","1397063436","1397063438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e951c3a23ea426ce4fa47b02753b8970.jpg","text":"TemporaryFile(/tmp/multipartBody2677438283912153572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_24_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0416a70568cac45cd44193c604329b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1588303712751375195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_06_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b65a820890ba21a24bc4e0343eb4c69e.jpg","text":"TemporaryFile(/tmp/multipartBody7502225376098215486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_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/30/6ae6f713f65cd980bb2b61b2ace11dba.jpg","text":"TemporaryFile(/tmp/multipartBody7023001810791128971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_08_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/30/c54a48d75092e1bb7b1f0bb8d7f09455.jpg","text":"TemporaryFile(/tmp/multipartBody6624019543713885642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_15_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/30/cc066d9387fafbfdaf4605bec01be985.jpg","text":"TemporaryFile(/tmp/multipartBody4315494624642881522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509894184,"filename":"image_25112025_20_20_20_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063430","file1":"1397063428","file0":"1397063426","file4":"1397063436","file5":"1397063438","file3":"1397063434"},"map_files_photo_id_array":[{"photo_id":"1397063438","filename":"file5"},{"photo_id":"1397063430","filename":"file2"},{"photo_id":"1397063436","filename":"file4"},{"photo_id":"1397063428","filename":"file1"},{"photo_id":"1397063426","filename":"file0"},{"photo_id":"1397063434","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397063438":["hashtag1","hashtag2"]},{"1397063426":["hashtag1","hashtag2"]},{"1397063434":["hashtag1","hashtag2"]},{"1397063428":["hashtag1","hashtag2"]},{"1397063430":["hashtag1","hashtag2"]},{"1397063436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397063438, 1397063426, 1397063434, 1397063428, 1397063430, 1397063436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.73824596405029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:38:03.017066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_15_9533.jpg', '/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_25_9941.jpg', '/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_35_10449.jpg', '/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_45_9575.jpg', '/home/pi/Desktop/images/30112025/12/18/image_30112025_12_19_05_9627.jpg', '/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_15_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_15_9533.jpg
/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_25_9941.jpg
/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_35_10449.jpg
/home/pi/Desktop/images/30112025/12/18/image_30112025_12_18_45_9575.jpg
/home/pi/Desktop/images/30112025/12/18/image_30112025_12_19_05_9627.jpg
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_15_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063444","1397063443","1397063451","1397063445","1397063448","1397063442"],"photo_ids_order":["1397063442","1397063443","1397063444","1397063445","1397063448","1397063451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83f4e585b01d30834e03ac02b5f154b8.jpg","text":"TemporaryFile(/tmp/multipartBody1918987763340725316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_18_35_10449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6055ff4acec882e67cac984dfa0d33da.jpg","text":"TemporaryFile(/tmp/multipartBody4635954568293033231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_18_25_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0a5a75a4eb7fb681a42ce114dacbefe.jpg","text":"TemporaryFile(/tmp/multipartBody6174748787541207753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_19_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35fe13fbd229bcf07c55e2f620f29a82.jpg","text":"TemporaryFile(/tmp/multipartBody5521684848023857166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_18_45_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdbb743cb00133ba2093e5b27d9c5c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7390022987677796646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_19_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49de5e6e18db342209a024732b691a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4605755356160246672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764509943911,"filename":"image_30112025_12_18_15_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063444","file1":"1397063443","file0":"1397063442","file4":"1397063448","file5":"1397063451","file3":"1397063445"},"map_files_photo_id_array":[{"photo_id":"1397063451","filename":"file5"},{"photo_id":"1397063444","filename":"file2"},{"photo_id":"1397063448","filename":"file4"},{"photo_id":"1397063443","filename":"file1"},{"photo_id":"1397063442","filename":"file0"},{"photo_id":"1397063445","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063444":["hashtag1","hashtag2"]},{"1397063443":["hashtag1","hashtag2"]},{"1397063451":["hashtag1","hashtag2"]},{"1397063445":["hashtag1","hashtag2"]},{"1397063448":["hashtag1","hashtag2"]},{"1397063442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063444, 1397063443, 1397063451, 1397063445, 1397063448, 1397063442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.650126934051514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:38:42.559054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/54/image_31102025_12_54_06_3629.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_09_2662.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_15_3685.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_18_2856.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_20_2569.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_24_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_06_3629.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_09_2662.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_15_3685.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_18_2856.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_20_2569.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_24_3733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9119434356689453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:39:03.681362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_24_9705.jpg', '/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_35_10215.jpg', '/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_44_9887.jpg', '/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_54_10000.jpg', '/home/pi/Desktop/images/30112025/12/19/image_30112025_12_20_04_9758.jpg', '/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_24_9705.jpg
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_35_10215.jpg
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_44_9887.jpg
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_19_54_10000.jpg
/home/pi/Desktop/images/30112025/12/19/image_30112025_12_20_04_9758.jpg
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063468","1397063462","1397063465","1397063470","1397063461","1397063463"],"photo_ids_order":["1397063461","1397063462","1397063463","1397063465","1397063468","1397063470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88dbee8e0488645e1f70d6ce72f28016.jpg","text":"TemporaryFile(/tmp/multipartBody8690602915691406337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_20_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0ab9abc80780e1c350484f6d20e5ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8303638247320144834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_19_35_10215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12b2abd9a4cbe7841c9a21fe9ffba7b7.jpg","text":"TemporaryFile(/tmp/multipartBody6084788062970545197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_19_54_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b241e5b2dc22f5602ba5b44c19a29b40.jpg","text":"TemporaryFile(/tmp/multipartBody5160264980075794844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_20_15_10332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb96b075cfa5dbfe533bd14b2c7d97fc.jpg","text":"TemporaryFile(/tmp/multipartBody2683524684273326135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_19_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4b4681016bee7588bbd071d7d89b231.jpg","text":"TemporaryFile(/tmp/multipartBody6842416418786932905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510004756,"filename":"image_30112025_12_19_44_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063463","file1":"1397063462","file0":"1397063461","file4":"1397063468","file5":"1397063470","file3":"1397063465"},"map_files_photo_id_array":[{"photo_id":"1397063470","filename":"file5"},{"photo_id":"1397063463","filename":"file2"},{"photo_id":"1397063468","filename":"file4"},{"photo_id":"1397063462","filename":"file1"},{"photo_id":"1397063461","filename":"file0"},{"photo_id":"1397063465","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063468":["hashtag1","hashtag2"]},{"1397063462":["hashtag1","hashtag2"]},{"1397063465":["hashtag1","hashtag2"]},{"1397063470":["hashtag1","hashtag2"]},{"1397063461":["hashtag1","hashtag2"]},{"1397063463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063468, 1397063462, 1397063465, 1397063470, 1397063461, 1397063463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03148627281189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:39:42.866758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/54/image_31102025_12_54_06_3629.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_09_2662.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_15_3685.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_18_2856.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_20_2569.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_24_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_06_3629.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_09_2662.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_15_3685.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_18_2856.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_20_2569.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_24_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063480","1397063474","1397063477","1397063473","1397063476","1397063478"],"photo_ids_order":["1397063473","1397063474","1397063476","1397063477","1397063478","1397063480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf917c60219087e3270d4d5392497c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7363200407095601465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_24_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/30/014bbe194bca51d9b60f2d8e7c9c4192.jpg","text":"TemporaryFile(/tmp/multipartBody5489628116222442423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_09_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/30/87d0d2a46aa7f074ce5e59434a61627f.jpg","text":"TemporaryFile(/tmp/multipartBody9164113316286965272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_18_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/30/068d003d6d98bf3fc038db880e4d116a.jpg","text":"TemporaryFile(/tmp/multipartBody945280196492491086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_06_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/30/8644f1cb11a9f137c4841ca3d0d1faa7.jpg","text":"TemporaryFile(/tmp/multipartBody7669547287873150383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_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/30/39041c0eb1f58512dfff1b8e8ada7789.jpg","text":"TemporaryFile(/tmp/multipartBody3792084753733431921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510043662,"filename":"image_31102025_12_54_20_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063476","file1":"1397063474","file0":"1397063473","file4":"1397063478","file5":"1397063480","file3":"1397063477"},"map_files_photo_id_array":[{"photo_id":"1397063480","filename":"file5"},{"photo_id":"1397063476","filename":"file2"},{"photo_id":"1397063478","filename":"file4"},{"photo_id":"1397063474","filename":"file1"},{"photo_id":"1397063473","filename":"file0"},{"photo_id":"1397063477","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063480":["hashtag1","hashtag2"]},{"1397063474":["hashtag1","hashtag2"]},{"1397063477":["hashtag1","hashtag2"]},{"1397063473":["hashtag1","hashtag2"]},{"1397063476":["hashtag1","hashtag2"]},{"1397063478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063480, 1397063474, 1397063477, 1397063473, 1397063476, 1397063478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79216241836548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:40:22.065572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_24_9873.jpg', '/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_34_9911.jpg', '/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_45_10683.jpg', '/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_55_9669.jpg', '/home/pi/Desktop/images/30112025/12/20/image_30112025_12_21_04_9628.jpg', '/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_25_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_24_9873.jpg
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_34_9911.jpg
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_45_10683.jpg
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_20_55_9669.jpg
/home/pi/Desktop/images/30112025/12/20/image_30112025_12_21_04_9628.jpg
/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_25_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063495","1397063493","1397063487","1397063490","1397063484","1397063492"],"photo_ids_order":["1397063484","1397063487","1397063490","1397063492","1397063493","1397063495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3734f9ae5ea8407719592b8b5b6f4daf.jpg","text":"TemporaryFile(/tmp/multipartBody5206131442961363748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_21_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbab70fea48423a912ac5ed25adffac2.jpg","text":"TemporaryFile(/tmp/multipartBody3682204534418840577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_21_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c42bfbab8380dd6c438dafcb72e2dd19.jpg","text":"TemporaryFile(/tmp/multipartBody5277536301511570814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_20_34_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96c36a1d5d6bfcb09b32adcdd95e162d.jpg","text":"TemporaryFile(/tmp/multipartBody2329888179996356818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_20_45_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51f33e65a654a2b5bc1c1935cac5bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody5772344376097481470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_20_24_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f88139e60ef6f6ed6b84d97360dbd07.jpg","text":"TemporaryFile(/tmp/multipartBody1289062513355415617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510082895,"filename":"image_30112025_12_20_55_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063490","file1":"1397063487","file0":"1397063484","file4":"1397063493","file5":"1397063495","file3":"1397063492"},"map_files_photo_id_array":[{"photo_id":"1397063495","filename":"file5"},{"photo_id":"1397063490","filename":"file2"},{"photo_id":"1397063493","filename":"file4"},{"photo_id":"1397063487","filename":"file1"},{"photo_id":"1397063484","filename":"file0"},{"photo_id":"1397063492","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063495":["hashtag1","hashtag2"]},{"1397063493":["hashtag1","hashtag2"]},{"1397063487":["hashtag1","hashtag2"]},{"1397063490":["hashtag1","hashtag2"]},{"1397063484":["hashtag1","hashtag2"]},{"1397063492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063495, 1397063493, 1397063487, 1397063490, 1397063484, 1397063492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95458745956421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:41:02.858402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_34_9685.jpg', '/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_55_9808.jpg', '/home/pi/Desktop/images/30112025/12/22/image_30112025_12_22_14_9626.jpg', '/home/pi/Desktop/images/30112025/12/22/image_30112025_12_22_44_9707.jpg', '/home/pi/Desktop/images/30112025/12/23/image_30112025_12_23_15_9866.jpg', '/home/pi/Desktop/images/30112025/12/23/image_30112025_12_23_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_34_9685.jpg
/home/pi/Desktop/images/30112025/12/21/image_30112025_12_21_55_9808.jpg
/home/pi/Desktop/images/30112025/12/22/image_30112025_12_22_14_9626.jpg
/home/pi/Desktop/images/30112025/12/22/image_30112025_12_22_44_9707.jpg
/home/pi/Desktop/images/30112025/12/23/image_30112025_12_23_15_9866.jpg
/home/pi/Desktop/images/30112025/12/23/image_30112025_12_23_45_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063497","1397063503","1397063506","1397063496","1397063499","1397063498"],"photo_ids_order":["1397063496","1397063497","1397063498","1397063499","1397063503","1397063506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e83043aec94a6e74eac65bd7cc2436b8.jpg","text":"TemporaryFile(/tmp/multipartBody1997738629036702618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_21_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50de3fc4b85be908eab2f7b0040a1d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3567407168001338362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_23_15_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85537470e669510152dcc4b5c23b3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6162336549705828469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_23_45_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/30/7e7164bf818ff8afba5ea4d2e0a31fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7915591916144995624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_21_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2bbe6c9074f6e3de2c6892a2b1f3d49.jpg","text":"TemporaryFile(/tmp/multipartBody2142180362472562561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_22_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45acba7079b049db015986680862a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4184849549577968125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510123765,"filename":"image_30112025_12_22_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063498","file1":"1397063497","file0":"1397063496","file4":"1397063503","file5":"1397063506","file3":"1397063499"},"map_files_photo_id_array":[{"photo_id":"1397063506","filename":"file5"},{"photo_id":"1397063498","filename":"file2"},{"photo_id":"1397063503","filename":"file4"},{"photo_id":"1397063497","filename":"file1"},{"photo_id":"1397063496","filename":"file0"},{"photo_id":"1397063499","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063497":["hashtag1","hashtag2"]},{"1397063503":["hashtag1","hashtag2"]},{"1397063506":["hashtag1","hashtag2"]},{"1397063496":["hashtag1","hashtag2"]},{"1397063499":["hashtag1","hashtag2"]},{"1397063498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063497, 1397063503, 1397063506, 1397063496, 1397063499, 1397063498)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.22245788574219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:42:02.845755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:42:12.449374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_26_2717.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_29_2883.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_33_4081.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_36_3053.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_42_3521.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_44_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_26_2717.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_29_2883.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_33_4081.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_36_3053.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_42_3521.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_44_2508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063525","1397063513","1397063523","1397063520","1397063514","1397063517"],"photo_ids_order":["1397063513","1397063514","1397063517","1397063520","1397063523","1397063525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5200aac4e4c491cc4380ddb2beae40ed.jpg","text":"TemporaryFile(/tmp/multipartBody885141534082441320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_44_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/30/ff52bf6e688eefe7494856c23bd1b335.jpg","text":"TemporaryFile(/tmp/multipartBody6525054465139423129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_26_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70569974452194baf8593cbfc3b49299.jpg","text":"TemporaryFile(/tmp/multipartBody7657680317172809288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_42_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01f9e106bb756e364af5d2ed748c52e6.jpg","text":"TemporaryFile(/tmp/multipartBody3867259964567141522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_36_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fc0aa324e9fc82527ff9f46aa2f1d36.jpg","text":"TemporaryFile(/tmp/multipartBody7063985485716147725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_29_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/30/d8daa59a4182b6ff4411f93081e6ed01.jpg","text":"TemporaryFile(/tmp/multipartBody2459296842906587047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510194332,"filename":"image_25112025_20_20_33_4081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063517","file1":"1397063514","file0":"1397063513","file4":"1397063523","file5":"1397063525","file3":"1397063520"},"map_files_photo_id_array":[{"photo_id":"1397063525","filename":"file5"},{"photo_id":"1397063517","filename":"file2"},{"photo_id":"1397063523","filename":"file4"},{"photo_id":"1397063514","filename":"file1"},{"photo_id":"1397063513","filename":"file0"},{"photo_id":"1397063520","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397063525":["hashtag1","hashtag2"]},{"1397063513":["hashtag1","hashtag2"]},{"1397063523":["hashtag1","hashtag2"]},{"1397063520":["hashtag1","hashtag2"]},{"1397063514":["hashtag1","hashtag2"]},{"1397063517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397063525, 1397063513, 1397063523, 1397063520, 1397063514, 1397063517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.683913230895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:43:03.518418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_15_9641.jpg', '/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_24_9747.jpg', '/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_35_10613.jpg', '/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_34_9378.jpg', '/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_44_10031.jpg', '/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_54_10026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_15_9641.jpg
/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_24_9747.jpg
/home/pi/Desktop/images/30112025/12/24/image_30112025_12_24_35_10613.jpg
/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_34_9378.jpg
/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_44_10031.jpg
/home/pi/Desktop/images/30112025/12/25/image_30112025_12_25_54_10026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063528","1397063527","1397063530","1397063532","1397063535","1397063529"],"photo_ids_order":["1397063527","1397063528","1397063529","1397063530","1397063532","1397063535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d3fa044cd1ad2d118c2d79706448c7b.jpg","text":"TemporaryFile(/tmp/multipartBody429321591014955501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_24_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/443c0f7150335a834f27c5cef62536dc.jpg","text":"TemporaryFile(/tmp/multipartBody1140469828979769382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_24_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/486c7dea6377be3f6227d3a6b04c63be.jpg","text":"TemporaryFile(/tmp/multipartBody9103958950670382536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_25_34_9378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dc6860c9271f1cfd48fa3550962e710.jpg","text":"TemporaryFile(/tmp/multipartBody4466768098051829199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_25_44_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a54f5ddb0a25882d793f000e0164ace6.jpg","text":"TemporaryFile(/tmp/multipartBody8011737064412044313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_25_54_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0b83869cebe402340854e1a5a91dad6.jpg","text":"TemporaryFile(/tmp/multipartBody1031637428640420026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510244489,"filename":"image_30112025_12_24_35_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063529","file1":"1397063528","file0":"1397063527","file4":"1397063532","file5":"1397063535","file3":"1397063530"},"map_files_photo_id_array":[{"photo_id":"1397063535","filename":"file5"},{"photo_id":"1397063529","filename":"file2"},{"photo_id":"1397063532","filename":"file4"},{"photo_id":"1397063528","filename":"file1"},{"photo_id":"1397063527","filename":"file0"},{"photo_id":"1397063530","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063528":["hashtag1","hashtag2"]},{"1397063527":["hashtag1","hashtag2"]},{"1397063530":["hashtag1","hashtag2"]},{"1397063532":["hashtag1","hashtag2"]},{"1397063535":["hashtag1","hashtag2"]},{"1397063529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063528, 1397063527, 1397063530, 1397063532, 1397063535, 1397063529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25977158546448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:43:42.852679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/54/image_31102025_12_54_27_2619.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_29_2633.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_33_3697.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_36_2663.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_38_2755.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_41_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/12/54/image_31102025_12_54_27_2619.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_29_2633.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_33_3697.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_36_2663.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_38_2755.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_41_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":["1397063549","1397063546","1397063548","1397063550","1397063544","1397063547"],"photo_ids_order":["1397063544","1397063546","1397063547","1397063548","1397063549","1397063550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/331c4452d5188c6bd9a9d0465192cd00.jpg","text":"TemporaryFile(/tmp/multipartBody5061984135236756585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_38_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/593f801fd285e0aa32f53d2e7510376f.jpg","text":"TemporaryFile(/tmp/multipartBody5809753516635955991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_29_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/30/5651c012925212deed1008e40aa21357.jpg","text":"TemporaryFile(/tmp/multipartBody8618127656729784844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_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/30/4e9578c4f463679cf0b8fa0e30af95fe.jpg","text":"TemporaryFile(/tmp/multipartBody2123581760480277431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_41_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/30/0cdd33e1ef88a851ca1b49627a012572.jpg","text":"TemporaryFile(/tmp/multipartBody628977498876476907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_27_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f7c42c9e1df0123f839f5e69b93f7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8085381972297519712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510283794,"filename":"image_31102025_12_54_33_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063547","file1":"1397063546","file0":"1397063544","file4":"1397063549","file5":"1397063550","file3":"1397063548"},"map_files_photo_id_array":[{"photo_id":"1397063550","filename":"file5"},{"photo_id":"1397063547","filename":"file2"},{"photo_id":"1397063549","filename":"file4"},{"photo_id":"1397063546","filename":"file1"},{"photo_id":"1397063544","filename":"file0"},{"photo_id":"1397063548","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063549":["hashtag1","hashtag2"]},{"1397063546":["hashtag1","hashtag2"]},{"1397063548":["hashtag1","hashtag2"]},{"1397063550":["hashtag1","hashtag2"]},{"1397063544":["hashtag1","hashtag2"]},{"1397063547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063549, 1397063546, 1397063548, 1397063550, 1397063544, 1397063547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47664952278137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:44:22.021273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/25/image_30112025_12_26_04_9789.jpg', '/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_14_10030.jpg', '/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_24_10045.jpg', '/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_34_9862.jpg', '/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_45_10597.jpg', '/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/25/image_30112025_12_26_04_9789.jpg
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_14_10030.jpg
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_24_10045.jpg
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_34_9862.jpg
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_45_10597.jpg
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_26_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063560","1397063554","1397063557","1397063568","1397063562","1397063565"],"photo_ids_order":["1397063554","1397063557","1397063560","1397063562","1397063565","1397063568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7eb9529c07a79fe4961ed657c6383b1.jpg","text":"TemporaryFile(/tmp/multipartBody8829578124210841624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_24_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1944bc77a26ffb6a8bb4a52949bc86d2.jpg","text":"TemporaryFile(/tmp/multipartBody7265170454470738671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/241ca143bb9191b619a3baafd97f0560.jpg","text":"TemporaryFile(/tmp/multipartBody8748702121211674226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_14_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec39504b79d00de3030d46a5344f2351.jpg","text":"TemporaryFile(/tmp/multipartBody7389219957867671569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7306dafe4f9ec98a0b7c05fbe3b0d1e3.jpg","text":"TemporaryFile(/tmp/multipartBody2778399705740986739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_34_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef28f582f44bfebb8f658d7c5933ef56.jpg","text":"TemporaryFile(/tmp/multipartBody7229062603981899518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510322840,"filename":"image_30112025_12_26_45_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063560","file1":"1397063557","file0":"1397063554","file4":"1397063565","file5":"1397063568","file3":"1397063562"},"map_files_photo_id_array":[{"photo_id":"1397063568","filename":"file5"},{"photo_id":"1397063560","filename":"file2"},{"photo_id":"1397063565","filename":"file4"},{"photo_id":"1397063557","filename":"file1"},{"photo_id":"1397063554","filename":"file0"},{"photo_id":"1397063562","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063560":["hashtag1","hashtag2"]},{"1397063554":["hashtag1","hashtag2"]},{"1397063557":["hashtag1","hashtag2"]},{"1397063568":["hashtag1","hashtag2"]},{"1397063562":["hashtag1","hashtag2"]},{"1397063565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063560, 1397063554, 1397063557, 1397063568, 1397063562, 1397063565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62497019767761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:45:06.103714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/26/image_30112025_12_27_04_9725.jpg', '/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_14_10287.jpg', '/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_34_9324.jpg', '/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_55_10685.jpg', '/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_15_10550.jpg', '/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_35_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/26/image_30112025_12_27_04_9725.jpg
/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_14_10287.jpg
/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_34_9324.jpg
/home/pi/Desktop/images/30112025/12/27/image_30112025_12_27_55_10685.jpg
/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_15_10550.jpg
/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_35_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063573","1397063576","1397063569","1397063571","1397063579","1397063570"],"photo_ids_order":["1397063569","1397063570","1397063571","1397063573","1397063576","1397063579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c295401e219f759310bba4bd670516d9.jpg","text":"TemporaryFile(/tmp/multipartBody8892882290328966947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_27_55_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47cf8db6d18677e17042390221f0806a.jpg","text":"TemporaryFile(/tmp/multipartBody6543857807962066798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_28_15_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c05c4b7ec66cdec3b632ff6ab1799f6.jpg","text":"TemporaryFile(/tmp/multipartBody5825737166459147950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_27_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4588d684b5ee6fbecc1d0104de9725ed.jpg","text":"TemporaryFile(/tmp/multipartBody1416509640384742279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_27_34_9324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7428482af4ac350c5807b3871b3f7707.jpg","text":"TemporaryFile(/tmp/multipartBody2451858206004671932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_28_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/470794b6aad55a4de47de3d4b6920ff8.jpg","text":"TemporaryFile(/tmp/multipartBody6267165880649703252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510366982,"filename":"image_30112025_12_27_14_10287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063571","file1":"1397063570","file0":"1397063569","file4":"1397063576","file5":"1397063579","file3":"1397063573"},"map_files_photo_id_array":[{"photo_id":"1397063579","filename":"file5"},{"photo_id":"1397063571","filename":"file2"},{"photo_id":"1397063576","filename":"file4"},{"photo_id":"1397063570","filename":"file1"},{"photo_id":"1397063569","filename":"file0"},{"photo_id":"1397063573","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063573":["hashtag1","hashtag2"]},{"1397063576":["hashtag1","hashtag2"]},{"1397063569":["hashtag1","hashtag2"]},{"1397063571":["hashtag1","hashtag2"]},{"1397063579":["hashtag1","hashtag2"]},{"1397063570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063573, 1397063576, 1397063569, 1397063571, 1397063579, 1397063570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95353317260742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:45:45.307772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/54/image_31102025_12_54_45_3660.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_47_2621.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_54_3582.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_56_2582.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_55_00_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_45_3660.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_47_2621.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_54_3582.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_56_2582.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_55_00_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397063588","1397063590","1397063587","1397063586","1397063589","1397063591"],"photo_ids_order":["1397063586","1397063587","1397063588","1397063589","1397063590","1397063591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/529e3dacc44de7d000970a613cd348d8.jpg","text":"TemporaryFile(/tmp/multipartBody8761069332645437794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_54_50_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/30/3963d33c7dbf4efa6d742824a1c70384.jpg","text":"TemporaryFile(/tmp/multipartBody5779057383706882307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_54_56_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0560f4cf21a34687c46cb05067edd9dc.jpg","text":"TemporaryFile(/tmp/multipartBody702040214926690231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_54_47_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/30/ca5fc69b0491b2e01aa89bbe81934b31.jpg","text":"TemporaryFile(/tmp/multipartBody169600643141360494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_54_45_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/30/a0e6f3616ad8014cd16621dbc4f5ace3.jpg","text":"TemporaryFile(/tmp/multipartBody7956516236759808603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_54_54_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/30/61f740acd158c67c403800fa1045fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody1752192942702312966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510406243,"filename":"image_31102025_12_55_00_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063588","file1":"1397063587","file0":"1397063586","file4":"1397063590","file5":"1397063591","file3":"1397063589"},"map_files_photo_id_array":[{"photo_id":"1397063591","filename":"file5"},{"photo_id":"1397063588","filename":"file2"},{"photo_id":"1397063590","filename":"file4"},{"photo_id":"1397063587","filename":"file1"},{"photo_id":"1397063586","filename":"file0"},{"photo_id":"1397063589","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063588":["hashtag1","hashtag2"]},{"1397063590":["hashtag1","hashtag2"]},{"1397063587":["hashtag1","hashtag2"]},{"1397063586":["hashtag1","hashtag2"]},{"1397063589":["hashtag1","hashtag2"]},{"1397063591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063588, 1397063590, 1397063587, 1397063586, 1397063589, 1397063591)","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 = 1397063588 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1397063588 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg";
uploaded 6 photos
time to upload: 76.48692297935486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:47:08.648812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:47:15.568630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:47:46.112000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-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-30 14:47:46.122646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
2025-11-30 14:47:46.122646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-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
2025-11-30 14:48:02.679177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:48:12.282483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:48:22.195251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:48:32.215236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-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-30 14:49:11.303193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:49:18.422075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 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
 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 30 --only_old 1
2025-11-30 14:49:48.369917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:50:02.667034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 14:50:12.251825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_48_3681.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_51_2692.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_53_2763.jpg', '/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_56_2644.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_02_2677.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_07_4902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_48_3681.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_51_2692.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_53_2763.jpg
/home/pi/Desktop/images/25112025/20/20/image_25112025_20_20_56_2644.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_02_2677.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_07_4902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063651","1397063648","1397063644","1397063653","1397063655","1397063643"],"photo_ids_order":["1397063643","1397063644","1397063648","1397063651","1397063653","1397063655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e8d6d6597fc853bafdac526f417645a.jpg","text":"TemporaryFile(/tmp/multipartBody7348031398946317376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_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/30/25b52316420331ae3b82a1814eb4e62c.jpg","text":"TemporaryFile(/tmp/multipartBody2323997490669623556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_20_53_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b60f57b8ba5636d5cddd02a8788a729.jpg","text":"TemporaryFile(/tmp/multipartBody4115597885494265827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_20_51_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/952ca43386b6fd746d30e9e38bd16dba.jpg","text":"TemporaryFile(/tmp/multipartBody7679363541484234193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_21_02_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d42bedea56f7bd3a65042066936fc513.jpg","text":"TemporaryFile(/tmp/multipartBody6409543217976074413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_21_07_4902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dbd4a9aa574bfe54ca6929a2de88d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4790124002482526065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510674142,"filename":"image_25112025_20_20_48_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063648","file1":"1397063644","file0":"1397063643","file4":"1397063653","file5":"1397063655","file3":"1397063651"},"map_files_photo_id_array":[{"photo_id":"1397063655","filename":"file5"},{"photo_id":"1397063648","filename":"file2"},{"photo_id":"1397063653","filename":"file4"},{"photo_id":"1397063644","filename":"file1"},{"photo_id":"1397063643","filename":"file0"},{"photo_id":"1397063651","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397063651":["hashtag1","hashtag2"]},{"1397063648":["hashtag1","hashtag2"]},{"1397063644":["hashtag1","hashtag2"]},{"1397063653":["hashtag1","hashtag2"]},{"1397063655":["hashtag1","hashtag2"]},{"1397063643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397063651, 1397063648, 1397063644, 1397063653, 1397063655, 1397063643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26142978668213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:51:03.138896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_44_9801.jpg', '/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_24_9715.jpg', '/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_45_9936.jpg', '/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_55_9870.jpg', '/home/pi/Desktop/images/30112025/12/30/image_30112025_12_30_25_10834.jpg', '/home/pi/Desktop/images/30112025/12/30/image_30112025_12_30_55_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/28/image_30112025_12_28_44_9801.jpg
/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_24_9715.jpg
/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_45_9936.jpg
/home/pi/Desktop/images/30112025/12/29/image_30112025_12_29_55_9870.jpg
/home/pi/Desktop/images/30112025/12/30/image_30112025_12_30_25_10834.jpg
/home/pi/Desktop/images/30112025/12/30/image_30112025_12_30_55_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063660","1397063663","1397063659","1397063667","1397063661","1397063658"],"photo_ids_order":["1397063658","1397063659","1397063660","1397063661","1397063663","1397063667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd4466c927e66f7178562dc27b43b7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4042854151862730183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_29_45_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd4abf75faa0b075fa149505ba2c294a.jpg","text":"TemporaryFile(/tmp/multipartBody9083606795220587314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_30_25_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24aa71e2405edd4eb3e0e9d9cdb4bccb.jpg","text":"TemporaryFile(/tmp/multipartBody1335719087006445707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_29_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c98dbe0e1928f52ecb41d6d779029b1.jpg","text":"TemporaryFile(/tmp/multipartBody5749605003055332252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_30_55_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/319f675e2f281f941f4120ac944e17d4.jpg","text":"TemporaryFile(/tmp/multipartBody4489845028076456764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_29_55_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10f302fa902cf37dd4d73affc7a96d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6316721904117017660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510724030,"filename":"image_30112025_12_28_44_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063660","file1":"1397063659","file0":"1397063658","file4":"1397063663","file5":"1397063667","file3":"1397063661"},"map_files_photo_id_array":[{"photo_id":"1397063667","filename":"file5"},{"photo_id":"1397063660","filename":"file2"},{"photo_id":"1397063663","filename":"file4"},{"photo_id":"1397063659","filename":"file1"},{"photo_id":"1397063658","filename":"file0"},{"photo_id":"1397063661","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063660":["hashtag1","hashtag2"]},{"1397063663":["hashtag1","hashtag2"]},{"1397063659":["hashtag1","hashtag2"]},{"1397063667":["hashtag1","hashtag2"]},{"1397063661":["hashtag1","hashtag2"]},{"1397063658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063660, 1397063663, 1397063659, 1397063667, 1397063661, 1397063658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66706442832947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:51:42.534304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/54/image_31102025_12_54_45_3660.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_47_2621.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_54_3582.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_56_2582.jpg', '/home/pi/Desktop/images/31102025/12/54/image_31102025_12_55_00_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_45_3660.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_47_2621.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_50_2751.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_54_3582.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_54_56_2582.jpg
/home/pi/Desktop/images/31102025/12/54/image_31102025_12_55_00_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063681","1397063680","1397063674","1397063682","1397063679","1397063678"],"photo_ids_order":["1397063674","1397063678","1397063679","1397063680","1397063681","1397063682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e73887f7e84f6dc296a6f85d51863d6d.jpg","text":"TemporaryFile(/tmp/multipartBody3534586564657891530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_54_56_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d9004c8d5953759f3df903f54f85320.jpg","text":"TemporaryFile(/tmp/multipartBody6718138274363132926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_54_54_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/30/3de10e9481977c08da52c33acdeae6ef.jpg","text":"TemporaryFile(/tmp/multipartBody1297382734262229151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_54_45_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/30/cc2f421445fc81b595c17433ccfe0fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5516429279212328427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_55_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/30/d69df92e417dbf3928dba3b20ecc7c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2969593450143533491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_54_50_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/30/f561cb149164e43afbabcaeec7528855.jpg","text":"TemporaryFile(/tmp/multipartBody334845465179814943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510763295,"filename":"image_31102025_12_54_47_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063679","file1":"1397063678","file0":"1397063674","file4":"1397063681","file5":"1397063682","file3":"1397063680"},"map_files_photo_id_array":[{"photo_id":"1397063682","filename":"file5"},{"photo_id":"1397063679","filename":"file2"},{"photo_id":"1397063681","filename":"file4"},{"photo_id":"1397063678","filename":"file1"},{"photo_id":"1397063674","filename":"file0"},{"photo_id":"1397063680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063681":["hashtag1","hashtag2"]},{"1397063680":["hashtag1","hashtag2"]},{"1397063674":["hashtag1","hashtag2"]},{"1397063682":["hashtag1","hashtag2"]},{"1397063679":["hashtag1","hashtag2"]},{"1397063678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063681, 1397063680, 1397063674, 1397063682, 1397063679, 1397063678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.391672134399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:52:22.644436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_14_9804.jpg', '/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_34_9652.jpg', '/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_44_9979.jpg', '/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_54_9823.jpg', '/home/pi/Desktop/images/30112025/12/31/image_30112025_12_32_04_9768.jpg', '/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_14_9804.jpg
/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_34_9652.jpg
/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_44_9979.jpg
/home/pi/Desktop/images/30112025/12/31/image_30112025_12_31_54_9823.jpg
/home/pi/Desktop/images/30112025/12/31/image_30112025_12_32_04_9768.jpg
/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063692","1397063695","1397063689","1397063686","1397063694","1397063697"],"photo_ids_order":["1397063686","1397063689","1397063692","1397063694","1397063695","1397063697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3516e6cee0b3868310283103b6a8132.jpg","text":"TemporaryFile(/tmp/multipartBody21196603914180726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_31_44_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2e07e9d604a0b6b67bfab67ad08287a.jpg","text":"TemporaryFile(/tmp/multipartBody725528894372350956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_32_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ccd3710311728e0b988d82397962ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3207583880378015381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_31_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b00ec498d0a192da12b618eb08562021.jpg","text":"TemporaryFile(/tmp/multipartBody1312333283912771771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_31_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea2a9bfa894d41993430fb58eb462455.jpg","text":"TemporaryFile(/tmp/multipartBody2296977723147971735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_31_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/302557134a8f28859bb86a64ea01e86c.jpg","text":"TemporaryFile(/tmp/multipartBody5491234185563278848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510803410,"filename":"image_30112025_12_32_24_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063692","file1":"1397063689","file0":"1397063686","file4":"1397063695","file5":"1397063697","file3":"1397063694"},"map_files_photo_id_array":[{"photo_id":"1397063697","filename":"file5"},{"photo_id":"1397063692","filename":"file2"},{"photo_id":"1397063695","filename":"file4"},{"photo_id":"1397063689","filename":"file1"},{"photo_id":"1397063686","filename":"file0"},{"photo_id":"1397063694","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063692":["hashtag1","hashtag2"]},{"1397063695":["hashtag1","hashtag2"]},{"1397063689":["hashtag1","hashtag2"]},{"1397063686":["hashtag1","hashtag2"]},{"1397063694":["hashtag1","hashtag2"]},{"1397063697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063692, 1397063695, 1397063689, 1397063686, 1397063694, 1397063697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30580258369446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:53:02.612342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_44_9693.jpg', '/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_54_9836.jpg', '/home/pi/Desktop/images/30112025/12/32/image_30112025_12_33_04_10088.jpg', '/home/pi/Desktop/images/30112025/12/33/image_30112025_12_33_25_10852.jpg', '/home/pi/Desktop/images/30112025/12/33/image_30112025_12_33_55_10649.jpg', '/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_14_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_44_9693.jpg
/home/pi/Desktop/images/30112025/12/32/image_30112025_12_32_54_9836.jpg
/home/pi/Desktop/images/30112025/12/32/image_30112025_12_33_04_10088.jpg
/home/pi/Desktop/images/30112025/12/33/image_30112025_12_33_25_10852.jpg
/home/pi/Desktop/images/30112025/12/33/image_30112025_12_33_55_10649.jpg
/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_14_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063698","1397063701","1397063703","1397063706","1397063700","1397063699"],"photo_ids_order":["1397063698","1397063699","1397063700","1397063701","1397063703","1397063706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67015741e882d03aaddfe49be9b94a45.jpg","text":"TemporaryFile(/tmp/multipartBody4077621459354107882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_32_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/447d1e91b61bd08cb1f55099d43d4aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2299193295907460989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_33_25_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/141ddf102e58992ca47a38bb41ac58ef.jpg","text":"TemporaryFile(/tmp/multipartBody6904755034592748747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_33_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2a5a9dd28271db9599943d3a9683099.jpg","text":"TemporaryFile(/tmp/multipartBody60700341666608774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_34_14_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dcc54ef6c7697a9e805bf3f83d55007.jpg","text":"TemporaryFile(/tmp/multipartBody5530643524844072217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_33_04_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99cdcfe60d10b1833cdcd60d6534bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody1196750454682588783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510843512,"filename":"image_30112025_12_32_54_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063700","file1":"1397063699","file0":"1397063698","file4":"1397063703","file5":"1397063706","file3":"1397063701"},"map_files_photo_id_array":[{"photo_id":"1397063706","filename":"file5"},{"photo_id":"1397063700","filename":"file2"},{"photo_id":"1397063703","filename":"file4"},{"photo_id":"1397063699","filename":"file1"},{"photo_id":"1397063698","filename":"file0"},{"photo_id":"1397063701","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063698":["hashtag1","hashtag2"]},{"1397063701":["hashtag1","hashtag2"]},{"1397063703":["hashtag1","hashtag2"]},{"1397063706":["hashtag1","hashtag2"]},{"1397063700":["hashtag1","hashtag2"]},{"1397063699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063698, 1397063701, 1397063703, 1397063706, 1397063700, 1397063699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.522281646728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:53:41.902187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/55/image_31102025_12_55_03_2578.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_05_2860.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_08_2723.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_12_3706.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_15_2709.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_17_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_03_2578.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_05_2860.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_08_2723.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_12_3706.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_15_2709.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_17_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063720","1397063714","1397063719","1397063722","1397063721","1397063718"],"photo_ids_order":["1397063714","1397063718","1397063719","1397063720","1397063721","1397063722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0242bf1f13397131cfeb37ccb13178d2.jpg","text":"TemporaryFile(/tmp/multipartBody4501082637343340701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_55_12_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/30/c7dffdf8eb7ea578858ca63500480314.jpg","text":"TemporaryFile(/tmp/multipartBody3386768036821247951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_55_03_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/30/7c258ec2f1da76df9995fdaed56e9a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6985357584242967155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_55_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/30/bd2b920e8257b979b34be7343e0496fb.jpg","text":"TemporaryFile(/tmp/multipartBody4821461980606795007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_55_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/30/d8168192bdab3d7b91f050ac8eb42d37.jpg","text":"TemporaryFile(/tmp/multipartBody5251843430728393849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_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/30/720239cd10a7e89aba5ef73addb85631.jpg","text":"TemporaryFile(/tmp/multipartBody9018671067554989460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510882821,"filename":"image_31102025_12_55_05_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063719","file1":"1397063718","file0":"1397063714","file4":"1397063721","file5":"1397063722","file3":"1397063720"},"map_files_photo_id_array":[{"photo_id":"1397063722","filename":"file5"},{"photo_id":"1397063719","filename":"file2"},{"photo_id":"1397063721","filename":"file4"},{"photo_id":"1397063718","filename":"file1"},{"photo_id":"1397063714","filename":"file0"},{"photo_id":"1397063720","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063720":["hashtag1","hashtag2"]},{"1397063714":["hashtag1","hashtag2"]},{"1397063719":["hashtag1","hashtag2"]},{"1397063722":["hashtag1","hashtag2"]},{"1397063721":["hashtag1","hashtag2"]},{"1397063718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063720, 1397063714, 1397063719, 1397063722, 1397063721, 1397063718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61218047142029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:54:22.137754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_34_9666.jpg', '/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_54_9613.jpg', '/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_34_9771.jpg', '/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_44_9854.jpg', '/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_55_10804.jpg', '/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_14_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_34_9666.jpg
/home/pi/Desktop/images/30112025/12/34/image_30112025_12_34_54_9613.jpg
/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_34_9771.jpg
/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_44_9854.jpg
/home/pi/Desktop/images/30112025/12/35/image_30112025_12_35_55_10804.jpg
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_14_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063732","1397063729","1397063726","1397063734","1397063736","1397063739"],"photo_ids_order":["1397063726","1397063729","1397063732","1397063734","1397063736","1397063739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6832afd1577df5d0c7c22124079f3477.jpg","text":"TemporaryFile(/tmp/multipartBody7668559281721225452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_35_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63eeedcb289e5094d0272eb6f669f01f.jpg","text":"TemporaryFile(/tmp/multipartBody2763489346706676589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_34_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40773eeac4b43fd37b19e5b2b55c4b10.jpg","text":"TemporaryFile(/tmp/multipartBody1477749497141484763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_34_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/908bb1eb9360bcf0b65f7d80dbbd1153.jpg","text":"TemporaryFile(/tmp/multipartBody2723147998617547992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_35_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e9af1836a216f24e1e15ab5e10191dd.jpg","text":"TemporaryFile(/tmp/multipartBody3745402454423131990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_35_55_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa18f371b8c7de143901235c7e852262.jpg","text":"TemporaryFile(/tmp/multipartBody9184985111903199043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510922993,"filename":"image_30112025_12_36_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063732","file1":"1397063729","file0":"1397063726","file4":"1397063736","file5":"1397063739","file3":"1397063734"},"map_files_photo_id_array":[{"photo_id":"1397063739","filename":"file5"},{"photo_id":"1397063732","filename":"file2"},{"photo_id":"1397063736","filename":"file4"},{"photo_id":"1397063729","filename":"file1"},{"photo_id":"1397063726","filename":"file0"},{"photo_id":"1397063734","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063732":["hashtag1","hashtag2"]},{"1397063729":["hashtag1","hashtag2"]},{"1397063726":["hashtag1","hashtag2"]},{"1397063734":["hashtag1","hashtag2"]},{"1397063736":["hashtag1","hashtag2"]},{"1397063739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063732, 1397063729, 1397063726, 1397063734, 1397063736, 1397063739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52363204956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:55:03.091560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_24_9657.jpg', '/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_35_10890.jpg', '/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_45_9865.jpg', '/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_54_9647.jpg', '/home/pi/Desktop/images/30112025/12/36/image_30112025_12_37_04_9707.jpg', '/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_14_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_24_9657.jpg
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_35_10890.jpg
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_45_9865.jpg
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_36_54_9647.jpg
/home/pi/Desktop/images/30112025/12/36/image_30112025_12_37_04_9707.jpg
/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_14_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063741","1397063743","1397063749","1397063740","1397063742","1397063745"],"photo_ids_order":["1397063740","1397063741","1397063742","1397063743","1397063745","1397063749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75eef25a6358e3e8ae243a9b1c3902bf.jpg","text":"TemporaryFile(/tmp/multipartBody9187469129560757829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_36_35_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdd5cd67dd6eb2a02973f531882155b8.jpg","text":"TemporaryFile(/tmp/multipartBody716067821969284238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_36_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/926068c1fe3784ff69becf42126c7bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6019950946847366453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_37_14_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49a02462dc96c13c37e51977a5e2dc2a.jpg","text":"TemporaryFile(/tmp/multipartBody1458718186185266964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_36_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7f315378ab7c17792f422564d800243.jpg","text":"TemporaryFile(/tmp/multipartBody1138638870098523824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_36_45_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a9f5e02be5722917945141c2e4bf001.jpg","text":"TemporaryFile(/tmp/multipartBody5762951396226680006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764510963959,"filename":"image_30112025_12_37_04_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063742","file1":"1397063741","file0":"1397063740","file4":"1397063745","file5":"1397063749","file3":"1397063743"},"map_files_photo_id_array":[{"photo_id":"1397063749","filename":"file5"},{"photo_id":"1397063742","filename":"file2"},{"photo_id":"1397063745","filename":"file4"},{"photo_id":"1397063741","filename":"file1"},{"photo_id":"1397063740","filename":"file0"},{"photo_id":"1397063743","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063741":["hashtag1","hashtag2"]},{"1397063743":["hashtag1","hashtag2"]},{"1397063749":["hashtag1","hashtag2"]},{"1397063740":["hashtag1","hashtag2"]},{"1397063742":["hashtag1","hashtag2"]},{"1397063745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063741, 1397063743, 1397063749, 1397063740, 1397063742, 1397063745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3357880115509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:55:42.339522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/55/image_31102025_12_55_24_3544.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_26_2704.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_33_3659.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_35_2722.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_38_2601.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_42_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_24_3544.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_26_2704.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_33_3659.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_35_2722.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_38_2601.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_42_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063762","1397063761","1397063764","1397063760","1397063763","1397063757"],"photo_ids_order":["1397063757","1397063760","1397063761","1397063762","1397063763","1397063764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc70cf71283cfcaf88bfe099ac28a4b7.jpg","text":"TemporaryFile(/tmp/multipartBody8979124027384164955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_35_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/30/ec1d7614419b6ca3c7f7f6452e82d695.jpg","text":"TemporaryFile(/tmp/multipartBody2272295231536040193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_33_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/30/81c693ce7fae857035d8a8b5ef8c01af.jpg","text":"TemporaryFile(/tmp/multipartBody886373906309312046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_42_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/30/d8d17ecb0826c777b7eccbe6d7f3874a.jpg","text":"TemporaryFile(/tmp/multipartBody2858035636934425190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_26_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/30/ac8d7d941e3f3ed5667859e399a9bb87.jpg","text":"TemporaryFile(/tmp/multipartBody2788442367582272653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_38_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/30/431977cd5f148a273e2141dee6bbbc31.jpg","text":"TemporaryFile(/tmp/multipartBody5329306949655344690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511003301,"filename":"image_31102025_12_55_24_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063761","file1":"1397063760","file0":"1397063757","file4":"1397063763","file5":"1397063764","file3":"1397063762"},"map_files_photo_id_array":[{"photo_id":"1397063764","filename":"file5"},{"photo_id":"1397063761","filename":"file2"},{"photo_id":"1397063763","filename":"file4"},{"photo_id":"1397063760","filename":"file1"},{"photo_id":"1397063757","filename":"file0"},{"photo_id":"1397063762","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063762":["hashtag1","hashtag2"]},{"1397063761":["hashtag1","hashtag2"]},{"1397063764":["hashtag1","hashtag2"]},{"1397063760":["hashtag1","hashtag2"]},{"1397063763":["hashtag1","hashtag2"]},{"1397063757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063762, 1397063761, 1397063764, 1397063760, 1397063763, 1397063757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91491103172302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 14:56:22.526606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_34_9626.jpg', '/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_44_9713.jpg', '/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_55_10904.jpg', '/home/pi/Desktop/images/30112025/12/37/image_30112025_12_38_05_9971.jpg', '/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_15_9862.jpg', '/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_34_9626.jpg
/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_44_9713.jpg
/home/pi/Desktop/images/30112025/12/37/image_30112025_12_37_55_10904.jpg
/home/pi/Desktop/images/30112025/12/37/image_30112025_12_38_05_9971.jpg
/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_15_9862.jpg
/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_24_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063780","1397063773","1397063776","1397063770","1397063767","1397063783"],"photo_ids_order":["1397063767","1397063770","1397063773","1397063776","1397063780","1397063783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e0468090093038aeb98f355330217f3.jpg","text":"TemporaryFile(/tmp/multipartBody5224979521873192886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_38_15_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a331ea7a1477fc68c519c398bec65c6f.jpg","text":"TemporaryFile(/tmp/multipartBody124214782638761209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_37_55_10904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce711f344165376358962877ab25ec71.jpg","text":"TemporaryFile(/tmp/multipartBody3145662613371823403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_38_05_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed8feef09b6a7ab1f563237bbd2e8ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4198937077986234600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_37_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0798931582cde68116aea05b5fdfa1b.jpg","text":"TemporaryFile(/tmp/multipartBody5465511141551281307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_37_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60fdfc5c9d9b4c30571d9eaf45f58b62.jpg","text":"TemporaryFile(/tmp/multipartBody8185071507615639150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511043324,"filename":"image_30112025_12_38_24_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063773","file1":"1397063770","file0":"1397063767","file4":"1397063780","file5":"1397063783","file3":"1397063776"},"map_files_photo_id_array":[{"photo_id":"1397063783","filename":"file5"},{"photo_id":"1397063773","filename":"file2"},{"photo_id":"1397063780","filename":"file4"},{"photo_id":"1397063770","filename":"file1"},{"photo_id":"1397063767","filename":"file0"},{"photo_id":"1397063776","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063780":["hashtag1","hashtag2"]},{"1397063773":["hashtag1","hashtag2"]},{"1397063776":["hashtag1","hashtag2"]},{"1397063770":["hashtag1","hashtag2"]},{"1397063767":["hashtag1","hashtag2"]},{"1397063783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063780, 1397063773, 1397063776, 1397063770, 1397063767, 1397063783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67371487617493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:57:03.305204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_34_9641.jpg', '/home/pi/Desktop/images/30112025/12/38/image_30112025_12_39_04_9715.jpg', '/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_25_10719.jpg', '/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_44_9897.jpg', '/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_54_9730.jpg', '/home/pi/Desktop/images/30112025/12/39/image_30112025_12_40_05_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/38/image_30112025_12_38_34_9641.jpg
/home/pi/Desktop/images/30112025/12/38/image_30112025_12_39_04_9715.jpg
/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_25_10719.jpg
/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_44_9897.jpg
/home/pi/Desktop/images/30112025/12/39/image_30112025_12_39_54_9730.jpg
/home/pi/Desktop/images/30112025/12/39/image_30112025_12_40_05_10823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063791","1397063797","1397063790","1397063793","1397063787","1397063789"],"photo_ids_order":["1397063787","1397063789","1397063790","1397063791","1397063793","1397063797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8ee9e1c8f59ca33161903ab5097a3be.jpg","text":"TemporaryFile(/tmp/multipartBody7968342095888433103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_39_44_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f2ccaa44d6e5a354e34fc13d72ed424.jpg","text":"TemporaryFile(/tmp/multipartBody8212737117311555516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_40_05_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35adf4b0572b9f13259dc0821db0729e.jpg","text":"TemporaryFile(/tmp/multipartBody3578496582353304727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_39_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5105ba0bc1dbb6a0658d66f63cdf8617.jpg","text":"TemporaryFile(/tmp/multipartBody1134402544524216669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_39_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fa6c597f769525ee8d780fec736ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody265712456488100998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_38_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc586fccee0a316504a64562db53fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody3859741452317056284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511084227,"filename":"image_30112025_12_39_04_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063790","file1":"1397063789","file0":"1397063787","file4":"1397063793","file5":"1397063797","file3":"1397063791"},"map_files_photo_id_array":[{"photo_id":"1397063797","filename":"file5"},{"photo_id":"1397063790","filename":"file2"},{"photo_id":"1397063793","filename":"file4"},{"photo_id":"1397063789","filename":"file1"},{"photo_id":"1397063787","filename":"file0"},{"photo_id":"1397063791","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397063791":["hashtag1","hashtag2"]},{"1397063797":["hashtag1","hashtag2"]},{"1397063790":["hashtag1","hashtag2"]},{"1397063793":["hashtag1","hashtag2"]},{"1397063787":["hashtag1","hashtag2"]},{"1397063789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397063791, 1397063797, 1397063790, 1397063793, 1397063787, 1397063789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.418124198913574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 14:57:42.701407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/55/image_31102025_12_55_44_2725.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_47_2700.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_50_2885.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_54_3818.jpg', '/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_59_2749.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_02_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/12/55/image_31102025_12_55_44_2725.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_47_2700.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_50_2885.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_54_3818.jpg
/home/pi/Desktop/images/31102025/12/55/image_31102025_12_55_59_2749.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_02_2773.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397063879","1397063839","1397063988","1397064024","1397063949","1397063913"],"photo_ids_order":["1397063839","1397063879","1397063913","1397063949","1397063988","1397064024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67e93fb630af7500eb2182a67c0d5867.jpg","text":"TemporaryFile(/tmp/multipartBody1075267617212803607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_55_47_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8f75e5e0271df22b7023c9d9044f438.jpg","text":"TemporaryFile(/tmp/multipartBody8308265044671488645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_55_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/30/7df3d5f7b4650033cc28d5e3bf9253c0.jpg","text":"TemporaryFile(/tmp/multipartBody3283620738359213848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_55_59_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/30/c00f6bad367e511b7f4e65435cd26bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4446176877407179670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_56_02_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/30/09eff23811fb43a9782a4e0dace03f14.jpg","text":"TemporaryFile(/tmp/multipartBody8051936551509091702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_55_54_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/30/9d377254f7d4ade13e6d755469bae494.jpg","text":"TemporaryFile(/tmp/multipartBody133843190273178876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511123618,"filename":"image_31102025_12_55_50_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397063913","file1":"1397063879","file0":"1397063839","file4":"1397063988","file5":"1397064024","file3":"1397063949"},"map_files_photo_id_array":[{"photo_id":"1397064024","filename":"file5"},{"photo_id":"1397063913","filename":"file2"},{"photo_id":"1397063988","filename":"file4"},{"photo_id":"1397063879","filename":"file1"},{"photo_id":"1397063839","filename":"file0"},{"photo_id":"1397063949","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397063879":["hashtag1","hashtag2"]},{"1397063839":["hashtag1","hashtag2"]},{"1397063988":["hashtag1","hashtag2"]},{"1397064024":["hashtag1","hashtag2"]},{"1397063949":["hashtag1","hashtag2"]},{"1397063913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397063879, 1397063839, 1397063988, 1397064024, 1397063949, 1397063913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43918299674988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 14:59:03.145475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_14_9715.jpg', '/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_24_9756.jpg', '/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_45_10745.jpg', '/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_54_9652.jpg', '/home/pi/Desktop/images/30112025/12/41/image_30112025_12_41_14_9803.jpg', '/home/pi/Desktop/images/30112025/12/41/image_30112025_12_41_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_14_9715.jpg
/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_24_9756.jpg
/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_45_10745.jpg
/home/pi/Desktop/images/30112025/12/40/image_30112025_12_40_54_9652.jpg
/home/pi/Desktop/images/30112025/12/41/image_30112025_12_41_14_9803.jpg
/home/pi/Desktop/images/30112025/12/41/image_30112025_12_41_25_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397064314","1397064277","1397064399","1397064273","1397064354","1397064281"],"photo_ids_order":["1397064273","1397064277","1397064281","1397064314","1397064354","1397064399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ec56f46a70f521b944f68c1f6464737.jpg","text":"TemporaryFile(/tmp/multipartBody4957773523123087484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_40_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52f907ba3d6bd4fa8d87980cd644b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6720571658241138634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_40_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f6e725293fc1bb7040f2dd23cc9e1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3824398891051069718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_41_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b8e4f904d929859158ae32dfd2627a5.jpg","text":"TemporaryFile(/tmp/multipartBody3373471074146749671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_40_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1368cd1337c56798f7f6a8668cfea7ca.jpg","text":"TemporaryFile(/tmp/multipartBody6717785863426167942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_41_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38a0d95c724974625bbfe1de768d6e50.jpg","text":"TemporaryFile(/tmp/multipartBody8296706083498016022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511204114,"filename":"image_30112025_12_40_45_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397064281","file1":"1397064277","file0":"1397064273","file4":"1397064354","file5":"1397064399","file3":"1397064314"},"map_files_photo_id_array":[{"photo_id":"1397064399","filename":"file5"},{"photo_id":"1397064281","filename":"file2"},{"photo_id":"1397064354","filename":"file4"},{"photo_id":"1397064277","filename":"file1"},{"photo_id":"1397064273","filename":"file0"},{"photo_id":"1397064314","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397064314":["hashtag1","hashtag2"]},{"1397064277":["hashtag1","hashtag2"]},{"1397064399":["hashtag1","hashtag2"]},{"1397064273":["hashtag1","hashtag2"]},{"1397064354":["hashtag1","hashtag2"]},{"1397064281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397064314, 1397064277, 1397064399, 1397064273, 1397064354, 1397064281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.315309286117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:00:02.673201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_34_9729.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_45_10593.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_54_9625.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_43_04_9814.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_14_9896.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_25_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_34_9729.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_45_10593.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_54_9625.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_43_04_9814.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_14_9896.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_25_10758.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7209138870239258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:00:12.188730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_12_2621.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_14_2744.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_18_3602.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_21_2662.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_23_2675.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_27_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_12_2621.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_14_2744.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_18_3602.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_21_2662.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_23_2675.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_27_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397064848","1397064920","1397064958","1397064882","1397064813","1397064995"],"photo_ids_order":["1397064813","1397064848","1397064882","1397064920","1397064958","1397064995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7349ccc5149690a85095b104088558d.jpg","text":"TemporaryFile(/tmp/multipartBody9203575619684875526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_14_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/005c4b35165e2a42956afd13a2c2c53a.jpg","text":"TemporaryFile(/tmp/multipartBody6828114301125411761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_21_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/30/abd40dffdde2e9a247278ac247ef7fbf.jpg","text":"TemporaryFile(/tmp/multipartBody740030567351650131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_23_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/30/ad2c9ef908f6274a89fd99450172f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody6886854645267850987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_18_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f75ab7f5d70e7d6898f05f00a1ea8d66.jpg","text":"TemporaryFile(/tmp/multipartBody369579326773651573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_12_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/30/504a44016feaf617bc7a011abfff94af.jpg","text":"TemporaryFile(/tmp/multipartBody5557085415140191966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511273991,"filename":"image_25112025_20_21_27_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397064882","file1":"1397064848","file0":"1397064813","file4":"1397064958","file5":"1397064995","file3":"1397064920"},"map_files_photo_id_array":[{"photo_id":"1397064995","filename":"file5"},{"photo_id":"1397064882","filename":"file2"},{"photo_id":"1397064958","filename":"file4"},{"photo_id":"1397064848","filename":"file1"},{"photo_id":"1397064813","filename":"file0"},{"photo_id":"1397064920","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397064848":["hashtag1","hashtag2"]},{"1397064920":["hashtag1","hashtag2"]},{"1397064958":["hashtag1","hashtag2"]},{"1397064882":["hashtag1","hashtag2"]},{"1397064813":["hashtag1","hashtag2"]},{"1397064995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397064848, 1397064920, 1397064958, 1397064882, 1397064813, 1397064995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90462803840637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:01:03.055885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_34_9729.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_45_10593.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_54_9625.jpg', '/home/pi/Desktop/images/30112025/12/42/image_30112025_12_43_04_9814.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_14_9896.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_25_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_34_9729.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_45_10593.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_42_54_9625.jpg
/home/pi/Desktop/images/30112025/12/42/image_30112025_12_43_04_9814.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_14_9896.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_25_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397065258","1397065380","1397065419","1397065212","1397065343","1397065304"],"photo_ids_order":["1397065212","1397065258","1397065304","1397065343","1397065380","1397065419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/269490426a3490ef297709b17a4ba7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6063179178129679356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_42_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c578ed8183dc54029b30e43640bd78e.jpg","text":"TemporaryFile(/tmp/multipartBody3450917868385909872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_43_14_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/30/c122345d4713d7fe43980e4f1324a899.jpg","text":"TemporaryFile(/tmp/multipartBody2184603077758894903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_43_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee2ed25bd3b68ddd2379e029b8e9c350.jpg","text":"TemporaryFile(/tmp/multipartBody3294381034730032126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_42_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2757e98e9bc2d0bf4bed102774547978.jpg","text":"TemporaryFile(/tmp/multipartBody8118378898250672923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_43_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/983e0601916fa74f2f0e4cc42e63b210.jpg","text":"TemporaryFile(/tmp/multipartBody9164392866812834215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511323961,"filename":"image_30112025_12_42_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397065304","file1":"1397065258","file0":"1397065212","file4":"1397065380","file5":"1397065419","file3":"1397065343"},"map_files_photo_id_array":[{"photo_id":"1397065419","filename":"file5"},{"photo_id":"1397065304","filename":"file2"},{"photo_id":"1397065380","filename":"file4"},{"photo_id":"1397065258","filename":"file1"},{"photo_id":"1397065212","filename":"file0"},{"photo_id":"1397065343","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397065258":["hashtag1","hashtag2"]},{"1397065380":["hashtag1","hashtag2"]},{"1397065419":["hashtag1","hashtag2"]},{"1397065212":["hashtag1","hashtag2"]},{"1397065343":["hashtag1","hashtag2"]},{"1397065304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397065258, 1397065380, 1397065419, 1397065212, 1397065343, 1397065304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.195823431015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:01:42.498737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/56/image_31102025_12_56_06_3664.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_08_2667.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_11_2669.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_15_3602.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_17_2715.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_20_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_06_3664.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_08_2667.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_11_2669.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_15_3602.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_17_2715.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_20_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397065642","1397065558","1397065713","1397065850","1397065595","1397065781"],"photo_ids_order":["1397065558","1397065595","1397065642","1397065713","1397065781","1397065850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c71efdf41a9985c41af7fafd8510a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2257625764369902546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_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/30/d32f1356893d5c414e026b90671578bc.jpg","text":"TemporaryFile(/tmp/multipartBody7032665563974704735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_06_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/30/446b782debe0c0be51967c6aa3b3219d.jpg","text":"TemporaryFile(/tmp/multipartBody6646562367890986125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_15_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d484522b971391d923aac04a12de5ddd.jpg","text":"TemporaryFile(/tmp/multipartBody283854472087459471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_20_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/30/131a290165f4bba4de34a64c966488ae.jpg","text":"TemporaryFile(/tmp/multipartBody2514355467485758136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_08_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9db38385c03947dc9b3023df8acab64.jpg","text":"TemporaryFile(/tmp/multipartBody778204493056538249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511363458,"filename":"image_31102025_12_56_17_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397065642","file1":"1397065595","file0":"1397065558","file4":"1397065781","file5":"1397065850","file3":"1397065713"},"map_files_photo_id_array":[{"photo_id":"1397065850","filename":"file5"},{"photo_id":"1397065642","filename":"file2"},{"photo_id":"1397065781","filename":"file4"},{"photo_id":"1397065595","filename":"file1"},{"photo_id":"1397065558","filename":"file0"},{"photo_id":"1397065713","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397065642":["hashtag1","hashtag2"]},{"1397065558":["hashtag1","hashtag2"]},{"1397065713":["hashtag1","hashtag2"]},{"1397065850":["hashtag1","hashtag2"]},{"1397065595":["hashtag1","hashtag2"]},{"1397065781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397065642, 1397065558, 1397065713, 1397065850, 1397065595, 1397065781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.357486963272095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:02:22.744054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_35_10069.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_54_9737.jpg', '/home/pi/Desktop/images/30112025/12/43/image_30112025_12_44_04_9776.jpg', '/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_24_9823.jpg', '/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_34_9592.jpg', '/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_44_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_35_10069.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_43_54_9737.jpg
/home/pi/Desktop/images/30112025/12/43/image_30112025_12_44_04_9776.jpg
/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_24_9823.jpg
/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_34_9592.jpg
/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_44_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066134","1397066085","1397066202","1397066354","1397066243","1397066315"],"photo_ids_order":["1397066085","1397066134","1397066202","1397066243","1397066315","1397066354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a563096f84a6d78e61cbd5dc284f2b64.jpg","text":"TemporaryFile(/tmp/multipartBody2097232356303548146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_43_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6d6619b9bb728b518dfce41ae09e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3994645768450779191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_43_35_10069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/320462fd7649166b86c8fdeb417b4bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8643354619886135058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_44_04_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/458b30c05ac9e583d3de269c3661ca7e.jpg","text":"TemporaryFile(/tmp/multipartBody4184892446767322172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_44_44_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/514d580d65abd188d570006fbf6619c8.jpg","text":"TemporaryFile(/tmp/multipartBody2291974262588798840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_44_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc3e7aae2914d0b4d0372bb8a5e431d3.jpg","text":"TemporaryFile(/tmp/multipartBody8849937836168339602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511403544,"filename":"image_30112025_12_44_34_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066202","file1":"1397066134","file0":"1397066085","file4":"1397066315","file5":"1397066354","file3":"1397066243"},"map_files_photo_id_array":[{"photo_id":"1397066354","filename":"file5"},{"photo_id":"1397066202","filename":"file2"},{"photo_id":"1397066315","filename":"file4"},{"photo_id":"1397066134","filename":"file1"},{"photo_id":"1397066085","filename":"file0"},{"photo_id":"1397066243","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066134":["hashtag1","hashtag2"]},{"1397066085":["hashtag1","hashtag2"]},{"1397066202":["hashtag1","hashtag2"]},{"1397066354":["hashtag1","hashtag2"]},{"1397066243":["hashtag1","hashtag2"]},{"1397066315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066134, 1397066085, 1397066202, 1397066354, 1397066243, 1397066315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20952343940735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:03:03.410113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_55_10768.jpg', '/home/pi/Desktop/images/30112025/12/44/image_30112025_12_45_04_9723.jpg', '/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_14_9662.jpg', '/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_44_9754.jpg', '/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_54_9848.jpg', '/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_15_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/44/image_30112025_12_44_55_10768.jpg
/home/pi/Desktop/images/30112025/12/44/image_30112025_12_45_04_9723.jpg
/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_14_9662.jpg
/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_44_9754.jpg
/home/pi/Desktop/images/30112025/12/45/image_30112025_12_45_54_9848.jpg
/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_15_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066422","1397066416","1397066425","1397066419","1397066418","1397066417"],"photo_ids_order":["1397066416","1397066417","1397066418","1397066419","1397066422","1397066425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/535e9b179705fa35339e05b08e1e3df1.jpg","text":"TemporaryFile(/tmp/multipartBody6084373259916816024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_45_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16306f5bcf3eab7db8eb8bc47e610056.jpg","text":"TemporaryFile(/tmp/multipartBody370099681880484114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_44_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e040daee3f6bd70fa7333ecdba3683cb.jpg","text":"TemporaryFile(/tmp/multipartBody3013456255095927288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_46_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ed6e999ff9101aa1ff762414340162f.jpg","text":"TemporaryFile(/tmp/multipartBody1905704129020237060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_45_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80d0c5383032b2efe363b14dcdce0d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4625367431224121769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_45_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e303985477f8f36507747ec448ad7db2.jpg","text":"TemporaryFile(/tmp/multipartBody5205115339132286958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511444365,"filename":"image_30112025_12_45_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066418","file1":"1397066417","file0":"1397066416","file4":"1397066422","file5":"1397066425","file3":"1397066419"},"map_files_photo_id_array":[{"photo_id":"1397066425","filename":"file5"},{"photo_id":"1397066418","filename":"file2"},{"photo_id":"1397066422","filename":"file4"},{"photo_id":"1397066417","filename":"file1"},{"photo_id":"1397066416","filename":"file0"},{"photo_id":"1397066419","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066422":["hashtag1","hashtag2"]},{"1397066416":["hashtag1","hashtag2"]},{"1397066425":["hashtag1","hashtag2"]},{"1397066419":["hashtag1","hashtag2"]},{"1397066418":["hashtag1","hashtag2"]},{"1397066417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066422, 1397066416, 1397066425, 1397066419, 1397066418, 1397066417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07356309890747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:03:42.866274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/56/image_31102025_12_56_23_3576.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_33_3744.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_35_2694.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_38_2834.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_41_2708.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_45_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_23_3576.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_33_3744.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_35_2694.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_38_2834.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_41_2708.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_45_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066598","1397066574","1397066597","1397066534","1397066621","1397066632"],"photo_ids_order":["1397066534","1397066574","1397066597","1397066598","1397066621","1397066632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11bb672c891648a2c069dc6292ef824e.jpg","text":"TemporaryFile(/tmp/multipartBody2793483147383711555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_38_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/30/9aa74e4e0686b5b2be5682d7a1656243.jpg","text":"TemporaryFile(/tmp/multipartBody2486406251600147780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_33_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/30/755be1ed9c1177eef489f1a41a72b91e.jpg","text":"TemporaryFile(/tmp/multipartBody3235812478435283645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_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/30/e9c1951e7d513ea5152dd3981b33f9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1557015847812686506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_23_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/30/9de3f0e17df28c68a2116fb9350a1a77.jpg","text":"TemporaryFile(/tmp/multipartBody3585237183825351332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_41_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ce250dd10010b1ecfd1650e21b4af82.jpg","text":"TemporaryFile(/tmp/multipartBody2547977385365438855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511483786,"filename":"image_31102025_12_56_45_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066597","file1":"1397066574","file0":"1397066534","file4":"1397066621","file5":"1397066632","file3":"1397066598"},"map_files_photo_id_array":[{"photo_id":"1397066632","filename":"file5"},{"photo_id":"1397066597","filename":"file2"},{"photo_id":"1397066621","filename":"file4"},{"photo_id":"1397066574","filename":"file1"},{"photo_id":"1397066534","filename":"file0"},{"photo_id":"1397066598","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397066598":["hashtag1","hashtag2"]},{"1397066574":["hashtag1","hashtag2"]},{"1397066597":["hashtag1","hashtag2"]},{"1397066534":["hashtag1","hashtag2"]},{"1397066621":["hashtag1","hashtag2"]},{"1397066632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397066598, 1397066574, 1397066597, 1397066534, 1397066621, 1397066632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90307259559631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:04:22.030120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_24_9740.jpg', '/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_34_9626.jpg', '/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_44_9941.jpg', '/home/pi/Desktop/images/30112025/12/46/image_30112025_12_47_04_9753.jpg', '/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_14_9721.jpg', '/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_25_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_24_9740.jpg
/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_34_9626.jpg
/home/pi/Desktop/images/30112025/12/46/image_30112025_12_46_44_9941.jpg
/home/pi/Desktop/images/30112025/12/46/image_30112025_12_47_04_9753.jpg
/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_14_9721.jpg
/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_25_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066679","1397066681","1397066678","1397066669","1397066674","1397066671"],"photo_ids_order":["1397066669","1397066671","1397066674","1397066678","1397066679","1397066681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/567cf65998545a78996545f273829295.jpg","text":"TemporaryFile(/tmp/multipartBody1828522271945880670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_47_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c1c296959c5003299f9d7edcbe58e82.jpg","text":"TemporaryFile(/tmp/multipartBody485449269966292215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_47_25_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a3c43f0194d5fe432b212ad24710726.jpg","text":"TemporaryFile(/tmp/multipartBody2503411626830806422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_47_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4208b26a67da88f04ba147fa820a049f.jpg","text":"TemporaryFile(/tmp/multipartBody7752564513462672225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_46_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9111056b6c1aed58e9182ba24141f95d.jpg","text":"TemporaryFile(/tmp/multipartBody1585987581088730387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_46_44_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8b34a6e10cef47cdb185bbc28d25d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5127156455735451075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511522888,"filename":"image_30112025_12_46_34_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066674","file1":"1397066671","file0":"1397066669","file4":"1397066679","file5":"1397066681","file3":"1397066678"},"map_files_photo_id_array":[{"photo_id":"1397066681","filename":"file5"},{"photo_id":"1397066674","filename":"file2"},{"photo_id":"1397066679","filename":"file4"},{"photo_id":"1397066671","filename":"file1"},{"photo_id":"1397066669","filename":"file0"},{"photo_id":"1397066678","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066679":["hashtag1","hashtag2"]},{"1397066681":["hashtag1","hashtag2"]},{"1397066678":["hashtag1","hashtag2"]},{"1397066669":["hashtag1","hashtag2"]},{"1397066674":["hashtag1","hashtag2"]},{"1397066671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066679, 1397066681, 1397066678, 1397066669, 1397066674, 1397066671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09116554260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:05:02.892154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_44_9938.jpg', '/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_54_9735.jpg', '/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_15_10847.jpg', '/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_25_9849.jpg', '/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_34_9798.jpg', '/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_44_9938.jpg
/home/pi/Desktop/images/30112025/12/47/image_30112025_12_47_54_9735.jpg
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_15_10847.jpg
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_25_9849.jpg
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_34_9798.jpg
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_44_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066685","1397066682","1397066684","1397066692","1397066689","1397066683"],"photo_ids_order":["1397066682","1397066683","1397066684","1397066685","1397066689","1397066692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f50a4974d7731a884fa14fce597413af.jpg","text":"TemporaryFile(/tmp/multipartBody4340136419205973624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_48_25_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f040404a7c6b24ce3139c1a716af92d.jpg","text":"TemporaryFile(/tmp/multipartBody1710039139606360847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_47_44_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/000031cc1a3bd7d2de5db5154c4122e9.jpg","text":"TemporaryFile(/tmp/multipartBody4437966437955528278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_48_15_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15046c4038d35731b9dfca1c09effae2.jpg","text":"TemporaryFile(/tmp/multipartBody5539521439512376162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_48_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/233664a8de75693242459d8e9131610b.jpg","text":"TemporaryFile(/tmp/multipartBody668092052864864474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_48_34_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cde3f14d34ba2dc31e489e8b95b9a94a.jpg","text":"TemporaryFile(/tmp/multipartBody9010631003388890327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511563784,"filename":"image_30112025_12_47_54_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066684","file1":"1397066683","file0":"1397066682","file4":"1397066689","file5":"1397066692","file3":"1397066685"},"map_files_photo_id_array":[{"photo_id":"1397066692","filename":"file5"},{"photo_id":"1397066684","filename":"file2"},{"photo_id":"1397066689","filename":"file4"},{"photo_id":"1397066683","filename":"file1"},{"photo_id":"1397066682","filename":"file0"},{"photo_id":"1397066685","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066685":["hashtag1","hashtag2"]},{"1397066682":["hashtag1","hashtag2"]},{"1397066684":["hashtag1","hashtag2"]},{"1397066692":["hashtag1","hashtag2"]},{"1397066689":["hashtag1","hashtag2"]},{"1397066683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066685, 1397066682, 1397066684, 1397066692, 1397066689, 1397066683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.790929079055786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:05:42.232681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/56/image_31102025_12_56_47_2700.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_50_2557.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_54_3761.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_56_2724.jpg', '/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_59_2818.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_08_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_47_2700.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_50_2557.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_54_3761.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_56_2724.jpg
/home/pi/Desktop/images/31102025/12/56/image_31102025_12_56_59_2818.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_08_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":["1397066707","1397066704","1397066703","1397066700","1397066702","1397066705"],"photo_ids_order":["1397066700","1397066702","1397066703","1397066704","1397066705","1397066707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fb61ac945a01857f11608bda046497b.jpg","text":"TemporaryFile(/tmp/multipartBody1963020135334966317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_57_08_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/30/025984f20fd35f87e56773abf22749cb.jpg","text":"TemporaryFile(/tmp/multipartBody5073134455457088176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_56_56_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/30/5a3851599517942dff517b43da38ba00.jpg","text":"TemporaryFile(/tmp/multipartBody2445843602176953938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_56_54_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/30/4c63d2c7b492df9a0d8c612febab6276.jpg","text":"TemporaryFile(/tmp/multipartBody5018551823059619721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_56_47_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f802f0b3afd943bb9128734d89c4a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7117189111999236329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_56_50_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/30/7de8ce1ceb1f50ee0deab1c37c0b7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5166386709989318550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511603166,"filename":"image_31102025_12_56_59_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066703","file1":"1397066702","file0":"1397066700","file4":"1397066705","file5":"1397066707","file3":"1397066704"},"map_files_photo_id_array":[{"photo_id":"1397066707","filename":"file5"},{"photo_id":"1397066703","filename":"file2"},{"photo_id":"1397066705","filename":"file4"},{"photo_id":"1397066702","filename":"file1"},{"photo_id":"1397066700","filename":"file0"},{"photo_id":"1397066704","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397066707":["hashtag1","hashtag2"]},{"1397066704":["hashtag1","hashtag2"]},{"1397066703":["hashtag1","hashtag2"]},{"1397066700":["hashtag1","hashtag2"]},{"1397066702":["hashtag1","hashtag2"]},{"1397066705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397066707, 1397066704, 1397066703, 1397066700, 1397066702, 1397066705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77741765975952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:06:22.358696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_55_10744.jpg', '/home/pi/Desktop/images/30112025/12/48/image_30112025_12_49_05_9807.jpg', '/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_14_9645.jpg', '/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_35_10736.jpg', '/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_45_9788.jpg', '/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_48_55_10744.jpg
/home/pi/Desktop/images/30112025/12/48/image_30112025_12_49_05_9807.jpg
/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_14_9645.jpg
/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_35_10736.jpg
/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_45_9788.jpg
/home/pi/Desktop/images/30112025/12/49/image_30112025_12_49_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066722","1397066716","1397066726","1397066714","1397066719","1397066710"],"photo_ids_order":["1397066710","1397066714","1397066716","1397066719","1397066722","1397066726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/003e17fd531e40a1c43bc3c9f7161aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4328012146215481556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_49_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69c44357295680ba086ad00628e45262.jpg","text":"TemporaryFile(/tmp/multipartBody3759714304378677839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_49_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d00c22023f71234228e4eab24e086eab.jpg","text":"TemporaryFile(/tmp/multipartBody8600717875280695822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_49_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6749e3768c0a0c9fd0a0f937c3b61f95.jpg","text":"TemporaryFile(/tmp/multipartBody9222570205069227601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_49_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce539f2d3eb5daf478cc6302a1950df6.jpg","text":"TemporaryFile(/tmp/multipartBody321872808815467286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_49_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d05c700dde1b221c0402343ce3920d07.jpg","text":"TemporaryFile(/tmp/multipartBody2236596170286191047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511643167,"filename":"image_30112025_12_48_55_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066716","file1":"1397066714","file0":"1397066710","file4":"1397066722","file5":"1397066726","file3":"1397066719"},"map_files_photo_id_array":[{"photo_id":"1397066726","filename":"file5"},{"photo_id":"1397066716","filename":"file2"},{"photo_id":"1397066722","filename":"file4"},{"photo_id":"1397066714","filename":"file1"},{"photo_id":"1397066710","filename":"file0"},{"photo_id":"1397066719","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066722":["hashtag1","hashtag2"]},{"1397066716":["hashtag1","hashtag2"]},{"1397066726":["hashtag1","hashtag2"]},{"1397066714":["hashtag1","hashtag2"]},{"1397066719":["hashtag1","hashtag2"]},{"1397066710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066722, 1397066716, 1397066726, 1397066714, 1397066719, 1397066710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72050881385803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:07:02.990846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/49/image_30112025_12_50_04_9643.jpg', '/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_14_10016.jpg', '/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_25_10720.jpg', '/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_34_9816.jpg', '/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_44_9770.jpg', '/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/49/image_30112025_12_50_04_9643.jpg
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_14_10016.jpg
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_25_10720.jpg
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_34_9816.jpg
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_44_9770.jpg
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_50_54_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066728","1397066730","1397066727","1397066732","1397066735","1397066729"],"photo_ids_order":["1397066727","1397066728","1397066729","1397066730","1397066732","1397066735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa78a7d56ca0f1b64f73060341b5c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5596325819393298607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_14_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0062664eba482af67667034fa6925a3.jpg","text":"TemporaryFile(/tmp/multipartBody7205122076789778903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b92bdb483636b591a2a2c58b9657d96.jpg","text":"TemporaryFile(/tmp/multipartBody5433083915034090108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cb57179f5ba7c615da90cbfe9c6f7c7.jpg","text":"TemporaryFile(/tmp/multipartBody2606500776108213450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b93a582b5549be1c46dcf71573298665.jpg","text":"TemporaryFile(/tmp/multipartBody7943418087188520202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62f2b2496b547479ef7a897c7793fba2.jpg","text":"TemporaryFile(/tmp/multipartBody3061611707058777030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511683920,"filename":"image_30112025_12_50_25_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066729","file1":"1397066728","file0":"1397066727","file4":"1397066732","file5":"1397066735","file3":"1397066730"},"map_files_photo_id_array":[{"photo_id":"1397066735","filename":"file5"},{"photo_id":"1397066729","filename":"file2"},{"photo_id":"1397066732","filename":"file4"},{"photo_id":"1397066728","filename":"file1"},{"photo_id":"1397066727","filename":"file0"},{"photo_id":"1397066730","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066728":["hashtag1","hashtag2"]},{"1397066730":["hashtag1","hashtag2"]},{"1397066727":["hashtag1","hashtag2"]},{"1397066732":["hashtag1","hashtag2"]},{"1397066735":["hashtag1","hashtag2"]},{"1397066729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066728, 1397066730, 1397066727, 1397066732, 1397066735, 1397066729)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.28053903579712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:08:06.932466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/50/image_30112025_12_51_05_10717.jpg', '/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_14_9723.jpg', '/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_24_9759.jpg', '/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_45_9839.jpg', '/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_54_9848.jpg', '/home/pi/Desktop/images/30112025/12/51/image_30112025_12_52_04_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/50/image_30112025_12_51_05_10717.jpg
/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_14_9723.jpg
/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_24_9759.jpg
/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_45_9839.jpg
/home/pi/Desktop/images/30112025/12/51/image_30112025_12_51_54_9848.jpg
/home/pi/Desktop/images/30112025/12/51/image_30112025_12_52_04_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066751","1397066754","1397066748","1397066745","1397066744","1397066746"],"photo_ids_order":["1397066744","1397066745","1397066746","1397066748","1397066751","1397066754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c3b161bcb05ef4bde9489ecf7df46f3.jpg","text":"TemporaryFile(/tmp/multipartBody5045872067657884036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_51_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19ad9b8ce3a5c40fc837d302d8d5a17f.jpg","text":"TemporaryFile(/tmp/multipartBody8918045579451450891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_52_04_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d432a663f580d511693c804966e03180.jpg","text":"TemporaryFile(/tmp/multipartBody3092902698325548827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_51_45_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be524be1689b99c701c4ff496fe109eb.jpg","text":"TemporaryFile(/tmp/multipartBody3207052699281691409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_51_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3f90bb5fc0b92245ff96e5e6ea1c283.jpg","text":"TemporaryFile(/tmp/multipartBody5917218704352482734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_51_05_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edb79ee72b416b266490842185d6535c.jpg","text":"TemporaryFile(/tmp/multipartBody2470974994195451272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511747763,"filename":"image_30112025_12_51_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066746","file1":"1397066745","file0":"1397066744","file4":"1397066751","file5":"1397066754","file3":"1397066748"},"map_files_photo_id_array":[{"photo_id":"1397066754","filename":"file5"},{"photo_id":"1397066746","filename":"file2"},{"photo_id":"1397066751","filename":"file4"},{"photo_id":"1397066745","filename":"file1"},{"photo_id":"1397066744","filename":"file0"},{"photo_id":"1397066748","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066751":["hashtag1","hashtag2"]},{"1397066754":["hashtag1","hashtag2"]},{"1397066748":["hashtag1","hashtag2"]},{"1397066745":["hashtag1","hashtag2"]},{"1397066744":["hashtag1","hashtag2"]},{"1397066746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066751, 1397066754, 1397066748, 1397066745, 1397066744, 1397066746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02755093574524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:09:03.392992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_14_9752.jpg', '/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_24_9696.jpg', '/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_35_10700.jpg', '/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_44_9714.jpg', '/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_54_9654.jpg', '/home/pi/Desktop/images/30112025/12/52/image_30112025_12_53_05_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_14_9752.jpg
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_24_9696.jpg
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_35_10700.jpg
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_44_9714.jpg
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_52_54_9654.jpg
/home/pi/Desktop/images/30112025/12/52/image_30112025_12_53_05_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066760","1397066757","1397066762","1397066765","1397066759","1397066768"],"photo_ids_order":["1397066757","1397066759","1397066760","1397066762","1397066765","1397066768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfcfbe7de7286e5debdef2be41d06224.jpg","text":"TemporaryFile(/tmp/multipartBody7957347051923294420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_52_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2dc5dcd3d3d690146be46b981ed8b15.jpg","text":"TemporaryFile(/tmp/multipartBody1034947197018131477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_52_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51217db02b1482f7356a13f82c9a2830.jpg","text":"TemporaryFile(/tmp/multipartBody4192930327082741963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_52_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20cbdd11dca45a1ecbd217e0005c74ba.jpg","text":"TemporaryFile(/tmp/multipartBody4098340399243592790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_52_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb174b857b0dfca47baa1bc05b665466.jpg","text":"TemporaryFile(/tmp/multipartBody3098130378996780037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_52_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00116b7b77fa5b0951421b68f783d943.jpg","text":"TemporaryFile(/tmp/multipartBody7495622785672984799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511804421,"filename":"image_30112025_12_53_05_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066760","file1":"1397066759","file0":"1397066757","file4":"1397066765","file5":"1397066768","file3":"1397066762"},"map_files_photo_id_array":[{"photo_id":"1397066768","filename":"file5"},{"photo_id":"1397066760","filename":"file2"},{"photo_id":"1397066765","filename":"file4"},{"photo_id":"1397066759","filename":"file1"},{"photo_id":"1397066757","filename":"file0"},{"photo_id":"1397066762","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066760":["hashtag1","hashtag2"]},{"1397066757":["hashtag1","hashtag2"]},{"1397066762":["hashtag1","hashtag2"]},{"1397066765":["hashtag1","hashtag2"]},{"1397066759":["hashtag1","hashtag2"]},{"1397066768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066760, 1397066757, 1397066762, 1397066765, 1397066759, 1397066768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.318750858306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:10:04.755739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_24_9731.jpg', '/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_34_9964.jpg', '/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_44_9711.jpg', '/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_55_10662.jpg', '/home/pi/Desktop/images/30112025/12/53/image_30112025_12_54_04_9722.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_14_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_24_9731.jpg
/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_34_9964.jpg
/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_44_9711.jpg
/home/pi/Desktop/images/30112025/12/53/image_30112025_12_53_55_10662.jpg
/home/pi/Desktop/images/30112025/12/53/image_30112025_12_54_04_9722.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_14_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066778","1397066780","1397066783","1397066777","1397066786","1397066776"],"photo_ids_order":["1397066776","1397066777","1397066778","1397066780","1397066783","1397066786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2998aa48f0bdcb9ffe41eea38c5d6f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4018736369310924222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_53_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/078a78d03b3473580d8cdd14197efcd1.jpg","text":"TemporaryFile(/tmp/multipartBody2678794062852866542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_53_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3887e7a768c6afda9279ec58b5e36d3c.jpg","text":"TemporaryFile(/tmp/multipartBody33228140535432168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_54_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d7d6e0412e08101a8d8ef95510912ca.jpg","text":"TemporaryFile(/tmp/multipartBody6056341693746220463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_53_34_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02a51272aa7a4f9b546bb3e6fbbf8585.jpg","text":"TemporaryFile(/tmp/multipartBody3623443186997049560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_54_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e677f10a9565c60147d1a4d6f1a43d06.jpg","text":"TemporaryFile(/tmp/multipartBody2894065609663645489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511865545,"filename":"image_30112025_12_53_24_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066778","file1":"1397066777","file0":"1397066776","file4":"1397066783","file5":"1397066786","file3":"1397066780"},"map_files_photo_id_array":[{"photo_id":"1397066786","filename":"file5"},{"photo_id":"1397066778","filename":"file2"},{"photo_id":"1397066783","filename":"file4"},{"photo_id":"1397066777","filename":"file1"},{"photo_id":"1397066776","filename":"file0"},{"photo_id":"1397066780","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066778":["hashtag1","hashtag2"]},{"1397066780":["hashtag1","hashtag2"]},{"1397066783":["hashtag1","hashtag2"]},{"1397066777":["hashtag1","hashtag2"]},{"1397066786":["hashtag1","hashtag2"]},{"1397066776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066778, 1397066780, 1397066783, 1397066777, 1397066786, 1397066776)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.485249519348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:11:02.703102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_24_9912.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_35_10785.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_44_9656.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_54_9652.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_55_05_10715.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_24_9912.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_35_10785.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_44_9656.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_54_9652.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_55_05_10715.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_14_9727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7772214412689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:11:11.944528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_29_2636.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_32_2809.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_36_3561.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_38_2615.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_41_2876.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_44_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_29_2636.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_32_2809.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_36_3561.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_38_2615.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_41_2876.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_44_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066806","1397066809","1397066799","1397066803","1397066794","1397066797"],"photo_ids_order":["1397066794","1397066797","1397066799","1397066803","1397066806","1397066809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eea25dc9cedf28755876f671ed30bec2.jpg","text":"TemporaryFile(/tmp/multipartBody2080515778648832171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_41_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/30/e98b1457699f30d5e2504d7425e61dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6406092920012397595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_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/30/3702185b9f78069fd3bb7d9735d64f47.jpg","text":"TemporaryFile(/tmp/multipartBody1806921429109436844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_36_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/30/f9435bdf1f614e5ae967f5f54b085163.jpg","text":"TemporaryFile(/tmp/multipartBody8468608520936568929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_38_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d078d5762590d4b69beccd609a08b362.jpg","text":"TemporaryFile(/tmp/multipartBody8380695230615246483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_29_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/30/42f1e06c91bfbd16de99249052e4397f.jpg","text":"TemporaryFile(/tmp/multipartBody466827926417028629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511933786,"filename":"image_25112025_20_21_32_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066799","file1":"1397066797","file0":"1397066794","file4":"1397066806","file5":"1397066809","file3":"1397066803"},"map_files_photo_id_array":[{"photo_id":"1397066809","filename":"file5"},{"photo_id":"1397066799","filename":"file2"},{"photo_id":"1397066806","filename":"file4"},{"photo_id":"1397066797","filename":"file1"},{"photo_id":"1397066794","filename":"file0"},{"photo_id":"1397066803","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397066806":["hashtag1","hashtag2"]},{"1397066809":["hashtag1","hashtag2"]},{"1397066799":["hashtag1","hashtag2"]},{"1397066803":["hashtag1","hashtag2"]},{"1397066794":["hashtag1","hashtag2"]},{"1397066797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397066806, 1397066809, 1397066799, 1397066803, 1397066794, 1397066797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.656988859176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:12:02.596891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_24_9912.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_35_10785.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_44_9656.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_54_9652.jpg', '/home/pi/Desktop/images/30112025/12/54/image_30112025_12_55_05_10715.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_24_9912.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_35_10785.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_44_9656.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_54_54_9652.jpg
/home/pi/Desktop/images/30112025/12/54/image_30112025_12_55_05_10715.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_14_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066827","1397066829","1397066826","1397066831","1397066834","1397066828"],"photo_ids_order":["1397066826","1397066827","1397066828","1397066829","1397066831","1397066834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee682ed64e741f7577eb964b9afb2442.jpg","text":"TemporaryFile(/tmp/multipartBody3059568051888801351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_54_35_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bbcfa16e8e8d6595e5d551c0baa97a8.jpg","text":"TemporaryFile(/tmp/multipartBody3512701483953938257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_54_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/713b2c3ccaf70739586258e4d053613b.jpg","text":"TemporaryFile(/tmp/multipartBody3631025583240562749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_54_24_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3f9f788509bd688cda165415f607a49.jpg","text":"TemporaryFile(/tmp/multipartBody6219908345913682355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_55_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1afb1fca144bcce5b05027a1fab77a4.jpg","text":"TemporaryFile(/tmp/multipartBody1924553279371532170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_55_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/323f9409929d4022cc9bdc519fb67600.jpg","text":"TemporaryFile(/tmp/multipartBody7372528285528336160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764511983423,"filename":"image_30112025_12_54_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066828","file1":"1397066827","file0":"1397066826","file4":"1397066831","file5":"1397066834","file3":"1397066829"},"map_files_photo_id_array":[{"photo_id":"1397066834","filename":"file5"},{"photo_id":"1397066828","filename":"file2"},{"photo_id":"1397066831","filename":"file4"},{"photo_id":"1397066827","filename":"file1"},{"photo_id":"1397066826","filename":"file0"},{"photo_id":"1397066829","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066827":["hashtag1","hashtag2"]},{"1397066829":["hashtag1","hashtag2"]},{"1397066826":["hashtag1","hashtag2"]},{"1397066831":["hashtag1","hashtag2"]},{"1397066834":["hashtag1","hashtag2"]},{"1397066828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066827, 1397066829, 1397066826, 1397066831, 1397066834, 1397066828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066510915756226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:12:42.150593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/57/image_31102025_12_57_11_2591.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_15_3655.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_17_2702.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_20_2788.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_23_2827.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_27_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_11_2591.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_15_3655.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_17_2702.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_20_2788.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_23_2827.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_27_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066847","1397066843","1397066846","1397066849","1397066848","1397066845"],"photo_ids_order":["1397066843","1397066845","1397066846","1397066847","1397066848","1397066849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84f5db6826e90af9434e0515da9aee79.jpg","text":"TemporaryFile(/tmp/multipartBody9028248247509576579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_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/30/eb529280147518ad3bbb09bc7228521d.jpg","text":"TemporaryFile(/tmp/multipartBody3393462912588278947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_11_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/30/f56f586454ec574a9e966ac9d9ec54d4.jpg","text":"TemporaryFile(/tmp/multipartBody2614725426229173612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_17_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/30/3a83174dd9826db7347a5cd040deb3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7545021192690790462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_27_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/30/f4886b59cc357b48a80cf2af29389b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5402239335768158290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_23_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a314b1e1725d760d998fce781f754320.jpg","text":"TemporaryFile(/tmp/multipartBody1673842759315789298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512023112,"filename":"image_31102025_12_57_15_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066846","file1":"1397066845","file0":"1397066843","file4":"1397066848","file5":"1397066849","file3":"1397066847"},"map_files_photo_id_array":[{"photo_id":"1397066849","filename":"file5"},{"photo_id":"1397066846","filename":"file2"},{"photo_id":"1397066848","filename":"file4"},{"photo_id":"1397066845","filename":"file1"},{"photo_id":"1397066843","filename":"file0"},{"photo_id":"1397066847","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397066847":["hashtag1","hashtag2"]},{"1397066843":["hashtag1","hashtag2"]},{"1397066846":["hashtag1","hashtag2"]},{"1397066849":["hashtag1","hashtag2"]},{"1397066848":["hashtag1","hashtag2"]},{"1397066845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397066847, 1397066843, 1397066846, 1397066849, 1397066848, 1397066845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341609477996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:13:22.247769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_24_9664.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_34_9858.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_45_10768.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_54_9676.jpg', '/home/pi/Desktop/images/30112025/12/55/image_30112025_12_56_04_9675.jpg', '/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_34_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_24_9664.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_34_9858.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_45_10768.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_55_54_9676.jpg
/home/pi/Desktop/images/30112025/12/55/image_30112025_12_56_04_9675.jpg
/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_34_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066865","1397066868","1397066861","1397066858","1397066852","1397066855"],"photo_ids_order":["1397066852","1397066855","1397066858","1397066861","1397066865","1397066868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1eb5fb69c8524327f1db6c1b1db5ef35.jpg","text":"TemporaryFile(/tmp/multipartBody486279308173818224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_56_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ce43b1ba411bd6311dd6a9ee1fcb399.jpg","text":"TemporaryFile(/tmp/multipartBody4154076984723593165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_56_34_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7996e55b24cd161df8a20bbc4da3817f.jpg","text":"TemporaryFile(/tmp/multipartBody6776681586589055638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_55_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96633a71a37343ead4f6a88cf4b880f4.jpg","text":"TemporaryFile(/tmp/multipartBody3089342104346955560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_55_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81abd89f6db9e61625677562c654e08f.jpg","text":"TemporaryFile(/tmp/multipartBody1029024628887510633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_55_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33a07aaba60ccb033f5f995ec6df3c12.jpg","text":"TemporaryFile(/tmp/multipartBody5745721228264173709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512062995,"filename":"image_30112025_12_55_34_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066858","file1":"1397066855","file0":"1397066852","file4":"1397066865","file5":"1397066868","file3":"1397066861"},"map_files_photo_id_array":[{"photo_id":"1397066868","filename":"file5"},{"photo_id":"1397066858","filename":"file2"},{"photo_id":"1397066865","filename":"file4"},{"photo_id":"1397066855","filename":"file1"},{"photo_id":"1397066852","filename":"file0"},{"photo_id":"1397066861","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066865":["hashtag1","hashtag2"]},{"1397066868":["hashtag1","hashtag2"]},{"1397066861":["hashtag1","hashtag2"]},{"1397066858":["hashtag1","hashtag2"]},{"1397066852":["hashtag1","hashtag2"]},{"1397066855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066865, 1397066868, 1397066861, 1397066858, 1397066852, 1397066855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95483684539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:14:03.192614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_44_9955.jpg', '/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_54_9675.jpg', '/home/pi/Desktop/images/30112025/12/56/image_30112025_12_57_05_10755.jpg', '/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_14_9790.jpg', '/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_24_9659.jpg', '/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_34_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_44_9955.jpg
/home/pi/Desktop/images/30112025/12/56/image_30112025_12_56_54_9675.jpg
/home/pi/Desktop/images/30112025/12/56/image_30112025_12_57_05_10755.jpg
/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_14_9790.jpg
/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_24_9659.jpg
/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_34_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066880","1397066874","1397066876","1397066870","1397066873","1397066872"],"photo_ids_order":["1397066870","1397066872","1397066873","1397066874","1397066876","1397066880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b02b28e629b6ced522f89d20b051bc93.jpg","text":"TemporaryFile(/tmp/multipartBody6794222946511030888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_57_34_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5575bdb95e8fcf9e5af0c0de7be25062.jpg","text":"TemporaryFile(/tmp/multipartBody7639687313614745484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_57_14_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cbc818f7285acb2b6ce896816361f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7926729871026583696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_57_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b71587197f676b5358b98654bedf04ca.jpg","text":"TemporaryFile(/tmp/multipartBody4827351431250777110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_56_44_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3b93552ff4396b265ea6969cfcd6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1261087601562487693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_57_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfa27183f0a5e86acc0e63e63e65b7d8.jpg","text":"TemporaryFile(/tmp/multipartBody4228944459115000859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512104094,"filename":"image_30112025_12_56_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066873","file1":"1397066872","file0":"1397066870","file4":"1397066876","file5":"1397066880","file3":"1397066874"},"map_files_photo_id_array":[{"photo_id":"1397066880","filename":"file5"},{"photo_id":"1397066873","filename":"file2"},{"photo_id":"1397066876","filename":"file4"},{"photo_id":"1397066872","filename":"file1"},{"photo_id":"1397066870","filename":"file0"},{"photo_id":"1397066874","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066880":["hashtag1","hashtag2"]},{"1397066874":["hashtag1","hashtag2"]},{"1397066876":["hashtag1","hashtag2"]},{"1397066870":["hashtag1","hashtag2"]},{"1397066873":["hashtag1","hashtag2"]},{"1397066872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066880, 1397066874, 1397066876, 1397066870, 1397066873, 1397066872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.767494916915894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:14:42.593073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/57/image_31102025_12_57_32_2674.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_35_2806.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_39_3732.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_41_2707.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_44_2720.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_47_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_32_2674.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_35_2806.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_39_3732.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_41_2707.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_44_2720.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_47_2882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066905","1397066901","1397066904","1397066890","1397066903","1397066902"],"photo_ids_order":["1397066890","1397066901","1397066902","1397066903","1397066904","1397066905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59f3f461820f64d65c6f7651d0571254.jpg","text":"TemporaryFile(/tmp/multipartBody7328321450860573943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_47_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/30/1f06f10baeda86584d72f443d7df2cb6.jpg","text":"TemporaryFile(/tmp/multipartBody393880182615333281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_35_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/30/df72c161cbe6fc058e0888f2ac929eda.jpg","text":"TemporaryFile(/tmp/multipartBody9065881397007833474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_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/30/f55d9e1c59fa0bfe646af249f477f31a.jpg","text":"TemporaryFile(/tmp/multipartBody4658787106401278283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_32_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36700888b42de3ee7b8db55f6bfe2eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7977228458934008457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_41_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/30/9a21c6e38e2e727b76d8f959b61ffd95.jpg","text":"TemporaryFile(/tmp/multipartBody6703712585877373908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512145681,"filename":"image_31102025_12_57_39_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066902","file1":"1397066901","file0":"1397066890","file4":"1397066904","file5":"1397066905","file3":"1397066903"},"map_files_photo_id_array":[{"photo_id":"1397066905","filename":"file5"},{"photo_id":"1397066902","filename":"file2"},{"photo_id":"1397066904","filename":"file4"},{"photo_id":"1397066901","filename":"file1"},{"photo_id":"1397066890","filename":"file0"},{"photo_id":"1397066903","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397066905":["hashtag1","hashtag2"]},{"1397066901":["hashtag1","hashtag2"]},{"1397066904":["hashtag1","hashtag2"]},{"1397066890":["hashtag1","hashtag2"]},{"1397066903":["hashtag1","hashtag2"]},{"1397066902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397066905, 1397066901, 1397066904, 1397066890, 1397066903, 1397066902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30344247817993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:15:22.803819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_44_9973.jpg', '/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_54_9751.jpg', '/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_14_9870.jpg', '/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_24_9734.jpg', '/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_34_10009.jpg', '/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_55_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_44_9973.jpg
/home/pi/Desktop/images/30112025/12/57/image_30112025_12_57_54_9751.jpg
/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_14_9870.jpg
/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_24_9734.jpg
/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_34_10009.jpg
/home/pi/Desktop/images/30112025/12/58/image_30112025_12_58_55_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066922","1397066919","1397066912","1397066915","1397066909","1397066917"],"photo_ids_order":["1397066909","1397066912","1397066915","1397066917","1397066919","1397066922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70de97c51d83ea14ced596d91de0b00e.jpg","text":"TemporaryFile(/tmp/multipartBody6497771445355380107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_58_55_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfc71cd54a70c9347084ee07131b8d97.jpg","text":"TemporaryFile(/tmp/multipartBody9163780290652442621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_58_34_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20059f0231647c7993e11b795c0dd6ce.jpg","text":"TemporaryFile(/tmp/multipartBody463279139877478385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_57_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f2c77773c2c07cdd133a7d9d891a53b.jpg","text":"TemporaryFile(/tmp/multipartBody3897172291737207628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_58_14_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21cd31349a06754d583eb2120f7bc013.jpg","text":"TemporaryFile(/tmp/multipartBody3537599927684153307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_57_44_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18de3c4a00717ca1c996be9ee704a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody8050447457274926267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512183574,"filename":"image_30112025_12_58_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066915","file1":"1397066912","file0":"1397066909","file4":"1397066919","file5":"1397066922","file3":"1397066917"},"map_files_photo_id_array":[{"photo_id":"1397066922","filename":"file5"},{"photo_id":"1397066915","filename":"file2"},{"photo_id":"1397066919","filename":"file4"},{"photo_id":"1397066912","filename":"file1"},{"photo_id":"1397066909","filename":"file0"},{"photo_id":"1397066917","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066922":["hashtag1","hashtag2"]},{"1397066919":["hashtag1","hashtag2"]},{"1397066912":["hashtag1","hashtag2"]},{"1397066915":["hashtag1","hashtag2"]},{"1397066909":["hashtag1","hashtag2"]},{"1397066917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066922, 1397066919, 1397066912, 1397066915, 1397066909, 1397066917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80386304855347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:16:02.377046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/12/58/image_30112025_12_59_05_9860.jpg', '/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_14_9905.jpg', '/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_24_9689.jpg', '/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_44_9701.jpg', '/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_54_9625.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/12/58/image_30112025_12_59_05_9860.jpg
/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_14_9905.jpg
/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_24_9689.jpg
/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_44_9701.jpg
/home/pi/Desktop/images/30112025/12/59/image_30112025_12_59_54_9625.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066932","1397066926","1397066925","1397066924","1397066927","1397066929"],"photo_ids_order":["1397066924","1397066925","1397066926","1397066927","1397066929","1397066932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f331bc3dfede47841db9e1b40b90df5e.jpg","text":"TemporaryFile(/tmp/multipartBody5686926390118160080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_13_01_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4833d42a7b3c9a8a36fb17c5a43395f8.jpg","text":"TemporaryFile(/tmp/multipartBody7442520630525073616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_12_59_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc8b719387a8a59ccd88a83712aa0af9.jpg","text":"TemporaryFile(/tmp/multipartBody1787860693955919221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_12_59_14_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/384621174cfe4c1be2618607420a0b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1386466219631357744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_12_59_05_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/298402bee5464b639022bb43152c18d7.jpg","text":"TemporaryFile(/tmp/multipartBody8380863292529006139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_12_59_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24d1a63fcc37649f8853058407c9e110.jpg","text":"TemporaryFile(/tmp/multipartBody2394775152794519885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512223178,"filename":"image_30112025_12_59_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066926","file1":"1397066925","file0":"1397066924","file4":"1397066929","file5":"1397066932","file3":"1397066927"},"map_files_photo_id_array":[{"photo_id":"1397066932","filename":"file5"},{"photo_id":"1397066926","filename":"file2"},{"photo_id":"1397066929","filename":"file4"},{"photo_id":"1397066925","filename":"file1"},{"photo_id":"1397066924","filename":"file0"},{"photo_id":"1397066927","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397066932":["hashtag1","hashtag2"]},{"1397066926":["hashtag1","hashtag2"]},{"1397066925":["hashtag1","hashtag2"]},{"1397066924":["hashtag1","hashtag2"]},{"1397066927":["hashtag1","hashtag2"]},{"1397066929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397066932, 1397066926, 1397066925, 1397066924, 1397066927, 1397066929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963833808898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:16:41.943054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/57/image_31102025_12_57_51_3755.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_53_2883.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_56_2700.jpg', '/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_59_2794.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_03_3705.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_06_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_51_3755.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_53_2883.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_56_2700.jpg
/home/pi/Desktop/images/31102025/12/57/image_31102025_12_57_59_2794.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_03_3705.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_06_2859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066949","1397066942","1397066945","1397066948","1397066947","1397066950"],"photo_ids_order":["1397066942","1397066945","1397066947","1397066948","1397066949","1397066950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e058e369bda637f03cfbda94f1b46616.jpg","text":"TemporaryFile(/tmp/multipartBody4826937849997615432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_58_03_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/30/cbe9b2d8b32ac72abd81a0b2bf4ceec8.jpg","text":"TemporaryFile(/tmp/multipartBody4716511071696387537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_57_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/30/6e6d0fb9686e96388adfc2f66bc0e617.jpg","text":"TemporaryFile(/tmp/multipartBody1645624231069382333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_57_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/30/bf5b0966298bc84b6df82864fa747bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6396028187445437034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_57_59_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/30/a1627eef5f3b30a5b46def6b58a36ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5640644907291149408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_57_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d84af7548ce4306c2b6c5a4586bc2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3331926194896743205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512262838,"filename":"image_31102025_12_58_06_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066947","file1":"1397066945","file0":"1397066942","file4":"1397066949","file5":"1397066950","file3":"1397066948"},"map_files_photo_id_array":[{"photo_id":"1397066950","filename":"file5"},{"photo_id":"1397066947","filename":"file2"},{"photo_id":"1397066949","filename":"file4"},{"photo_id":"1397066945","filename":"file1"},{"photo_id":"1397066942","filename":"file0"},{"photo_id":"1397066948","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397066949":["hashtag1","hashtag2"]},{"1397066942":["hashtag1","hashtag2"]},{"1397066945":["hashtag1","hashtag2"]},{"1397066948":["hashtag1","hashtag2"]},{"1397066947":["hashtag1","hashtag2"]},{"1397066950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397066949, 1397066942, 1397066945, 1397066948, 1397066947, 1397066950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0130455493927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:17:22.124994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_24_10756.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_34_9633.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_45_11076.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_54_8732.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_15_10723.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_34_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_24_10756.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_34_9633.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_45_11076.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_54_8732.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_15_10723.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_34_9841.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.741070032119751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:17:33.284002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_48_3601.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_50_2651.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_53_2627.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_57_3593.jpg', '/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_59_2820.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_02_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_48_3601.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_50_2651.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_53_2627.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_57_3593.jpg
/home/pi/Desktop/images/25112025/20/21/image_25112025_20_21_59_2820.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_02_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":["1397066961","1397066969","1397066984","1397066972","1397066983","1397066965"],"photo_ids_order":["1397066961","1397066965","1397066969","1397066972","1397066983","1397066984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac9afbe8d2250318b91e6780198e8b62.jpg","text":"TemporaryFile(/tmp/multipartBody1070434574833822674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_21_48_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dd902d5464113e0c4afbaecd21e4e45.jpg","text":"TemporaryFile(/tmp/multipartBody8518430825200132292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_21_53_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/30/76f3588939554bb028ca3803fe59851f.jpg","text":"TemporaryFile(/tmp/multipartBody3852238959746675257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_22_02_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/30/09a9b0fc6fa37c2908f505bf100901c2.jpg","text":"TemporaryFile(/tmp/multipartBody1476493944685433157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_21_57_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/30/9b7672aadeed4bb04aeaf4a066cf80f3.jpg","text":"TemporaryFile(/tmp/multipartBody8265443637122046309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_21_59_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/30/42fba296929f5d79c52d7dfdabdd3bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8808638696534545258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512315218,"filename":"image_25112025_20_21_50_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066969","file1":"1397066965","file0":"1397066961","file4":"1397066983","file5":"1397066984","file3":"1397066972"},"map_files_photo_id_array":[{"photo_id":"1397066984","filename":"file5"},{"photo_id":"1397066969","filename":"file2"},{"photo_id":"1397066983","filename":"file4"},{"photo_id":"1397066965","filename":"file1"},{"photo_id":"1397066961","filename":"file0"},{"photo_id":"1397066972","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397066961":["hashtag1","hashtag2"]},{"1397066969":["hashtag1","hashtag2"]},{"1397066984":["hashtag1","hashtag2"]},{"1397066972":["hashtag1","hashtag2"]},{"1397066983":["hashtag1","hashtag2"]},{"1397066965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397066961, 1397066969, 1397066984, 1397066972, 1397066983, 1397066965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.158616065979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:18:12.279031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_08_2646.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_11_2553.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_15_3804.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_17_2598.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_20_2622.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_23_3492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_08_2646.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_11_2553.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_15_3804.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_17_2598.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_20_2622.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_23_3492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397066988","1397066999","1397066993","1397066996","1397066990","1397066986"],"photo_ids_order":["1397066986","1397066988","1397066990","1397066993","1397066996","1397066999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b97c0cf22495560017bf2883d6437d3.jpg","text":"TemporaryFile(/tmp/multipartBody3103274246561498863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_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/30/8c579caf475b905275b07b297baea1b0.jpg","text":"TemporaryFile(/tmp/multipartBody9011662035010510260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_23_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd71a58342263a5057f15a7f906f1a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3628916707105398508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_17_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/caea106478dce88c8498afde875b6bff.jpg","text":"TemporaryFile(/tmp/multipartBody3907686091853220690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_20_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/30/d8824dbd6677cb954d6c1ce73f9c7f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8310722627659190982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_15_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/30/28d3f33a21a27340cf48374be5897b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5094295925168066594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512354071,"filename":"image_25112025_20_22_08_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397066990","file1":"1397066988","file0":"1397066986","file4":"1397066996","file5":"1397066999","file3":"1397066993"},"map_files_photo_id_array":[{"photo_id":"1397066999","filename":"file5"},{"photo_id":"1397066990","filename":"file2"},{"photo_id":"1397066996","filename":"file4"},{"photo_id":"1397066988","filename":"file1"},{"photo_id":"1397066986","filename":"file0"},{"photo_id":"1397066993","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397066988":["hashtag1","hashtag2"]},{"1397066999":["hashtag1","hashtag2"]},{"1397066993":["hashtag1","hashtag2"]},{"1397066996":["hashtag1","hashtag2"]},{"1397066990":["hashtag1","hashtag2"]},{"1397066986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397066988, 1397066999, 1397066993, 1397066996, 1397066990, 1397066986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.424938678741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:19:02.927360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_24_10756.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_34_9633.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_45_11076.jpg', '/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_54_8732.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_15_10723.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_34_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_24_10756.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_34_9633.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_45_11076.jpg
/home/pi/Desktop/images/30112025/13/01/image_30112025_13_01_54_8732.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_15_10723.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_34_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067009","1397067006","1397067005","1397067004","1397067013","1397067007"],"photo_ids_order":["1397067004","1397067005","1397067006","1397067007","1397067009","1397067013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34b1b9c66e8b6b5c6ccb3b4682111760.jpg","text":"TemporaryFile(/tmp/multipartBody5940153369405098100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_02_15_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/124eb04476fbb4886741f066b478368d.jpg","text":"TemporaryFile(/tmp/multipartBody7678769947265370672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_01_45_11076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a33c9011acbee2159e224feefc5920c.jpg","text":"TemporaryFile(/tmp/multipartBody7603815139141610578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_01_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b86f59014514d29a4fd57184e2b11fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2189094780183120506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_01_24_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ba2ea7a6d1d951e80599e4eaf7bdefd.jpg","text":"TemporaryFile(/tmp/multipartBody7050323119867958872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_02_34_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3164fdf25f00bd3819e5168b97aaf8f6.jpg","text":"TemporaryFile(/tmp/multipartBody3780880292229597042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512403922,"filename":"image_30112025_13_01_54_8732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067006","file1":"1397067005","file0":"1397067004","file4":"1397067009","file5":"1397067013","file3":"1397067007"},"map_files_photo_id_array":[{"photo_id":"1397067013","filename":"file5"},{"photo_id":"1397067006","filename":"file2"},{"photo_id":"1397067009","filename":"file4"},{"photo_id":"1397067005","filename":"file1"},{"photo_id":"1397067004","filename":"file0"},{"photo_id":"1397067007","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067009":["hashtag1","hashtag2"]},{"1397067006":["hashtag1","hashtag2"]},{"1397067005":["hashtag1","hashtag2"]},{"1397067004":["hashtag1","hashtag2"]},{"1397067013":["hashtag1","hashtag2"]},{"1397067007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067009, 1397067006, 1397067005, 1397067004, 1397067013, 1397067007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.837374448776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:19:42.001609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/58/image_31102025_12_58_08_2565.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_11_2884.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_15_3670.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_17_2855.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_20_2680.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_23_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_08_2565.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_11_2884.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_15_3670.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_17_2855.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_20_2680.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_23_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067027","1397067021","1397067024","1397067023","1397067026","1397067025"],"photo_ids_order":["1397067021","1397067023","1397067024","1397067025","1397067026","1397067027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b158c181c06c03f439abe99c5521c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7205622730767013769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_23_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5500a4eb948014a2d221aeacc4124d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6580492516601633143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_08_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/30/4d0f1c07553c50cd9bdee23300cce95c.jpg","text":"TemporaryFile(/tmp/multipartBody9013209457601908120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_15_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8895930ccde28960bad8acf80204febd.jpg","text":"TemporaryFile(/tmp/multipartBody6047904544720052332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_11_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/30/5e526e642824142e51b8a122dc923669.jpg","text":"TemporaryFile(/tmp/multipartBody733422009945058869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_20_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b99b9791869bbb24cce15fc01d0c39e9.jpg","text":"TemporaryFile(/tmp/multipartBody3493777087464289253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512442900,"filename":"image_31102025_12_58_17_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067024","file1":"1397067023","file0":"1397067021","file4":"1397067026","file5":"1397067027","file3":"1397067025"},"map_files_photo_id_array":[{"photo_id":"1397067027","filename":"file5"},{"photo_id":"1397067024","filename":"file2"},{"photo_id":"1397067026","filename":"file4"},{"photo_id":"1397067023","filename":"file1"},{"photo_id":"1397067021","filename":"file0"},{"photo_id":"1397067025","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067027":["hashtag1","hashtag2"]},{"1397067021":["hashtag1","hashtag2"]},{"1397067024":["hashtag1","hashtag2"]},{"1397067023":["hashtag1","hashtag2"]},{"1397067026":["hashtag1","hashtag2"]},{"1397067025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067027, 1397067021, 1397067024, 1397067023, 1397067026, 1397067025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17747211456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:20:22.187421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_44_9714.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_55_10671.jpg', '/home/pi/Desktop/images/30112025/13/02/image_30112025_13_03_04_9691.jpg', '/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_14_9593.jpg', '/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_34_10619.jpg', '/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_44_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_44_9714.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_02_55_10671.jpg
/home/pi/Desktop/images/30112025/13/02/image_30112025_13_03_04_9691.jpg
/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_14_9593.jpg
/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_34_10619.jpg
/home/pi/Desktop/images/30112025/13/03/image_30112025_13_03_44_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067039","1397067030","1397067033","1397067042","1397067036","1397067044"],"photo_ids_order":["1397067030","1397067033","1397067036","1397067039","1397067042","1397067044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d49a55efd0ba5958cac112c8f310b5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5530266973040892585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_03_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2e599b86408f3adabd1f1ee40a43992.jpg","text":"TemporaryFile(/tmp/multipartBody6488735577776007469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_02_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de1c2770107e5c0be77cf2520c6632e8.jpg","text":"TemporaryFile(/tmp/multipartBody9113781585211996012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_02_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e2b583ba0ae9fc9ba64eb58f0a7f316.jpg","text":"TemporaryFile(/tmp/multipartBody5337496565778552488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_03_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c96820cffda021d079e3e5e0df357ad.jpg","text":"TemporaryFile(/tmp/multipartBody6842187181896404978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_03_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54cc1fcb2c10a06ca2b76f308df01efc.jpg","text":"TemporaryFile(/tmp/multipartBody2369977348809348156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512482957,"filename":"image_30112025_13_03_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067036","file1":"1397067033","file0":"1397067030","file4":"1397067042","file5":"1397067044","file3":"1397067039"},"map_files_photo_id_array":[{"photo_id":"1397067044","filename":"file5"},{"photo_id":"1397067036","filename":"file2"},{"photo_id":"1397067042","filename":"file4"},{"photo_id":"1397067033","filename":"file1"},{"photo_id":"1397067030","filename":"file0"},{"photo_id":"1397067039","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067039":["hashtag1","hashtag2"]},{"1397067030":["hashtag1","hashtag2"]},{"1397067033":["hashtag1","hashtag2"]},{"1397067042":["hashtag1","hashtag2"]},{"1397067036":["hashtag1","hashtag2"]},{"1397067044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067039, 1397067030, 1397067033, 1397067042, 1397067036, 1397067044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28722548484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:21:02.939946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_14_9627.jpg', '/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_34_9657.jpg', '/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_44_9746.jpg', '/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_55_10830.jpg', '/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_14_9931.jpg', '/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_24_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_14_9627.jpg
/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_34_9657.jpg
/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_44_9746.jpg
/home/pi/Desktop/images/30112025/13/04/image_30112025_13_04_55_10830.jpg
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_14_9931.jpg
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_24_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067051","1397067059","1397067050","1397067053","1397067055","1397067049"],"photo_ids_order":["1397067049","1397067050","1397067051","1397067053","1397067055","1397067059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab528e752092fa530b51ea2a38af7e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2603906931251322251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_04_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f52c7cc5b42d7f40147a36be5cf3b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4946774485272644130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_05_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f65b5ccf2737d1295f822e6449ce79ed.jpg","text":"TemporaryFile(/tmp/multipartBody6226424434539550245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_04_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3eed878ef69218bd5bbac1bd3543e44b.jpg","text":"TemporaryFile(/tmp/multipartBody1754041841423567624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_04_55_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5620d3768f2fbb610997acb26dbf43cb.jpg","text":"TemporaryFile(/tmp/multipartBody4046683476614604641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_05_14_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3d3964eac1d403a80bddb181b6369b6.jpg","text":"TemporaryFile(/tmp/multipartBody461626722674734675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512525210,"filename":"image_30112025_13_04_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067051","file1":"1397067050","file0":"1397067049","file4":"1397067055","file5":"1397067059","file3":"1397067053"},"map_files_photo_id_array":[{"photo_id":"1397067059","filename":"file5"},{"photo_id":"1397067051","filename":"file2"},{"photo_id":"1397067055","filename":"file4"},{"photo_id":"1397067050","filename":"file1"},{"photo_id":"1397067049","filename":"file0"},{"photo_id":"1397067053","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067051":["hashtag1","hashtag2"]},{"1397067059":["hashtag1","hashtag2"]},{"1397067050":["hashtag1","hashtag2"]},{"1397067053":["hashtag1","hashtag2"]},{"1397067055":["hashtag1","hashtag2"]},{"1397067049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067051, 1397067059, 1397067050, 1397067053, 1397067055, 1397067049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60166382789612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:22:02.468025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:22:12.077945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_26_2479.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_30_3843.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_33_2747.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_35_2718.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_38_2649.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_42_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_26_2479.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_30_3843.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_33_2747.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_35_2718.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_38_2649.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_42_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067078","1397067072","1397067069","1397067082","1397067067","1397067075"],"photo_ids_order":["1397067067","1397067069","1397067072","1397067075","1397067078","1397067082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13c622bd98ac44d04ef31fde404b2a98.jpg","text":"TemporaryFile(/tmp/multipartBody3387380226489760956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_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/30/fcfe5dd28c35ce6827ab4b077eee351f.jpg","text":"TemporaryFile(/tmp/multipartBody5072200453349052930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_33_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/378fa6ce810dacd1dc17c7a01e9500b2.jpg","text":"TemporaryFile(/tmp/multipartBody5481294021898724827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_30_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d99d6d305b3e16ba658448e47c87dd37.jpg","text":"TemporaryFile(/tmp/multipartBody517594235614667351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_42_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/30/7ab6e50116caeb8ddd78452220365214.jpg","text":"TemporaryFile(/tmp/multipartBody3266797099345490430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_26_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bed682ef6c6818ea9b0c398ee50dc60.jpg","text":"TemporaryFile(/tmp/multipartBody6872146163182044842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512596858,"filename":"image_25112025_20_22_35_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067072","file1":"1397067069","file0":"1397067067","file4":"1397067078","file5":"1397067082","file3":"1397067075"},"map_files_photo_id_array":[{"photo_id":"1397067082","filename":"file5"},{"photo_id":"1397067072","filename":"file2"},{"photo_id":"1397067078","filename":"file4"},{"photo_id":"1397067069","filename":"file1"},{"photo_id":"1397067067","filename":"file0"},{"photo_id":"1397067075","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067078":["hashtag1","hashtag2"]},{"1397067072":["hashtag1","hashtag2"]},{"1397067069":["hashtag1","hashtag2"]},{"1397067082":["hashtag1","hashtag2"]},{"1397067067":["hashtag1","hashtag2"]},{"1397067075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067078, 1397067072, 1397067069, 1397067082, 1397067067, 1397067075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06129574775696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:23:03.510701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_34_10635.jpg', '/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_44_9712.jpg', '/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_54_9647.jpg', '/home/pi/Desktop/images/30112025/13/05/image_30112025_13_06_04_10607.jpg', '/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_15_10183.jpg', '/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_24_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_34_10635.jpg
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_44_9712.jpg
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_05_54_9647.jpg
/home/pi/Desktop/images/30112025/13/05/image_30112025_13_06_04_10607.jpg
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_15_10183.jpg
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_24_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067087","1397067092","1397067086","1397067089","1397067085","1397067096"],"photo_ids_order":["1397067085","1397067086","1397067087","1397067089","1397067092","1397067096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05e414eb6981edfe647e39beaf000609.jpg","text":"TemporaryFile(/tmp/multipartBody2401046558662822818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_05_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78867254d7908eac4febfead2ce16493.jpg","text":"TemporaryFile(/tmp/multipartBody8610755586408713252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_06_15_10183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e3a462d5179d494158e5a69c0ca86ef.jpg","text":"TemporaryFile(/tmp/multipartBody2478683078533721543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_05_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04209da341344d3ef45d1e38ac3d7bdd.jpg","text":"TemporaryFile(/tmp/multipartBody987630789830388439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_06_04_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8ec3aaf30b364ebf0ce7e94ca7cfb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6066365769809099379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_05_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4d25f50d7e4ad21c13a63d1c9c06123.jpg","text":"TemporaryFile(/tmp/multipartBody1332041920357528579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512646952,"filename":"image_30112025_13_06_24_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067087","file1":"1397067086","file0":"1397067085","file4":"1397067092","file5":"1397067096","file3":"1397067089"},"map_files_photo_id_array":[{"photo_id":"1397067096","filename":"file5"},{"photo_id":"1397067087","filename":"file2"},{"photo_id":"1397067092","filename":"file4"},{"photo_id":"1397067086","filename":"file1"},{"photo_id":"1397067085","filename":"file0"},{"photo_id":"1397067089","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067087":["hashtag1","hashtag2"]},{"1397067092":["hashtag1","hashtag2"]},{"1397067086":["hashtag1","hashtag2"]},{"1397067089":["hashtag1","hashtag2"]},{"1397067085":["hashtag1","hashtag2"]},{"1397067096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067087, 1397067092, 1397067086, 1397067089, 1397067085, 1397067096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99855947494507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:24:02.666901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:24:12.055615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_44_2685.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_47_2607.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_50_3618.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_53_2574.jpg', '/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_57_3642.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_01_4647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_44_2685.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_47_2607.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_50_3618.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_53_2574.jpg
/home/pi/Desktop/images/25112025/20/22/image_25112025_20_22_57_3642.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_01_4647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067111","1397067114","1397067108","1397067105","1397067104","1397067118"],"photo_ids_order":["1397067104","1397067105","1397067108","1397067111","1397067114","1397067118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b83c0c7e55df7d9afd5cacf2ea7bac6.jpg","text":"TemporaryFile(/tmp/multipartBody8207818622549794355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_22_53_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/30/fb6eb3312ba251ef0e3c4a7a64c5ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody5489048638178990899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_22_57_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/30/221da4da1f0b711d505e6eb80291010c.jpg","text":"TemporaryFile(/tmp/multipartBody9182299100233406181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_22_50_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/30/b0af29c9d4c4553a4d47db0e0b9a6f66.jpg","text":"TemporaryFile(/tmp/multipartBody1514056819079752426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_22_47_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/30/908e1378ffa23fbb58b62512b6378a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8489650983213207019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_22_44_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55ad31a4e66caf1a395d231d2f045ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8268172971361164951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512713867,"filename":"image_25112025_20_23_01_4647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067108","file1":"1397067105","file0":"1397067104","file4":"1397067114","file5":"1397067118","file3":"1397067111"},"map_files_photo_id_array":[{"photo_id":"1397067118","filename":"file5"},{"photo_id":"1397067108","filename":"file2"},{"photo_id":"1397067114","filename":"file4"},{"photo_id":"1397067105","filename":"file1"},{"photo_id":"1397067104","filename":"file0"},{"photo_id":"1397067111","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067111":["hashtag1","hashtag2"]},{"1397067114":["hashtag1","hashtag2"]},{"1397067108":["hashtag1","hashtag2"]},{"1397067105":["hashtag1","hashtag2"]},{"1397067104":["hashtag1","hashtag2"]},{"1397067118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067111, 1397067114, 1397067108, 1397067105, 1397067104, 1397067118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48109149932861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:25:05.205938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_34_9744.jpg', '/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_44_9900.jpg', '/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_54_9710.jpg', '/home/pi/Desktop/images/30112025/13/06/image_30112025_13_07_05_10800.jpg', '/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_14_9680.jpg', '/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_34_9744.jpg
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_44_9900.jpg
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_06_54_9710.jpg
/home/pi/Desktop/images/30112025/13/06/image_30112025_13_07_05_10800.jpg
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_14_9680.jpg
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067123","1397067134","1397067125","1397067127","1397067130","1397067124"],"photo_ids_order":["1397067123","1397067124","1397067125","1397067127","1397067130","1397067134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6223f6afdbefaf5707f4d3016002589.jpg","text":"TemporaryFile(/tmp/multipartBody574918683877516874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_06_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76ae11fa7042cfd913f4da26e5ba0c99.jpg","text":"TemporaryFile(/tmp/multipartBody3648657423034458949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_07_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92444bcd7f6f290e73af679e496490c7.jpg","text":"TemporaryFile(/tmp/multipartBody1753857514571781376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_06_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ff13bd8b9229cd63813d30e06416422.jpg","text":"TemporaryFile(/tmp/multipartBody4951299130962153015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_07_05_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f97c1d0a94e84ff9e5f8d625f01d760.jpg","text":"TemporaryFile(/tmp/multipartBody3510835420845930536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_07_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/359a449d7d6b4a91d38e6919f6e31095.jpg","text":"TemporaryFile(/tmp/multipartBody2401493750146955345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512768701,"filename":"image_30112025_13_06_44_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067125","file1":"1397067124","file0":"1397067123","file4":"1397067130","file5":"1397067134","file3":"1397067127"},"map_files_photo_id_array":[{"photo_id":"1397067134","filename":"file5"},{"photo_id":"1397067125","filename":"file2"},{"photo_id":"1397067130","filename":"file4"},{"photo_id":"1397067124","filename":"file1"},{"photo_id":"1397067123","filename":"file0"},{"photo_id":"1397067127","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067123":["hashtag1","hashtag2"]},{"1397067134":["hashtag1","hashtag2"]},{"1397067125":["hashtag1","hashtag2"]},{"1397067127":["hashtag1","hashtag2"]},{"1397067130":["hashtag1","hashtag2"]},{"1397067124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067123, 1397067134, 1397067125, 1397067127, 1397067130, 1397067124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03541541099548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:26:03.182639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_34_9754.jpg', '/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_44_10741.jpg', '/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_54_9688.jpg', '/home/pi/Desktop/images/30112025/13/07/image_30112025_13_08_04_9708.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_15_10730.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_24_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_34_9754.jpg
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_44_10741.jpg
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_07_54_9688.jpg
/home/pi/Desktop/images/30112025/13/07/image_30112025_13_08_04_9708.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_15_10730.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_24_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067144","1397067147","1397067149","1397067143","1397067145","1397067142"],"photo_ids_order":["1397067142","1397067143","1397067144","1397067145","1397067147","1397067149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0e6d8628ef45e0cb1d55320f8cf41a2.jpg","text":"TemporaryFile(/tmp/multipartBody407800729816145942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_07_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd858cbfc1ebf77e1c8ba21c381809b6.jpg","text":"TemporaryFile(/tmp/multipartBody1075975488433498971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_08_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90f4528a71512fa51c3674e809815837.jpg","text":"TemporaryFile(/tmp/multipartBody148654755162844647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_08_24_9367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb661b87bc2f1efc8d071dee3253d93d.jpg","text":"TemporaryFile(/tmp/multipartBody2688784612164346769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_07_44_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c58a0913d791df0157bb14a7c822c980.jpg","text":"TemporaryFile(/tmp/multipartBody5604410047157395203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_08_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8831118c2695846b80c38b1211a58526.jpg","text":"TemporaryFile(/tmp/multipartBody6535778553551341904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512824052,"filename":"image_30112025_13_07_34_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067144","file1":"1397067143","file0":"1397067142","file4":"1397067147","file5":"1397067149","file3":"1397067145"},"map_files_photo_id_array":[{"photo_id":"1397067149","filename":"file5"},{"photo_id":"1397067144","filename":"file2"},{"photo_id":"1397067147","filename":"file4"},{"photo_id":"1397067143","filename":"file1"},{"photo_id":"1397067142","filename":"file0"},{"photo_id":"1397067145","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067144":["hashtag1","hashtag2"]},{"1397067147":["hashtag1","hashtag2"]},{"1397067149":["hashtag1","hashtag2"]},{"1397067143":["hashtag1","hashtag2"]},{"1397067145":["hashtag1","hashtag2"]},{"1397067142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067144, 1397067147, 1397067149, 1397067143, 1397067145, 1397067142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.250043869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:26:42.740016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/58/image_31102025_12_58_29_2635.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_32_2714.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_41_2634.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_48_3618.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_50_2799.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_53_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/12/58/image_31102025_12_58_29_2635.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_32_2714.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_41_2634.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_48_3618.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_50_2799.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_53_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067171","1397067165","1397067167","1397067163","1397067169","1397067160"],"photo_ids_order":["1397067160","1397067163","1397067165","1397067167","1397067169","1397067171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37994d135d9badc1d5c6d9a97737c29c.jpg","text":"TemporaryFile(/tmp/multipartBody5353743958509283403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_53_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/30/66c0d4e2d2d18df1d9a29763a3cddb63.jpg","text":"TemporaryFile(/tmp/multipartBody3563750724304218030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_41_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/30/4dbf995e7cb78abd775ffb9c76008ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2837996180631676762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_48_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f4a1e201c96596ed3e3d3678e01b39b.jpg","text":"TemporaryFile(/tmp/multipartBody9015484883354066114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_32_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/30/da2ec3bf6f4dd16fc46e49ccfeec1515.jpg","text":"TemporaryFile(/tmp/multipartBody6652105799787198515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_50_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6753a8194fc7e6d2a97d34c6845edcb0.jpg","text":"TemporaryFile(/tmp/multipartBody4040467368197851021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512863602,"filename":"image_31102025_12_58_29_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067165","file1":"1397067163","file0":"1397067160","file4":"1397067169","file5":"1397067171","file3":"1397067167"},"map_files_photo_id_array":[{"photo_id":"1397067171","filename":"file5"},{"photo_id":"1397067165","filename":"file2"},{"photo_id":"1397067169","filename":"file4"},{"photo_id":"1397067163","filename":"file1"},{"photo_id":"1397067160","filename":"file0"},{"photo_id":"1397067167","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067171":["hashtag1","hashtag2"]},{"1397067165":["hashtag1","hashtag2"]},{"1397067167":["hashtag1","hashtag2"]},{"1397067163":["hashtag1","hashtag2"]},{"1397067169":["hashtag1","hashtag2"]},{"1397067160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067171, 1397067165, 1397067167, 1397067163, 1397067169, 1397067160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37349033355713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:27:22.019522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_35_10600.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_44_9356.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_54_10638.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_09_04_9824.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_14_9883.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_24_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_35_10600.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_44_9356.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_54_10638.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_09_04_9824.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_14_9883.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_24_9853.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 8.82976746559143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:27:32.011738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_03_1977.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_05_1545.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_08_3554.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_11_2554.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_14_3572.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_17_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_03_1977.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_05_1545.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_08_3554.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_11_2554.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_14_3572.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_17_2807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067194","1397067190","1397067184","1397067193","1397067187","1397067180"],"photo_ids_order":["1397067180","1397067184","1397067187","1397067190","1397067193","1397067194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb44eb91a0cf3bf8d4533efcb07bae9b.jpg","text":"TemporaryFile(/tmp/multipartBody6802538463347097124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_17_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f8377c5edd1650d8bed4f8a82d6060a.jpg","text":"TemporaryFile(/tmp/multipartBody472229196849012900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_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/30/a50f2ebe61301fe83949381b2db14a89.jpg","text":"TemporaryFile(/tmp/multipartBody2398064340571234905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_05_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/30/e1bc1738f0b004b3251ba130c0a7994c.jpg","text":"TemporaryFile(/tmp/multipartBody2679958303148275298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_14_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/30/db29792efbc878c30bdddeb8df10a825.jpg","text":"TemporaryFile(/tmp/multipartBody569818156883477428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_08_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81ffb01f27466b5f056f82f92079ff11.jpg","text":"TemporaryFile(/tmp/multipartBody3402022712868347826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512913826,"filename":"image_25112025_20_23_03_1977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067187","file1":"1397067184","file0":"1397067180","file4":"1397067193","file5":"1397067194","file3":"1397067190"},"map_files_photo_id_array":[{"photo_id":"1397067194","filename":"file5"},{"photo_id":"1397067187","filename":"file2"},{"photo_id":"1397067193","filename":"file4"},{"photo_id":"1397067184","filename":"file1"},{"photo_id":"1397067180","filename":"file0"},{"photo_id":"1397067190","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067194":["hashtag1","hashtag2"]},{"1397067190":["hashtag1","hashtag2"]},{"1397067184":["hashtag1","hashtag2"]},{"1397067193":["hashtag1","hashtag2"]},{"1397067187":["hashtag1","hashtag2"]},{"1397067180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067194, 1397067190, 1397067184, 1397067193, 1397067187, 1397067180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53994393348694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:28:12.490183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_20_2707.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_24_3692.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_26_2553.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_35_8993.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_38_3095.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_40_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_20_2707.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_24_3692.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_26_2553.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_35_8993.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_38_3095.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_40_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067197","1397067203","1397067206","1397067209","1397067200","1397067195"],"photo_ids_order":["1397067195","1397067197","1397067200","1397067203","1397067206","1397067209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae1b32d2a3aee50020f20eaa4ad512d0.jpg","text":"TemporaryFile(/tmp/multipartBody9144643094030761946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_24_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/30/c24437ad970754c7436110ec1e92e46d.jpg","text":"TemporaryFile(/tmp/multipartBody1236863368537688365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_35_8993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59faaf180b3d3224f464682976243bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3066522323366823891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_38_3095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30ff7d430016f356548c75937ecc61af.jpg","text":"TemporaryFile(/tmp/multipartBody5976336101720950456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_40_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/30/646833645126971d3898a72846f0d154.jpg","text":"TemporaryFile(/tmp/multipartBody1841469947670429544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_26_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/30/3a2e1a85c0dc086b407829d3718a85a0.jpg","text":"TemporaryFile(/tmp/multipartBody3689561477130918761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764512954312,"filename":"image_25112025_20_23_20_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067200","file1":"1397067197","file0":"1397067195","file4":"1397067206","file5":"1397067209","file3":"1397067203"},"map_files_photo_id_array":[{"photo_id":"1397067209","filename":"file5"},{"photo_id":"1397067200","filename":"file2"},{"photo_id":"1397067206","filename":"file4"},{"photo_id":"1397067197","filename":"file1"},{"photo_id":"1397067195","filename":"file0"},{"photo_id":"1397067203","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067197":["hashtag1","hashtag2"]},{"1397067203":["hashtag1","hashtag2"]},{"1397067206":["hashtag1","hashtag2"]},{"1397067209":["hashtag1","hashtag2"]},{"1397067200":["hashtag1","hashtag2"]},{"1397067195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067197, 1397067203, 1397067206, 1397067209, 1397067200, 1397067195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.283636808395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:29:03.789218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_35_10600.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_44_9356.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_54_10638.jpg', '/home/pi/Desktop/images/30112025/13/08/image_30112025_13_09_04_9824.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_14_9883.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_24_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_35_10600.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_44_9356.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_08_54_10638.jpg
/home/pi/Desktop/images/30112025/13/08/image_30112025_13_09_04_9824.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_14_9883.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_24_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067225","1397067213","1397067216","1397067221","1397067218","1397067214"],"photo_ids_order":["1397067213","1397067214","1397067216","1397067218","1397067221","1397067225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cc71aa64aa9b3a13dd8d07e41c0e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody6768929791110995985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_09_24_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28b9c13b18caa505852cb397a1a228b1.jpg","text":"TemporaryFile(/tmp/multipartBody1091743515496473540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_08_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f24f525da0144b1c9da4553c80a0f88.jpg","text":"TemporaryFile(/tmp/multipartBody5145426787123399943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_08_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e069d0ae0132d8012b894c54bf87178.jpg","text":"TemporaryFile(/tmp/multipartBody2646340867844693424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_09_14_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6557af2fb6de7b8c401af606c826dfe.jpg","text":"TemporaryFile(/tmp/multipartBody8465782278599643653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_09_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e178910a76dd3e6a98cd2f8ba003cc50.jpg","text":"TemporaryFile(/tmp/multipartBody4566641640816587557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513004685,"filename":"image_30112025_13_08_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067216","file1":"1397067214","file0":"1397067213","file4":"1397067221","file5":"1397067225","file3":"1397067218"},"map_files_photo_id_array":[{"photo_id":"1397067225","filename":"file5"},{"photo_id":"1397067216","filename":"file2"},{"photo_id":"1397067221","filename":"file4"},{"photo_id":"1397067214","filename":"file1"},{"photo_id":"1397067213","filename":"file0"},{"photo_id":"1397067218","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067225":["hashtag1","hashtag2"]},{"1397067213":["hashtag1","hashtag2"]},{"1397067216":["hashtag1","hashtag2"]},{"1397067221":["hashtag1","hashtag2"]},{"1397067218":["hashtag1","hashtag2"]},{"1397067214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067225, 1397067213, 1397067216, 1397067221, 1397067218, 1397067214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53169083595276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:29:42.634617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/58/image_31102025_12_58_56_2713.jpg', '/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_59_3670.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_02_2805.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_05_2719.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_08_2821.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_11_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_56_2713.jpg
/home/pi/Desktop/images/31102025/12/58/image_31102025_12_58_59_3670.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_02_2805.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_05_2719.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_08_2821.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_11_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067237","1397067234","1397067236","1397067239","1397067235","1397067238"],"photo_ids_order":["1397067234","1397067235","1397067236","1397067237","1397067238","1397067239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e0e62c42da658f9787b2f26a5d53691.jpg","text":"TemporaryFile(/tmp/multipartBody583266783613353327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_59_05_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/30/d158919874c6d372f30777211517bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody8291382932947231673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_58_56_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/30/38b31e72fb354523da9a3a9fa9896e3c.jpg","text":"TemporaryFile(/tmp/multipartBody483773270301183026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_59_02_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/30/18b02fbeaeccce8cd8547de57a4e68bc.jpg","text":"TemporaryFile(/tmp/multipartBody7347817535127766141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_59_11_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/30/a63ae0594b8324470289967b2ac26500.jpg","text":"TemporaryFile(/tmp/multipartBody230318673792029603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_58_59_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/30/5b0ff4180537d19b6b7192e0366d886e.jpg","text":"TemporaryFile(/tmp/multipartBody5761026734216150307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513043555,"filename":"image_31102025_12_59_08_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067236","file1":"1397067235","file0":"1397067234","file4":"1397067238","file5":"1397067239","file3":"1397067237"},"map_files_photo_id_array":[{"photo_id":"1397067239","filename":"file5"},{"photo_id":"1397067236","filename":"file2"},{"photo_id":"1397067238","filename":"file4"},{"photo_id":"1397067235","filename":"file1"},{"photo_id":"1397067234","filename":"file0"},{"photo_id":"1397067237","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067237":["hashtag1","hashtag2"]},{"1397067234":["hashtag1","hashtag2"]},{"1397067236":["hashtag1","hashtag2"]},{"1397067239":["hashtag1","hashtag2"]},{"1397067235":["hashtag1","hashtag2"]},{"1397067238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067237, 1397067234, 1397067236, 1397067239, 1397067235, 1397067238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.922587156295776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:30:22.821895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_34_9834.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_44_10587.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_54_9785.jpg', '/home/pi/Desktop/images/30112025/13/09/image_30112025_13_10_04_9913.jpg', '/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_14_9733.jpg', '/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_34_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_34_9834.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_44_10587.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_09_54_9785.jpg
/home/pi/Desktop/images/30112025/13/09/image_30112025_13_10_04_9913.jpg
/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_14_9733.jpg
/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_34_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067255","1397067249","1397067243","1397067252","1397067246","1397067256"],"photo_ids_order":["1397067243","1397067246","1397067249","1397067252","1397067255","1397067256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4780648e00a2b4a85e3a90b1dd7e9317.jpg","text":"TemporaryFile(/tmp/multipartBody6067704548906526370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_10_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1860234c887e6998a67c24ed107979a.jpg","text":"TemporaryFile(/tmp/multipartBody1478919973424186084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_09_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55b8e0792d1061878e477a2e6bd2da62.jpg","text":"TemporaryFile(/tmp/multipartBody4624495694846746820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_09_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ff3eada15e6a5d3d78cefb9dc8f4ec7.jpg","text":"TemporaryFile(/tmp/multipartBody9175038788479305234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_10_04_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b5dd1377f05db1a5df721c9a04e5978.jpg","text":"TemporaryFile(/tmp/multipartBody2736003162891128504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_09_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69ec8316331d917271ac5e6ba0127378.jpg","text":"TemporaryFile(/tmp/multipartBody3182077002876078334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513083538,"filename":"image_30112025_13_10_34_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067249","file1":"1397067246","file0":"1397067243","file4":"1397067255","file5":"1397067256","file3":"1397067252"},"map_files_photo_id_array":[{"photo_id":"1397067256","filename":"file5"},{"photo_id":"1397067249","filename":"file2"},{"photo_id":"1397067255","filename":"file4"},{"photo_id":"1397067246","filename":"file1"},{"photo_id":"1397067243","filename":"file0"},{"photo_id":"1397067252","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067255":["hashtag1","hashtag2"]},{"1397067249":["hashtag1","hashtag2"]},{"1397067243":["hashtag1","hashtag2"]},{"1397067252":["hashtag1","hashtag2"]},{"1397067246":["hashtag1","hashtag2"]},{"1397067256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067255, 1397067249, 1397067243, 1397067252, 1397067246, 1397067256)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.402952432632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:31:11.990105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_42_1678.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_43_1653.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_45_1571.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_47_1827.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_50_3522.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_53_2492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_42_1678.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_43_1653.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_45_1571.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_47_1827.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_50_3522.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_53_2492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067264","1397067257","1397067262","1397067271","1397067259","1397067267"],"photo_ids_order":["1397067257","1397067259","1397067262","1397067264","1397067267","1397067271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d37a111f7866e97dc05535c7f2ef5412.jpg","text":"TemporaryFile(/tmp/multipartBody5063240646292346330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_47_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/30/6f0a8ffffe9bf48cca5631c1712e1aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5163832776140262877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_42_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/30/0081421848e4fe872531d5c88fd4ebb2.jpg","text":"TemporaryFile(/tmp/multipartBody9134503753093020242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_45_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/30/38709211dd6f8a453cab8c45eee1a133.jpg","text":"TemporaryFile(/tmp/multipartBody626778110083368241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_53_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f24ba8836cdf70b9e5e3326762637ed.jpg","text":"TemporaryFile(/tmp/multipartBody3321497579969073247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_43_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/30/8881e346834616d7ebb8b8e422c56321.jpg","text":"TemporaryFile(/tmp/multipartBody3918668241427615696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513134557,"filename":"image_25112025_20_23_50_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067262","file1":"1397067259","file0":"1397067257","file4":"1397067267","file5":"1397067271","file3":"1397067264"},"map_files_photo_id_array":[{"photo_id":"1397067271","filename":"file5"},{"photo_id":"1397067262","filename":"file2"},{"photo_id":"1397067267","filename":"file4"},{"photo_id":"1397067259","filename":"file1"},{"photo_id":"1397067257","filename":"file0"},{"photo_id":"1397067264","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067264":["hashtag1","hashtag2"]},{"1397067257":["hashtag1","hashtag2"]},{"1397067262":["hashtag1","hashtag2"]},{"1397067271":["hashtag1","hashtag2"]},{"1397067259":["hashtag1","hashtag2"]},{"1397067267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067264, 1397067257, 1397067262, 1397067271, 1397067259, 1397067267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.014548778533936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:32:02.714189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:32:12.474099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_56_3627.jpg', '/home/pi/Desktop/images/25112025/20/23/image_25112025_20_24_00_3127.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_02_2807.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_05_2994.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_08_2736.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_11_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_23_56_3627.jpg
/home/pi/Desktop/images/25112025/20/23/image_25112025_20_24_00_3127.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_02_2807.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_05_2994.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_08_2736.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_11_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067282","1397067276","1397067278","1397067289","1397067292","1397067285"],"photo_ids_order":["1397067276","1397067278","1397067282","1397067285","1397067289","1397067292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8994dd85de618217fb4fd28e203dc78.jpg","text":"TemporaryFile(/tmp/multipartBody6518762444432188367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_24_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/30/f6206f5aac68f2bdebf2a8f8f8ce5987.jpg","text":"TemporaryFile(/tmp/multipartBody639772086017652538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_23_56_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2949a562a46ce290e88831797a00af79.jpg","text":"TemporaryFile(/tmp/multipartBody2708090098029405564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_24_00_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/30/64c9fc56c49d34f96e22fabe9a437577.jpg","text":"TemporaryFile(/tmp/multipartBody6817932732623894955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_24_08_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07fb7f9793d74f30a642ed57d2152470.jpg","text":"TemporaryFile(/tmp/multipartBody9116196490882906479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_24_11_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86736af5bc397956c6bd4791d6937853.jpg","text":"TemporaryFile(/tmp/multipartBody2618454482456374732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513198629,"filename":"image_25112025_20_24_05_2994.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067282","file1":"1397067278","file0":"1397067276","file4":"1397067289","file5":"1397067292","file3":"1397067285"},"map_files_photo_id_array":[{"photo_id":"1397067292","filename":"file5"},{"photo_id":"1397067282","filename":"file2"},{"photo_id":"1397067289","filename":"file4"},{"photo_id":"1397067278","filename":"file1"},{"photo_id":"1397067276","filename":"file0"},{"photo_id":"1397067285","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067282":["hashtag1","hashtag2"]},{"1397067276":["hashtag1","hashtag2"]},{"1397067278":["hashtag1","hashtag2"]},{"1397067289":["hashtag1","hashtag2"]},{"1397067292":["hashtag1","hashtag2"]},{"1397067285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067282, 1397067276, 1397067278, 1397067289, 1397067292, 1397067285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26058316230774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:33:03.196397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_44_9609.jpg', '/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_54_9648.jpg', '/home/pi/Desktop/images/30112025/13/10/image_30112025_13_11_04_10691.jpg', '/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_14_9640.jpg', '/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_24_9789.jpg', '/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_34_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_44_9609.jpg
/home/pi/Desktop/images/30112025/13/10/image_30112025_13_10_54_9648.jpg
/home/pi/Desktop/images/30112025/13/10/image_30112025_13_11_04_10691.jpg
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_14_9640.jpg
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_24_9789.jpg
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_34_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067306","1397067309","1397067300","1397067299","1397067303","1397067301"],"photo_ids_order":["1397067299","1397067300","1397067301","1397067303","1397067306","1397067309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1048d2ceb23493e9f8deb77519724277.jpg","text":"TemporaryFile(/tmp/multipartBody3199942764707243074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_11_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e63153687ed96aec57575de59a3f81f.jpg","text":"TemporaryFile(/tmp/multipartBody3194464289007414424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_11_34_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6481cf388ddc1a04ba26476c7ee5186e.jpg","text":"TemporaryFile(/tmp/multipartBody5409765810247998112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_10_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5035db9d5c75b4656f86d491c0d26b50.jpg","text":"TemporaryFile(/tmp/multipartBody8354588440774833836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_10_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b13473f25b5a4a2d3ef939fb9ee65ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5185923783086948467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_11_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ae6f9ec61d4b069403c9feeda6e34c9.jpg","text":"TemporaryFile(/tmp/multipartBody5043509746248583614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513246361,"filename":"image_30112025_13_11_04_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067301","file1":"1397067300","file0":"1397067299","file4":"1397067306","file5":"1397067309","file3":"1397067303"},"map_files_photo_id_array":[{"photo_id":"1397067309","filename":"file5"},{"photo_id":"1397067301","filename":"file2"},{"photo_id":"1397067306","filename":"file4"},{"photo_id":"1397067300","filename":"file1"},{"photo_id":"1397067299","filename":"file0"},{"photo_id":"1397067303","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067306":["hashtag1","hashtag2"]},{"1397067309":["hashtag1","hashtag2"]},{"1397067300":["hashtag1","hashtag2"]},{"1397067299":["hashtag1","hashtag2"]},{"1397067303":["hashtag1","hashtag2"]},{"1397067301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067306, 1397067309, 1397067300, 1397067299, 1397067303, 1397067301)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.70157742500305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:34:03.347421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_44_10707.jpg', '/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_54_9565.jpg', '/home/pi/Desktop/images/30112025/13/11/image_30112025_13_12_04_9663.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_14_9920.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_24_10730.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_44_10707.jpg
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_11_54_9565.jpg
/home/pi/Desktop/images/30112025/13/11/image_30112025_13_12_04_9663.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_14_9920.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_24_10730.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067330","1397067324","1397067327","1397067321","1397067322","1397067319"],"photo_ids_order":["1397067319","1397067321","1397067322","1397067324","1397067327","1397067330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40d25e158d3aa8222bfdf2f3ddcd54e7.jpg","text":"TemporaryFile(/tmp/multipartBody1161084710186178945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_12_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5a4b530916978222727743c4cb2197e.jpg","text":"TemporaryFile(/tmp/multipartBody3612540451538047931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_12_14_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3196b7936b0b146674e503f3c5e33766.jpg","text":"TemporaryFile(/tmp/multipartBody2129698079144217130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_12_24_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a2c7935b48d5dad79d3885c49d2f6a9.jpg","text":"TemporaryFile(/tmp/multipartBody1486503823301178758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_11_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d636fb25f469e0691364c83ef6769fa.jpg","text":"TemporaryFile(/tmp/multipartBody2654968746801129945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_12_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4229dcd4dbc5a80e250e39ac54c5bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1969051162706724311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513306750,"filename":"image_30112025_13_11_44_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067322","file1":"1397067321","file0":"1397067319","file4":"1397067327","file5":"1397067330","file3":"1397067324"},"map_files_photo_id_array":[{"photo_id":"1397067330","filename":"file5"},{"photo_id":"1397067322","filename":"file2"},{"photo_id":"1397067327","filename":"file4"},{"photo_id":"1397067321","filename":"file1"},{"photo_id":"1397067319","filename":"file0"},{"photo_id":"1397067324","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067330":["hashtag1","hashtag2"]},{"1397067324":["hashtag1","hashtag2"]},{"1397067327":["hashtag1","hashtag2"]},{"1397067321":["hashtag1","hashtag2"]},{"1397067322":["hashtag1","hashtag2"]},{"1397067319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067330, 1397067324, 1397067327, 1397067321, 1397067322, 1397067319)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.152135372161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:35:03.215619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:35:15.062770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_15_3767.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_17_2680.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_20_2584.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_23_3661.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_26_2747.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_35_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_15_3767.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_17_2680.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_20_2584.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_23_3661.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_26_2747.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_35_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067348","1397067342","1397067351","1397067345","1397067339","1397067353"],"photo_ids_order":["1397067339","1397067342","1397067345","1397067348","1397067351","1397067353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67719154419508f48ba956a8b2d8a7a9.jpg","text":"TemporaryFile(/tmp/multipartBody4278094117861844558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_24_23_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f108828df58435cda86ea234b3f03975.jpg","text":"TemporaryFile(/tmp/multipartBody6700749455875964151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_24_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/30/5543a34cc495a99635355ca38256f872.jpg","text":"TemporaryFile(/tmp/multipartBody4724860613359338667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_24_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/30/a5110256bb0486a7166bfdf1fb643bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8984456632386611760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_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/30/0f0de97225c16b6778284376b03ab6e0.jpg","text":"TemporaryFile(/tmp/multipartBody2188202262043174815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_24_15_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/30/550650309a1b94c618e1e18096fb04a3.jpg","text":"TemporaryFile(/tmp/multipartBody5043192077734608175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513377001,"filename":"image_25112025_20_24_35_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067345","file1":"1397067342","file0":"1397067339","file4":"1397067351","file5":"1397067353","file3":"1397067348"},"map_files_photo_id_array":[{"photo_id":"1397067353","filename":"file5"},{"photo_id":"1397067345","filename":"file2"},{"photo_id":"1397067351","filename":"file4"},{"photo_id":"1397067342","filename":"file1"},{"photo_id":"1397067339","filename":"file0"},{"photo_id":"1397067348","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067348":["hashtag1","hashtag2"]},{"1397067342":["hashtag1","hashtag2"]},{"1397067351":["hashtag1","hashtag2"]},{"1397067345":["hashtag1","hashtag2"]},{"1397067339":["hashtag1","hashtag2"]},{"1397067353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067348, 1397067342, 1397067351, 1397067345, 1397067339, 1397067353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83846855163574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:36:02.759309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_44_9712.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_54_10733.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_13_04_9743.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_14_9856.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_44_9683.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_54_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_44_9712.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_54_10733.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_13_04_9743.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_14_9856.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_44_9683.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_54_9753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6943049430847168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:36:12.202626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_38_2665.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_41_2688.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_44_3607.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_51_6647.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_53_1716.jpg', '/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_54_1773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_38_2665.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_41_2688.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_44_3607.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_51_6647.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_53_1716.jpg
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_54_1773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067377","1397067371","1397067374","1397067368","1397067361","1397067364"],"photo_ids_order":["1397067361","1397067364","1397067368","1397067371","1397067374","1397067377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd1199e8eaee0c6d4e4d691f2b4e04e6.jpg","text":"TemporaryFile(/tmp/multipartBody3256492298706884509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_54_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/30/91802efae6b4c54f7405003c25e2719f.jpg","text":"TemporaryFile(/tmp/multipartBody71614969009635458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_51_6647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d867a810df590dace97554e1b31236e.jpg","text":"TemporaryFile(/tmp/multipartBody8361550542218699542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_53_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/30/6c90d04f015c8bce4224c9b0902b785a.jpg","text":"TemporaryFile(/tmp/multipartBody8791184297153657355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_44_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/075e2ac692c016e50025a3e16fd02801.jpg","text":"TemporaryFile(/tmp/multipartBody3989247438414111034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_38_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad9264bd337227d241ff3bee68e8735f.jpg","text":"TemporaryFile(/tmp/multipartBody5457742193306930223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513434154,"filename":"image_25112025_20_24_41_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067368","file1":"1397067364","file0":"1397067361","file4":"1397067374","file5":"1397067377","file3":"1397067371"},"map_files_photo_id_array":[{"photo_id":"1397067377","filename":"file5"},{"photo_id":"1397067368","filename":"file2"},{"photo_id":"1397067374","filename":"file4"},{"photo_id":"1397067364","filename":"file1"},{"photo_id":"1397067361","filename":"file0"},{"photo_id":"1397067371","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067377":["hashtag1","hashtag2"]},{"1397067371":["hashtag1","hashtag2"]},{"1397067374":["hashtag1","hashtag2"]},{"1397067368":["hashtag1","hashtag2"]},{"1397067361":["hashtag1","hashtag2"]},{"1397067364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067377, 1397067371, 1397067374, 1397067368, 1397067361, 1397067364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34475541114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:37:03.155220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_44_9712.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_54_10733.jpg', '/home/pi/Desktop/images/30112025/13/12/image_30112025_13_13_04_9743.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_14_9856.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_44_9683.jpg', '/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_54_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_44_9712.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_12_54_10733.jpg
/home/pi/Desktop/images/30112025/13/12/image_30112025_13_13_04_9743.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_14_9856.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_44_9683.jpg
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_13_54_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067381","1397067383","1397067380","1397067382","1397067385","1397067390"],"photo_ids_order":["1397067380","1397067381","1397067382","1397067383","1397067385","1397067390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d8776587be5762be0ef471e6af883b0.jpg","text":"TemporaryFile(/tmp/multipartBody5775619021402418548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_12_54_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09647d008d6a2b7920fac67435fc1cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7917526271533286261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_13_14_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b7166b3328a3766cfb920510bd84d12.jpg","text":"TemporaryFile(/tmp/multipartBody2604527696144273417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_12_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fc3353ac7a75f282bd986c5476c1976.jpg","text":"TemporaryFile(/tmp/multipartBody6697738216554125512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_13_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c2b194807ea42b285496810d7176d33.jpg","text":"TemporaryFile(/tmp/multipartBody8765264093638806481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_13_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/237965d558309c0f3d8e2ed9dc7e20f4.jpg","text":"TemporaryFile(/tmp/multipartBody8898490397474159973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513483977,"filename":"image_30112025_13_13_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067382","file1":"1397067381","file0":"1397067380","file4":"1397067385","file5":"1397067390","file3":"1397067383"},"map_files_photo_id_array":[{"photo_id":"1397067390","filename":"file5"},{"photo_id":"1397067382","filename":"file2"},{"photo_id":"1397067385","filename":"file4"},{"photo_id":"1397067381","filename":"file1"},{"photo_id":"1397067380","filename":"file0"},{"photo_id":"1397067383","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067381":["hashtag1","hashtag2"]},{"1397067383":["hashtag1","hashtag2"]},{"1397067380":["hashtag1","hashtag2"]},{"1397067382":["hashtag1","hashtag2"]},{"1397067385":["hashtag1","hashtag2"]},{"1397067390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067381, 1397067383, 1397067380, 1397067382, 1397067385, 1397067390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24687719345093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:37:42.568482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/59/image_31102025_12_59_14_2857.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_20_3624.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_23_2708.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_26_2615.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_29_3727.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_32_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_14_2857.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_20_3624.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_23_2708.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_26_2615.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_29_3727.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_32_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":["1397067402","1397067405","1397067398","1397067401","1397067404","1397067403"],"photo_ids_order":["1397067398","1397067401","1397067402","1397067403","1397067404","1397067405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8dada37cdaa86f2e027cf81b75c0e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody6569897979392641663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_23_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d257a2864a66ca883ddd93a12d5eb249.jpg","text":"TemporaryFile(/tmp/multipartBody3725224037974515785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_32_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/30/94a8de5da8fbdb4b2e1f0b6ebf164f65.jpg","text":"TemporaryFile(/tmp/multipartBody6761852583735803099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_14_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f659e211caa1c503a5cc5d2af73984c.jpg","text":"TemporaryFile(/tmp/multipartBody2145338064778185664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_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/30/a31a2f5b7df46ed653050be7e79508e2.jpg","text":"TemporaryFile(/tmp/multipartBody2400149033136309774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_29_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/30/d3d80f0e9037130cacfb0c3cfe3765e1.jpg","text":"TemporaryFile(/tmp/multipartBody419757485566384306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513523498,"filename":"image_31102025_12_59_26_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067402","file1":"1397067401","file0":"1397067398","file4":"1397067404","file5":"1397067405","file3":"1397067403"},"map_files_photo_id_array":[{"photo_id":"1397067405","filename":"file5"},{"photo_id":"1397067402","filename":"file2"},{"photo_id":"1397067404","filename":"file4"},{"photo_id":"1397067401","filename":"file1"},{"photo_id":"1397067398","filename":"file0"},{"photo_id":"1397067403","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067402":["hashtag1","hashtag2"]},{"1397067405":["hashtag1","hashtag2"]},{"1397067398":["hashtag1","hashtag2"]},{"1397067401":["hashtag1","hashtag2"]},{"1397067404":["hashtag1","hashtag2"]},{"1397067403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067402, 1397067405, 1397067398, 1397067401, 1397067404, 1397067403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27893948554993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:38:23.612228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/13/image_30112025_13_14_04_9825.jpg', '/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_34_9614.jpg', '/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_45_10678.jpg', '/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_54_9831.jpg', '/home/pi/Desktop/images/30112025/13/14/image_30112025_13_15_04_9184.jpg', '/home/pi/Desktop/images/30112025/13/15/image_30112025_13_15_44_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/13/image_30112025_13_14_04_9825.jpg
/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_34_9614.jpg
/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_45_10678.jpg
/home/pi/Desktop/images/30112025/13/14/image_30112025_13_14_54_9831.jpg
/home/pi/Desktop/images/30112025/13/14/image_30112025_13_15_04_9184.jpg
/home/pi/Desktop/images/30112025/13/15/image_30112025_13_15_44_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067424","1397067412","1397067421","1397067415","1397067409","1397067418"],"photo_ids_order":["1397067409","1397067412","1397067415","1397067418","1397067421","1397067424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e828d04fc9cbe950ffdeeb7fb56f2aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1426516716360517961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_15_44_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21988de6dc9f2115dddb3862467fc993.jpg","text":"TemporaryFile(/tmp/multipartBody1499591563397488289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_14_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6132c8b6be657dc20e2452be4cda9425.jpg","text":"TemporaryFile(/tmp/multipartBody4232331102402959090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_15_04_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/30/dad4830b0ce4db94a04cd295e682f905.jpg","text":"TemporaryFile(/tmp/multipartBody5302310026280173126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_14_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de27187aae25ec7586775cbfd272d49c.jpg","text":"TemporaryFile(/tmp/multipartBody6553687395961723708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_14_04_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29e88c1068e310050bf5def9e66f4c22.jpg","text":"TemporaryFile(/tmp/multipartBody6560476888066542311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513564354,"filename":"image_30112025_13_14_54_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067415","file1":"1397067412","file0":"1397067409","file4":"1397067421","file5":"1397067424","file3":"1397067418"},"map_files_photo_id_array":[{"photo_id":"1397067424","filename":"file5"},{"photo_id":"1397067415","filename":"file2"},{"photo_id":"1397067421","filename":"file4"},{"photo_id":"1397067412","filename":"file1"},{"photo_id":"1397067409","filename":"file0"},{"photo_id":"1397067418","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067424":["hashtag1","hashtag2"]},{"1397067412":["hashtag1","hashtag2"]},{"1397067421":["hashtag1","hashtag2"]},{"1397067415":["hashtag1","hashtag2"]},{"1397067409":["hashtag1","hashtag2"]},{"1397067418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067424, 1397067412, 1397067421, 1397067415, 1397067409, 1397067418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19582915306091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:39:03.104449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/15/image_30112025_13_15_54_9694.jpg', '/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_04_9878.jpg', '/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_14_10718.jpg', '/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_24_9742.jpg', '/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_34_9883.jpg', '/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_44_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/15/image_30112025_13_15_54_9694.jpg
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_04_9878.jpg
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_14_10718.jpg
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_24_9742.jpg
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_34_9883.jpg
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_44_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067426","1397067431","1397067434","1397067428","1397067425","1397067427"],"photo_ids_order":["1397067425","1397067426","1397067427","1397067428","1397067431","1397067434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cb4bc4a22df4692688f5e450dd4d77d.jpg","text":"TemporaryFile(/tmp/multipartBody2504351052327550335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_16_04_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf4f928af3eeb6fa0a56b5d0c0778ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6573952913376096954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_16_34_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cceb693f6591f675ea11f2bf3c457f30.jpg","text":"TemporaryFile(/tmp/multipartBody3781184484073762257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_16_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdbccaabcca538d988fb3d3d4209bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody7165697928110159176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_16_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ee1e783a0edaf1687d39352751fd404.jpg","text":"TemporaryFile(/tmp/multipartBody4963875159821978562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_15_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/729ff3d8f422f0a47e41e3dbf8a3a7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4350074532380052035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513604055,"filename":"image_30112025_13_16_14_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067427","file1":"1397067426","file0":"1397067425","file4":"1397067431","file5":"1397067434","file3":"1397067428"},"map_files_photo_id_array":[{"photo_id":"1397067434","filename":"file5"},{"photo_id":"1397067427","filename":"file2"},{"photo_id":"1397067431","filename":"file4"},{"photo_id":"1397067426","filename":"file1"},{"photo_id":"1397067425","filename":"file0"},{"photo_id":"1397067428","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067426":["hashtag1","hashtag2"]},{"1397067431":["hashtag1","hashtag2"]},{"1397067434":["hashtag1","hashtag2"]},{"1397067428":["hashtag1","hashtag2"]},{"1397067425":["hashtag1","hashtag2"]},{"1397067427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067426, 1397067431, 1397067434, 1397067428, 1397067425, 1397067427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76555323600769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:39:42.024497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/59/image_31102025_12_59_35_2778.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_38_2723.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_41_3643.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_44_2606.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_47_2827.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_50_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_35_2778.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_38_2723.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_41_3643.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_44_2606.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_47_2827.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_50_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":["1397067447","1397067450","1397067446","1397067449","1397067442","1397067448"],"photo_ids_order":["1397067442","1397067446","1397067447","1397067448","1397067449","1397067450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99cf6c0e188472f4b9f5c14822255fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6471106861726342430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_41_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/30/dbf18ee8c71cd55be7cdb14f8d95880f.jpg","text":"TemporaryFile(/tmp/multipartBody224251432254004979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_50_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/30/216814460438463f2a3f77b697a3bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody2887449174916511394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_38_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/30/b2958c2720ba2cf06abe9a21dced3a46.jpg","text":"TemporaryFile(/tmp/multipartBody6060726503135456419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_47_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7355a745c0f260bdef36f338959d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8526575172984781753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_35_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/30/c30ce0884111089afb3df919b0e0a172.jpg","text":"TemporaryFile(/tmp/multipartBody7559741188908745612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513642882,"filename":"image_31102025_12_59_44_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067447","file1":"1397067446","file0":"1397067442","file4":"1397067449","file5":"1397067450","file3":"1397067448"},"map_files_photo_id_array":[{"photo_id":"1397067450","filename":"file5"},{"photo_id":"1397067447","filename":"file2"},{"photo_id":"1397067449","filename":"file4"},{"photo_id":"1397067446","filename":"file1"},{"photo_id":"1397067442","filename":"file0"},{"photo_id":"1397067448","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067447":["hashtag1","hashtag2"]},{"1397067450":["hashtag1","hashtag2"]},{"1397067446":["hashtag1","hashtag2"]},{"1397067449":["hashtag1","hashtag2"]},{"1397067442":["hashtag1","hashtag2"]},{"1397067448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067447, 1397067450, 1397067446, 1397067449, 1397067442, 1397067448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2893328666687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:40:24.192956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_54_10671.jpg', '/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_14_9750.jpg', '/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_25_10671.jpg', '/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_34_9644.jpg', '/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_44_9697.jpg', '/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_54_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/16/image_30112025_13_16_54_10671.jpg
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_14_9750.jpg
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_25_10671.jpg
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_34_9644.jpg
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_44_9697.jpg
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_17_54_9761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067461","1397067469","1397067457","1397067454","1397067471","1397067465"],"photo_ids_order":["1397067454","1397067457","1397067461","1397067465","1397067469","1397067471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83c606c00c51968d262656c1d4def584.jpg","text":"TemporaryFile(/tmp/multipartBody8523985165242334181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_17_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffa9905e7fd64630fe6c3e4c5a8e1ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7612442972560535908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_17_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/654709e56c08b3e51e34e5bc8e709914.jpg","text":"TemporaryFile(/tmp/multipartBody3911009886445343150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_17_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0957c5c27e6dd88341a7d307ec66a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4685630709658264209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_16_54_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4f4d56964b1a1aef0c6befb085bf77c.jpg","text":"TemporaryFile(/tmp/multipartBody1626313255136308924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_17_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80acce589f116c7196ad3b70047a97e9.jpg","text":"TemporaryFile(/tmp/multipartBody4555357204628702589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513684920,"filename":"image_30112025_13_17_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067461","file1":"1397067457","file0":"1397067454","file4":"1397067469","file5":"1397067471","file3":"1397067465"},"map_files_photo_id_array":[{"photo_id":"1397067471","filename":"file5"},{"photo_id":"1397067461","filename":"file2"},{"photo_id":"1397067469","filename":"file4"},{"photo_id":"1397067457","filename":"file1"},{"photo_id":"1397067454","filename":"file0"},{"photo_id":"1397067465","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067461":["hashtag1","hashtag2"]},{"1397067469":["hashtag1","hashtag2"]},{"1397067457":["hashtag1","hashtag2"]},{"1397067454":["hashtag1","hashtag2"]},{"1397067471":["hashtag1","hashtag2"]},{"1397067465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067461, 1397067469, 1397067457, 1397067454, 1397067471, 1397067465)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.653148889541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:41:19.966187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_56_1740.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_11_11927.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_16_1676.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_17_1628.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_20_2900.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_22_1746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/24/image_25112025_20_24_56_1740.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_11_11927.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_16_1676.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_17_1628.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_20_2900.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_22_1746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067476","1397067485","1397067493","1397067487","1397067481","1397067478"],"photo_ids_order":["1397067476","1397067478","1397067481","1397067485","1397067487","1397067493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f966789e1eef78bd53cb3d990cc6f121.jpg","text":"TemporaryFile(/tmp/multipartBody4585785667515861845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_24_56_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/30/eea063ce4f1ec590a6d75a713b0fa191.jpg","text":"TemporaryFile(/tmp/multipartBody4931798419755747353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_25_17_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/30/b308a01314343cb948bd66823a9a1d85.jpg","text":"TemporaryFile(/tmp/multipartBody1735640585118024252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_25_22_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/30/8245196ebe8d2bd87baeec02b4a31e32.jpg","text":"TemporaryFile(/tmp/multipartBody2713555526206941027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_25_20_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/30/e2c262d9c6eb4ada8f223c7d288e0b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4398342584293485700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_25_16_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/30/85a672967772e5face620a762cbc9ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6494009979264002821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513741804,"filename":"image_25112025_20_25_11_11927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067481","file1":"1397067478","file0":"1397067476","file4":"1397067487","file5":"1397067493","file3":"1397067485"},"map_files_photo_id_array":[{"photo_id":"1397067493","filename":"file5"},{"photo_id":"1397067481","filename":"file2"},{"photo_id":"1397067487","filename":"file4"},{"photo_id":"1397067478","filename":"file1"},{"photo_id":"1397067476","filename":"file0"},{"photo_id":"1397067485","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067476":["hashtag1","hashtag2"]},{"1397067485":["hashtag1","hashtag2"]},{"1397067493":["hashtag1","hashtag2"]},{"1397067487":["hashtag1","hashtag2"]},{"1397067481":["hashtag1","hashtag2"]},{"1397067478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067476, 1397067485, 1397067493, 1397067487, 1397067481, 1397067478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.274410009384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:42:02.671214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/17/image_30112025_13_18_04_10718.jpg', '/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_14_9369.jpg', '/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_24_10686.jpg', '/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_34_9631.jpg', '/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_44_9732.jpg', '/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_55_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/17/image_30112025_13_18_04_10718.jpg
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_14_9369.jpg
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_24_10686.jpg
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_34_9631.jpg
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_44_9732.jpg
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_18_55_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067501","1397067504","1397067507","1397067500","1397067499","1397067502"],"photo_ids_order":["1397067499","1397067500","1397067501","1397067502","1397067504","1397067507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec65629ec580d3abc97b6dabc75f4016.jpg","text":"TemporaryFile(/tmp/multipartBody1842330947971248038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_24_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d01369b9d9c182d756e13dfd878d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8301607620346367403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a80534b034321a6490477c83fda18b6.jpg","text":"TemporaryFile(/tmp/multipartBody549995544849752790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca61991ed6849f3e03a144506ee284e3.jpg","text":"TemporaryFile(/tmp/multipartBody2851045437664924912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_14_9369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aff44c626ddc235aaafb92cf47d8a992.jpg","text":"TemporaryFile(/tmp/multipartBody6007410256325903383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f109e2b61e4f9b49b026b73e30cb088d.jpg","text":"TemporaryFile(/tmp/multipartBody4333674697128633630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513783436,"filename":"image_30112025_13_18_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067501","file1":"1397067500","file0":"1397067499","file4":"1397067504","file5":"1397067507","file3":"1397067502"},"map_files_photo_id_array":[{"photo_id":"1397067507","filename":"file5"},{"photo_id":"1397067501","filename":"file2"},{"photo_id":"1397067504","filename":"file4"},{"photo_id":"1397067500","filename":"file1"},{"photo_id":"1397067499","filename":"file0"},{"photo_id":"1397067502","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067501":["hashtag1","hashtag2"]},{"1397067504":["hashtag1","hashtag2"]},{"1397067507":["hashtag1","hashtag2"]},{"1397067500":["hashtag1","hashtag2"]},{"1397067499":["hashtag1","hashtag2"]},{"1397067502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067501, 1397067504, 1397067507, 1397067500, 1397067499, 1397067502)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.27553153038025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:43:02.437797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 15:43:11.806116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_24_1603.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_27_3194.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_28_1757.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_30_1608.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_32_1667.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_35_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_24_1603.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_27_3194.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_28_1757.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_30_1608.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_32_1667.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_35_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067531","1397067527","1397067521","1397067524","1397067518","1397067517"],"photo_ids_order":["1397067517","1397067518","1397067521","1397067524","1397067527","1397067531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68150f6358d45f9e0631552e8f2e2491.jpg","text":"TemporaryFile(/tmp/multipartBody6294874122051362604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_35_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0bcf920efbda6d525b65b08d747cd95.jpg","text":"TemporaryFile(/tmp/multipartBody7736335412912192719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_32_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/30/e8135a06f91d1c534d71da0afed4683a.jpg","text":"TemporaryFile(/tmp/multipartBody5660596727368951520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_28_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/30/e933e49bcfdaf5c112729cd314b98ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6721492821297282504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_30_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/30/32853345346a041da2651a3b71592f68.jpg","text":"TemporaryFile(/tmp/multipartBody838459562430830637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_27_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/30/e671bc302ddd2015a4727142c8069603.jpg","text":"TemporaryFile(/tmp/multipartBody112781949587307686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513853797,"filename":"image_25112025_20_25_24_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067521","file1":"1397067518","file0":"1397067517","file4":"1397067527","file5":"1397067531","file3":"1397067524"},"map_files_photo_id_array":[{"photo_id":"1397067531","filename":"file5"},{"photo_id":"1397067521","filename":"file2"},{"photo_id":"1397067527","filename":"file4"},{"photo_id":"1397067518","filename":"file1"},{"photo_id":"1397067517","filename":"file0"},{"photo_id":"1397067524","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067531":["hashtag1","hashtag2"]},{"1397067527":["hashtag1","hashtag2"]},{"1397067521":["hashtag1","hashtag2"]},{"1397067524":["hashtag1","hashtag2"]},{"1397067518":["hashtag1","hashtag2"]},{"1397067517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067531, 1397067527, 1397067521, 1397067524, 1397067518, 1397067517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.866496086120605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:44:03.553949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/18/image_30112025_13_19_04_9691.jpg', '/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_14_9766.jpg', '/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_24_9630.jpg', '/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_54_9866.jpg', '/home/pi/Desktop/images/30112025/13/19/image_30112025_13_20_04_10695.jpg', '/home/pi/Desktop/images/30112025/13/20/image_30112025_13_20_24_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/18/image_30112025_13_19_04_9691.jpg
/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_14_9766.jpg
/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_24_9630.jpg
/home/pi/Desktop/images/30112025/13/19/image_30112025_13_19_54_9866.jpg
/home/pi/Desktop/images/30112025/13/19/image_30112025_13_20_04_10695.jpg
/home/pi/Desktop/images/30112025/13/20/image_30112025_13_20_24_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067534","1397067537","1397067545","1397067539","1397067542","1397067536"],"photo_ids_order":["1397067534","1397067536","1397067537","1397067539","1397067542","1397067545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2e47fa84190d28bd6bc9e5b26c6f2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4544650900441821192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_19_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/249b0f106d3d41c533c0ca9f0c4952d7.jpg","text":"TemporaryFile(/tmp/multipartBody8472199582008795046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_19_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d6bf8521050a6418a78f570cb1ccd5b.jpg","text":"TemporaryFile(/tmp/multipartBody7778040744414936000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_20_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/399acf82ac43ecc53b61a22534fb2ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4972772772879253243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_19_54_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64410506ff59a80509f5f36cb469e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody4060328735038771184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_20_04_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d65b6f44f1fadb9d85677266213d30d.jpg","text":"TemporaryFile(/tmp/multipartBody2264502493693570322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513906641,"filename":"image_30112025_13_19_14_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067537","file1":"1397067536","file0":"1397067534","file4":"1397067542","file5":"1397067545","file3":"1397067539"},"map_files_photo_id_array":[{"photo_id":"1397067545","filename":"file5"},{"photo_id":"1397067537","filename":"file2"},{"photo_id":"1397067542","filename":"file4"},{"photo_id":"1397067536","filename":"file1"},{"photo_id":"1397067534","filename":"file0"},{"photo_id":"1397067539","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067534":["hashtag1","hashtag2"]},{"1397067537":["hashtag1","hashtag2"]},{"1397067545":["hashtag1","hashtag2"]},{"1397067539":["hashtag1","hashtag2"]},{"1397067542":["hashtag1","hashtag2"]},{"1397067536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067534, 1397067537, 1397067545, 1397067539, 1397067542, 1397067536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41638207435608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:45:03.259235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/20/image_30112025_13_20_44_10708.jpg', '/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_14_10628.jpg', '/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_24_9936.jpg', '/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_44_9680.jpg', '/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_54_9772.jpg', '/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/20/image_30112025_13_20_44_10708.jpg
/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_14_10628.jpg
/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_24_9936.jpg
/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_44_9680.jpg
/home/pi/Desktop/images/30112025/13/21/image_30112025_13_21_54_9772.jpg
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_14_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067567","1397067563","1397067571","1397067562","1397067565","1397067564"],"photo_ids_order":["1397067562","1397067563","1397067564","1397067565","1397067567","1397067571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f734dc1f4d90896c7409ed49780500f.jpg","text":"TemporaryFile(/tmp/multipartBody2728164212293995917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_21_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17349faf3e273365cffe9203f842d0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6229248869104567297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_21_14_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef50a39eb484aef3d89d79957737187d.jpg","text":"TemporaryFile(/tmp/multipartBody7234533804896404710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_22_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/760d7e7a551e50289e00638e292dc139.jpg","text":"TemporaryFile(/tmp/multipartBody2563374753608225416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_20_44_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bcc17e9eafbea7a3247e18ac0c6216f.jpg","text":"TemporaryFile(/tmp/multipartBody2719749099632277198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_21_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b81b3cef4c13ff8d3638171649c022d9.jpg","text":"TemporaryFile(/tmp/multipartBody6054269088957724896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764513964052,"filename":"image_30112025_13_21_24_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067564","file1":"1397067563","file0":"1397067562","file4":"1397067567","file5":"1397067571","file3":"1397067565"},"map_files_photo_id_array":[{"photo_id":"1397067571","filename":"file5"},{"photo_id":"1397067564","filename":"file2"},{"photo_id":"1397067567","filename":"file4"},{"photo_id":"1397067563","filename":"file1"},{"photo_id":"1397067562","filename":"file0"},{"photo_id":"1397067565","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067567":["hashtag1","hashtag2"]},{"1397067563":["hashtag1","hashtag2"]},{"1397067571":["hashtag1","hashtag2"]},{"1397067562":["hashtag1","hashtag2"]},{"1397067565":["hashtag1","hashtag2"]},{"1397067564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067567, 1397067563, 1397067571, 1397067562, 1397067565, 1397067564)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.553147315979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:46:02.938624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_24_9658.jpg', '/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_34_9981.jpg', '/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_44_9772.jpg', '/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_54_10591.jpg', '/home/pi/Desktop/images/30112025/13/22/image_30112025_13_23_04_10227.jpg', '/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_14_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_24_9658.jpg
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_34_9981.jpg
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_44_9772.jpg
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_22_54_10591.jpg
/home/pi/Desktop/images/30112025/13/22/image_30112025_13_23_04_10227.jpg
/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_14_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067581","1397067584","1397067586","1397067589","1397067583","1397067582"],"photo_ids_order":["1397067581","1397067582","1397067583","1397067584","1397067586","1397067589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1bafe638d0c39f24544c110cc13b0da.jpg","text":"TemporaryFile(/tmp/multipartBody5793893717924377342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_22_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f68d06f07249daa924dd470080f50b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2263386652655726400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_22_54_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51e86a361c8de77ae6fc149fec4f20d1.jpg","text":"TemporaryFile(/tmp/multipartBody5263204134780891674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_23_04_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ffb785f3e26d770d51e0b6b44c25004.jpg","text":"TemporaryFile(/tmp/multipartBody832931041393308196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_24_14_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4597afa9cb5cfbbbdcac62ef1b618173.jpg","text":"TemporaryFile(/tmp/multipartBody3852867419274549312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_22_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/361415c427a3e5978f2dc4986dc602c8.jpg","text":"TemporaryFile(/tmp/multipartBody4554776345582329029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514023666,"filename":"image_30112025_13_22_34_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067583","file1":"1397067582","file0":"1397067581","file4":"1397067586","file5":"1397067589","file3":"1397067584"},"map_files_photo_id_array":[{"photo_id":"1397067589","filename":"file5"},{"photo_id":"1397067583","filename":"file2"},{"photo_id":"1397067586","filename":"file4"},{"photo_id":"1397067582","filename":"file1"},{"photo_id":"1397067581","filename":"file0"},{"photo_id":"1397067584","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067581":["hashtag1","hashtag2"]},{"1397067584":["hashtag1","hashtag2"]},{"1397067586":["hashtag1","hashtag2"]},{"1397067589":["hashtag1","hashtag2"]},{"1397067583":["hashtag1","hashtag2"]},{"1397067582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067581, 1397067584, 1397067586, 1397067589, 1397067583, 1397067582)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.00925612449646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:47:03.758957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_24_9672.jpg', '/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_44_10758.jpg', '/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_54_9852.jpg', '/home/pi/Desktop/images/30112025/13/24/image_30112025_13_25_04_9872.jpg', '/home/pi/Desktop/images/30112025/13/25/image_30112025_13_26_04_10775.jpg', '/home/pi/Desktop/images/30112025/13/26/image_30112025_13_26_15_10176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_24_9672.jpg
/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_44_10758.jpg
/home/pi/Desktop/images/30112025/13/24/image_30112025_13_24_54_9852.jpg
/home/pi/Desktop/images/30112025/13/24/image_30112025_13_25_04_9872.jpg
/home/pi/Desktop/images/30112025/13/25/image_30112025_13_26_04_10775.jpg
/home/pi/Desktop/images/30112025/13/26/image_30112025_13_26_15_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067606","1397067614","1397067608","1397067605","1397067610","1397067607"],"photo_ids_order":["1397067605","1397067606","1397067607","1397067608","1397067610","1397067614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0747268db50403e5fd755308383741f0.jpg","text":"TemporaryFile(/tmp/multipartBody6177590023071164479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_24_44_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06353daf0781c427f4184e8de0e42772.jpg","text":"TemporaryFile(/tmp/multipartBody6749100892227629278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_26_15_10176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11e078931b13176683108b1740384843.jpg","text":"TemporaryFile(/tmp/multipartBody6202112496831007942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_25_04_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a351dd3d28c12d33fd4bee92bd927f04.jpg","text":"TemporaryFile(/tmp/multipartBody5050375035602231267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_24_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3339fdac0ffb93ecf11439003785b75.jpg","text":"TemporaryFile(/tmp/multipartBody8564708608521302475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_26_04_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd225433a241dd320c446345970ed911.jpg","text":"TemporaryFile(/tmp/multipartBody7640589715984294758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514084479,"filename":"image_30112025_13_24_54_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067607","file1":"1397067606","file0":"1397067605","file4":"1397067610","file5":"1397067614","file3":"1397067608"},"map_files_photo_id_array":[{"photo_id":"1397067614","filename":"file5"},{"photo_id":"1397067607","filename":"file2"},{"photo_id":"1397067610","filename":"file4"},{"photo_id":"1397067606","filename":"file1"},{"photo_id":"1397067605","filename":"file0"},{"photo_id":"1397067608","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067606":["hashtag1","hashtag2"]},{"1397067614":["hashtag1","hashtag2"]},{"1397067608":["hashtag1","hashtag2"]},{"1397067605":["hashtag1","hashtag2"]},{"1397067610":["hashtag1","hashtag2"]},{"1397067607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067606, 1397067614, 1397067608, 1397067605, 1397067610, 1397067607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27922987937927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:47:42.732702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/12/59/image_31102025_12_59_53_2611.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_56_2758.jpg', '/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_59_3662.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_08_3012.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_12_3678.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_14_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_53_2611.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_56_2758.jpg
/home/pi/Desktop/images/31102025/12/59/image_31102025_12_59_59_3662.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_08_3012.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_12_3678.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_14_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067627","1397067630","1397067624","1397067626","1397067622","1397067628"],"photo_ids_order":["1397067622","1397067624","1397067626","1397067627","1397067628","1397067630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cbedb3d47be83fa2b6cb89903226479.jpg","text":"TemporaryFile(/tmp/multipartBody4821849739915853715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_13_00_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e342120e9741f0d69469fa20db81df4.jpg","text":"TemporaryFile(/tmp/multipartBody1454428410572411984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_13_00_14_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/30/2aa8fb024026a4771d51ebb21b07e21a.jpg","text":"TemporaryFile(/tmp/multipartBody2793744351273562918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_12_59_56_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/30/8b260e546afe3d0632d8c995367e91ec.jpg","text":"TemporaryFile(/tmp/multipartBody2893622385283619530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_12_59_59_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/30/4c5a8e947d6751e689852c07dcfcf860.jpg","text":"TemporaryFile(/tmp/multipartBody7662695725088587831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_12_59_53_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/30/528e3168331d71c5c5b070883a3dbcd0.jpg","text":"TemporaryFile(/tmp/multipartBody7563232278543620526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514123615,"filename":"image_31102025_13_00_12_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067626","file1":"1397067624","file0":"1397067622","file4":"1397067628","file5":"1397067630","file3":"1397067627"},"map_files_photo_id_array":[{"photo_id":"1397067630","filename":"file5"},{"photo_id":"1397067626","filename":"file2"},{"photo_id":"1397067628","filename":"file4"},{"photo_id":"1397067624","filename":"file1"},{"photo_id":"1397067622","filename":"file0"},{"photo_id":"1397067627","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067627":["hashtag1","hashtag2"]},{"1397067630":["hashtag1","hashtag2"]},{"1397067624":["hashtag1","hashtag2"]},{"1397067626":["hashtag1","hashtag2"]},{"1397067622":["hashtag1","hashtag2"]},{"1397067628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067627, 1397067630, 1397067624, 1397067626, 1397067622, 1397067628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.802639961242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:48:21.916465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/26/image_30112025_13_26_34_9584.jpg', '/home/pi/Desktop/images/30112025/13/26/image_30112025_13_27_04_9754.jpg', '/home/pi/Desktop/images/30112025/13/27/image_30112025_13_27_15_10674.jpg', '/home/pi/Desktop/images/30112025/13/27/image_30112025_13_27_24_9823.jpg', '/home/pi/Desktop/images/30112025/13/27/image_30112025_13_28_04_9833.jpg', '/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_14_10136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/26/image_30112025_13_26_34_9584.jpg
/home/pi/Desktop/images/30112025/13/26/image_30112025_13_27_04_9754.jpg
/home/pi/Desktop/images/30112025/13/27/image_30112025_13_27_15_10674.jpg
/home/pi/Desktop/images/30112025/13/27/image_30112025_13_27_24_9823.jpg
/home/pi/Desktop/images/30112025/13/27/image_30112025_13_28_04_9833.jpg
/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_14_10136.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067649","1397067640","1397067634","1397067643","1397067637","1397067646"],"photo_ids_order":["1397067634","1397067637","1397067640","1397067643","1397067646","1397067649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c42f7fdcbc6a1986cbcf5f1315bd645.jpg","text":"TemporaryFile(/tmp/multipartBody6378992871333543738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_28_14_10136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/def2cf7fe07389eac1c45c51150d6c86.jpg","text":"TemporaryFile(/tmp/multipartBody4642379494555788840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_27_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41069cb565738b8ee3010b3dcdeaf833.jpg","text":"TemporaryFile(/tmp/multipartBody3837445370389594969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_26_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3729739dc0c3b32f958be35cf8aafe00.jpg","text":"TemporaryFile(/tmp/multipartBody8127892713436795158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_27_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc4b0e8e19f6e65dd2a1ee5a706fcb29.jpg","text":"TemporaryFile(/tmp/multipartBody4642048579177199966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_27_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab027b8d9014cedee9e1668cd7369691.jpg","text":"TemporaryFile(/tmp/multipartBody7305930834645411194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514162622,"filename":"image_30112025_13_28_04_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067640","file1":"1397067637","file0":"1397067634","file4":"1397067646","file5":"1397067649","file3":"1397067643"},"map_files_photo_id_array":[{"photo_id":"1397067649","filename":"file5"},{"photo_id":"1397067640","filename":"file2"},{"photo_id":"1397067646","filename":"file4"},{"photo_id":"1397067637","filename":"file1"},{"photo_id":"1397067634","filename":"file0"},{"photo_id":"1397067643","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067649":["hashtag1","hashtag2"]},{"1397067640":["hashtag1","hashtag2"]},{"1397067634":["hashtag1","hashtag2"]},{"1397067643":["hashtag1","hashtag2"]},{"1397067637":["hashtag1","hashtag2"]},{"1397067646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067649, 1397067640, 1397067634, 1397067643, 1397067637, 1397067646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96293592453003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:49:02.906991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_35_10969.jpg', '/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_54_9791.jpg', '/home/pi/Desktop/images/30112025/13/29/image_30112025_13_29_14_9660.jpg', '/home/pi/Desktop/images/30112025/13/29/image_30112025_13_29_34_9767.jpg', '/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_15_10053.jpg', '/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_26_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_35_10969.jpg
/home/pi/Desktop/images/30112025/13/28/image_30112025_13_28_54_9791.jpg
/home/pi/Desktop/images/30112025/13/29/image_30112025_13_29_14_9660.jpg
/home/pi/Desktop/images/30112025/13/29/image_30112025_13_29_34_9767.jpg
/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_15_10053.jpg
/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_26_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067651","1397067654","1397067656","1397067659","1397067653","1397067652"],"photo_ids_order":["1397067651","1397067652","1397067653","1397067654","1397067656","1397067659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c497f2259aefd4bcfb91e2f90a50354.jpg","text":"TemporaryFile(/tmp/multipartBody2748306651976312442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_28_35_10969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42ecd74814ebc3e0756a2f4d8c68f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1040017718604803328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_29_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93f4becf9ceba68cde0f63416df5b8f5.jpg","text":"TemporaryFile(/tmp/multipartBody6245240517277958998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77ee805f789db27b58e1f1d4415629eb.jpg","text":"TemporaryFile(/tmp/multipartBody6843486503948739513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_30_26_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5292f3c1225ae7aa01b29b55e854f97.jpg","text":"TemporaryFile(/tmp/multipartBody8189933778270798895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_29_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1caa341c232ab3b33eee06818b1f1428.jpg","text":"TemporaryFile(/tmp/multipartBody4456180543000408208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514203921,"filename":"image_30112025_13_28_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067653","file1":"1397067652","file0":"1397067651","file4":"1397067656","file5":"1397067659","file3":"1397067654"},"map_files_photo_id_array":[{"photo_id":"1397067659","filename":"file5"},{"photo_id":"1397067653","filename":"file2"},{"photo_id":"1397067656","filename":"file4"},{"photo_id":"1397067652","filename":"file1"},{"photo_id":"1397067651","filename":"file0"},{"photo_id":"1397067654","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067651":["hashtag1","hashtag2"]},{"1397067654":["hashtag1","hashtag2"]},{"1397067656":["hashtag1","hashtag2"]},{"1397067659":["hashtag1","hashtag2"]},{"1397067653":["hashtag1","hashtag2"]},{"1397067652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067651, 1397067654, 1397067656, 1397067659, 1397067653, 1397067652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17747116088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:49:42.059220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/00/image_31102025_13_00_18_3588.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_21_2733.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_24_2821.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_26_2643.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_30_3818.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_33_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_18_3588.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_21_2733.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_24_2821.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_26_2643.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_30_3818.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_33_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":["1397067672","1397067666","1397067669","1397067671","1397067670","1397067673"],"photo_ids_order":["1397067666","1397067669","1397067670","1397067671","1397067672","1397067673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa2bf009938b2f7c332dded05685a14d.jpg","text":"TemporaryFile(/tmp/multipartBody4238607626129946682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_30_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/30/05f3366c50a48bb929e968ea387ab009.jpg","text":"TemporaryFile(/tmp/multipartBody78040551189869570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_18_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/30/fe9072c3a90c51c7e1bf7cb92604c12c.jpg","text":"TemporaryFile(/tmp/multipartBody7170913394047665345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_21_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d5d2242dc465db60d8620bbf0efdbea.jpg","text":"TemporaryFile(/tmp/multipartBody5266564078715057303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_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/30/3029d83a396bb480910c2a58c6b4a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody8507796970927309633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_24_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/30/4307fd73807d55d926a4394c99e1e7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1388977910820461287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514243006,"filename":"image_31102025_13_00_33_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067670","file1":"1397067669","file0":"1397067666","file4":"1397067672","file5":"1397067673","file3":"1397067671"},"map_files_photo_id_array":[{"photo_id":"1397067673","filename":"file5"},{"photo_id":"1397067670","filename":"file2"},{"photo_id":"1397067672","filename":"file4"},{"photo_id":"1397067669","filename":"file1"},{"photo_id":"1397067666","filename":"file0"},{"photo_id":"1397067671","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067672":["hashtag1","hashtag2"]},{"1397067666":["hashtag1","hashtag2"]},{"1397067669":["hashtag1","hashtag2"]},{"1397067671":["hashtag1","hashtag2"]},{"1397067670":["hashtag1","hashtag2"]},{"1397067673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067672, 1397067666, 1397067669, 1397067671, 1397067670, 1397067673)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.026808977127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-30 15:50:40.550136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_41_5241.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_42_1621.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_44_1618.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_47_2663.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_50_3733.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_53_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_41_5241.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_42_1621.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_44_1618.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_47_2663.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_50_3733.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_53_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":["1397067692","1397067686","1397067689","1397067691","1397067688","1397067690"],"photo_ids_order":["1397067686","1397067688","1397067689","1397067690","1397067691","1397067692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2985cdc4d44a2037eb85eb74782e07b.jpg","text":"TemporaryFile(/tmp/multipartBody5512168691292857986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_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/30/a6d143a0a3e6c3920d5bd32d535fa6ba.jpg","text":"TemporaryFile(/tmp/multipartBody7186773589092734270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_41_5241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44aac1ef33c27a258d013336cce1f03a.jpg","text":"TemporaryFile(/tmp/multipartBody4913423483950084792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_44_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/30/24e21a87fa56c7eba362524462a042d8.jpg","text":"TemporaryFile(/tmp/multipartBody5546124576405301892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_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/30/5286e82d3cbaade4d87b339d32dc24a3.jpg","text":"TemporaryFile(/tmp/multipartBody6324333141905908371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_42_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/30/2996513fd5916189c970a9bed8133b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5130555578647157607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514305118,"filename":"image_25112025_20_25_47_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067689","file1":"1397067688","file0":"1397067686","file4":"1397067691","file5":"1397067692","file3":"1397067690"},"map_files_photo_id_array":[{"photo_id":"1397067692","filename":"file5"},{"photo_id":"1397067689","filename":"file2"},{"photo_id":"1397067691","filename":"file4"},{"photo_id":"1397067688","filename":"file1"},{"photo_id":"1397067686","filename":"file0"},{"photo_id":"1397067690","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397067692":["hashtag1","hashtag2"]},{"1397067686":["hashtag1","hashtag2"]},{"1397067689":["hashtag1","hashtag2"]},{"1397067691":["hashtag1","hashtag2"]},{"1397067688":["hashtag1","hashtag2"]},{"1397067690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397067692, 1397067686, 1397067689, 1397067691, 1397067688, 1397067690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.155405044555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:51:22.646751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_35_9747.jpg', '/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_45_9786.jpg', '/home/pi/Desktop/images/30112025/13/30/image_30112025_13_31_05_10363.jpg', '/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_15_9802.jpg', '/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_25_9766.jpg', '/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_35_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_35_9747.jpg
/home/pi/Desktop/images/30112025/13/30/image_30112025_13_30_45_9786.jpg
/home/pi/Desktop/images/30112025/13/30/image_30112025_13_31_05_10363.jpg
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_15_9802.jpg
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_25_9766.jpg
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_35_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067702","1397067705","1397067710","1397067707","1397067696","1397067699"],"photo_ids_order":["1397067696","1397067699","1397067702","1397067705","1397067707","1397067710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/846dab7f21ba66291bae965a57acee40.jpg","text":"TemporaryFile(/tmp/multipartBody4437260379589442593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_31_05_10363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33ff2eafc7c3aa195e8a06fcbec4a2a9.jpg","text":"TemporaryFile(/tmp/multipartBody2653353529678290941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_31_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53a97974715d8c1ba9313f4584b17137.jpg","text":"TemporaryFile(/tmp/multipartBody4106101355152338202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_31_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a98af25626fcaa87e82daca07e5614e.jpg","text":"TemporaryFile(/tmp/multipartBody7204536093665651680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_31_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3af96118f8312df89c015c34fd517920.jpg","text":"TemporaryFile(/tmp/multipartBody8909004327303650129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_30_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb875b2e36431a8397bfed56963c0b21.jpg","text":"TemporaryFile(/tmp/multipartBody9028102767228339598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514343304,"filename":"image_30112025_13_30_45_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067702","file1":"1397067699","file0":"1397067696","file4":"1397067707","file5":"1397067710","file3":"1397067705"},"map_files_photo_id_array":[{"photo_id":"1397067710","filename":"file5"},{"photo_id":"1397067702","filename":"file2"},{"photo_id":"1397067707","filename":"file4"},{"photo_id":"1397067699","filename":"file1"},{"photo_id":"1397067696","filename":"file0"},{"photo_id":"1397067705","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067702":["hashtag1","hashtag2"]},{"1397067705":["hashtag1","hashtag2"]},{"1397067710":["hashtag1","hashtag2"]},{"1397067707":["hashtag1","hashtag2"]},{"1397067696":["hashtag1","hashtag2"]},{"1397067699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067702, 1397067705, 1397067710, 1397067707, 1397067696, 1397067699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.654425382614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:52:02.463528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_45_9895.jpg', '/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_55_9654.jpg', '/home/pi/Desktop/images/30112025/13/31/image_30112025_13_32_05_9852.jpg', '/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_15_10458.jpg', '/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_25_9783.jpg', '/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_45_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_45_9895.jpg
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_31_55_9654.jpg
/home/pi/Desktop/images/30112025/13/31/image_30112025_13_32_05_9852.jpg
/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_15_10458.jpg
/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_25_9783.jpg
/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_45_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067720","1397067714","1397067717","1397067713","1397067715","1397067712"],"photo_ids_order":["1397067712","1397067713","1397067714","1397067715","1397067717","1397067720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/533cccb7526ed8a07d31709a495d7cba.jpg","text":"TemporaryFile(/tmp/multipartBody6361413608253638450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_32_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fdb3f5f68423660991ccd23f4a25fa9.jpg","text":"TemporaryFile(/tmp/multipartBody2507201469204225354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_32_05_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccb73b79a815a8c1da7462287b9096ad.jpg","text":"TemporaryFile(/tmp/multipartBody5077685000975380483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_32_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bef0cc37e075fb5446969d8ffabf2fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3963338644765656981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_31_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/987495a7c8a99f22f9f29a3227e2ffa7.jpg","text":"TemporaryFile(/tmp/multipartBody1120674975121990189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_32_15_10458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b4773fac1ec77889fa8f7b81d6d021f.jpg","text":"TemporaryFile(/tmp/multipartBody7908503277418905227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514383178,"filename":"image_30112025_13_31_45_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067714","file1":"1397067713","file0":"1397067712","file4":"1397067717","file5":"1397067720","file3":"1397067715"},"map_files_photo_id_array":[{"photo_id":"1397067720","filename":"file5"},{"photo_id":"1397067714","filename":"file2"},{"photo_id":"1397067717","filename":"file4"},{"photo_id":"1397067713","filename":"file1"},{"photo_id":"1397067712","filename":"file0"},{"photo_id":"1397067715","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067720":["hashtag1","hashtag2"]},{"1397067714":["hashtag1","hashtag2"]},{"1397067717":["hashtag1","hashtag2"]},{"1397067713":["hashtag1","hashtag2"]},{"1397067715":["hashtag1","hashtag2"]},{"1397067712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067720, 1397067714, 1397067717, 1397067713, 1397067715, 1397067712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.259899854660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:52:41.951344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/00/image_31102025_13_00_35_2746.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_39_3640.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_42_2764.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_44_2635.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_47_2619.jpg', '/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_51_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_35_2746.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_39_3640.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_42_2764.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_44_2635.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_47_2619.jpg
/home/pi/Desktop/images/31102025/13/00/image_31102025_13_00_51_3790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067732","1397067735","1397067729","1397067734","1397067733","1397067736"],"photo_ids_order":["1397067729","1397067732","1397067733","1397067734","1397067735","1397067736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9431ea609e97e1ba7d70a34214517374.jpg","text":"TemporaryFile(/tmp/multipartBody1144295323715095851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_39_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/30/426e141c70a65f678d967d9a9bec1236.jpg","text":"TemporaryFile(/tmp/multipartBody8797020064224559742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_47_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05f862f1f2592c0b0ca2ef67dd3175f2.jpg","text":"TemporaryFile(/tmp/multipartBody7821023915442701604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_35_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/30/ea97e25eaf67e60cd880e67b31fb84e9.jpg","text":"TemporaryFile(/tmp/multipartBody7272017454875951268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_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/30/7f77674f1bb6021a42c190018e034fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8456738778042800396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_42_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf0971ec6ab836f4a31d74d234c50699.jpg","text":"TemporaryFile(/tmp/multipartBody3817451209390172776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514422838,"filename":"image_31102025_13_00_51_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067733","file1":"1397067732","file0":"1397067729","file4":"1397067735","file5":"1397067736","file3":"1397067734"},"map_files_photo_id_array":[{"photo_id":"1397067736","filename":"file5"},{"photo_id":"1397067733","filename":"file2"},{"photo_id":"1397067735","filename":"file4"},{"photo_id":"1397067732","filename":"file1"},{"photo_id":"1397067729","filename":"file0"},{"photo_id":"1397067734","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067732":["hashtag1","hashtag2"]},{"1397067735":["hashtag1","hashtag2"]},{"1397067729":["hashtag1","hashtag2"]},{"1397067734":["hashtag1","hashtag2"]},{"1397067733":["hashtag1","hashtag2"]},{"1397067736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067732, 1397067735, 1397067729, 1397067734, 1397067733, 1397067736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.305689096450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:53:22.161156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_55_9865.jpg', '/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_15_9899.jpg', '/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_26_10742.jpg', '/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_55_9706.jpg', '/home/pi/Desktop/images/30112025/13/33/image_30112025_13_34_05_10646.jpg', '/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_35_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/32/image_30112025_13_32_55_9865.jpg
/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_15_9899.jpg
/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_26_10742.jpg
/home/pi/Desktop/images/30112025/13/33/image_30112025_13_33_55_9706.jpg
/home/pi/Desktop/images/30112025/13/33/image_30112025_13_34_05_10646.jpg
/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_35_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067749","1397067746","1397067751","1397067754","1397067742","1397067739"],"photo_ids_order":["1397067739","1397067742","1397067746","1397067749","1397067751","1397067754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e19b67adfeffac39bd814698c90f83e.jpg","text":"TemporaryFile(/tmp/multipartBody2848193749408972430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_33_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d87d73ce1a0bd2a25123faa96c590f66.jpg","text":"TemporaryFile(/tmp/multipartBody6554954103747699830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_33_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0797dfecbf8bf1fc7b391b076f6ee291.jpg","text":"TemporaryFile(/tmp/multipartBody8649736628688550885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_34_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ed9e9b0c170bf0fd9230017d039ed39.jpg","text":"TemporaryFile(/tmp/multipartBody566786634996821637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_34_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85523ce2dc0f2cee076f99237172f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2371559234822886834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_33_15_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a6dba8ebb5bf5832be5156b089b0c69.jpg","text":"TemporaryFile(/tmp/multipartBody6509366623959928655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514462857,"filename":"image_30112025_13_32_55_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067746","file1":"1397067742","file0":"1397067739","file4":"1397067751","file5":"1397067754","file3":"1397067749"},"map_files_photo_id_array":[{"photo_id":"1397067754","filename":"file5"},{"photo_id":"1397067746","filename":"file2"},{"photo_id":"1397067751","filename":"file4"},{"photo_id":"1397067742","filename":"file1"},{"photo_id":"1397067739","filename":"file0"},{"photo_id":"1397067749","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067749":["hashtag1","hashtag2"]},{"1397067746":["hashtag1","hashtag2"]},{"1397067751":["hashtag1","hashtag2"]},{"1397067754":["hashtag1","hashtag2"]},{"1397067742":["hashtag1","hashtag2"]},{"1397067739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067749, 1397067746, 1397067751, 1397067754, 1397067742, 1397067739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.854955196380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:54:02.937574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_45_9878.jpg', '/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_55_9916.jpg', '/home/pi/Desktop/images/30112025/13/34/image_30112025_13_35_05_9663.jpg', '/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_16_10821.jpg', '/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_25_9746.jpg', '/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_35_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_45_9878.jpg
/home/pi/Desktop/images/30112025/13/34/image_30112025_13_34_55_9916.jpg
/home/pi/Desktop/images/30112025/13/34/image_30112025_13_35_05_9663.jpg
/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_16_10821.jpg
/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_25_9746.jpg
/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_35_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067756","1397067755","1397067758","1397067760","1397067763","1397067757"],"photo_ids_order":["1397067755","1397067756","1397067757","1397067758","1397067760","1397067763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1448b187a6acc0029e421267042efd8b.jpg","text":"TemporaryFile(/tmp/multipartBody6361813839886332490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_34_55_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71fc90f0bed410a1cb39f6cbf7cf93de.jpg","text":"TemporaryFile(/tmp/multipartBody475279921658128572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_34_45_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1aae0e648dde008b7c55c47711e1c952.jpg","text":"TemporaryFile(/tmp/multipartBody5953295001551099323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_35_16_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09a86e93389fccc413604763f92c4d39.jpg","text":"TemporaryFile(/tmp/multipartBody6824018574197042673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_35_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04a8936e6e886b3cc231eafde43260c0.jpg","text":"TemporaryFile(/tmp/multipartBody5083470567171266055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_35_35_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73811d3dc6d22c56720970b500773548.jpg","text":"TemporaryFile(/tmp/multipartBody3027048030099325507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514503757,"filename":"image_30112025_13_35_05_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067757","file1":"1397067756","file0":"1397067755","file4":"1397067760","file5":"1397067763","file3":"1397067758"},"map_files_photo_id_array":[{"photo_id":"1397067763","filename":"file5"},{"photo_id":"1397067757","filename":"file2"},{"photo_id":"1397067760","filename":"file4"},{"photo_id":"1397067756","filename":"file1"},{"photo_id":"1397067755","filename":"file0"},{"photo_id":"1397067758","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067756":["hashtag1","hashtag2"]},{"1397067755":["hashtag1","hashtag2"]},{"1397067758":["hashtag1","hashtag2"]},{"1397067760":["hashtag1","hashtag2"]},{"1397067763":["hashtag1","hashtag2"]},{"1397067757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067756, 1397067755, 1397067758, 1397067760, 1397067763, 1397067757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.511377811431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:54:42.266711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/01/image_31102025_13_01_03_3723.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_06_2708.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_08_2789.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_11_2727.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_15_3736.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_17_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_03_3723.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_06_2708.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_08_2789.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_11_2727.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_15_3736.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_17_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067774","1397067773","1397067776","1397067770","1397067772","1397067775"],"photo_ids_order":["1397067770","1397067772","1397067773","1397067774","1397067775","1397067776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78809541aa1efabd4a4f6f98bf0dd83e.jpg","text":"TemporaryFile(/tmp/multipartBody7268571690525477694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_11_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/30/0eb17760ee291aaa7b73bf85982935d6.jpg","text":"TemporaryFile(/tmp/multipartBody7207935178250771839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_08_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/30/164adfce9b85d66411ccefe01274ce53.jpg","text":"TemporaryFile(/tmp/multipartBody7213411184284038457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_17_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/30/9b122e74614ec6afcf3c862b51c4c34f.jpg","text":"TemporaryFile(/tmp/multipartBody1427324008130926611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_03_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/30/8b54c84fd4d9395d5a1faf79a7ad0da6.jpg","text":"TemporaryFile(/tmp/multipartBody2420762751496332684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_06_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/30/afede6a0508010db3d5d8a60c1a3020c.jpg","text":"TemporaryFile(/tmp/multipartBody3911799639161544778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514543181,"filename":"image_31102025_13_01_15_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067773","file1":"1397067772","file0":"1397067770","file4":"1397067775","file5":"1397067776","file3":"1397067774"},"map_files_photo_id_array":[{"photo_id":"1397067776","filename":"file5"},{"photo_id":"1397067773","filename":"file2"},{"photo_id":"1397067775","filename":"file4"},{"photo_id":"1397067772","filename":"file1"},{"photo_id":"1397067770","filename":"file0"},{"photo_id":"1397067774","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067774":["hashtag1","hashtag2"]},{"1397067773":["hashtag1","hashtag2"]},{"1397067776":["hashtag1","hashtag2"]},{"1397067770":["hashtag1","hashtag2"]},{"1397067772":["hashtag1","hashtag2"]},{"1397067775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067774, 1397067773, 1397067776, 1397067770, 1397067772, 1397067775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05596113204956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:55:22.451721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_55_9673.jpg', '/home/pi/Desktop/images/30112025/13/35/image_30112025_13_36_05_9580.jpg', '/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_15_10123.jpg', '/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_36_10821.jpg', '/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_45_9792.jpg', '/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_55_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/35/image_30112025_13_35_55_9673.jpg
/home/pi/Desktop/images/30112025/13/35/image_30112025_13_36_05_9580.jpg
/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_15_10123.jpg
/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_36_10821.jpg
/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_45_9792.jpg
/home/pi/Desktop/images/30112025/13/36/image_30112025_13_36_55_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067791","1397067785","1397067794","1397067788","1397067780","1397067783"],"photo_ids_order":["1397067780","1397067783","1397067785","1397067788","1397067791","1397067794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40bb415da5ef73d2bc688a88e56a9ada.jpg","text":"TemporaryFile(/tmp/multipartBody7735458746291927842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_36_45_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/743d17d920f6fca4f6345c56069b6012.jpg","text":"TemporaryFile(/tmp/multipartBody8772963297051596767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_36_15_10123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeef521d62e603730cb162c42eb0db84.jpg","text":"TemporaryFile(/tmp/multipartBody5550176133844653757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_36_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90b8cfbd5a0ac506a5a16c59d263084a.jpg","text":"TemporaryFile(/tmp/multipartBody7429112333544666142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_36_36_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ba9b4c9edca01677e4ba17c5e3c0abe.jpg","text":"TemporaryFile(/tmp/multipartBody6361685449824179618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_35_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c51a5c2e076e44af9e3cd195421a059.jpg","text":"TemporaryFile(/tmp/multipartBody7613996120262487525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514583182,"filename":"image_30112025_13_36_05_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067785","file1":"1397067783","file0":"1397067780","file4":"1397067791","file5":"1397067794","file3":"1397067788"},"map_files_photo_id_array":[{"photo_id":"1397067794","filename":"file5"},{"photo_id":"1397067785","filename":"file2"},{"photo_id":"1397067791","filename":"file4"},{"photo_id":"1397067783","filename":"file1"},{"photo_id":"1397067780","filename":"file0"},{"photo_id":"1397067788","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067791":["hashtag1","hashtag2"]},{"1397067785":["hashtag1","hashtag2"]},{"1397067794":["hashtag1","hashtag2"]},{"1397067788":["hashtag1","hashtag2"]},{"1397067780":["hashtag1","hashtag2"]},{"1397067783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067791, 1397067785, 1397067794, 1397067788, 1397067780, 1397067783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.145514488220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:56:03.138965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/36/image_30112025_13_37_06_10593.jpg', '/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_15_9687.jpg', '/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_25_9702.jpg', '/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_36_10626.jpg', '/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_45_9737.jpg', '/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_55_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/36/image_30112025_13_37_06_10593.jpg
/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_15_9687.jpg
/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_25_9702.jpg
/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_36_10626.jpg
/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_45_9737.jpg
/home/pi/Desktop/images/30112025/13/37/image_30112025_13_37_55_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067797","1397067806","1397067800","1397067799","1397067802","1397067798"],"photo_ids_order":["1397067797","1397067798","1397067799","1397067800","1397067802","1397067806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab7adaf34b3e17c2f6ed2051da30d273.jpg","text":"TemporaryFile(/tmp/multipartBody7397465818461729639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_06_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a8e24acb80d220d0330a659425fd5ff.jpg","text":"TemporaryFile(/tmp/multipartBody901842462873054360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_55_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19a5f706cea93f8cc74c1ba7c7f92c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4681950438092407420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_36_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36ccd9d2c794a0c5ed7124ee6702cce5.jpg","text":"TemporaryFile(/tmp/multipartBody5577482084756617737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6138569277899669cc5a2bb7d02fb19.jpg","text":"TemporaryFile(/tmp/multipartBody5767409355016421561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ff3155c6d0e2b65367b29b2df217506.jpg","text":"TemporaryFile(/tmp/multipartBody3263242448312780104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514623854,"filename":"image_30112025_13_37_15_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067799","file1":"1397067798","file0":"1397067797","file4":"1397067802","file5":"1397067806","file3":"1397067800"},"map_files_photo_id_array":[{"photo_id":"1397067806","filename":"file5"},{"photo_id":"1397067799","filename":"file2"},{"photo_id":"1397067802","filename":"file4"},{"photo_id":"1397067798","filename":"file1"},{"photo_id":"1397067797","filename":"file0"},{"photo_id":"1397067800","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067797":["hashtag1","hashtag2"]},{"1397067806":["hashtag1","hashtag2"]},{"1397067800":["hashtag1","hashtag2"]},{"1397067799":["hashtag1","hashtag2"]},{"1397067802":["hashtag1","hashtag2"]},{"1397067798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067797, 1397067806, 1397067800, 1397067799, 1397067802, 1397067798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48387694358826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:56:42.605440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/01/image_31102025_13_01_20_2615.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_24_3750.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_27_2781.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_29_2527.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_32_2864.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_36_3820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_20_2615.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_24_3750.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_27_2781.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_29_2527.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_32_2864.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_36_3820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067822","1397067824","1397067818","1397067827","1397067815","1397067820"],"photo_ids_order":["1397067815","1397067818","1397067820","1397067822","1397067824","1397067827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e14ec279fc7eb78c5be0d02e53b2b22.jpg","text":"TemporaryFile(/tmp/multipartBody3785173633378332640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_29_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/30/707dd4dfe136d67e4fbe04ffb40f8557.jpg","text":"TemporaryFile(/tmp/multipartBody2176599319310181575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_32_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/30/ac44c79a2ae9b6a1981df9d2d243148f.jpg","text":"TemporaryFile(/tmp/multipartBody7130507711095886053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_24_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/30/3e2c872b7989bf28993336f910fd6d33.jpg","text":"TemporaryFile(/tmp/multipartBody741614267963920574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_36_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/30/2711781a4cf53346bbcc2d9892f48b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8303537140503370622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_20_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f0b3f8c8daf5627bef6162a3fac21ca.jpg","text":"TemporaryFile(/tmp/multipartBody1317682140570662440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514663475,"filename":"image_31102025_13_01_27_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067820","file1":"1397067818","file0":"1397067815","file4":"1397067824","file5":"1397067827","file3":"1397067822"},"map_files_photo_id_array":[{"photo_id":"1397067827","filename":"file5"},{"photo_id":"1397067820","filename":"file2"},{"photo_id":"1397067824","filename":"file4"},{"photo_id":"1397067818","filename":"file1"},{"photo_id":"1397067815","filename":"file0"},{"photo_id":"1397067822","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397067822":["hashtag1","hashtag2"]},{"1397067824":["hashtag1","hashtag2"]},{"1397067818":["hashtag1","hashtag2"]},{"1397067827":["hashtag1","hashtag2"]},{"1397067815":["hashtag1","hashtag2"]},{"1397067820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397067822, 1397067824, 1397067818, 1397067827, 1397067815, 1397067820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1766242980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 15:57:22.778024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_15_9797.jpg', '/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_25_9818.jpg', '/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_35_10753.jpg', '/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_45_9634.jpg', '/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_55_9687.jpg', '/home/pi/Desktop/images/30112025/13/38/image_30112025_13_39_05_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_15_9797.jpg
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_25_9818.jpg
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_35_10753.jpg
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_45_9634.jpg
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_38_55_9687.jpg
/home/pi/Desktop/images/30112025/13/38/image_30112025_13_39_05_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397067843","1397067837","1397067834","1397067845","1397067839","1397067841"],"photo_ids_order":["1397067834","1397067837","1397067839","1397067841","1397067843","1397067845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e77b55adf83bb3b40fea4b264157f80.jpg","text":"TemporaryFile(/tmp/multipartBody5026484803597523915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_38_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02c0b00b8f358cb0e6dadd36fefc59bb.jpg","text":"TemporaryFile(/tmp/multipartBody1702204785626561646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_38_25_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38e5d9b2ddcc7178875710d71b56de80.jpg","text":"TemporaryFile(/tmp/multipartBody5145457291352869848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_38_15_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79e0d2caad1aa762b6c87cc45e964334.jpg","text":"TemporaryFile(/tmp/multipartBody478089639529248385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_39_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60b8e64299c832b89e54af54469c1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1705595040813956847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_38_35_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9952e46cc0c410a33dbc5c1eb2d4cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody5793834678489284570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514703494,"filename":"image_30112025_13_38_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397067839","file1":"1397067837","file0":"1397067834","file4":"1397067843","file5":"1397067845","file3":"1397067841"},"map_files_photo_id_array":[{"photo_id":"1397067845","filename":"file5"},{"photo_id":"1397067839","filename":"file2"},{"photo_id":"1397067843","filename":"file4"},{"photo_id":"1397067837","filename":"file1"},{"photo_id":"1397067834","filename":"file0"},{"photo_id":"1397067841","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397067843":["hashtag1","hashtag2"]},{"1397067837":["hashtag1","hashtag2"]},{"1397067834":["hashtag1","hashtag2"]},{"1397067845":["hashtag1","hashtag2"]},{"1397067839":["hashtag1","hashtag2"]},{"1397067841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397067843, 1397067837, 1397067834, 1397067845, 1397067839, 1397067841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5869505405426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 15:59:03.078078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_15_9702.jpg', '/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_25_9576.jpg', '/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_35_10611.jpg', '/home/pi/Desktop/images/30112025/13/39/image_30112025_13_40_05_10584.jpg', '/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_15_9777.jpg', '/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_25_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_15_9702.jpg
/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_25_9576.jpg
/home/pi/Desktop/images/30112025/13/39/image_30112025_13_39_35_10611.jpg
/home/pi/Desktop/images/30112025/13/39/image_30112025_13_40_05_10584.jpg
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_15_9777.jpg
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_25_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397068373","1397068295","1397068206","1397068336","1397068252","1397068413"],"photo_ids_order":["1397068206","1397068252","1397068295","1397068336","1397068373","1397068413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b32db2477fdb4743d1b69eb63525ae9b.jpg","text":"TemporaryFile(/tmp/multipartBody2766246988167468682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_40_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da2ee17711ecd99107c281416c1045d6.jpg","text":"TemporaryFile(/tmp/multipartBody4584791864188564427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_39_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ee1286868ecb7b0ef8d1d1e009ebcf5.jpg","text":"TemporaryFile(/tmp/multipartBody5851835046221273745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_39_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1938f58cd05ca7f28f7ef56a20b272d6.jpg","text":"TemporaryFile(/tmp/multipartBody7194630235958176706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_40_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b0848a9a90ba06993c10330f65f8cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6411670290655430639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_39_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a985c0f9684927b5a8826f0b163b87a.jpg","text":"TemporaryFile(/tmp/multipartBody1789709088182295991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514803912,"filename":"image_30112025_13_40_25_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397068295","file1":"1397068252","file0":"1397068206","file4":"1397068373","file5":"1397068413","file3":"1397068336"},"map_files_photo_id_array":[{"photo_id":"1397068413","filename":"file5"},{"photo_id":"1397068295","filename":"file2"},{"photo_id":"1397068373","filename":"file4"},{"photo_id":"1397068252","filename":"file1"},{"photo_id":"1397068206","filename":"file0"},{"photo_id":"1397068336","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397068373":["hashtag1","hashtag2"]},{"1397068295":["hashtag1","hashtag2"]},{"1397068206":["hashtag1","hashtag2"]},{"1397068336":["hashtag1","hashtag2"]},{"1397068252":["hashtag1","hashtag2"]},{"1397068413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397068373, 1397068295, 1397068206, 1397068336, 1397068252, 1397068413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98724842071533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 15:59:42.179542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/01/image_31102025_13_01_39_2832.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_44_2618.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_48_3687.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_50_2610.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_53_2642.jpg', '/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_57_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_39_2832.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_44_2618.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_48_3687.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_50_2610.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_53_2642.jpg
/home/pi/Desktop/images/31102025/13/01/image_31102025_13_01_57_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397068500","1397068490","1397068486","1397068494","1397068497","1397068482"],"photo_ids_order":["1397068482","1397068486","1397068490","1397068494","1397068497","1397068500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f29449bfc8cec3e984dc873388522062.jpg","text":"TemporaryFile(/tmp/multipartBody6427479545163418659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_57_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/feb5ce7ae0df239d023049f7aa57524b.jpg","text":"TemporaryFile(/tmp/multipartBody1594978305347347047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_48_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcee0c6196127c943498d6cd93232c11.jpg","text":"TemporaryFile(/tmp/multipartBody640463528301542175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_44_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/30/e2a0d13eb422f676ef712576f63584a8.jpg","text":"TemporaryFile(/tmp/multipartBody4438495200335757237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_50_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/30/16a65453b93d42d45d83ca888a25ca8b.jpg","text":"TemporaryFile(/tmp/multipartBody7162200825995106791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_53_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/30/5388d2f6cbd53aab7057495ed20ce0f4.jpg","text":"TemporaryFile(/tmp/multipartBody2431553351320110844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514843051,"filename":"image_31102025_13_01_39_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397068490","file1":"1397068486","file0":"1397068482","file4":"1397068497","file5":"1397068500","file3":"1397068494"},"map_files_photo_id_array":[{"photo_id":"1397068500","filename":"file5"},{"photo_id":"1397068490","filename":"file2"},{"photo_id":"1397068497","filename":"file4"},{"photo_id":"1397068486","filename":"file1"},{"photo_id":"1397068482","filename":"file0"},{"photo_id":"1397068494","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397068500":["hashtag1","hashtag2"]},{"1397068490":["hashtag1","hashtag2"]},{"1397068486":["hashtag1","hashtag2"]},{"1397068494":["hashtag1","hashtag2"]},{"1397068497":["hashtag1","hashtag2"]},{"1397068482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397068500, 1397068490, 1397068486, 1397068494, 1397068497, 1397068482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2541184425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:00:22.357351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_36_10786.jpg', '/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_45_9653.jpg', '/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_55_9714.jpg', '/home/pi/Desktop/images/30112025/13/40/image_30112025_13_41_05_9969.jpg', '/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_15_9720.jpg', '/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_36_10786.jpg
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_45_9653.jpg
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_40_55_9714.jpg
/home/pi/Desktop/images/30112025/13/40/image_30112025_13_41_05_9969.jpg
/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_15_9720.jpg
/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_35_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397068877","1397068979","1397068919","1397068675","1397068749","1397068821"],"photo_ids_order":["1397068675","1397068749","1397068821","1397068877","1397068919","1397068979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0715dfd9e97d9c5e12a905e24d5193b4.jpg","text":"TemporaryFile(/tmp/multipartBody8969578255979885955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_41_05_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8b5c37b1ed28f790540248737d729da.jpg","text":"TemporaryFile(/tmp/multipartBody3179981073058076846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_41_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4564995fb0a78967ec21a392c1f4ad9.jpg","text":"TemporaryFile(/tmp/multipartBody3596272607795452238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_41_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c80b25c30603a38350dd178dd439c212.jpg","text":"TemporaryFile(/tmp/multipartBody7587007478001529307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_40_36_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e2fb7eaeaed0ba227f746a22423c026.jpg","text":"TemporaryFile(/tmp/multipartBody5695403027544694746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_40_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30df6a5c69519e6c2851ccdf486b4fb8.jpg","text":"TemporaryFile(/tmp/multipartBody967704952838747584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514883052,"filename":"image_30112025_13_40_55_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397068821","file1":"1397068749","file0":"1397068675","file4":"1397068919","file5":"1397068979","file3":"1397068877"},"map_files_photo_id_array":[{"photo_id":"1397068979","filename":"file5"},{"photo_id":"1397068821","filename":"file2"},{"photo_id":"1397068919","filename":"file4"},{"photo_id":"1397068749","filename":"file1"},{"photo_id":"1397068675","filename":"file0"},{"photo_id":"1397068877","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397068877":["hashtag1","hashtag2"]},{"1397068979":["hashtag1","hashtag2"]},{"1397068919":["hashtag1","hashtag2"]},{"1397068675":["hashtag1","hashtag2"]},{"1397068749":["hashtag1","hashtag2"]},{"1397068821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397068877, 1397068979, 1397068919, 1397068675, 1397068749, 1397068821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82145977020264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:01:03.247205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_45_9711.jpg', '/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_56_10762.jpg', '/home/pi/Desktop/images/30112025/13/41/image_30112025_13_42_05_9048.jpg', '/home/pi/Desktop/images/30112025/13/42/image_30112025_13_42_55_9612.jpg', '/home/pi/Desktop/images/30112025/13/43/image_30112025_13_43_15_9887.jpg', '/home/pi/Desktop/images/30112025/13/43/image_30112025_13_43_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_45_9711.jpg
/home/pi/Desktop/images/30112025/13/41/image_30112025_13_41_56_10762.jpg
/home/pi/Desktop/images/30112025/13/41/image_30112025_13_42_05_9048.jpg
/home/pi/Desktop/images/30112025/13/42/image_30112025_13_42_55_9612.jpg
/home/pi/Desktop/images/30112025/13/43/image_30112025_13_43_15_9887.jpg
/home/pi/Desktop/images/30112025/13/43/image_30112025_13_43_55_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069255","1397069378","1397069335","1397069217","1397069294","1397069180"],"photo_ids_order":["1397069180","1397069217","1397069255","1397069294","1397069335","1397069378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14709b8becafe9ef542975a452352df3.jpg","text":"TemporaryFile(/tmp/multipartBody4047746754480854561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_42_05_9048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0290f0f0f24ba8fe1d1b071c17b05c80.jpg","text":"TemporaryFile(/tmp/multipartBody19303143221476412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_43_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ada9056bad09f88974ce7a797cb4324a.jpg","text":"TemporaryFile(/tmp/multipartBody6171181752097690825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_43_15_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a00c8d1e72cdbe1cdf71cf6927a5994.jpg","text":"TemporaryFile(/tmp/multipartBody6991310757179186766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_41_56_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2bcf7ce31b97a0ddf215112c23ff4ed.jpg","text":"TemporaryFile(/tmp/multipartBody818807185961811167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_42_55_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef9a5d111f908b472438cb93c4fbcada.jpg","text":"TemporaryFile(/tmp/multipartBody6975787921901532400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514924017,"filename":"image_30112025_13_41_45_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069255","file1":"1397069217","file0":"1397069180","file4":"1397069335","file5":"1397069378","file3":"1397069294"},"map_files_photo_id_array":[{"photo_id":"1397069378","filename":"file5"},{"photo_id":"1397069255","filename":"file2"},{"photo_id":"1397069335","filename":"file4"},{"photo_id":"1397069217","filename":"file1"},{"photo_id":"1397069180","filename":"file0"},{"photo_id":"1397069294","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397069255":["hashtag1","hashtag2"]},{"1397069378":["hashtag1","hashtag2"]},{"1397069335":["hashtag1","hashtag2"]},{"1397069217":["hashtag1","hashtag2"]},{"1397069294":["hashtag1","hashtag2"]},{"1397069180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397069255, 1397069378, 1397069335, 1397069217, 1397069294, 1397069180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51931595802307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:01:42.603295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/02/image_31102025_13_02_06_2644.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_11_2789.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_15_3746.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_18_2707.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_20_2668.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_27_3920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_06_2644.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_11_2789.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_15_3746.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_18_2707.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_20_2668.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_27_3920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069654","1397069656","1397069551","1397069589","1397069631","1397069514"],"photo_ids_order":["1397069514","1397069551","1397069589","1397069631","1397069654","1397069656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c134715260602fd9f837733992f33bc.jpg","text":"TemporaryFile(/tmp/multipartBody288414972307044374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_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/30/447fdd33aed3157367c7ab339eb4b422.jpg","text":"TemporaryFile(/tmp/multipartBody6005999078399190296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_27_3920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f5250fab600f7cc20af85c6d2630dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3721141327237378155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_11_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/30/892d2d18257733a5d608b9a95af12a57.jpg","text":"TemporaryFile(/tmp/multipartBody6752667858481280870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_15_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/30/cf7385b013934c22607003034bb8ed7e.jpg","text":"TemporaryFile(/tmp/multipartBody563261649619727244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_18_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abd1683364e3400a72a6cfbe65962b34.jpg","text":"TemporaryFile(/tmp/multipartBody4522139798693990864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764514963470,"filename":"image_31102025_13_02_06_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069589","file1":"1397069551","file0":"1397069514","file4":"1397069654","file5":"1397069656","file3":"1397069631"},"map_files_photo_id_array":[{"photo_id":"1397069656","filename":"file5"},{"photo_id":"1397069589","filename":"file2"},{"photo_id":"1397069654","filename":"file4"},{"photo_id":"1397069551","filename":"file1"},{"photo_id":"1397069514","filename":"file0"},{"photo_id":"1397069631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397069654":["hashtag1","hashtag2"]},{"1397069656":["hashtag1","hashtag2"]},{"1397069551":["hashtag1","hashtag2"]},{"1397069589":["hashtag1","hashtag2"]},{"1397069631":["hashtag1","hashtag2"]},{"1397069514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397069654, 1397069656, 1397069551, 1397069589, 1397069631, 1397069514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79540276527405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:02:22.769771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/43/image_30112025_13_44_05_9677.jpg', '/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_26_10605.jpg', '/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_45_9667.jpg', '/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_55_10027.jpg', '/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_35_9750.jpg', '/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/43/image_30112025_13_44_05_9677.jpg
/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_26_10605.jpg
/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_45_9667.jpg
/home/pi/Desktop/images/30112025/13/44/image_30112025_13_44_55_10027.jpg
/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_35_9750.jpg
/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_45_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069660","1397069816","1397069740","1397069779","1397069667","1397069703"],"photo_ids_order":["1397069660","1397069667","1397069703","1397069740","1397069779","1397069816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5aa849c961fc4a8e5d24e91f88f990cd.jpg","text":"TemporaryFile(/tmp/multipartBody8168271596455563820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_44_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31994a077dc1e329b0ff5ef10a7469f1.jpg","text":"TemporaryFile(/tmp/multipartBody3788927118771415611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_45_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8c7a441598b2a083aad1ab95f29a523.jpg","text":"TemporaryFile(/tmp/multipartBody2324153428437065804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_44_55_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52e86ddb050e6947b142c3282269088b.jpg","text":"TemporaryFile(/tmp/multipartBody561470017840492631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_45_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cd84803f7a84440334cdfd481a9033a.jpg","text":"TemporaryFile(/tmp/multipartBody2543524098994471686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_44_26_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27cc0c599a559193ceb2ff22acba1828.jpg","text":"TemporaryFile(/tmp/multipartBody3503630475467112290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515003456,"filename":"image_30112025_13_44_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069703","file1":"1397069667","file0":"1397069660","file4":"1397069779","file5":"1397069816","file3":"1397069740"},"map_files_photo_id_array":[{"photo_id":"1397069816","filename":"file5"},{"photo_id":"1397069703","filename":"file2"},{"photo_id":"1397069779","filename":"file4"},{"photo_id":"1397069667","filename":"file1"},{"photo_id":"1397069660","filename":"file0"},{"photo_id":"1397069740","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397069660":["hashtag1","hashtag2"]},{"1397069816":["hashtag1","hashtag2"]},{"1397069740":["hashtag1","hashtag2"]},{"1397069779":["hashtag1","hashtag2"]},{"1397069667":["hashtag1","hashtag2"]},{"1397069703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397069660, 1397069816, 1397069740, 1397069779, 1397069667, 1397069703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39762496948242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:03:02.632117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_55_9760.jpg', '/home/pi/Desktop/images/30112025/13/45/image_30112025_13_46_05_9842.jpg', '/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_15_9835.jpg', '/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_25_10181.jpg', '/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_36_10634.jpg', '/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_45_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/45/image_30112025_13_45_55_9760.jpg
/home/pi/Desktop/images/30112025/13/45/image_30112025_13_46_05_9842.jpg
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_15_9835.jpg
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_25_10181.jpg
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_36_10634.jpg
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_45_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069875","1397069911","1397069871","1397069913","1397069916","1397069891"],"photo_ids_order":["1397069871","1397069875","1397069891","1397069911","1397069913","1397069916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2df85090f12599e4234e97dfca77d82.jpg","text":"TemporaryFile(/tmp/multipartBody4425149606790835434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_46_05_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5a1fea6e1dd432f17932f945cfba626.jpg","text":"TemporaryFile(/tmp/multipartBody5261330930922072886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_46_25_10181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c22230af9d231d5165af801121e466fc.jpg","text":"TemporaryFile(/tmp/multipartBody2758763416402322882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_45_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de4935f5541e9cec7d4f738c67f49aeb.jpg","text":"TemporaryFile(/tmp/multipartBody968664065687863712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_46_36_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd9c07086cf9139e72a4afcac97be93e.jpg","text":"TemporaryFile(/tmp/multipartBody947704675558171937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_46_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef6b00731bf29b8ac2e618886860b177.jpg","text":"TemporaryFile(/tmp/multipartBody3413553427770050521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515043373,"filename":"image_30112025_13_46_15_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069891","file1":"1397069875","file0":"1397069871","file4":"1397069913","file5":"1397069916","file3":"1397069911"},"map_files_photo_id_array":[{"photo_id":"1397069916","filename":"file5"},{"photo_id":"1397069891","filename":"file2"},{"photo_id":"1397069913","filename":"file4"},{"photo_id":"1397069875","filename":"file1"},{"photo_id":"1397069871","filename":"file0"},{"photo_id":"1397069911","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397069875":["hashtag1","hashtag2"]},{"1397069911":["hashtag1","hashtag2"]},{"1397069871":["hashtag1","hashtag2"]},{"1397069913":["hashtag1","hashtag2"]},{"1397069916":["hashtag1","hashtag2"]},{"1397069891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397069875, 1397069911, 1397069871, 1397069913, 1397069916, 1397069891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95640969276428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:03:41.884570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/02/image_31102025_13_02_29_2644.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_32_2740.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_35_2749.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_38_3586.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_41_2752.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_44_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_29_2644.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_32_2740.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_35_2749.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_38_3586.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_41_2752.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_44_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069930","1397069927","1397069929","1397069931","1397069925","1397069928"],"photo_ids_order":["1397069925","1397069927","1397069928","1397069929","1397069930","1397069931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5163d18814a59041288491e4651234f8.jpg","text":"TemporaryFile(/tmp/multipartBody2631702867540294662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_41_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfbdabef2345b4adc0c7f37ab53c51ea.jpg","text":"TemporaryFile(/tmp/multipartBody8340984937161880817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_32_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/30/50c64a21b329b02ce286678c7f7a07d9.jpg","text":"TemporaryFile(/tmp/multipartBody2374067494290737704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_38_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/30/ad7f4f05ac486ed95b4ddb9774708964.jpg","text":"TemporaryFile(/tmp/multipartBody6867189044288760914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_44_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/30/5907ae6e3e93da8477e0b51b46bbc5fa.jpg","text":"TemporaryFile(/tmp/multipartBody8141677319645360511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_29_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b59a2d6106dc54b5848a2fec85678b4.jpg","text":"TemporaryFile(/tmp/multipartBody202563323779906403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515082796,"filename":"image_31102025_13_02_35_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069928","file1":"1397069927","file0":"1397069925","file4":"1397069930","file5":"1397069931","file3":"1397069929"},"map_files_photo_id_array":[{"photo_id":"1397069931","filename":"file5"},{"photo_id":"1397069928","filename":"file2"},{"photo_id":"1397069930","filename":"file4"},{"photo_id":"1397069927","filename":"file1"},{"photo_id":"1397069925","filename":"file0"},{"photo_id":"1397069929","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397069930":["hashtag1","hashtag2"]},{"1397069927":["hashtag1","hashtag2"]},{"1397069929":["hashtag1","hashtag2"]},{"1397069931":["hashtag1","hashtag2"]},{"1397069925":["hashtag1","hashtag2"]},{"1397069928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397069930, 1397069927, 1397069929, 1397069931, 1397069925, 1397069928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.669760942459106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:04:22.070347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_55_9693.jpg', '/home/pi/Desktop/images/30112025/13/46/image_30112025_13_47_05_9657.jpg', '/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_15_10673.jpg', '/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_25_9887.jpg', '/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_35_9744.jpg', '/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_46_55_9693.jpg
/home/pi/Desktop/images/30112025/13/46/image_30112025_13_47_05_9657.jpg
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_15_10673.jpg
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_25_9887.jpg
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_35_9744.jpg
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069951","1397069943","1397069946","1397069940","1397069934","1397069937"],"photo_ids_order":["1397069934","1397069937","1397069940","1397069943","1397069946","1397069951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcaeb273252c6bb4318cd5959cc1cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8529121995650958139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_47_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9698ca8ee8282dddb7661b1c0367e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody6437858170544644899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_47_25_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a66ceb832d1d77bcb3a839bb65093e5.jpg","text":"TemporaryFile(/tmp/multipartBody1376789128613507595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_47_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1ba3f064bc758f53c42dea61af40753.jpg","text":"TemporaryFile(/tmp/multipartBody1614348228310474976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_47_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e264a171eb4c7a70fbb22131edf7b3d.jpg","text":"TemporaryFile(/tmp/multipartBody8208375058910241485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_46_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6828166cb888111973835a279d9f178.jpg","text":"TemporaryFile(/tmp/multipartBody1972640415016024417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515122782,"filename":"image_30112025_13_47_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069940","file1":"1397069937","file0":"1397069934","file4":"1397069946","file5":"1397069951","file3":"1397069943"},"map_files_photo_id_array":[{"photo_id":"1397069951","filename":"file5"},{"photo_id":"1397069940","filename":"file2"},{"photo_id":"1397069946","filename":"file4"},{"photo_id":"1397069937","filename":"file1"},{"photo_id":"1397069934","filename":"file0"},{"photo_id":"1397069943","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397069951":["hashtag1","hashtag2"]},{"1397069943":["hashtag1","hashtag2"]},{"1397069946":["hashtag1","hashtag2"]},{"1397069940":["hashtag1","hashtag2"]},{"1397069934":["hashtag1","hashtag2"]},{"1397069937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397069951, 1397069943, 1397069946, 1397069940, 1397069934, 1397069937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39430522918701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:05:02.795908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_55_10635.jpg', '/home/pi/Desktop/images/30112025/13/47/image_30112025_13_48_05_9710.jpg', '/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_15_9665.jpg', '/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_35_9737.jpg', '/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_45_9652.jpg', '/home/pi/Desktop/images/30112025/13/48/image_30112025_13_49_06_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_47_55_10635.jpg
/home/pi/Desktop/images/30112025/13/47/image_30112025_13_48_05_9710.jpg
/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_15_9665.jpg
/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_35_9737.jpg
/home/pi/Desktop/images/30112025/13/48/image_30112025_13_48_45_9652.jpg
/home/pi/Desktop/images/30112025/13/48/image_30112025_13_49_06_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397069957","1397069959","1397069953","1397069952","1397069955","1397069954"],"photo_ids_order":["1397069952","1397069953","1397069954","1397069955","1397069957","1397069959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05070987b6e3541041daf6d168122e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6499066382183592362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_48_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbe598c1c393932afabcdf492fc0ab48.jpg","text":"TemporaryFile(/tmp/multipartBody5473222247528114967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_49_06_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b512f9e98fca1e3d043dbe2470fa7367.jpg","text":"TemporaryFile(/tmp/multipartBody4597075048318262217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_48_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d74aa528cbb5b9d70a871f05aa22612.jpg","text":"TemporaryFile(/tmp/multipartBody1587471755978824218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_47_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f31c83a7f935e05e08c272ebd8ebc56.jpg","text":"TemporaryFile(/tmp/multipartBody5390756447242337206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_48_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b148976f2b01c9ab25b6cdc3c812d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7574696635839253614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515163594,"filename":"image_30112025_13_48_15_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069954","file1":"1397069953","file0":"1397069952","file4":"1397069957","file5":"1397069959","file3":"1397069955"},"map_files_photo_id_array":[{"photo_id":"1397069959","filename":"file5"},{"photo_id":"1397069954","filename":"file2"},{"photo_id":"1397069957","filename":"file4"},{"photo_id":"1397069953","filename":"file1"},{"photo_id":"1397069952","filename":"file0"},{"photo_id":"1397069955","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397069957":["hashtag1","hashtag2"]},{"1397069959":["hashtag1","hashtag2"]},{"1397069953":["hashtag1","hashtag2"]},{"1397069952":["hashtag1","hashtag2"]},{"1397069955":["hashtag1","hashtag2"]},{"1397069954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397069957, 1397069959, 1397069953, 1397069952, 1397069955, 1397069954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40023398399353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:05:42.159403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/02/image_31102025_13_02_47_2842.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_51_3811.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_53_2625.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_56_2649.jpg', '/home/pi/Desktop/images/31102025/13/02/image_31102025_13_03_00_3692.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_02_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_47_2842.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_51_3811.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_53_2625.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_02_56_2649.jpg
/home/pi/Desktop/images/31102025/13/02/image_31102025_13_03_00_3692.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_02_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":["1397069978","1397069968","1397069976","1397069979","1397069973","1397069972"],"photo_ids_order":["1397069968","1397069972","1397069973","1397069976","1397069978","1397069979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f490d583d561a02e7caae62ac5563ce.jpg","text":"TemporaryFile(/tmp/multipartBody5003057967819101212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_03_00_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/30/ef1b5ed473c0e1e402592087053cba7b.jpg","text":"TemporaryFile(/tmp/multipartBody8180606521755893741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_02_47_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/30/2777fc4d5fe2e6f0f2a2d0ae7ac0ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody5662267865477762535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_02_56_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be8a506a8a89094c457361370f8155dc.jpg","text":"TemporaryFile(/tmp/multipartBody1598560805022267412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_03_02_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/30/2ac8c03761c24e8bb27c67a49b159550.jpg","text":"TemporaryFile(/tmp/multipartBody528109019659545655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_02_53_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/30/29a5d1231c5d4fa4adb940d011e4f125.jpg","text":"TemporaryFile(/tmp/multipartBody5231469295649390075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515203017,"filename":"image_31102025_13_02_51_3811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069973","file1":"1397069972","file0":"1397069968","file4":"1397069978","file5":"1397069979","file3":"1397069976"},"map_files_photo_id_array":[{"photo_id":"1397069979","filename":"file5"},{"photo_id":"1397069973","filename":"file2"},{"photo_id":"1397069978","filename":"file4"},{"photo_id":"1397069972","filename":"file1"},{"photo_id":"1397069968","filename":"file0"},{"photo_id":"1397069976","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397069978":["hashtag1","hashtag2"]},{"1397069968":["hashtag1","hashtag2"]},{"1397069976":["hashtag1","hashtag2"]},{"1397069979":["hashtag1","hashtag2"]},{"1397069973":["hashtag1","hashtag2"]},{"1397069972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397069978, 1397069968, 1397069976, 1397069979, 1397069973, 1397069972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.695488691329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:06:22.425714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg', '/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg
/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.615032434463501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:06:32.379716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_56_2703.jpg', '/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_59_3669.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_02_2812.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_05_2609.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_08_3644.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_11_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_56_2703.jpg
/home/pi/Desktop/images/25112025/20/25/image_25112025_20_25_59_3669.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_02_2812.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_05_2609.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_08_3644.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_11_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070000","1397069998","1397069994","1397069997","1397069999","1397069990"],"photo_ids_order":["1397069990","1397069994","1397069997","1397069998","1397069999","1397070000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/751cd5c18263b2ccfad931f8a63fba5b.jpg","text":"TemporaryFile(/tmp/multipartBody1204740136846432413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_26_11_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c75a947d9d9d2ae8bbf599d146abbba.jpg","text":"TemporaryFile(/tmp/multipartBody5761825119493054403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_26_05_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/30/5eef12f7e8f2551d5b80ca46aa076077.jpg","text":"TemporaryFile(/tmp/multipartBody8512006973992644643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_25_59_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/30/aa7f17e9cc9925f21661936567d6ba86.jpg","text":"TemporaryFile(/tmp/multipartBody8000800998067294944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_26_02_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/30/7c29a6fbd3356f3e1731eb45ca0f375e.jpg","text":"TemporaryFile(/tmp/multipartBody2250072976743935362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_26_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/30/476ce7e38e26cdf31cbba66072824efd.jpg","text":"TemporaryFile(/tmp/multipartBody3744206171617843713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515254413,"filename":"image_25112025_20_25_56_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397069997","file1":"1397069994","file0":"1397069990","file4":"1397069999","file5":"1397070000","file3":"1397069998"},"map_files_photo_id_array":[{"photo_id":"1397070000","filename":"file5"},{"photo_id":"1397069997","filename":"file2"},{"photo_id":"1397069999","filename":"file4"},{"photo_id":"1397069994","filename":"file1"},{"photo_id":"1397069990","filename":"file0"},{"photo_id":"1397069998","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070000":["hashtag1","hashtag2"]},{"1397069998":["hashtag1","hashtag2"]},{"1397069994":["hashtag1","hashtag2"]},{"1397069997":["hashtag1","hashtag2"]},{"1397069999":["hashtag1","hashtag2"]},{"1397069990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070000, 1397069998, 1397069994, 1397069997, 1397069999, 1397069990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12543249130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:07:12.346515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_14_2549.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_17_3712.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_20_2612.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_22_2617.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_26_3783.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_29_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_14_2549.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_17_3712.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_20_2612.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_22_2617.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_26_3783.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_29_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070015","1397070009","1397070003","1397070006","1397070001","1397070012"],"photo_ids_order":["1397070001","1397070003","1397070006","1397070009","1397070012","1397070015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/224ddb9a1906873db6b9618f05113e33.jpg","text":"TemporaryFile(/tmp/multipartBody1639078846819709265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_29_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/30/7f9767b24e41d90c60908d87f362b80c.jpg","text":"TemporaryFile(/tmp/multipartBody2484241930401231776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_22_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/30/d8f6dd68aca512ab4045a59d0ff37bb2.jpg","text":"TemporaryFile(/tmp/multipartBody6150161321390085028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_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/30/8a0c2a56e622eac2b60f4448826714e3.jpg","text":"TemporaryFile(/tmp/multipartBody4125314879020120412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_20_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/30/42764d005cf682b18c9506dede5d0d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2571534886142004002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_14_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/30/7371ea9cbf11b7f0a4faa39ee51cc2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5809709008955924456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515294183,"filename":"image_25112025_20_26_26_3783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070006","file1":"1397070003","file0":"1397070001","file4":"1397070012","file5":"1397070015","file3":"1397070009"},"map_files_photo_id_array":[{"photo_id":"1397070015","filename":"file5"},{"photo_id":"1397070006","filename":"file2"},{"photo_id":"1397070012","filename":"file4"},{"photo_id":"1397070003","filename":"file1"},{"photo_id":"1397070001","filename":"file0"},{"photo_id":"1397070009","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070015":["hashtag1","hashtag2"]},{"1397070009":["hashtag1","hashtag2"]},{"1397070003":["hashtag1","hashtag2"]},{"1397070006":["hashtag1","hashtag2"]},{"1397070001":["hashtag1","hashtag2"]},{"1397070012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070015, 1397070009, 1397070003, 1397070006, 1397070001, 1397070012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62513542175293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:08:03.081435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg', '/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg
/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6280252933502197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:08:12.663311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_32_2745.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_35_3551.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_41_3559.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_44_2693.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_47_2829.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_50_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_32_2745.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_35_3551.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_41_3559.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_44_2693.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_47_2829.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_50_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070032","1397070035","1397070029","1397070037","1397070022","1397070025"],"photo_ids_order":["1397070022","1397070025","1397070029","1397070032","1397070035","1397070037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a179a90d20851be8380b2ef240b69f8e.jpg","text":"TemporaryFile(/tmp/multipartBody4639039593685596031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a887f5719882ce186ffd60dfde03f76a.jpg","text":"TemporaryFile(/tmp/multipartBody810789182998723034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_47_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/30/45ee791bbc8894d4677171e2d1115760.jpg","text":"TemporaryFile(/tmp/multipartBody3933048774175023339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_41_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/30/238d35bb175f3912a312be25063f8f26.jpg","text":"TemporaryFile(/tmp/multipartBody7078759268389520696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_50_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/30/0d0bfef7aa6d375fc3f1f268ce314837.jpg","text":"TemporaryFile(/tmp/multipartBody3096149059549592955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_32_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/30/d76be9bf4be2e494c6c93435d14a15ec.jpg","text":"TemporaryFile(/tmp/multipartBody138498411416590104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515354494,"filename":"image_25112025_20_26_35_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070029","file1":"1397070025","file0":"1397070022","file4":"1397070035","file5":"1397070037","file3":"1397070032"},"map_files_photo_id_array":[{"photo_id":"1397070037","filename":"file5"},{"photo_id":"1397070029","filename":"file2"},{"photo_id":"1397070035","filename":"file4"},{"photo_id":"1397070025","filename":"file1"},{"photo_id":"1397070022","filename":"file0"},{"photo_id":"1397070032","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070032":["hashtag1","hashtag2"]},{"1397070035":["hashtag1","hashtag2"]},{"1397070029":["hashtag1","hashtag2"]},{"1397070037":["hashtag1","hashtag2"]},{"1397070022":["hashtag1","hashtag2"]},{"1397070025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070032, 1397070035, 1397070029, 1397070037, 1397070022, 1397070025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36731433868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:09:03.580115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg', '/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg', '/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_15_9692.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_25_9688.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_45_9745.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_49_55_9690.jpg
/home/pi/Desktop/images/30112025/13/49/image_30112025_13_50_05_9677.jpg
/home/pi/Desktop/images/30112025/13/50/image_30112025_13_50_25_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070042","1397070044","1397070052","1397070049","1397070043","1397070045"],"photo_ids_order":["1397070042","1397070043","1397070044","1397070045","1397070049","1397070052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e6de49a711b8452950e504f293cd10f.jpg","text":"TemporaryFile(/tmp/multipartBody3761862521626891297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_49_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dfffee8d98907922e6b3578f0d099fc.jpg","text":"TemporaryFile(/tmp/multipartBody3011064610208113729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_49_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/574487dc5b07d2d5e8307909549ded1c.jpg","text":"TemporaryFile(/tmp/multipartBody5803999142262572375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_50_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338d49bcee27f00de625f0dc1e61cc74.jpg","text":"TemporaryFile(/tmp/multipartBody8302980142940144870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_50_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed698c83d30ba521ca1338457e464194.jpg","text":"TemporaryFile(/tmp/multipartBody8339314659954078068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_49_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75ac8eebcafaa1874363855dadc91f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2012827633338763880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515404460,"filename":"image_30112025_13_49_55_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070044","file1":"1397070043","file0":"1397070042","file4":"1397070049","file5":"1397070052","file3":"1397070045"},"map_files_photo_id_array":[{"photo_id":"1397070052","filename":"file5"},{"photo_id":"1397070044","filename":"file2"},{"photo_id":"1397070049","filename":"file4"},{"photo_id":"1397070043","filename":"file1"},{"photo_id":"1397070042","filename":"file0"},{"photo_id":"1397070045","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070042":["hashtag1","hashtag2"]},{"1397070044":["hashtag1","hashtag2"]},{"1397070052":["hashtag1","hashtag2"]},{"1397070049":["hashtag1","hashtag2"]},{"1397070043":["hashtag1","hashtag2"]},{"1397070045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070042, 1397070044, 1397070052, 1397070049, 1397070043, 1397070045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6093692779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:09:42.856182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/03/image_31102025_13_03_05_2710.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_09_3565.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_11_2818.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_14_2584.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_18_3630.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_20_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_05_2710.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_09_3565.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_11_2818.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_14_2584.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_18_3630.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_20_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":["1397070062","1397070065","1397070064","1397070063","1397070066","1397070060"],"photo_ids_order":["1397070060","1397070062","1397070063","1397070064","1397070065","1397070066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c540049e79cf444a840e3b13e89690e9.jpg","text":"TemporaryFile(/tmp/multipartBody2306268944750651915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_09_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/30/c6a0537f9bf3519bdc9d6c2d66e14fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6957568622488324187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_18_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/30/c458fb761b3ea510f894b334f3a0ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody6341878834988981018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_14_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/30/e73e036286f424ad26e1bd8c63e21908.jpg","text":"TemporaryFile(/tmp/multipartBody2744867792044123357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_11_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/30/3d8266e8a4dc033ab71e1ac27f5ca4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5560340732414337552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_20_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/30/e9ed418526a8572645cdb76e3a7ecaed.jpg","text":"TemporaryFile(/tmp/multipartBody8691788629876147528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515443695,"filename":"image_31102025_13_03_05_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070063","file1":"1397070062","file0":"1397070060","file4":"1397070065","file5":"1397070066","file3":"1397070064"},"map_files_photo_id_array":[{"photo_id":"1397070066","filename":"file5"},{"photo_id":"1397070063","filename":"file2"},{"photo_id":"1397070065","filename":"file4"},{"photo_id":"1397070062","filename":"file1"},{"photo_id":"1397070060","filename":"file0"},{"photo_id":"1397070064","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070062":["hashtag1","hashtag2"]},{"1397070065":["hashtag1","hashtag2"]},{"1397070064":["hashtag1","hashtag2"]},{"1397070063":["hashtag1","hashtag2"]},{"1397070066":["hashtag1","hashtag2"]},{"1397070060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070062, 1397070065, 1397070064, 1397070063, 1397070066, 1397070060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05321288108826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:10:22.143328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_05_9938.jpg', '/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_25_9885.jpg', '/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_35_9711.jpg', '/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_45_9852.jpg', '/home/pi/Desktop/images/30112025/13/52/image_30112025_13_52_35_9668.jpg', '/home/pi/Desktop/images/30112025/13/52/image_30112025_13_53_05_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_05_9938.jpg
/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_25_9885.jpg
/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_35_9711.jpg
/home/pi/Desktop/images/30112025/13/51/image_30112025_13_51_45_9852.jpg
/home/pi/Desktop/images/30112025/13/52/image_30112025_13_52_35_9668.jpg
/home/pi/Desktop/images/30112025/13/52/image_30112025_13_53_05_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070081","1397070075","1397070084","1397070078","1397070072","1397070069"],"photo_ids_order":["1397070069","1397070072","1397070075","1397070078","1397070081","1397070084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/446fbbaaa83d8642fc78681bb44264c1.jpg","text":"TemporaryFile(/tmp/multipartBody9106122326326522472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_52_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/706e3180e9e8b9ab7014ae6d9bea34c9.jpg","text":"TemporaryFile(/tmp/multipartBody8094805987037624345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_51_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de857478fe1059e742966096096f9770.jpg","text":"TemporaryFile(/tmp/multipartBody6951806936862662673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_53_05_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f9ebb592dcc426dd11b7dcebe36e6be.jpg","text":"TemporaryFile(/tmp/multipartBody8230263884712701871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_51_45_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f5597b531038ed87e7ec7dd20a2147e.jpg","text":"TemporaryFile(/tmp/multipartBody6218701897229469834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_51_25_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdf8c1aa90f64d3854bf3a3cbeaf2a58.jpg","text":"TemporaryFile(/tmp/multipartBody4797328815340028890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515482806,"filename":"image_30112025_13_51_05_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070075","file1":"1397070072","file0":"1397070069","file4":"1397070081","file5":"1397070084","file3":"1397070078"},"map_files_photo_id_array":[{"photo_id":"1397070084","filename":"file5"},{"photo_id":"1397070075","filename":"file2"},{"photo_id":"1397070081","filename":"file4"},{"photo_id":"1397070072","filename":"file1"},{"photo_id":"1397070069","filename":"file0"},{"photo_id":"1397070078","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070081":["hashtag1","hashtag2"]},{"1397070075":["hashtag1","hashtag2"]},{"1397070084":["hashtag1","hashtag2"]},{"1397070078":["hashtag1","hashtag2"]},{"1397070072":["hashtag1","hashtag2"]},{"1397070069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070081, 1397070075, 1397070084, 1397070078, 1397070072, 1397070069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.303874015808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:11:02.871559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_35_9751.jpg', '/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_46_10233.jpg', '/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_55_9693.jpg', '/home/pi/Desktop/images/30112025/13/54/image_30112025_13_54_55_9752.jpg', '/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_05_10432.jpg', '/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_45_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_35_9751.jpg
/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_46_10233.jpg
/home/pi/Desktop/images/30112025/13/53/image_30112025_13_53_55_9693.jpg
/home/pi/Desktop/images/30112025/13/54/image_30112025_13_54_55_9752.jpg
/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_05_10432.jpg
/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_45_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070086","1397070089","1397070091","1397070094","1397070088","1397070087"],"photo_ids_order":["1397070086","1397070087","1397070088","1397070089","1397070091","1397070094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a35818dfc80e027b200f9512b1bf139.jpg","text":"TemporaryFile(/tmp/multipartBody4504633244457729541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_53_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43e6909248411a293ca83a9bba921836.jpg","text":"TemporaryFile(/tmp/multipartBody5154913944444500281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_54_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b596c74c0ea755050e28cc57515ed81.jpg","text":"TemporaryFile(/tmp/multipartBody8132515277659983160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_55_05_10432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/803ea369dbfd400cce9f0c1adc427558.jpg","text":"TemporaryFile(/tmp/multipartBody4736560425558236550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_55_45_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03c9b5b755eec9b243e2ae82587fe575.jpg","text":"TemporaryFile(/tmp/multipartBody770308072735787112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_53_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d088c6aa5ac6032e500494e4355ca482.jpg","text":"TemporaryFile(/tmp/multipartBody3667438285362398472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515523661,"filename":"image_30112025_13_53_46_10233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070088","file1":"1397070087","file0":"1397070086","file4":"1397070091","file5":"1397070094","file3":"1397070089"},"map_files_photo_id_array":[{"photo_id":"1397070094","filename":"file5"},{"photo_id":"1397070088","filename":"file2"},{"photo_id":"1397070091","filename":"file4"},{"photo_id":"1397070087","filename":"file1"},{"photo_id":"1397070086","filename":"file0"},{"photo_id":"1397070089","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070086":["hashtag1","hashtag2"]},{"1397070089":["hashtag1","hashtag2"]},{"1397070091":["hashtag1","hashtag2"]},{"1397070094":["hashtag1","hashtag2"]},{"1397070088":["hashtag1","hashtag2"]},{"1397070087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070086, 1397070089, 1397070091, 1397070094, 1397070088, 1397070087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89866590499878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:11:42.273225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/03/image_31102025_13_03_23_2725.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_26_2863.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_30_3755.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_32_2612.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_35_2715.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_39_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/13/03/image_31102025_13_03_23_2725.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_26_2863.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_30_3755.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_32_2612.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_35_2715.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_39_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":["1397070108","1397070110","1397070104","1397070107","1397070109","1397070106"],"photo_ids_order":["1397070104","1397070106","1397070107","1397070108","1397070109","1397070110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57b45ad40449d6df635d2b2adacb0848.jpg","text":"TemporaryFile(/tmp/multipartBody6941692651828749768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_32_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af69452f1f41c479cb8df27f1507bbba.jpg","text":"TemporaryFile(/tmp/multipartBody8264249540641607630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_39_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/30/86be11f843365b031523cc36b4a18744.jpg","text":"TemporaryFile(/tmp/multipartBody918383921970503869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_23_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05717224e7855524eaf46bdcf0651a59.jpg","text":"TemporaryFile(/tmp/multipartBody6099673292600164411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_30_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/30/ce99a09523c676c1f9db283b2ff6544c.jpg","text":"TemporaryFile(/tmp/multipartBody60751369310121080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_35_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13534b494a77101fb72786534fd2273e.jpg","text":"TemporaryFile(/tmp/multipartBody256792627716864252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515563161,"filename":"image_31102025_13_03_26_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070107","file1":"1397070106","file0":"1397070104","file4":"1397070109","file5":"1397070110","file3":"1397070108"},"map_files_photo_id_array":[{"photo_id":"1397070110","filename":"file5"},{"photo_id":"1397070107","filename":"file2"},{"photo_id":"1397070109","filename":"file4"},{"photo_id":"1397070106","filename":"file1"},{"photo_id":"1397070104","filename":"file0"},{"photo_id":"1397070108","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070108":["hashtag1","hashtag2"]},{"1397070110":["hashtag1","hashtag2"]},{"1397070104":["hashtag1","hashtag2"]},{"1397070107":["hashtag1","hashtag2"]},{"1397070109":["hashtag1","hashtag2"]},{"1397070106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070108, 1397070110, 1397070104, 1397070107, 1397070109, 1397070106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.672906160354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:12:22.446334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_55_9782.jpg', '/home/pi/Desktop/images/30112025/13/55/image_30112025_13_56_05_10388.jpg', '/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_15_9618.jpg', '/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_25_10745.jpg', '/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_35_9689.jpg', '/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_45_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/55/image_30112025_13_55_55_9782.jpg
/home/pi/Desktop/images/30112025/13/55/image_30112025_13_56_05_10388.jpg
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_15_9618.jpg
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_25_10745.jpg
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_35_9689.jpg
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_45_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070123","1397070122","1397070119","1397070113","1397070116","1397070126"],"photo_ids_order":["1397070113","1397070116","1397070119","1397070122","1397070123","1397070126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5649ebdb003e3f9e675f53f0307adb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7524233102013629352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_56_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6502fe11c49e99767fd6819d1404e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3674284249383826411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_56_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8b774ca6188fb281e2eef110a8228ad.jpg","text":"TemporaryFile(/tmp/multipartBody5468722133705633580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_56_15_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff15b49b6eee83b57c2e8e57a36638d0.jpg","text":"TemporaryFile(/tmp/multipartBody3478005792454159509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_55_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81e173a4811b8b40ff0bc36e4ab8de9e.jpg","text":"TemporaryFile(/tmp/multipartBody8582465195377351824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_56_05_10388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68acbed5ac7ea57ef1b8987da96607d8.jpg","text":"TemporaryFile(/tmp/multipartBody5617418593619869317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515603122,"filename":"image_30112025_13_56_45_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070119","file1":"1397070116","file0":"1397070113","file4":"1397070123","file5":"1397070126","file3":"1397070122"},"map_files_photo_id_array":[{"photo_id":"1397070126","filename":"file5"},{"photo_id":"1397070119","filename":"file2"},{"photo_id":"1397070123","filename":"file4"},{"photo_id":"1397070116","filename":"file1"},{"photo_id":"1397070113","filename":"file0"},{"photo_id":"1397070122","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070123":["hashtag1","hashtag2"]},{"1397070122":["hashtag1","hashtag2"]},{"1397070119":["hashtag1","hashtag2"]},{"1397070113":["hashtag1","hashtag2"]},{"1397070116":["hashtag1","hashtag2"]},{"1397070126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070123, 1397070122, 1397070119, 1397070113, 1397070116, 1397070126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.515937089920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:13:03.411351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_56_10717.jpg', '/home/pi/Desktop/images/30112025/13/56/image_30112025_13_57_05_9709.jpg', '/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_15_9736.jpg', '/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_35_9696.jpg', '/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_45_9871.jpg', '/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_55_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_56_56_10717.jpg
/home/pi/Desktop/images/30112025/13/56/image_30112025_13_57_05_9709.jpg
/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_15_9736.jpg
/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_35_9696.jpg
/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_45_9871.jpg
/home/pi/Desktop/images/30112025/13/57/image_30112025_13_57_55_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070135","1397070131","1397070133","1397070139","1397070130","1397070132"],"photo_ids_order":["1397070130","1397070131","1397070132","1397070133","1397070135","1397070139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/057e96bee275bbdef36256a3f63dbbbc.jpg","text":"TemporaryFile(/tmp/multipartBody1472318452579437943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_57_45_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09498b4d083a233191116fdb26f69ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7115981227290603533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_57_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff7b7d6d0a67e2598de8f2c0b2c4a76c.jpg","text":"TemporaryFile(/tmp/multipartBody667071162846120358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_57_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9cdf369b38a64320ce73d8d045f969e.jpg","text":"TemporaryFile(/tmp/multipartBody7869890134348620547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_57_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9342cd3a96cf3d9754cbd28d1d96b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody7882207947235534938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_56_56_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4a3c9fd0c09b7c9358f6a02cc5c0562.jpg","text":"TemporaryFile(/tmp/multipartBody7632659942753301841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515644144,"filename":"image_30112025_13_57_15_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070132","file1":"1397070131","file0":"1397070130","file4":"1397070135","file5":"1397070139","file3":"1397070133"},"map_files_photo_id_array":[{"photo_id":"1397070139","filename":"file5"},{"photo_id":"1397070132","filename":"file2"},{"photo_id":"1397070135","filename":"file4"},{"photo_id":"1397070131","filename":"file1"},{"photo_id":"1397070130","filename":"file0"},{"photo_id":"1397070133","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070135":["hashtag1","hashtag2"]},{"1397070131":["hashtag1","hashtag2"]},{"1397070133":["hashtag1","hashtag2"]},{"1397070139":["hashtag1","hashtag2"]},{"1397070130":["hashtag1","hashtag2"]},{"1397070132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070135, 1397070131, 1397070133, 1397070139, 1397070130, 1397070132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9232132434845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:13:42.596151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/03/image_31102025_13_03_41_2653.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_44_2692.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_47_2800.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_50_3711.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_53_2670.jpg', '/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_56_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_41_2653.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_44_2692.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_47_2800.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_50_3711.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_53_2670.jpg
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_03_56_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":["1397070149","1397070151","1397070148","1397070150","1397070153","1397070147"],"photo_ids_order":["1397070147","1397070148","1397070149","1397070150","1397070151","1397070153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1467d988ed921aabff8e5b17c803eaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5693322854599720777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_47_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/30/b732060fb179413bf18142b57695b197.jpg","text":"TemporaryFile(/tmp/multipartBody8772054275505689072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_53_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cf896931398896de70f5be049244482.jpg","text":"TemporaryFile(/tmp/multipartBody8638205018094554176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_44_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ea74afa2e9a11da20cc8cadd91968f7.jpg","text":"TemporaryFile(/tmp/multipartBody884360296445518680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_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/30/25bb4d0d73d6e4b703687bf85d04f6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3286487704359307507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_56_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/30/9ef0d8a9ca4d124d8fcfe502ad6aca8c.jpg","text":"TemporaryFile(/tmp/multipartBody8928735610368124713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515683434,"filename":"image_31102025_13_03_41_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070149","file1":"1397070148","file0":"1397070147","file4":"1397070151","file5":"1397070153","file3":"1397070150"},"map_files_photo_id_array":[{"photo_id":"1397070153","filename":"file5"},{"photo_id":"1397070149","filename":"file2"},{"photo_id":"1397070151","filename":"file4"},{"photo_id":"1397070148","filename":"file1"},{"photo_id":"1397070147","filename":"file0"},{"photo_id":"1397070150","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070149":["hashtag1","hashtag2"]},{"1397070151":["hashtag1","hashtag2"]},{"1397070148":["hashtag1","hashtag2"]},{"1397070150":["hashtag1","hashtag2"]},{"1397070153":["hashtag1","hashtag2"]},{"1397070147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070149, 1397070151, 1397070148, 1397070150, 1397070153, 1397070147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.275811195373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:14:22.827938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/13/57/image_30112025_13_58_06_10865.jpg', '/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_15_9641.jpg', '/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_26_10382.jpg', '/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_55_9657.jpg', '/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_14_10037.jpg', '/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_25_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/13/57/image_30112025_13_58_06_10865.jpg
/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_15_9641.jpg
/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_26_10382.jpg
/home/pi/Desktop/images/30112025/13/58/image_30112025_13_58_55_9657.jpg
/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_14_10037.jpg
/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_25_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070172","1397070174","1397070162","1397070165","1397070159","1397070168"],"photo_ids_order":["1397070159","1397070162","1397070165","1397070168","1397070172","1397070174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddca8d8b3a6fcc8cd554b443ae020eff.jpg","text":"TemporaryFile(/tmp/multipartBody3583509766098382082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_14_00_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd97713f7b8694b18ad1e8e4ead765e3.jpg","text":"TemporaryFile(/tmp/multipartBody4320786068885832611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_14_00_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d09506a7fbaced723d7195ff5ab378ac.jpg","text":"TemporaryFile(/tmp/multipartBody7513022854080853852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_13_58_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96f12ea2de6f572d934e86fef79408bc.jpg","text":"TemporaryFile(/tmp/multipartBody8631112117530368371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_13_58_26_10382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b336ab967b249c91d70125d47f6e797d.jpg","text":"TemporaryFile(/tmp/multipartBody4073416167531782804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_13_58_06_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da9414076cc76d1f6fc7e1e11fc244eb.jpg","text":"TemporaryFile(/tmp/multipartBody1151829174012174557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515723489,"filename":"image_30112025_13_58_55_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070165","file1":"1397070162","file0":"1397070159","file4":"1397070172","file5":"1397070174","file3":"1397070168"},"map_files_photo_id_array":[{"photo_id":"1397070174","filename":"file5"},{"photo_id":"1397070165","filename":"file2"},{"photo_id":"1397070172","filename":"file4"},{"photo_id":"1397070162","filename":"file1"},{"photo_id":"1397070159","filename":"file0"},{"photo_id":"1397070168","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070172":["hashtag1","hashtag2"]},{"1397070174":["hashtag1","hashtag2"]},{"1397070162":["hashtag1","hashtag2"]},{"1397070165":["hashtag1","hashtag2"]},{"1397070159":["hashtag1","hashtag2"]},{"1397070168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070172, 1397070174, 1397070162, 1397070165, 1397070159, 1397070168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06953573226929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:15:02.644289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_44_9604.jpg', '/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_15_9562.jpg', '/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_25_9826.jpg', '/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_45_10745.jpg', '/home/pi/Desktop/images/30112025/14/01/image_30112025_14_02_04_9582.jpg', '/home/pi/Desktop/images/30112025/14/02/image_30112025_14_02_15_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/00/image_30112025_14_00_44_9604.jpg
/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_15_9562.jpg
/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_25_9826.jpg
/home/pi/Desktop/images/30112025/14/01/image_30112025_14_01_45_10745.jpg
/home/pi/Desktop/images/30112025/14/01/image_30112025_14_02_04_9582.jpg
/home/pi/Desktop/images/30112025/14/02/image_30112025_14_02_15_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070176","1397070178","1397070175","1397070180","1397070183","1397070177"],"photo_ids_order":["1397070175","1397070176","1397070177","1397070178","1397070180","1397070183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a06db2ed2878317908b48d4a1af0ffe5.jpg","text":"TemporaryFile(/tmp/multipartBody1891800227010855458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_01_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e179915d968dc9d5a139308f399ae65.jpg","text":"TemporaryFile(/tmp/multipartBody4145567401470669339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_01_45_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/131dd64d60c2c62a559ac7bfc51efe43.jpg","text":"TemporaryFile(/tmp/multipartBody7837663898646235877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_00_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0f9ee7e6109623a9e6c5c66fe77f72e.jpg","text":"TemporaryFile(/tmp/multipartBody2333471264500390917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_02_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9319c1cccfe4d0737b736d8dcb106441.jpg","text":"TemporaryFile(/tmp/multipartBody4121747523931033368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_02_15_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b91a207d473ef97aa1b1caecb58900ad.jpg","text":"TemporaryFile(/tmp/multipartBody9067589001399319928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515763408,"filename":"image_30112025_14_01_25_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070177","file1":"1397070176","file0":"1397070175","file4":"1397070180","file5":"1397070183","file3":"1397070178"},"map_files_photo_id_array":[{"photo_id":"1397070183","filename":"file5"},{"photo_id":"1397070177","filename":"file2"},{"photo_id":"1397070180","filename":"file4"},{"photo_id":"1397070176","filename":"file1"},{"photo_id":"1397070175","filename":"file0"},{"photo_id":"1397070178","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070176":["hashtag1","hashtag2"]},{"1397070178":["hashtag1","hashtag2"]},{"1397070175":["hashtag1","hashtag2"]},{"1397070180":["hashtag1","hashtag2"]},{"1397070183":["hashtag1","hashtag2"]},{"1397070177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070176, 1397070178, 1397070175, 1397070180, 1397070183, 1397070177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.817014932632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:15:41.964422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/03/image_31102025_13_04_00_3737.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_02_2652.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_05_2597.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_09_3742.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_11_2772.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_14_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/03/image_31102025_13_04_00_3737.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_02_2652.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_05_2597.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_09_3742.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_11_2772.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_14_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070197","1397070194","1397070196","1397070190","1397070193","1397070195"],"photo_ids_order":["1397070190","1397070193","1397070194","1397070195","1397070196","1397070197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4a36641fae691a4b597cd08a6adbef8.jpg","text":"TemporaryFile(/tmp/multipartBody815875397393569447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_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/30/bd08abb5b9d7e14e54ec9bc4fe67681e.jpg","text":"TemporaryFile(/tmp/multipartBody7651030776929452792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_05_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/30/8b3558f66aaa1b984214eb0fe0250b58.jpg","text":"TemporaryFile(/tmp/multipartBody2649789961948564366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_11_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa921722f1a8b93cd6ff45c3475f8642.jpg","text":"TemporaryFile(/tmp/multipartBody7666690439009508306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_00_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/30/3b28c478266fa0c1c236b4782ebbf35b.jpg","text":"TemporaryFile(/tmp/multipartBody7357924961893484286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_02_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/30/c6b033fcb3b481550230882022a1a9d8.jpg","text":"TemporaryFile(/tmp/multipartBody5729028007967521709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515802805,"filename":"image_31102025_13_04_09_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070194","file1":"1397070193","file0":"1397070190","file4":"1397070196","file5":"1397070197","file3":"1397070195"},"map_files_photo_id_array":[{"photo_id":"1397070197","filename":"file5"},{"photo_id":"1397070194","filename":"file2"},{"photo_id":"1397070196","filename":"file4"},{"photo_id":"1397070193","filename":"file1"},{"photo_id":"1397070190","filename":"file0"},{"photo_id":"1397070195","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070197":["hashtag1","hashtag2"]},{"1397070194":["hashtag1","hashtag2"]},{"1397070196":["hashtag1","hashtag2"]},{"1397070190":["hashtag1","hashtag2"]},{"1397070193":["hashtag1","hashtag2"]},{"1397070195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070197, 1397070194, 1397070196, 1397070190, 1397070193, 1397070195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12624144554138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:16:22.192606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/02/image_30112025_14_02_55_10648.jpg', '/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_14_9656.jpg', '/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_25_10678.jpg', '/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_54_9610.jpg', '/home/pi/Desktop/images/30112025/14/04/image_30112025_14_04_24_9601.jpg', '/home/pi/Desktop/images/30112025/14/04/image_30112025_14_04_45_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/02/image_30112025_14_02_55_10648.jpg
/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_14_9656.jpg
/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_25_10678.jpg
/home/pi/Desktop/images/30112025/14/03/image_30112025_14_03_54_9610.jpg
/home/pi/Desktop/images/30112025/14/04/image_30112025_14_04_24_9601.jpg
/home/pi/Desktop/images/30112025/14/04/image_30112025_14_04_45_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070203","1397070206","1397070209","1397070200","1397070214","1397070211"],"photo_ids_order":["1397070200","1397070203","1397070206","1397070209","1397070211","1397070214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85db58505ddaf0568e2fa0c1a4f31344.jpg","text":"TemporaryFile(/tmp/multipartBody8088658996531277860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_03_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca50b6be324925ad930d2290dc4a5664.jpg","text":"TemporaryFile(/tmp/multipartBody8295658297870638520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_03_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0562edd7274c6fb9592f490030cb2c46.jpg","text":"TemporaryFile(/tmp/multipartBody7353369673198447490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_03_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf00e4bf5fed88d13e2482920c508c67.jpg","text":"TemporaryFile(/tmp/multipartBody6557637179828043213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_02_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35b3ea6ea5e34e8e660907333e1faef8.jpg","text":"TemporaryFile(/tmp/multipartBody7520018255475244735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_04_45_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6490fdc97d1ecd75ef2760fde919cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody5251085683317338028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515842896,"filename":"image_30112025_14_04_24_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070206","file1":"1397070203","file0":"1397070200","file4":"1397070211","file5":"1397070214","file3":"1397070209"},"map_files_photo_id_array":[{"photo_id":"1397070214","filename":"file5"},{"photo_id":"1397070206","filename":"file2"},{"photo_id":"1397070211","filename":"file4"},{"photo_id":"1397070203","filename":"file1"},{"photo_id":"1397070200","filename":"file0"},{"photo_id":"1397070209","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070203":["hashtag1","hashtag2"]},{"1397070206":["hashtag1","hashtag2"]},{"1397070209":["hashtag1","hashtag2"]},{"1397070200":["hashtag1","hashtag2"]},{"1397070214":["hashtag1","hashtag2"]},{"1397070211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070203, 1397070206, 1397070209, 1397070200, 1397070214, 1397070211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82482194900513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:17:02.999515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/05/image_30112025_14_05_24_9292.jpg', '/home/pi/Desktop/images/30112025/14/05/image_30112025_14_06_04_9625.jpg', '/home/pi/Desktop/images/30112025/14/07/image_30112025_14_07_45_10757.jpg', '/home/pi/Desktop/images/30112025/14/08/image_30112025_14_08_15_10518.jpg', '/home/pi/Desktop/images/30112025/14/08/image_30112025_14_08_54_10137.jpg', '/home/pi/Desktop/images/30112025/14/09/image_30112025_14_09_15_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/05/image_30112025_14_05_24_9292.jpg
/home/pi/Desktop/images/30112025/14/05/image_30112025_14_06_04_9625.jpg
/home/pi/Desktop/images/30112025/14/07/image_30112025_14_07_45_10757.jpg
/home/pi/Desktop/images/30112025/14/08/image_30112025_14_08_15_10518.jpg
/home/pi/Desktop/images/30112025/14/08/image_30112025_14_08_54_10137.jpg
/home/pi/Desktop/images/30112025/14/09/image_30112025_14_09_15_10803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070222","1397070216","1397070215","1397070217","1397070225","1397070219"],"photo_ids_order":["1397070215","1397070216","1397070217","1397070219","1397070222","1397070225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd0a24ef9c25edb7e247fd836325c689.jpg","text":"TemporaryFile(/tmp/multipartBody8951239971069129406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_08_54_10137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae9d778161327b0f47ce6dc14b25a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5903730690865176575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_06_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/501b373d62d690867566a4369a683b41.jpg","text":"TemporaryFile(/tmp/multipartBody6922222771253735843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_05_24_9292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab5e24231d382814ce2b37cd61ece9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4758181866877557306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_07_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93d72b655b8554a9fc3b6a5961b0a348.jpg","text":"TemporaryFile(/tmp/multipartBody3511459469680026976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_09_15_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b711660a7831c87094fb60641fbc56ec.jpg","text":"TemporaryFile(/tmp/multipartBody2400138548676999678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515886036,"filename":"image_30112025_14_08_15_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070217","file1":"1397070216","file0":"1397070215","file4":"1397070222","file5":"1397070225","file3":"1397070219"},"map_files_photo_id_array":[{"photo_id":"1397070225","filename":"file5"},{"photo_id":"1397070217","filename":"file2"},{"photo_id":"1397070222","filename":"file4"},{"photo_id":"1397070216","filename":"file1"},{"photo_id":"1397070215","filename":"file0"},{"photo_id":"1397070219","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070222":["hashtag1","hashtag2"]},{"1397070216":["hashtag1","hashtag2"]},{"1397070215":["hashtag1","hashtag2"]},{"1397070217":["hashtag1","hashtag2"]},{"1397070225":["hashtag1","hashtag2"]},{"1397070219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070222, 1397070216, 1397070215, 1397070217, 1397070225, 1397070219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.972506284713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:18:03.012542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/09/image_30112025_14_09_45_10691.jpg', '/home/pi/Desktop/images/30112025/14/10/image_30112025_14_10_55_9743.jpg', '/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_14_9764.jpg', '/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_35_9684.jpg', '/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_45_9660.jpg', '/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/09/image_30112025_14_09_45_10691.jpg
/home/pi/Desktop/images/30112025/14/10/image_30112025_14_10_55_9743.jpg
/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_14_9764.jpg
/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_35_9684.jpg
/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_45_9660.jpg
/home/pi/Desktop/images/30112025/14/11/image_30112025_14_11_55_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070234","1397070233","1397070242","1397070236","1397070235","1397070238"],"photo_ids_order":["1397070233","1397070234","1397070235","1397070236","1397070238","1397070242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db335c9bb5408c6deda5512b46458f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6978766204769282853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_10_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8bdb0c3e04c16c2c7daac2755bfbeb3.jpg","text":"TemporaryFile(/tmp/multipartBody4256767690930461414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_09_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e236a035fdbae3933da75e157b09d25.jpg","text":"TemporaryFile(/tmp/multipartBody3350335368174653680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_11_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f231c061763fbcd1758e86fdf5b9a63f.jpg","text":"TemporaryFile(/tmp/multipartBody6963919911234409365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_11_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41354f8f5d37b60c6cfebf6959d41856.jpg","text":"TemporaryFile(/tmp/multipartBody7882069762057756046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_11_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42c9370b69f6c165ce1b1062d4afcb72.jpg","text":"TemporaryFile(/tmp/multipartBody978004519584831805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515943679,"filename":"image_30112025_14_11_45_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070235","file1":"1397070234","file0":"1397070233","file4":"1397070238","file5":"1397070242","file3":"1397070236"},"map_files_photo_id_array":[{"photo_id":"1397070242","filename":"file5"},{"photo_id":"1397070235","filename":"file2"},{"photo_id":"1397070238","filename":"file4"},{"photo_id":"1397070234","filename":"file1"},{"photo_id":"1397070233","filename":"file0"},{"photo_id":"1397070236","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070234":["hashtag1","hashtag2"]},{"1397070233":["hashtag1","hashtag2"]},{"1397070242":["hashtag1","hashtag2"]},{"1397070236":["hashtag1","hashtag2"]},{"1397070235":["hashtag1","hashtag2"]},{"1397070238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070234, 1397070233, 1397070242, 1397070236, 1397070235, 1397070238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53220224380493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:18:42.543108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/04/image_31102025_13_04_17_2771.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_20_3575.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_23_2651.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_27_3629.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_29_2683.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_32_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/13/04/image_31102025_13_04_17_2771.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_20_3575.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_23_2651.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_27_3629.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_29_2683.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_32_2862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070254","1397070257","1397070250","1397070253","1397070256","1397070255"],"photo_ids_order":["1397070250","1397070253","1397070254","1397070255","1397070256","1397070257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ae1a54ed12ae9eb3e0fd5dc160e2972.jpg","text":"TemporaryFile(/tmp/multipartBody6974452456280574905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_23_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a70371823cf9cb6e18c2a3f0b80f14e7.jpg","text":"TemporaryFile(/tmp/multipartBody2257537269853134908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_32_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/30/711052c177c80712385989f5c0b15a58.jpg","text":"TemporaryFile(/tmp/multipartBody2371169948829948449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_17_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a69f712ac7c358b0bc7e8288549d9f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8584321941299170562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_20_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/30/6741b753c36bd4dc3083492ce7563797.jpg","text":"TemporaryFile(/tmp/multipartBody1161456421673591057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_29_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf6bfc8fec19ccf17461e22372414686.jpg","text":"TemporaryFile(/tmp/multipartBody9134965806790651947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764515983393,"filename":"image_31102025_13_04_27_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070254","file1":"1397070253","file0":"1397070250","file4":"1397070256","file5":"1397070257","file3":"1397070255"},"map_files_photo_id_array":[{"photo_id":"1397070257","filename":"file5"},{"photo_id":"1397070254","filename":"file2"},{"photo_id":"1397070256","filename":"file4"},{"photo_id":"1397070253","filename":"file1"},{"photo_id":"1397070250","filename":"file0"},{"photo_id":"1397070255","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070254":["hashtag1","hashtag2"]},{"1397070257":["hashtag1","hashtag2"]},{"1397070250":["hashtag1","hashtag2"]},{"1397070253":["hashtag1","hashtag2"]},{"1397070256":["hashtag1","hashtag2"]},{"1397070255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070254, 1397070257, 1397070250, 1397070253, 1397070256, 1397070255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073246002197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:19:22.677862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/12/image_30112025_14_12_34_9697.jpg', '/home/pi/Desktop/images/30112025/14/12/image_30112025_14_13_04_9665.jpg', '/home/pi/Desktop/images/30112025/14/13/image_30112025_14_13_25_9703.jpg', '/home/pi/Desktop/images/30112025/14/13/image_30112025_14_13_45_10682.jpg', '/home/pi/Desktop/images/30112025/14/14/image_30112025_14_14_35_9740.jpg', '/home/pi/Desktop/images/30112025/14/14/image_30112025_14_14_54_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/12/image_30112025_14_12_34_9697.jpg
/home/pi/Desktop/images/30112025/14/12/image_30112025_14_13_04_9665.jpg
/home/pi/Desktop/images/30112025/14/13/image_30112025_14_13_25_9703.jpg
/home/pi/Desktop/images/30112025/14/13/image_30112025_14_13_45_10682.jpg
/home/pi/Desktop/images/30112025/14/14/image_30112025_14_14_35_9740.jpg
/home/pi/Desktop/images/30112025/14/14/image_30112025_14_14_54_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070275","1397070269","1397070260","1397070271","1397070264","1397070267"],"photo_ids_order":["1397070260","1397070264","1397070267","1397070269","1397070271","1397070275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a481b58511bfa319a613a61fd010cf9f.jpg","text":"TemporaryFile(/tmp/multipartBody7576977395831727766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_14_54_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/521df3eacdf14d32bec02a4bec54299a.jpg","text":"TemporaryFile(/tmp/multipartBody8900662269877657734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_13_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06b4b2690501464ebe6a9216b2f04c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4751986232944696445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_12_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/696ffab8a1794dcbfdbbead9c68029d5.jpg","text":"TemporaryFile(/tmp/multipartBody4836692970795896874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_14_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39379d5c4fdddb8176f0745b63623e86.jpg","text":"TemporaryFile(/tmp/multipartBody5602155384571203354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_13_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5de16146dea069db23cd9e667a08ae5.jpg","text":"TemporaryFile(/tmp/multipartBody413751607785580175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516023311,"filename":"image_30112025_14_13_25_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070267","file1":"1397070264","file0":"1397070260","file4":"1397070271","file5":"1397070275","file3":"1397070269"},"map_files_photo_id_array":[{"photo_id":"1397070275","filename":"file5"},{"photo_id":"1397070267","filename":"file2"},{"photo_id":"1397070271","filename":"file4"},{"photo_id":"1397070264","filename":"file1"},{"photo_id":"1397070260","filename":"file0"},{"photo_id":"1397070269","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070275":["hashtag1","hashtag2"]},{"1397070269":["hashtag1","hashtag2"]},{"1397070260":["hashtag1","hashtag2"]},{"1397070271":["hashtag1","hashtag2"]},{"1397070264":["hashtag1","hashtag2"]},{"1397070267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070275, 1397070269, 1397070260, 1397070271, 1397070264, 1397070267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.144633054733276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:20:02.232921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/14/image_30112025_14_15_05_10646.jpg', '/home/pi/Desktop/images/30112025/14/15/image_30112025_14_15_15_9664.jpg', '/home/pi/Desktop/images/30112025/14/15/image_30112025_14_15_55_9625.jpg', '/home/pi/Desktop/images/30112025/14/15/image_30112025_14_16_04_9604.jpg', '/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_15_10178.jpg', '/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_24_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/14/image_30112025_14_15_05_10646.jpg
/home/pi/Desktop/images/30112025/14/15/image_30112025_14_15_15_9664.jpg
/home/pi/Desktop/images/30112025/14/15/image_30112025_14_15_55_9625.jpg
/home/pi/Desktop/images/30112025/14/15/image_30112025_14_16_04_9604.jpg
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_15_10178.jpg
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_24_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070284","1397070278","1397070281","1397070277","1397070276","1397070279"],"photo_ids_order":["1397070276","1397070277","1397070278","1397070279","1397070281","1397070284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30171b292dd60c6375a8e6552f5d59f1.jpg","text":"TemporaryFile(/tmp/multipartBody7696705277886408133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_16_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbc1fc4cfb1c25129409ca58be10c93e.jpg","text":"TemporaryFile(/tmp/multipartBody393504178676525414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_15_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b8761b5ca44477fe2be573520831c95.jpg","text":"TemporaryFile(/tmp/multipartBody6902233107289052316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_16_15_10178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3e615d49aba23e24b175cf0d36ab1d7.jpg","text":"TemporaryFile(/tmp/multipartBody7216618550309013076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_15_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6bb496fbf87f571c0f5bd081b9704f1c.jpg","text":"TemporaryFile(/tmp/multipartBody731646364929718477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_15_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ee65fcba05966a3f18d96a390353bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8024104252345953750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516062965,"filename":"image_30112025_14_16_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070278","file1":"1397070277","file0":"1397070276","file4":"1397070281","file5":"1397070284","file3":"1397070279"},"map_files_photo_id_array":[{"photo_id":"1397070284","filename":"file5"},{"photo_id":"1397070278","filename":"file2"},{"photo_id":"1397070281","filename":"file4"},{"photo_id":"1397070277","filename":"file1"},{"photo_id":"1397070276","filename":"file0"},{"photo_id":"1397070279","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070284":["hashtag1","hashtag2"]},{"1397070278":["hashtag1","hashtag2"]},{"1397070281":["hashtag1","hashtag2"]},{"1397070277":["hashtag1","hashtag2"]},{"1397070276":["hashtag1","hashtag2"]},{"1397070279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070284, 1397070278, 1397070281, 1397070277, 1397070276, 1397070279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89702129364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:20:41.819082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/04/image_31102025_13_04_35_2791.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_39_3603.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_44_2552.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_47_2864.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_50_3573.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_53_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/13/04/image_31102025_13_04_35_2791.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_39_3603.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_44_2552.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_47_2864.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_50_3573.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_53_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":["1397070296","1397070295","1397070298","1397070291","1397070294","1397070297"],"photo_ids_order":["1397070291","1397070294","1397070295","1397070296","1397070297","1397070298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60fbf520fab984c977035cbe4893a20c.jpg","text":"TemporaryFile(/tmp/multipartBody1020952300208952670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_47_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/30/30bdb7d129db7484a72ef22466cb6d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2063898121479547418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_44_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/30/d999fd7900b83b6dfb162615fc252c39.jpg","text":"TemporaryFile(/tmp/multipartBody74421269958440577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_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/30/c1e53d66fef5d381e317287cfd89d12a.jpg","text":"TemporaryFile(/tmp/multipartBody5416134448753666105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_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/30/6629d65c1bc4ac04d355fffa986d9753.jpg","text":"TemporaryFile(/tmp/multipartBody5861295534439219971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_39_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76001780c5501c4668e468c88df92c5f.jpg","text":"TemporaryFile(/tmp/multipartBody214172385192654727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516102667,"filename":"image_31102025_13_04_50_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070295","file1":"1397070294","file0":"1397070291","file4":"1397070297","file5":"1397070298","file3":"1397070296"},"map_files_photo_id_array":[{"photo_id":"1397070298","filename":"file5"},{"photo_id":"1397070295","filename":"file2"},{"photo_id":"1397070297","filename":"file4"},{"photo_id":"1397070294","filename":"file1"},{"photo_id":"1397070291","filename":"file0"},{"photo_id":"1397070296","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070296":["hashtag1","hashtag2"]},{"1397070295":["hashtag1","hashtag2"]},{"1397070298":["hashtag1","hashtag2"]},{"1397070291":["hashtag1","hashtag2"]},{"1397070294":["hashtag1","hashtag2"]},{"1397070297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070296, 1397070295, 1397070298, 1397070291, 1397070294, 1397070297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87894630432129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:21:22.038403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_35_10802.jpg', '/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_45_9695.jpg', '/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_55_9871.jpg', '/home/pi/Desktop/images/30112025/14/16/image_30112025_14_17_05_10048.jpg', '/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_14_9624.jpg', '/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_35_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_35_10802.jpg
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_45_9695.jpg
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_16_55_9871.jpg
/home/pi/Desktop/images/30112025/14/16/image_30112025_14_17_05_10048.jpg
/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_14_9624.jpg
/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_35_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070314","1397070305","1397070308","1397070316","1397070301","1397070310"],"photo_ids_order":["1397070301","1397070305","1397070308","1397070310","1397070314","1397070316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/317b4ca338fdcf9fc218fa3b560546ad.jpg","text":"TemporaryFile(/tmp/multipartBody4612935530262920829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_17_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ba4a178f405ad99a9577337dd8f0e28.jpg","text":"TemporaryFile(/tmp/multipartBody915726043073032472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_16_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4eecc36d254fc3425493523aafe4d49.jpg","text":"TemporaryFile(/tmp/multipartBody2133909227016184242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_16_55_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/516eb1f0f0c0846667a06d6bd7739404.jpg","text":"TemporaryFile(/tmp/multipartBody2175678182398495766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_17_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e30a943c005393de67a693a9fb8f2474.jpg","text":"TemporaryFile(/tmp/multipartBody4502761631899805672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_16_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdd7cfbe3a1e9716837cdc66358fff76.jpg","text":"TemporaryFile(/tmp/multipartBody418267063812752928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516142726,"filename":"image_30112025_14_17_05_10048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070308","file1":"1397070305","file0":"1397070301","file4":"1397070314","file5":"1397070316","file3":"1397070310"},"map_files_photo_id_array":[{"photo_id":"1397070316","filename":"file5"},{"photo_id":"1397070308","filename":"file2"},{"photo_id":"1397070314","filename":"file4"},{"photo_id":"1397070305","filename":"file1"},{"photo_id":"1397070301","filename":"file0"},{"photo_id":"1397070310","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070314":["hashtag1","hashtag2"]},{"1397070305":["hashtag1","hashtag2"]},{"1397070308":["hashtag1","hashtag2"]},{"1397070316":["hashtag1","hashtag2"]},{"1397070301":["hashtag1","hashtag2"]},{"1397070310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070314, 1397070305, 1397070308, 1397070316, 1397070301, 1397070310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14783024787903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:22:02.555965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_45_9820.jpg', '/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_54_9939.jpg', '/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_15_9700.jpg', '/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_25_10003.jpg', '/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_35_9695.jpg', '/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_44_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_45_9820.jpg
/home/pi/Desktop/images/30112025/14/17/image_30112025_14_17_54_9939.jpg
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_15_9700.jpg
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_25_10003.jpg
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_35_9695.jpg
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_44_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070327","1397070321","1397070320","1397070322","1397070319","1397070324"],"photo_ids_order":["1397070319","1397070320","1397070321","1397070322","1397070324","1397070327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9a7e8d2bf20e893ce00a79e28097ceed.jpg","text":"TemporaryFile(/tmp/multipartBody5702861203269355777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_18_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d1359340bd56faa76d2bb43dc2a21d7.jpg","text":"TemporaryFile(/tmp/multipartBody5620850248476355530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_18_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/891d8ae0986f6529a8fad12e36152721.jpg","text":"TemporaryFile(/tmp/multipartBody5201816985960079105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_17_54_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b16c87b3d4954d8cbee38f817ab7102.jpg","text":"TemporaryFile(/tmp/multipartBody9184004831092701383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_18_25_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/30/97c078148aa499461234f5f21b567d48.jpg","text":"TemporaryFile(/tmp/multipartBody5124411857538633719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_17_45_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78866bc76413c4eb2ff8fdf6cd2eac6a.jpg","text":"TemporaryFile(/tmp/multipartBody7623583411872005164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516183274,"filename":"image_30112025_14_18_35_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070321","file1":"1397070320","file0":"1397070319","file4":"1397070324","file5":"1397070327","file3":"1397070322"},"map_files_photo_id_array":[{"photo_id":"1397070327","filename":"file5"},{"photo_id":"1397070321","filename":"file2"},{"photo_id":"1397070324","filename":"file4"},{"photo_id":"1397070320","filename":"file1"},{"photo_id":"1397070319","filename":"file0"},{"photo_id":"1397070322","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070327":["hashtag1","hashtag2"]},{"1397070321":["hashtag1","hashtag2"]},{"1397070320":["hashtag1","hashtag2"]},{"1397070322":["hashtag1","hashtag2"]},{"1397070319":["hashtag1","hashtag2"]},{"1397070324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070327, 1397070321, 1397070320, 1397070322, 1397070319, 1397070324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58745622634888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:22:42.116593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/04/image_31102025_13_04_56_3636.jpg', '/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_59_2628.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_02_2763.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_06_3641.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_08_2570.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_11_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_56_3636.jpg
/home/pi/Desktop/images/31102025/13/04/image_31102025_13_04_59_2628.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_02_2763.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_06_3641.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_08_2570.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_11_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":["1397070347","1397070341","1397070343","1397070346","1397070345","1397070339"],"photo_ids_order":["1397070339","1397070341","1397070343","1397070345","1397070346","1397070347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba3b5b53b9c578af2b54b205111106bf.jpg","text":"TemporaryFile(/tmp/multipartBody4079971648090642622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_05_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/30/ab304416626fd4c3ad3807847ab9a77e.jpg","text":"TemporaryFile(/tmp/multipartBody8349621258921264777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_04_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdfdaec1da7607a9c2d11f28ec2a1353.jpg","text":"TemporaryFile(/tmp/multipartBody4901712219167508975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_05_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/30/824d3cf9a38dd16048e1e914df62e323.jpg","text":"TemporaryFile(/tmp/multipartBody1510037200566529108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_05_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/30/946260dec4795cf49922defb5eab0e45.jpg","text":"TemporaryFile(/tmp/multipartBody674671650677486757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_05_06_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/30/a6fb5aa88b15329634be0aa0bbda5670.jpg","text":"TemporaryFile(/tmp/multipartBody4710130413475513021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516223000,"filename":"image_31102025_13_04_56_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070343","file1":"1397070341","file0":"1397070339","file4":"1397070346","file5":"1397070347","file3":"1397070345"},"map_files_photo_id_array":[{"photo_id":"1397070347","filename":"file5"},{"photo_id":"1397070343","filename":"file2"},{"photo_id":"1397070346","filename":"file4"},{"photo_id":"1397070341","filename":"file1"},{"photo_id":"1397070339","filename":"file0"},{"photo_id":"1397070345","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070347":["hashtag1","hashtag2"]},{"1397070341":["hashtag1","hashtag2"]},{"1397070343":["hashtag1","hashtag2"]},{"1397070346":["hashtag1","hashtag2"]},{"1397070345":["hashtag1","hashtag2"]},{"1397070339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070347, 1397070341, 1397070343, 1397070346, 1397070345, 1397070339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93585181236267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:23:22.286536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_54_10112.jpg', '/home/pi/Desktop/images/30112025/14/18/image_30112025_14_19_04_9866.jpg', '/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_15_10687.jpg', '/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_24_9377.jpg', '/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_35_10534.jpg', '/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_18_54_10112.jpg
/home/pi/Desktop/images/30112025/14/18/image_30112025_14_19_04_9866.jpg
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_15_10687.jpg
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_24_9377.jpg
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_35_10534.jpg
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_44_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070359","1397070350","1397070353","1397070362","1397070356","1397070358"],"photo_ids_order":["1397070350","1397070353","1397070356","1397070358","1397070359","1397070362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1d9bb4642ee5a10b08e8517a060fee5.jpg","text":"TemporaryFile(/tmp/multipartBody9126215432223498895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_19_35_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea5d5c49ac42d5cd4cea5c2a17742e65.jpg","text":"TemporaryFile(/tmp/multipartBody3168456479942203276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_18_54_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eeeacf7d84df1d4ea41f582e423fd284.jpg","text":"TemporaryFile(/tmp/multipartBody6764851071412150823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_19_04_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0875d5342faa4a53b417cb0fde86677.jpg","text":"TemporaryFile(/tmp/multipartBody5194141579011350497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_19_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/913cd5a0be2b166025e6b207c3744823.jpg","text":"TemporaryFile(/tmp/multipartBody4827673785111384813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_19_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/638ff401acb20236db596d080ebb88d9.jpg","text":"TemporaryFile(/tmp/multipartBody8578873792635344687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516262966,"filename":"image_30112025_14_19_24_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070356","file1":"1397070353","file0":"1397070350","file4":"1397070359","file5":"1397070362","file3":"1397070358"},"map_files_photo_id_array":[{"photo_id":"1397070362","filename":"file5"},{"photo_id":"1397070356","filename":"file2"},{"photo_id":"1397070359","filename":"file4"},{"photo_id":"1397070353","filename":"file1"},{"photo_id":"1397070350","filename":"file0"},{"photo_id":"1397070358","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070359":["hashtag1","hashtag2"]},{"1397070350":["hashtag1","hashtag2"]},{"1397070353":["hashtag1","hashtag2"]},{"1397070362":["hashtag1","hashtag2"]},{"1397070356":["hashtag1","hashtag2"]},{"1397070358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070359, 1397070350, 1397070353, 1397070362, 1397070356, 1397070358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30728816986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:24:03.031094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_55_10645.jpg', '/home/pi/Desktop/images/30112025/14/19/image_30112025_14_20_05_9647.jpg', '/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_14_9687.jpg', '/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_25_10640.jpg', '/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_44_9672.jpg', '/home/pi/Desktop/images/30112025/14/20/image_30112025_14_21_05_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_19_55_10645.jpg
/home/pi/Desktop/images/30112025/14/19/image_30112025_14_20_05_9647.jpg
/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_14_9687.jpg
/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_25_10640.jpg
/home/pi/Desktop/images/30112025/14/20/image_30112025_14_20_44_9672.jpg
/home/pi/Desktop/images/30112025/14/20/image_30112025_14_21_05_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070371","1397070374","1397070368","1397070376","1397070367","1397070369"],"photo_ids_order":["1397070367","1397070368","1397070369","1397070371","1397070374","1397070376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c443c9d10e42f1573b8096d6735d713.jpg","text":"TemporaryFile(/tmp/multipartBody6389087489654148892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_20_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee92bc9c41e73a024279a982dfc2d3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3665710862500092773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_20_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9019140c088ccfbe77b26ef410658a29.jpg","text":"TemporaryFile(/tmp/multipartBody5082631534633754704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_20_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cccb0a932f0e449cc1d34ca77c33b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody5269261721789321890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_21_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c520d64a779dfdfa256f4d6a2c46a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7418976932905384445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_19_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bd693df1615492056e8283f7613ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody6077917280775475837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516303774,"filename":"image_30112025_14_20_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070369","file1":"1397070368","file0":"1397070367","file4":"1397070374","file5":"1397070376","file3":"1397070371"},"map_files_photo_id_array":[{"photo_id":"1397070376","filename":"file5"},{"photo_id":"1397070369","filename":"file2"},{"photo_id":"1397070374","filename":"file4"},{"photo_id":"1397070368","filename":"file1"},{"photo_id":"1397070367","filename":"file0"},{"photo_id":"1397070371","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070371":["hashtag1","hashtag2"]},{"1397070374":["hashtag1","hashtag2"]},{"1397070368":["hashtag1","hashtag2"]},{"1397070376":["hashtag1","hashtag2"]},{"1397070367":["hashtag1","hashtag2"]},{"1397070369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070371, 1397070374, 1397070368, 1397070376, 1397070367, 1397070369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00501799583435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:24:42.552637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/05/image_31102025_13_05_14_3662.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_17_2643.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_20_2800.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_23_3598.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_26_2564.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_29_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_14_3662.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_17_2643.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_20_2800.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_23_3598.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_26_2564.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_29_2683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.817129373550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:25:03.289288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/21/image_30112025_14_21_14_9596.jpg', '/home/pi/Desktop/images/30112025/14/21/image_30112025_14_21_25_10701.jpg', '/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_35_9856.jpg', '/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_45_9578.jpg', '/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_54_9735.jpg', '/home/pi/Desktop/images/30112025/14/22/image_30112025_14_23_05_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/21/image_30112025_14_21_14_9596.jpg
/home/pi/Desktop/images/30112025/14/21/image_30112025_14_21_25_10701.jpg
/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_35_9856.jpg
/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_45_9578.jpg
/home/pi/Desktop/images/30112025/14/22/image_30112025_14_22_54_9735.jpg
/home/pi/Desktop/images/30112025/14/22/image_30112025_14_23_05_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070392","1397070394","1397070397","1397070391","1397070400","1397070390"],"photo_ids_order":["1397070390","1397070391","1397070392","1397070394","1397070397","1397070400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a9c1c549465d69c49b1339fc0e4e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5765853984035196004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_22_35_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f335ed52a750bec95beb1291fba9ecc.jpg","text":"TemporaryFile(/tmp/multipartBody6671303645788690766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_22_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b62b877c3c581ce0d13deca4eace2080.jpg","text":"TemporaryFile(/tmp/multipartBody8199342847728603242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_22_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24658a57411a5fecc38f3ae50d671709.jpg","text":"TemporaryFile(/tmp/multipartBody482199816450672640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_21_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d35c3b5e0709b81b0cc0442f07c4de5.jpg","text":"TemporaryFile(/tmp/multipartBody7964093940353016746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_23_05_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fd122339289899339d38cbb3efaa8de.jpg","text":"TemporaryFile(/tmp/multipartBody2285199709557433916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516364045,"filename":"image_30112025_14_21_14_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070392","file1":"1397070391","file0":"1397070390","file4":"1397070397","file5":"1397070400","file3":"1397070394"},"map_files_photo_id_array":[{"photo_id":"1397070400","filename":"file5"},{"photo_id":"1397070392","filename":"file2"},{"photo_id":"1397070397","filename":"file4"},{"photo_id":"1397070391","filename":"file1"},{"photo_id":"1397070390","filename":"file0"},{"photo_id":"1397070394","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070392":["hashtag1","hashtag2"]},{"1397070394":["hashtag1","hashtag2"]},{"1397070397":["hashtag1","hashtag2"]},{"1397070391":["hashtag1","hashtag2"]},{"1397070400":["hashtag1","hashtag2"]},{"1397070390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070392, 1397070394, 1397070397, 1397070391, 1397070400, 1397070390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69315838813782 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-30 16:26:02.453784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/23/image_30112025_14_23_25_9759.jpg', '/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_15_9716.jpg', '/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_45_10111.jpg', '/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_55_9736.jpg', '/home/pi/Desktop/images/30112025/14/25/image_30112025_14_25_35_9725.jpg', '/home/pi/Desktop/images/30112025/14/26/image_30112025_14_26_15_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/23/image_30112025_14_23_25_9759.jpg
/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_15_9716.jpg
/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_45_10111.jpg
/home/pi/Desktop/images/30112025/14/24/image_30112025_14_24_55_9736.jpg
/home/pi/Desktop/images/30112025/14/25/image_30112025_14_25_35_9725.jpg
/home/pi/Desktop/images/30112025/14/26/image_30112025_14_26_15_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070411","1397070414","1397070408","1397070407","1397070406","1397070409"],"photo_ids_order":["1397070406","1397070407","1397070408","1397070409","1397070411","1397070414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce3cfca47309fa1d4aa7b6556b8a5fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4432268964431266017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_25_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c57a16eebac73f9f44d828b6a71cd57.jpg","text":"TemporaryFile(/tmp/multipartBody2313628691422140748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_26_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba897ddd5edace7d9f2a91fad4f0f988.jpg","text":"TemporaryFile(/tmp/multipartBody8557681508902429283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_24_45_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/230879ce394d9f993694d40ffa0e6fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4277400229769220676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_24_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b09ba9e7c54b690fca8533f58fe8edc4.jpg","text":"TemporaryFile(/tmp/multipartBody1113276639695730254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_23_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61401d5959aa7211634d45c8f7431cca.jpg","text":"TemporaryFile(/tmp/multipartBody3525470301185648660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516423161,"filename":"image_30112025_14_24_55_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070408","file1":"1397070407","file0":"1397070406","file4":"1397070411","file5":"1397070414","file3":"1397070409"},"map_files_photo_id_array":[{"photo_id":"1397070414","filename":"file5"},{"photo_id":"1397070408","filename":"file2"},{"photo_id":"1397070411","filename":"file4"},{"photo_id":"1397070407","filename":"file1"},{"photo_id":"1397070406","filename":"file0"},{"photo_id":"1397070409","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070411":["hashtag1","hashtag2"]},{"1397070414":["hashtag1","hashtag2"]},{"1397070408":["hashtag1","hashtag2"]},{"1397070407":["hashtag1","hashtag2"]},{"1397070406":["hashtag1","hashtag2"]},{"1397070409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070411, 1397070414, 1397070408, 1397070407, 1397070406, 1397070409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66671872138977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:26:41.926291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/05/image_31102025_13_05_14_3662.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_17_2643.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_20_2800.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_23_3598.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_26_2564.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_29_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_14_3662.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_17_2643.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_20_2800.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_23_3598.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_26_2564.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_29_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":["1397070428","1397070422","1397070425","1397070430","1397070427","1397070429"],"photo_ids_order":["1397070422","1397070425","1397070427","1397070428","1397070429","1397070430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de8b72d2cad30b3fe853be160c27336c.jpg","text":"TemporaryFile(/tmp/multipartBody5421728540916873016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_23_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2083fe823d3c20f7cb8accb81159179f.jpg","text":"TemporaryFile(/tmp/multipartBody8866012493279684146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_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/30/8636d6f28fdc8ecd9364cb1da6e21e81.jpg","text":"TemporaryFile(/tmp/multipartBody6328356154321026071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_17_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87f7b1e567c09a3829f66dbbdf3633ff.jpg","text":"TemporaryFile(/tmp/multipartBody222090386896614836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_29_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd140d11b7298e836c0b71ee6d82dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody8323500961032483127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_20_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ccf727e5b82aa1c6f37916f67ce93a7.jpg","text":"TemporaryFile(/tmp/multipartBody5621394724530297068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516462647,"filename":"image_31102025_13_05_26_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070427","file1":"1397070425","file0":"1397070422","file4":"1397070429","file5":"1397070430","file3":"1397070428"},"map_files_photo_id_array":[{"photo_id":"1397070430","filename":"file5"},{"photo_id":"1397070427","filename":"file2"},{"photo_id":"1397070429","filename":"file4"},{"photo_id":"1397070425","filename":"file1"},{"photo_id":"1397070422","filename":"file0"},{"photo_id":"1397070428","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070428":["hashtag1","hashtag2"]},{"1397070422":["hashtag1","hashtag2"]},{"1397070425":["hashtag1","hashtag2"]},{"1397070430":["hashtag1","hashtag2"]},{"1397070427":["hashtag1","hashtag2"]},{"1397070429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070428, 1397070422, 1397070425, 1397070430, 1397070427, 1397070429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.498136043548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:27:22.133990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/26/image_30112025_14_26_34_9655.jpg', '/home/pi/Desktop/images/30112025/14/26/image_30112025_14_27_04_9674.jpg', '/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_15_10676.jpg', '/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_35_10640.jpg', '/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_54_9811.jpg', '/home/pi/Desktop/images/30112025/14/27/image_30112025_14_28_05_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/26/image_30112025_14_26_34_9655.jpg
/home/pi/Desktop/images/30112025/14/26/image_30112025_14_27_04_9674.jpg
/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_15_10676.jpg
/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_35_10640.jpg
/home/pi/Desktop/images/30112025/14/27/image_30112025_14_27_54_9811.jpg
/home/pi/Desktop/images/30112025/14/27/image_30112025_14_28_05_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070432","1397070443","1397070445","1397070439","1397070436","1397070441"],"photo_ids_order":["1397070432","1397070436","1397070439","1397070441","1397070443","1397070445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a88cf78392bc0d0cf794e3824d213292.jpg","text":"TemporaryFile(/tmp/multipartBody295915592169160621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_26_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab1a38ce4421efe2c3828a31b0c571d4.jpg","text":"TemporaryFile(/tmp/multipartBody1261906119167995192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_27_54_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82f8d6595a9bc4c2400a5b7a0867a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody2982445087617948209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_28_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be805588333c1b7ca7f154be1c0d5b84.jpg","text":"TemporaryFile(/tmp/multipartBody6764171400798208051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_27_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb211a5c61e71b0c4126f719b36dd22d.jpg","text":"TemporaryFile(/tmp/multipartBody2647721656058909289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_27_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57ce496ebf2948f199da81487d738685.jpg","text":"TemporaryFile(/tmp/multipartBody775538818241762408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516502771,"filename":"image_30112025_14_27_35_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070439","file1":"1397070436","file0":"1397070432","file4":"1397070443","file5":"1397070445","file3":"1397070441"},"map_files_photo_id_array":[{"photo_id":"1397070445","filename":"file5"},{"photo_id":"1397070439","filename":"file2"},{"photo_id":"1397070443","filename":"file4"},{"photo_id":"1397070436","filename":"file1"},{"photo_id":"1397070432","filename":"file0"},{"photo_id":"1397070441","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070432":["hashtag1","hashtag2"]},{"1397070443":["hashtag1","hashtag2"]},{"1397070445":["hashtag1","hashtag2"]},{"1397070439":["hashtag1","hashtag2"]},{"1397070436":["hashtag1","hashtag2"]},{"1397070441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070432, 1397070443, 1397070445, 1397070439, 1397070436, 1397070441)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.54596519470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:28:12.713228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_53_3676.jpg', '/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_59_2680.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_02_3626.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_07_2586.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_11_3760.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_14_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_53_3676.jpg
/home/pi/Desktop/images/25112025/20/26/image_25112025_20_26_59_2680.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_02_3626.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_07_2586.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_11_3760.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_14_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":["1397070455","1397070457","1397070448","1397070453","1397070459","1397070450"],"photo_ids_order":["1397070448","1397070450","1397070453","1397070455","1397070457","1397070459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/929b7a657611d88be7df870da055450e.jpg","text":"TemporaryFile(/tmp/multipartBody7386723975674086082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_27_07_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca0c07ba85e8ee5c60f02bfb6067a842.jpg","text":"TemporaryFile(/tmp/multipartBody17829912424931467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_27_11_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/30/f3e18eff2f68afdc3f44979c1ccf33af.jpg","text":"TemporaryFile(/tmp/multipartBody3526431974688652629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_26_53_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20043ca1aad0f99766f343d18ec762be.jpg","text":"TemporaryFile(/tmp/multipartBody7106693154850043774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_27_02_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/30/9c85b51821d8a9a764b728ca95e35233.jpg","text":"TemporaryFile(/tmp/multipartBody2658906792805322505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_27_14_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f2fe2c069b21c0acf0d290665d7a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody13315440514622840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516554627,"filename":"image_25112025_20_26_59_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070453","file1":"1397070450","file0":"1397070448","file4":"1397070457","file5":"1397070459","file3":"1397070455"},"map_files_photo_id_array":[{"photo_id":"1397070459","filename":"file5"},{"photo_id":"1397070453","filename":"file2"},{"photo_id":"1397070457","filename":"file4"},{"photo_id":"1397070450","filename":"file1"},{"photo_id":"1397070448","filename":"file0"},{"photo_id":"1397070455","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070455":["hashtag1","hashtag2"]},{"1397070457":["hashtag1","hashtag2"]},{"1397070448":["hashtag1","hashtag2"]},{"1397070453":["hashtag1","hashtag2"]},{"1397070459":["hashtag1","hashtag2"]},{"1397070450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070455, 1397070457, 1397070448, 1397070453, 1397070459, 1397070450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33516478538513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:29:02.850034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/28/image_30112025_14_28_25_9990.jpg', '/home/pi/Desktop/images/30112025/14/29/image_30112025_14_29_35_9688.jpg', '/home/pi/Desktop/images/30112025/14/29/image_30112025_14_29_44_9692.jpg', '/home/pi/Desktop/images/30112025/14/30/image_30112025_14_30_55_9792.jpg', '/home/pi/Desktop/images/30112025/14/31/image_30112025_14_31_35_9721.jpg', '/home/pi/Desktop/images/30112025/14/31/image_30112025_14_32_05_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/28/image_30112025_14_28_25_9990.jpg
/home/pi/Desktop/images/30112025/14/29/image_30112025_14_29_35_9688.jpg
/home/pi/Desktop/images/30112025/14/29/image_30112025_14_29_44_9692.jpg
/home/pi/Desktop/images/30112025/14/30/image_30112025_14_30_55_9792.jpg
/home/pi/Desktop/images/30112025/14/31/image_30112025_14_31_35_9721.jpg
/home/pi/Desktop/images/30112025/14/31/image_30112025_14_32_05_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397070470","1397070464","1397070467","1397070461","1397070465","1397070462"],"photo_ids_order":["1397070461","1397070462","1397070464","1397070465","1397070467","1397070470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d99c2fad2ac815ba9d32ee1e51f5f76.jpg","text":"TemporaryFile(/tmp/multipartBody1744380944872652149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_32_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/369c7c1493286077797b7673284e1a06.jpg","text":"TemporaryFile(/tmp/multipartBody620758498322720013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_29_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30582f2c5de881fc4ddf3215fab0dd24.jpg","text":"TemporaryFile(/tmp/multipartBody8255344696077642223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_31_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a8253eaeecef94c889551ad88b524e9.jpg","text":"TemporaryFile(/tmp/multipartBody7049835250746353391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_28_25_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf77be4256e3c6b369e12c32022ea7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5417517368391320603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_30_55_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8892f4f7260fe206fda1c47def7e93b4.jpg","text":"TemporaryFile(/tmp/multipartBody882960572161927888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516603725,"filename":"image_30112025_14_29_35_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070464","file1":"1397070462","file0":"1397070461","file4":"1397070467","file5":"1397070470","file3":"1397070465"},"map_files_photo_id_array":[{"photo_id":"1397070470","filename":"file5"},{"photo_id":"1397070464","filename":"file2"},{"photo_id":"1397070467","filename":"file4"},{"photo_id":"1397070462","filename":"file1"},{"photo_id":"1397070461","filename":"file0"},{"photo_id":"1397070465","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070470":["hashtag1","hashtag2"]},{"1397070464":["hashtag1","hashtag2"]},{"1397070467":["hashtag1","hashtag2"]},{"1397070461":["hashtag1","hashtag2"]},{"1397070465":["hashtag1","hashtag2"]},{"1397070462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070470, 1397070464, 1397070467, 1397070461, 1397070465, 1397070462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23875570297241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-30 16:30:07.706648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:30:22.801814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/32/image_30112025_14_32_25_9558.jpg', '/home/pi/Desktop/images/30112025/14/33/image_30112025_14_33_15_9685.jpg', '/home/pi/Desktop/images/30112025/14/33/image_30112025_14_33_46_9711.jpg', '/home/pi/Desktop/images/30112025/14/34/image_30112025_14_34_35_9680.jpg', '/home/pi/Desktop/images/30112025/14/34/image_30112025_14_35_05_9795.jpg', '/home/pi/Desktop/images/30112025/14/35/image_30112025_14_35_45_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/32/image_30112025_14_32_25_9558.jpg
/home/pi/Desktop/images/30112025/14/33/image_30112025_14_33_15_9685.jpg
/home/pi/Desktop/images/30112025/14/33/image_30112025_14_33_46_9711.jpg
/home/pi/Desktop/images/30112025/14/34/image_30112025_14_34_35_9680.jpg
/home/pi/Desktop/images/30112025/14/34/image_30112025_14_35_05_9795.jpg
/home/pi/Desktop/images/30112025/14/35/image_30112025_14_35_45_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070499","1397070484","1397070492","1397070486","1397070495","1397070489"],"photo_ids_order":["1397070484","1397070486","1397070489","1397070492","1397070495","1397070499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/734f23ed832347302a3419b1fbe6e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody213601516856051312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_35_45_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d9da57c510345515796d1ce051da9b3.jpg","text":"TemporaryFile(/tmp/multipartBody7988648767766369491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_32_25_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbb7670c694810a5bc8d16f3b60a5dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3713668394085711258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_34_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38cd8cb1b89975c2480d564f04722603.jpg","text":"TemporaryFile(/tmp/multipartBody7548844544968403979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_33_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb4cf542ba801018b8a3d7030b4211ba.jpg","text":"TemporaryFile(/tmp/multipartBody7257570168629796781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_35_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/897bdbf0ff37287d5c592928aa19ea60.jpg","text":"TemporaryFile(/tmp/multipartBody770952749633661424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516683469,"filename":"image_30112025_14_33_46_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070489","file1":"1397070486","file0":"1397070484","file4":"1397070495","file5":"1397070499","file3":"1397070492"},"map_files_photo_id_array":[{"photo_id":"1397070499","filename":"file5"},{"photo_id":"1397070489","filename":"file2"},{"photo_id":"1397070495","filename":"file4"},{"photo_id":"1397070486","filename":"file1"},{"photo_id":"1397070484","filename":"file0"},{"photo_id":"1397070492","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070499":["hashtag1","hashtag2"]},{"1397070484":["hashtag1","hashtag2"]},{"1397070492":["hashtag1","hashtag2"]},{"1397070486":["hashtag1","hashtag2"]},{"1397070495":["hashtag1","hashtag2"]},{"1397070489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070499, 1397070484, 1397070492, 1397070486, 1397070495, 1397070489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70408058166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:31:02.474229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/36/image_30112025_14_36_26_10696.jpg', '/home/pi/Desktop/images/30112025/14/36/image_30112025_14_36_45_9624.jpg', '/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_15_9578.jpg', '/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_25_10216.jpg', '/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_59_12979.jpg', '/home/pi/Desktop/images/30112025/14/39/image_30112025_14_39_56_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/36/image_30112025_14_36_26_10696.jpg
/home/pi/Desktop/images/30112025/14/36/image_30112025_14_36_45_9624.jpg
/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_15_9578.jpg
/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_25_10216.jpg
/home/pi/Desktop/images/30112025/14/38/image_30112025_14_38_59_12979.jpg
/home/pi/Desktop/images/30112025/14/39/image_30112025_14_39_56_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070504","1397070507","1397070509","1397070506","1397070511","1397070505"],"photo_ids_order":["1397070504","1397070505","1397070506","1397070507","1397070509","1397070511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c9e99c5b29810e55acbf9244ce8232d.jpg","text":"TemporaryFile(/tmp/multipartBody3131230335132331171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_36_26_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94086995d0d10d5e55b4cf28f4dffe6e.jpg","text":"TemporaryFile(/tmp/multipartBody6051745523702048916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_38_25_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbed3d428ac0dfc79b189fbd374b715d.jpg","text":"TemporaryFile(/tmp/multipartBody731086020430287270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_38_59_12979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc40a27ae3a6ae0f772aee23465c6f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7282468381075883553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_38_15_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12f6f7620b701e788c76f631491c6d71.jpg","text":"TemporaryFile(/tmp/multipartBody3889464618104472508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_39_56_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96cd2c62622a210b4888460cd7da1586.jpg","text":"TemporaryFile(/tmp/multipartBody2848879656765563723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516723223,"filename":"image_30112025_14_36_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070506","file1":"1397070505","file0":"1397070504","file4":"1397070509","file5":"1397070511","file3":"1397070507"},"map_files_photo_id_array":[{"photo_id":"1397070511","filename":"file5"},{"photo_id":"1397070506","filename":"file2"},{"photo_id":"1397070509","filename":"file4"},{"photo_id":"1397070505","filename":"file1"},{"photo_id":"1397070504","filename":"file0"},{"photo_id":"1397070507","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070504":["hashtag1","hashtag2"]},{"1397070507":["hashtag1","hashtag2"]},{"1397070509":["hashtag1","hashtag2"]},{"1397070506":["hashtag1","hashtag2"]},{"1397070511":["hashtag1","hashtag2"]},{"1397070505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070504, 1397070507, 1397070509, 1397070506, 1397070511, 1397070505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40631914138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:31:41.993754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/05/image_31102025_13_05_32_3676.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_35_2671.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_38_2543.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_41_3636.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_44_2631.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_48_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_32_3676.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_35_2671.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_38_2543.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_41_3636.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_44_2631.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_48_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070530","1397070521","1397070532","1397070526","1397070534","1397070528"],"photo_ids_order":["1397070521","1397070526","1397070528","1397070530","1397070532","1397070534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c446e016688374f798bb34c193f474c.jpg","text":"TemporaryFile(/tmp/multipartBody4257632177836765101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_41_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/30/503b21c2989d4c88c5849b919e221fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8747570247283358845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_32_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/30/50dc1d1f4d03b352600fd5d929154ae0.jpg","text":"TemporaryFile(/tmp/multipartBody9206847901470783037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_44_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b59c80cd407178a75dafb3ee86ef09d0.jpg","text":"TemporaryFile(/tmp/multipartBody650727124084588566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_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/30/5b7e25af550afdf348787f66ca94ec9e.jpg","text":"TemporaryFile(/tmp/multipartBody1082003591818974289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_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/30/fa328965866b0b97e4e462c55598b9e3.jpg","text":"TemporaryFile(/tmp/multipartBody5678749290255874712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516762823,"filename":"image_31102025_13_05_38_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070528","file1":"1397070526","file0":"1397070521","file4":"1397070532","file5":"1397070534","file3":"1397070530"},"map_files_photo_id_array":[{"photo_id":"1397070534","filename":"file5"},{"photo_id":"1397070528","filename":"file2"},{"photo_id":"1397070532","filename":"file4"},{"photo_id":"1397070526","filename":"file1"},{"photo_id":"1397070521","filename":"file0"},{"photo_id":"1397070530","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070530":["hashtag1","hashtag2"]},{"1397070521":["hashtag1","hashtag2"]},{"1397070532":["hashtag1","hashtag2"]},{"1397070526":["hashtag1","hashtag2"]},{"1397070534":["hashtag1","hashtag2"]},{"1397070528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070530, 1397070521, 1397070532, 1397070526, 1397070534, 1397070528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.550355195999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:32:22.299653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/40/image_30112025_14_40_36_9603.jpg', '/home/pi/Desktop/images/30112025/14/40/image_30112025_14_41_06_10109.jpg', '/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_15_9772.jpg', '/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_45_9571.jpg', '/home/pi/Desktop/images/30112025/14/43/image_30112025_14_43_45_9733.jpg', '/home/pi/Desktop/images/30112025/14/44/image_30112025_14_44_25_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/40/image_30112025_14_40_36_9603.jpg
/home/pi/Desktop/images/30112025/14/40/image_30112025_14_41_06_10109.jpg
/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_15_9772.jpg
/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_45_9571.jpg
/home/pi/Desktop/images/30112025/14/43/image_30112025_14_43_45_9733.jpg
/home/pi/Desktop/images/30112025/14/44/image_30112025_14_44_25_9703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5674617290496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:32:32.297234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_17_2766.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_20_3603.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_23_2705.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_26_2728.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_35_1681.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_47_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_17_2766.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_20_3603.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_23_2705.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_26_2728.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_35_1681.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_47_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":["1397070545","1397070554","1397070556","1397070553","1397070555","1397070549"],"photo_ids_order":["1397070545","1397070549","1397070553","1397070554","1397070555","1397070556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d277a5020220c951083ef8efb1df241.jpg","text":"TemporaryFile(/tmp/multipartBody793361178026889865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_17_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/30/a31a50c355d45b38cfa4d868123fa119.jpg","text":"TemporaryFile(/tmp/multipartBody5806314249421519230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_26_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/30/6e0dfb6319b809a0638639912de7f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody2321638820739371260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_47_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/30/f65b490c633d16c20494be8db267e1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4956534702720678143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_23_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/30/7153beabef194cedf6ffb2c964f92273.jpg","text":"TemporaryFile(/tmp/multipartBody5586331301091148699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_35_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/30/97786ae1cbbd186e363e24c459a2070c.jpg","text":"TemporaryFile(/tmp/multipartBody2430112309658374153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516814254,"filename":"image_25112025_20_27_20_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070553","file1":"1397070549","file0":"1397070545","file4":"1397070555","file5":"1397070556","file3":"1397070554"},"map_files_photo_id_array":[{"photo_id":"1397070556","filename":"file5"},{"photo_id":"1397070553","filename":"file2"},{"photo_id":"1397070555","filename":"file4"},{"photo_id":"1397070549","filename":"file1"},{"photo_id":"1397070545","filename":"file0"},{"photo_id":"1397070554","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070545":["hashtag1","hashtag2"]},{"1397070554":["hashtag1","hashtag2"]},{"1397070556":["hashtag1","hashtag2"]},{"1397070553":["hashtag1","hashtag2"]},{"1397070555":["hashtag1","hashtag2"]},{"1397070549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070545, 1397070554, 1397070556, 1397070553, 1397070555, 1397070549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98327112197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:33:12.470196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_53_3565.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_56_2702.jpg', '/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_58_2680.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_02_3697.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_07_2502.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_14_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_53_3565.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_56_2702.jpg
/home/pi/Desktop/images/25112025/20/27/image_25112025_20_27_58_2680.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_02_3697.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_07_2502.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_14_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070557","1397070562","1397070565","1397070559","1397070570","1397070567"],"photo_ids_order":["1397070557","1397070559","1397070562","1397070565","1397070567","1397070570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9986460ef03a533e6737b2150fe1b318.jpg","text":"TemporaryFile(/tmp/multipartBody6648437511768022948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_27_53_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/30/92179a4d1954974a2ba35a8ebaf3c483.jpg","text":"TemporaryFile(/tmp/multipartBody1662750990789169485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_27_58_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dea0517c4996475870c886ba0ace0e40.jpg","text":"TemporaryFile(/tmp/multipartBody91096927899186300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_28_02_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c17c89a5c74e4622a655144fdd9686df.jpg","text":"TemporaryFile(/tmp/multipartBody4941285563825532515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_27_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/30/5e93409cfdc77257d2bd2c6b11ac1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8788979637411132198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_28_14_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8043dad6939106ce680f8fab3c3e7a9.jpg","text":"TemporaryFile(/tmp/multipartBody6383105405130511389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516854302,"filename":"image_25112025_20_28_07_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070562","file1":"1397070559","file0":"1397070557","file4":"1397070567","file5":"1397070570","file3":"1397070565"},"map_files_photo_id_array":[{"photo_id":"1397070570","filename":"file5"},{"photo_id":"1397070562","filename":"file2"},{"photo_id":"1397070567","filename":"file4"},{"photo_id":"1397070559","filename":"file1"},{"photo_id":"1397070557","filename":"file0"},{"photo_id":"1397070565","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070557":["hashtag1","hashtag2"]},{"1397070562":["hashtag1","hashtag2"]},{"1397070565":["hashtag1","hashtag2"]},{"1397070559":["hashtag1","hashtag2"]},{"1397070570":["hashtag1","hashtag2"]},{"1397070567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070557, 1397070562, 1397070565, 1397070559, 1397070570, 1397070567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60882019996643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:34:03.327192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/40/image_30112025_14_40_36_9603.jpg', '/home/pi/Desktop/images/30112025/14/40/image_30112025_14_41_06_10109.jpg', '/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_15_9772.jpg', '/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_45_9571.jpg', '/home/pi/Desktop/images/30112025/14/43/image_30112025_14_43_45_9733.jpg', '/home/pi/Desktop/images/30112025/14/44/image_30112025_14_44_25_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/40/image_30112025_14_40_36_9603.jpg
/home/pi/Desktop/images/30112025/14/40/image_30112025_14_41_06_10109.jpg
/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_15_9772.jpg
/home/pi/Desktop/images/30112025/14/42/image_30112025_14_42_45_9571.jpg
/home/pi/Desktop/images/30112025/14/43/image_30112025_14_43_45_9733.jpg
/home/pi/Desktop/images/30112025/14/44/image_30112025_14_44_25_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070578","1397070577","1397070582","1397070585","1397070579","1397070576"],"photo_ids_order":["1397070576","1397070577","1397070578","1397070579","1397070582","1397070585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c87c56b6aa4f2df13c58bd47cc5be71f.jpg","text":"TemporaryFile(/tmp/multipartBody7468465516515548681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_42_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a853edc862f6563c4ece9c6b87e8f0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7686694755784356108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_41_06_10109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d17453475f47cd0913adbb9a4635c025.jpg","text":"TemporaryFile(/tmp/multipartBody7174704545105585105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_43_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22b8dfe17616bac8e0ab3cbc130a0e94.jpg","text":"TemporaryFile(/tmp/multipartBody3953465190784719483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_44_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21cc72692f9ac9aeb6481cc9c23aac76.jpg","text":"TemporaryFile(/tmp/multipartBody6412269610782791418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_42_45_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c66b8591078f81c6e1e2f5b0558117e1.jpg","text":"TemporaryFile(/tmp/multipartBody8722871025106238012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516904033,"filename":"image_30112025_14_40_36_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070578","file1":"1397070577","file0":"1397070576","file4":"1397070582","file5":"1397070585","file3":"1397070579"},"map_files_photo_id_array":[{"photo_id":"1397070585","filename":"file5"},{"photo_id":"1397070578","filename":"file2"},{"photo_id":"1397070582","filename":"file4"},{"photo_id":"1397070577","filename":"file1"},{"photo_id":"1397070576","filename":"file0"},{"photo_id":"1397070579","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070578":["hashtag1","hashtag2"]},{"1397070577":["hashtag1","hashtag2"]},{"1397070582":["hashtag1","hashtag2"]},{"1397070585":["hashtag1","hashtag2"]},{"1397070579":["hashtag1","hashtag2"]},{"1397070576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070578, 1397070577, 1397070582, 1397070585, 1397070579, 1397070576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81013894081116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:34:42.607290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/05/image_31102025_13_05_50_2599.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_53_2630.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_56_3605.jpg', '/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_59_2693.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_02_2729.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_05_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/13/05/image_31102025_13_05_50_2599.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_53_2630.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_56_3605.jpg
/home/pi/Desktop/images/31102025/13/05/image_31102025_13_05_59_2693.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_02_2729.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_05_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":["1397070593","1397070596","1397070598","1397070595","1397070597","1397070600"],"photo_ids_order":["1397070593","1397070595","1397070596","1397070597","1397070598","1397070600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af18886d602a9f8f45c3aba1511f2e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5879209221577697205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_05_50_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/30/457de286cc711803e07b601fd2b3a345.jpg","text":"TemporaryFile(/tmp/multipartBody5707847755918489173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_05_56_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/30/547c4dcbecc3d95ee893a419eec77a55.jpg","text":"TemporaryFile(/tmp/multipartBody9173325744528148817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_06_02_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/30/a8ce456ce0b059ec83dc2acf1c8139ac.jpg","text":"TemporaryFile(/tmp/multipartBody6904387790610100574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_05_53_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88d5620a96e0e5cf1cc031e70af41fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8090806571114040641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_05_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/30/bbebfa45be8e84607bb6418630d833f6.jpg","text":"TemporaryFile(/tmp/multipartBody3221495723475540256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764516943553,"filename":"image_31102025_13_06_05_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070596","file1":"1397070595","file0":"1397070593","file4":"1397070598","file5":"1397070600","file3":"1397070597"},"map_files_photo_id_array":[{"photo_id":"1397070600","filename":"file5"},{"photo_id":"1397070596","filename":"file2"},{"photo_id":"1397070598","filename":"file4"},{"photo_id":"1397070595","filename":"file1"},{"photo_id":"1397070593","filename":"file0"},{"photo_id":"1397070597","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070593":["hashtag1","hashtag2"]},{"1397070596":["hashtag1","hashtag2"]},{"1397070598":["hashtag1","hashtag2"]},{"1397070595":["hashtag1","hashtag2"]},{"1397070597":["hashtag1","hashtag2"]},{"1397070600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070593, 1397070596, 1397070598, 1397070595, 1397070597, 1397070600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.079413652420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:35:42.740570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/06/image_31102025_13_06_08_2706.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_11_2786.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_17_3664.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_20_2664.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_23_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/13/06/image_31102025_13_06_08_2706.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_11_2786.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_17_3664.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_20_2664.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_23_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":["1397070618","1397070612","1397070617","1397070616","1397070619","1397070615"],"photo_ids_order":["1397070612","1397070615","1397070616","1397070617","1397070618","1397070619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4fcf0f102f433514e4f3115b169b0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1564067558314113440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_20_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8260042af9fb4ee83cf3ad5925b036b.jpg","text":"TemporaryFile(/tmp/multipartBody3187322084791560005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_08_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9188f1de8820516d1ad62db0edefa399.jpg","text":"TemporaryFile(/tmp/multipartBody4028207188935412523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_17_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/30/31b5e347928684865742e7e67f73fed8.jpg","text":"TemporaryFile(/tmp/multipartBody4407671604072183421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_14_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/30/0947b29affe275f300af6a481a849ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2672493344498020059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_23_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/30/95f7c1fbfd776170fa17d9f0983c8b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4442396056930871331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517003730,"filename":"image_31102025_13_06_11_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070616","file1":"1397070615","file0":"1397070612","file4":"1397070618","file5":"1397070619","file3":"1397070617"},"map_files_photo_id_array":[{"photo_id":"1397070619","filename":"file5"},{"photo_id":"1397070616","filename":"file2"},{"photo_id":"1397070618","filename":"file4"},{"photo_id":"1397070615","filename":"file1"},{"photo_id":"1397070612","filename":"file0"},{"photo_id":"1397070617","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070618":["hashtag1","hashtag2"]},{"1397070612":["hashtag1","hashtag2"]},{"1397070617":["hashtag1","hashtag2"]},{"1397070616":["hashtag1","hashtag2"]},{"1397070619":["hashtag1","hashtag2"]},{"1397070615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070618, 1397070612, 1397070617, 1397070616, 1397070619, 1397070615)","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 = 1397070616 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1397070616 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg";
uploaded 6 photos
time to upload: 60.636194705963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:37:14.576967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-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-30 16:37:14.586628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:37:22.585628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:37:32.596081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:37:49.726497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:38:10.482827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:38:20.083714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 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 --last_days 10 --only_old 1
2025-11-30 16:38:40.001308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 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-30 16:39:14.391390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:39:23.455506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:39:33.514750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:39:43.444140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:39:54.138216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/06/image_31102025_13_06_08_2706.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_11_2786.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_17_3664.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_20_2664.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_23_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/13/06/image_31102025_13_06_08_2706.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_11_2786.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_14_2810.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_17_3664.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_20_2664.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_23_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070680","1397070674","1397070682","1397070676","1397070681","1397070678"],"photo_ids_order":["1397070674","1397070676","1397070678","1397070680","1397070681","1397070682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0e4efae9e11dd7f9d7be9e669f144d4.jpg","text":"TemporaryFile(/tmp/multipartBody2977069429127081825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_17_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/30/a0ebd4b86f2aeaaccf88650645da520c.jpg","text":"TemporaryFile(/tmp/multipartBody7165550134319000804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_08_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cfe981f7e65c71020a74f956ce73ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5255092420159380675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_23_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/30/369f2e94c81a1f5ea17e65502b46d47c.jpg","text":"TemporaryFile(/tmp/multipartBody3779577855290098299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_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/30/17c93c451cd3f446e9161efcc6227e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4476836261669022042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_20_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c11b4631ed156a8c5f73a64fd531d024.jpg","text":"TemporaryFile(/tmp/multipartBody7980379955084222928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517254846,"filename":"image_31102025_13_06_14_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070678","file1":"1397070676","file0":"1397070674","file4":"1397070681","file5":"1397070682","file3":"1397070680"},"map_files_photo_id_array":[{"photo_id":"1397070682","filename":"file5"},{"photo_id":"1397070678","filename":"file2"},{"photo_id":"1397070681","filename":"file4"},{"photo_id":"1397070676","filename":"file1"},{"photo_id":"1397070674","filename":"file0"},{"photo_id":"1397070680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070680":["hashtag1","hashtag2"]},{"1397070674":["hashtag1","hashtag2"]},{"1397070682":["hashtag1","hashtag2"]},{"1397070676":["hashtag1","hashtag2"]},{"1397070681":["hashtag1","hashtag2"]},{"1397070678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070680, 1397070674, 1397070682, 1397070676, 1397070681, 1397070678)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.69601106643677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:40:42.566987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/06/image_31102025_13_06_26_2973.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_29_3719.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_32_2717.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_35_2766.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_37_2605.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_41_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/13/06/image_31102025_13_06_26_2973.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_29_3719.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_32_2717.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_35_2766.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_37_2605.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_41_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070695","1397070697","1397070694","1397070696","1397070700","1397070699"],"photo_ids_order":["1397070694","1397070695","1397070696","1397070697","1397070699","1397070700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/965da08d5244aaa1167fe869047f5679.jpg","text":"TemporaryFile(/tmp/multipartBody4230615741165268361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_29_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/30/da2ed47f547d68ae39e639d75ca7d44e.jpg","text":"TemporaryFile(/tmp/multipartBody6462660381485412669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_35_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bb98783c285f169624d9d801bb2185f.jpg","text":"TemporaryFile(/tmp/multipartBody3064982324619183031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_26_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/107b4753285ab777ecafd31f834634f8.jpg","text":"TemporaryFile(/tmp/multipartBody5360720374095680100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_32_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/30/dc1a63bee9d69452d29e37767503235a.jpg","text":"TemporaryFile(/tmp/multipartBody3202501986479793994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_41_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/30/903e64be72d7452feb19b55ebbb0c0bc.jpg","text":"TemporaryFile(/tmp/multipartBody407089714454458960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517307399,"filename":"image_31102025_13_06_37_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070696","file1":"1397070695","file0":"1397070694","file4":"1397070699","file5":"1397070700","file3":"1397070697"},"map_files_photo_id_array":[{"photo_id":"1397070700","filename":"file5"},{"photo_id":"1397070696","filename":"file2"},{"photo_id":"1397070699","filename":"file4"},{"photo_id":"1397070695","filename":"file1"},{"photo_id":"1397070694","filename":"file0"},{"photo_id":"1397070697","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070695":["hashtag1","hashtag2"]},{"1397070697":["hashtag1","hashtag2"]},{"1397070694":["hashtag1","hashtag2"]},{"1397070696":["hashtag1","hashtag2"]},{"1397070700":["hashtag1","hashtag2"]},{"1397070699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070695, 1397070697, 1397070694, 1397070696, 1397070700, 1397070699)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.48140335083008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:41:42.349409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/06/image_31102025_13_06_44_2757.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_47_2879.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_50_2876.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_53_3591.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_56_2718.jpg', '/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_59_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_44_2757.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_47_2879.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_50_2876.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_53_3591.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_56_2718.jpg
/home/pi/Desktop/images/31102025/13/06/image_31102025_13_06_59_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":["1397070717","1397070719","1397070716","1397070715","1397070712","1397070714"],"photo_ids_order":["1397070712","1397070714","1397070715","1397070716","1397070717","1397070719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2edf348507b97e1d5d9d11f30995661.jpg","text":"TemporaryFile(/tmp/multipartBody5546708774550196441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_56_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c96ee66fee9204a02d2f1c67c516bf45.jpg","text":"TemporaryFile(/tmp/multipartBody417914444944832829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_59_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/284a80d2614dc8322f7683ca00b703dd.jpg","text":"TemporaryFile(/tmp/multipartBody4556067728660076131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_53_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90026a77c8bc9138be03a4c749d0bd86.jpg","text":"TemporaryFile(/tmp/multipartBody312692531388651829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_50_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/30/317263445c9571221013dbe000697225.jpg","text":"TemporaryFile(/tmp/multipartBody5340929930906198171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_44_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/30/94fb9cbebb20dd549d448bda0a9321e7.jpg","text":"TemporaryFile(/tmp/multipartBody6180656183931820448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517363189,"filename":"image_31102025_13_06_47_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070715","file1":"1397070714","file0":"1397070712","file4":"1397070717","file5":"1397070719","file3":"1397070716"},"map_files_photo_id_array":[{"photo_id":"1397070719","filename":"file5"},{"photo_id":"1397070715","filename":"file2"},{"photo_id":"1397070717","filename":"file4"},{"photo_id":"1397070714","filename":"file1"},{"photo_id":"1397070712","filename":"file0"},{"photo_id":"1397070716","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070717":["hashtag1","hashtag2"]},{"1397070719":["hashtag1","hashtag2"]},{"1397070716":["hashtag1","hashtag2"]},{"1397070715":["hashtag1","hashtag2"]},{"1397070712":["hashtag1","hashtag2"]},{"1397070714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070717, 1397070719, 1397070716, 1397070715, 1397070712, 1397070714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76646423339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:42:22.740373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/44/image_30112025_14_45_05_9845.jpg', '/home/pi/Desktop/images/30112025/14/45/image_30112025_14_45_25_9707.jpg', '/home/pi/Desktop/images/30112025/14/45/image_30112025_14_45_55_9792.jpg', '/home/pi/Desktop/images/30112025/14/46/image_30112025_14_46_16_10619.jpg', '/home/pi/Desktop/images/30112025/14/46/image_30112025_14_46_55_9670.jpg', '/home/pi/Desktop/images/30112025/14/47/image_30112025_14_47_42_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/44/image_30112025_14_45_05_9845.jpg
/home/pi/Desktop/images/30112025/14/45/image_30112025_14_45_25_9707.jpg
/home/pi/Desktop/images/30112025/14/45/image_30112025_14_45_55_9792.jpg
/home/pi/Desktop/images/30112025/14/46/image_30112025_14_46_16_10619.jpg
/home/pi/Desktop/images/30112025/14/46/image_30112025_14_46_55_9670.jpg
/home/pi/Desktop/images/30112025/14/47/image_30112025_14_47_42_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070723","1397070737","1397070734","1397070732","1397070726","1397070729"],"photo_ids_order":["1397070723","1397070726","1397070729","1397070732","1397070734","1397070737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c43e86ea87ae2bb0721f4edcebf37f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6062921038094037286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_45_05_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa91ab2df5f1f5329c8eb535ec2c215d.jpg","text":"TemporaryFile(/tmp/multipartBody7218923331040113945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_47_42_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/30/f3a24f2785c1616fc6928bb803dd5afb.jpg","text":"TemporaryFile(/tmp/multipartBody3110316276801035281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_46_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30316207a54c55e918cd254b83d870ba.jpg","text":"TemporaryFile(/tmp/multipartBody2890852617211581182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_46_16_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5eae491eabffe09c51429e150303213.jpg","text":"TemporaryFile(/tmp/multipartBody3531996946562564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_45_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7282d500f4ebbbfb312c57824199fff.jpg","text":"TemporaryFile(/tmp/multipartBody9178075383454311589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517403449,"filename":"image_30112025_14_45_55_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070729","file1":"1397070726","file0":"1397070723","file4":"1397070734","file5":"1397070737","file3":"1397070732"},"map_files_photo_id_array":[{"photo_id":"1397070737","filename":"file5"},{"photo_id":"1397070729","filename":"file2"},{"photo_id":"1397070734","filename":"file4"},{"photo_id":"1397070726","filename":"file1"},{"photo_id":"1397070723","filename":"file0"},{"photo_id":"1397070732","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070723":["hashtag1","hashtag2"]},{"1397070737":["hashtag1","hashtag2"]},{"1397070734":["hashtag1","hashtag2"]},{"1397070732":["hashtag1","hashtag2"]},{"1397070726":["hashtag1","hashtag2"]},{"1397070729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070723, 1397070737, 1397070734, 1397070732, 1397070726, 1397070729)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.26139950752258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:43:12.559098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_17_2807.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_20_3639.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_23_2791.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_26_2636.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_29_3329.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_32_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_17_2807.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_20_3639.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_23_2791.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_26_2636.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_29_3329.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_32_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070738","1397070746","1397070740","1397070751","1397070748","1397070742"],"photo_ids_order":["1397070738","1397070740","1397070742","1397070746","1397070748","1397070751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56cb5f46d9914f5410693c2d9478e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody7222161658440845981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_17_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9ad1f210d0e7ac68fd396744bc6eee9.jpg","text":"TemporaryFile(/tmp/multipartBody1043206147654612903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_26_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f6aa09ffb1bd5c70adddd60b3c79582.jpg","text":"TemporaryFile(/tmp/multipartBody5969548825888756365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_20_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2988f11fe7a9adbb08a6d02f586c3be.jpg","text":"TemporaryFile(/tmp/multipartBody88258372473103699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_32_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/30/eacc5e617a8ccd702a8fa0f8167b2c9c.jpg","text":"TemporaryFile(/tmp/multipartBody655075872430249169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_29_3329.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8437251652afa4b923138727478370fb.jpg","text":"TemporaryFile(/tmp/multipartBody7450117775733500194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517454393,"filename":"image_25112025_20_28_23_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070742","file1":"1397070740","file0":"1397070738","file4":"1397070748","file5":"1397070751","file3":"1397070746"},"map_files_photo_id_array":[{"photo_id":"1397070751","filename":"file5"},{"photo_id":"1397070742","filename":"file2"},{"photo_id":"1397070748","filename":"file4"},{"photo_id":"1397070740","filename":"file1"},{"photo_id":"1397070738","filename":"file0"},{"photo_id":"1397070746","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070738":["hashtag1","hashtag2"]},{"1397070746":["hashtag1","hashtag2"]},{"1397070740":["hashtag1","hashtag2"]},{"1397070751":["hashtag1","hashtag2"]},{"1397070748":["hashtag1","hashtag2"]},{"1397070742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070738, 1397070746, 1397070740, 1397070751, 1397070748, 1397070742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0405113697052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:44:03.327902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_25_10009.jpg', '/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_46_20883.jpg', '/home/pi/Desktop/images/30112025/14/49/image_30112025_14_49_55_6907.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_14_10050.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_24_10700.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_34_10195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_25_10009.jpg
/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_46_20883.jpg
/home/pi/Desktop/images/30112025/14/49/image_30112025_14_49_55_6907.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_14_10050.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_24_10700.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_34_10195.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6701951026916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:44:12.719602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_34_2760.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_38_3689.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_41_2850.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_46_2633.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_50_3655.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_53_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_34_2760.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_38_3689.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_41_2850.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_46_2633.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_50_3655.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_53_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070773","1397070767","1397070776","1397070770","1397070760","1397070763"],"photo_ids_order":["1397070760","1397070763","1397070767","1397070770","1397070773","1397070776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f05aff9a0ed5509ca228bc7ae1c29cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5134792726096138512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_50_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/30/8956589c70064aa3c6d223083343ddea.jpg","text":"TemporaryFile(/tmp/multipartBody2769059698696714851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_41_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40c70f959426a4f29a860c0cb74963be.jpg","text":"TemporaryFile(/tmp/multipartBody5175783674245539491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_53_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/30/e4248adf275a11049698b57c45e94d55.jpg","text":"TemporaryFile(/tmp/multipartBody1000104437584490188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_46_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/30/3e94ec9a3c539498e640a5d93f46d780.jpg","text":"TemporaryFile(/tmp/multipartBody3327293032832543482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_34_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/30/940136f73c39e84fd4d74e427b4c3d8d.jpg","text":"TemporaryFile(/tmp/multipartBody1630580829857951031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517514600,"filename":"image_25112025_20_28_38_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070767","file1":"1397070763","file0":"1397070760","file4":"1397070773","file5":"1397070776","file3":"1397070770"},"map_files_photo_id_array":[{"photo_id":"1397070776","filename":"file5"},{"photo_id":"1397070767","filename":"file2"},{"photo_id":"1397070773","filename":"file4"},{"photo_id":"1397070763","filename":"file1"},{"photo_id":"1397070760","filename":"file0"},{"photo_id":"1397070770","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070773":["hashtag1","hashtag2"]},{"1397070767":["hashtag1","hashtag2"]},{"1397070776":["hashtag1","hashtag2"]},{"1397070770":["hashtag1","hashtag2"]},{"1397070760":["hashtag1","hashtag2"]},{"1397070763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070773, 1397070767, 1397070776, 1397070770, 1397070760, 1397070763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65265250205994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:45:02.579707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_25_10009.jpg', '/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_46_20883.jpg', '/home/pi/Desktop/images/30112025/14/49/image_30112025_14_49_55_6907.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_14_10050.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_24_10700.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_34_10195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_25_10009.jpg
/home/pi/Desktop/images/30112025/14/48/image_30112025_14_48_46_20883.jpg
/home/pi/Desktop/images/30112025/14/49/image_30112025_14_49_55_6907.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_14_10050.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_24_10700.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_34_10195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070791","1397070785","1397070782","1397070784","1397070787","1397070783"],"photo_ids_order":["1397070782","1397070783","1397070784","1397070785","1397070787","1397070791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e52ea446404c7ae247b25e9365502dac.jpg","text":"TemporaryFile(/tmp/multipartBody3005291282337986758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_51_34_10195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57732f4aaf203c38e8db17c4ab8491bb.jpg","text":"TemporaryFile(/tmp/multipartBody4014088239815666752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_51_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdd5a27ff2e448692a5282a4919716f2.jpg","text":"TemporaryFile(/tmp/multipartBody7192580650801466387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_48_25_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b32f9c7b0d8011e86b2bafc8793e54bd.jpg","text":"TemporaryFile(/tmp/multipartBody2027905661454448359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_49_55_6907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcad32a8984ae1ef394151b48b04cd20.jpg","text":"TemporaryFile(/tmp/multipartBody7296754241618551217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_51_24_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c35883dacf1a4d32032f4b5b3e994dc.jpg","text":"TemporaryFile(/tmp/multipartBody6243393874974834843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517563313,"filename":"image_30112025_14_48_46_20883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070784","file1":"1397070783","file0":"1397070782","file4":"1397070787","file5":"1397070791","file3":"1397070785"},"map_files_photo_id_array":[{"photo_id":"1397070791","filename":"file5"},{"photo_id":"1397070784","filename":"file2"},{"photo_id":"1397070787","filename":"file4"},{"photo_id":"1397070783","filename":"file1"},{"photo_id":"1397070782","filename":"file0"},{"photo_id":"1397070785","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070791":["hashtag1","hashtag2"]},{"1397070785":["hashtag1","hashtag2"]},{"1397070782":["hashtag1","hashtag2"]},{"1397070784":["hashtag1","hashtag2"]},{"1397070787":["hashtag1","hashtag2"]},{"1397070783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070791, 1397070785, 1397070782, 1397070784, 1397070787, 1397070783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811720848083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:45:41.833231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/07/image_31102025_13_07_01_2776.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_05_3879.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_08_2840.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_11_2800.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_14_2728.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_17_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_01_2776.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_05_3879.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_08_2840.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_11_2800.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_14_2728.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_17_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070804","1397070806","1397070799","1397070802","1397070805","1397070808"],"photo_ids_order":["1397070799","1397070802","1397070804","1397070805","1397070806","1397070808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14e07256d7d70e95bcba4339fea90a47.jpg","text":"TemporaryFile(/tmp/multipartBody4895706926282434833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_08_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/30/3bfeaa4247dd034177e5c9a82ac740e6.jpg","text":"TemporaryFile(/tmp/multipartBody4120552851699736369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_14_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/30/261a90971a3518e2099a742f98a6e37b.jpg","text":"TemporaryFile(/tmp/multipartBody1395893590460482125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_01_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/30/200043d38170952d9e5364769a3e937e.jpg","text":"TemporaryFile(/tmp/multipartBody5711931345693605428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_05_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/30/eeb4d6f26bbfeb1fdf23ee25aa698289.jpg","text":"TemporaryFile(/tmp/multipartBody3839011024330827872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_11_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/30/4f4f8e6355264c4dd8221c7827336621.jpg","text":"TemporaryFile(/tmp/multipartBody6664690290877895307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517602761,"filename":"image_31102025_13_07_17_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070804","file1":"1397070802","file0":"1397070799","file4":"1397070806","file5":"1397070808","file3":"1397070805"},"map_files_photo_id_array":[{"photo_id":"1397070808","filename":"file5"},{"photo_id":"1397070804","filename":"file2"},{"photo_id":"1397070806","filename":"file4"},{"photo_id":"1397070802","filename":"file1"},{"photo_id":"1397070799","filename":"file0"},{"photo_id":"1397070805","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070804":["hashtag1","hashtag2"]},{"1397070806":["hashtag1","hashtag2"]},{"1397070799":["hashtag1","hashtag2"]},{"1397070802":["hashtag1","hashtag2"]},{"1397070805":["hashtag1","hashtag2"]},{"1397070808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070804, 1397070806, 1397070799, 1397070802, 1397070805, 1397070808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79987955093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:46:21.986615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_44_9693.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_54_9813.jpg', '/home/pi/Desktop/images/30112025/14/51/image_30112025_14_52_04_10320.jpg', '/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_14_9715.jpg', '/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_24_9699.jpg', '/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_34_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_44_9693.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_51_54_9813.jpg
/home/pi/Desktop/images/30112025/14/51/image_30112025_14_52_04_10320.jpg
/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_14_9715.jpg
/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_24_9699.jpg
/home/pi/Desktop/images/30112025/14/52/image_30112025_14_52_34_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070819","1397070821","1397070824","1397070814","1397070817","1397070811"],"photo_ids_order":["1397070811","1397070814","1397070817","1397070819","1397070821","1397070824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0c135b4d4a84417eab1d54653bcb358.jpg","text":"TemporaryFile(/tmp/multipartBody2844991005674464727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_52_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0a0ef8252ed7f77f4801e2a8ba38d3c.jpg","text":"TemporaryFile(/tmp/multipartBody1048883295479088885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_52_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4415e0950d88cd52ba1417ff226fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody1855265577244242800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_52_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61b3d816650adb3d69405e42c7909578.jpg","text":"TemporaryFile(/tmp/multipartBody6107292322504786689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_51_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cdef449e2d1a9ade86c998fd0b97539.jpg","text":"TemporaryFile(/tmp/multipartBody190651938112620636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_52_04_10320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77a4bd2a7058c0dd227b49fe976b5895.jpg","text":"TemporaryFile(/tmp/multipartBody8793439550234123583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517642679,"filename":"image_30112025_14_51_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070817","file1":"1397070814","file0":"1397070811","file4":"1397070821","file5":"1397070824","file3":"1397070819"},"map_files_photo_id_array":[{"photo_id":"1397070824","filename":"file5"},{"photo_id":"1397070817","filename":"file2"},{"photo_id":"1397070821","filename":"file4"},{"photo_id":"1397070814","filename":"file1"},{"photo_id":"1397070811","filename":"file0"},{"photo_id":"1397070819","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070819":["hashtag1","hashtag2"]},{"1397070821":["hashtag1","hashtag2"]},{"1397070824":["hashtag1","hashtag2"]},{"1397070814":["hashtag1","hashtag2"]},{"1397070817":["hashtag1","hashtag2"]},{"1397070811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070819, 1397070821, 1397070824, 1397070814, 1397070817, 1397070811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21165442466736 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 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-30 16:47:14.080766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_57_4483.jpg', '/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_59_1690.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_05_3678.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_08_2777.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_11_2759.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_13_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_57_4483.jpg
/home/pi/Desktop/images/25112025/20/28/image_25112025_20_28_59_1690.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_05_3678.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_08_2777.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_11_2759.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_13_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070837","1397070839","1397070832","1397070841","1397070835","1397070840"],"photo_ids_order":["1397070832","1397070835","1397070837","1397070839","1397070840","1397070841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5455d44db59f9fc4d503ae5952ca1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3851996682055705522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_29_05_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60657f4c28f02ff8df543e8d4fe8abb8.jpg","text":"TemporaryFile(/tmp/multipartBody4775704896513859606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_29_08_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/30/c6c21b41859cd986b62e13cc567b07b7.jpg","text":"TemporaryFile(/tmp/multipartBody4908620320526269568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_28_57_4483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/987743b6de34733011dfef516b8b2568.jpg","text":"TemporaryFile(/tmp/multipartBody2728603390539010677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_29_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/30/551d0e8c949503f10473a0ae3bfe2eef.jpg","text":"TemporaryFile(/tmp/multipartBody4017140760201575650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_28_59_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/30/502e333a56057adb81e97e18f94b6d42.jpg","text":"TemporaryFile(/tmp/multipartBody1078129099091236337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517712524,"filename":"image_25112025_20_29_11_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070837","file1":"1397070835","file0":"1397070832","file4":"1397070840","file5":"1397070841","file3":"1397070839"},"map_files_photo_id_array":[{"photo_id":"1397070841","filename":"file5"},{"photo_id":"1397070837","filename":"file2"},{"photo_id":"1397070840","filename":"file4"},{"photo_id":"1397070835","filename":"file1"},{"photo_id":"1397070832","filename":"file0"},{"photo_id":"1397070839","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070837":["hashtag1","hashtag2"]},{"1397070839":["hashtag1","hashtag2"]},{"1397070832":["hashtag1","hashtag2"]},{"1397070841":["hashtag1","hashtag2"]},{"1397070835":["hashtag1","hashtag2"]},{"1397070840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070837, 1397070839, 1397070832, 1397070841, 1397070835, 1397070840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.74811792373657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:48:11.978414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_17_3590.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_35_3111.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_41_1550.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_43_1733.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_46_1489.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_50_1818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_17_3590.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_35_3111.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_41_1550.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_43_1733.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_46_1489.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_50_1818.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.391801595687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:48:21.879808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/52/image_30112025_14_53_04_10710.jpg', '/home/pi/Desktop/images/30112025/14/55/image_30112025_14_55_14_9710.jpg', '/home/pi/Desktop/images/30112025/14/56/image_30112025_14_56_34_9723.jpg', '/home/pi/Desktop/images/30112025/14/56/image_30112025_14_57_04_9829.jpg', '/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_14_9576.jpg', '/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_34_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/52/image_30112025_14_53_04_10710.jpg
/home/pi/Desktop/images/30112025/14/55/image_30112025_14_55_14_9710.jpg
/home/pi/Desktop/images/30112025/14/56/image_30112025_14_56_34_9723.jpg
/home/pi/Desktop/images/30112025/14/56/image_30112025_14_57_04_9829.jpg
/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_14_9576.jpg
/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_34_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070845","1397070865","1397070859","1397070850","1397070862","1397070855"],"photo_ids_order":["1397070845","1397070850","1397070855","1397070859","1397070862","1397070865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d876fee326d2e0360624e72ac0365ef5.jpg","text":"TemporaryFile(/tmp/multipartBody2093237101028647323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_53_04_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ad63546f14736b6501985222e22d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody1295530721474259479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_58_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/602ff8cb72accf8febc6335027e2842a.jpg","text":"TemporaryFile(/tmp/multipartBody1857744843191445217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_57_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c2352fbbe92357474f12a5d20e8e732.jpg","text":"TemporaryFile(/tmp/multipartBody6754640456734317849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_55_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60acb0666357f33446d001cca75bd207.jpg","text":"TemporaryFile(/tmp/multipartBody7204792031004027756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_58_14_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/659588de8f682a4cf6716b3c7210b2bd.jpg","text":"TemporaryFile(/tmp/multipartBody8735383127830313960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517762530,"filename":"image_30112025_14_56_34_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070855","file1":"1397070850","file0":"1397070845","file4":"1397070862","file5":"1397070865","file3":"1397070859"},"map_files_photo_id_array":[{"photo_id":"1397070865","filename":"file5"},{"photo_id":"1397070855","filename":"file2"},{"photo_id":"1397070862","filename":"file4"},{"photo_id":"1397070850","filename":"file1"},{"photo_id":"1397070845","filename":"file0"},{"photo_id":"1397070859","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070845":["hashtag1","hashtag2"]},{"1397070865":["hashtag1","hashtag2"]},{"1397070859":["hashtag1","hashtag2"]},{"1397070850":["hashtag1","hashtag2"]},{"1397070862":["hashtag1","hashtag2"]},{"1397070855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070845, 1397070865, 1397070859, 1397070850, 1397070862, 1397070855)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.967146158218384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:49:14.597178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_17_3590.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_35_3111.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_41_1550.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_43_1733.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_46_1489.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_50_1818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_17_3590.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_35_3111.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_41_1550.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_43_1733.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_46_1489.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_50_1818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070866","1397070868","1397070876","1397070879","1397070870","1397070873"],"photo_ids_order":["1397070866","1397070868","1397070870","1397070873","1397070876","1397070879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef77df45a1c5ef7836139264a3b6940d.jpg","text":"TemporaryFile(/tmp/multipartBody1120929338982449012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_17_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/30/fdbb646a415fc2f37ba0f9c8c09fb7c7.jpg","text":"TemporaryFile(/tmp/multipartBody9164021187569751382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_35_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/30/2a3236ca7171f43a8e1e8856d053ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody2098729497082644123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_46_1489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b507843df67264869e5ad74c8896ad1.jpg","text":"TemporaryFile(/tmp/multipartBody6217955196569344785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_50_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8eb5a2ac998fea63941096335b39915.jpg","text":"TemporaryFile(/tmp/multipartBody4455398403327123982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_41_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/30/fd5d0ea77104c06561268a759c1e6948.jpg","text":"TemporaryFile(/tmp/multipartBody3726606177562347147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517816319,"filename":"image_25112025_20_29_43_1733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070870","file1":"1397070868","file0":"1397070866","file4":"1397070876","file5":"1397070879","file3":"1397070873"},"map_files_photo_id_array":[{"photo_id":"1397070879","filename":"file5"},{"photo_id":"1397070870","filename":"file2"},{"photo_id":"1397070876","filename":"file4"},{"photo_id":"1397070868","filename":"file1"},{"photo_id":"1397070866","filename":"file0"},{"photo_id":"1397070873","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070866":["hashtag1","hashtag2"]},{"1397070868":["hashtag1","hashtag2"]},{"1397070876":["hashtag1","hashtag2"]},{"1397070879":["hashtag1","hashtag2"]},{"1397070870":["hashtag1","hashtag2"]},{"1397070873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070866, 1397070868, 1397070876, 1397070879, 1397070870, 1397070873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.005504846572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:50:02.906773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:50:12.583016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_52_2636.jpg', '/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_56_3758.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_01_2631.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_05_3554.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_16_2594.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_23_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_52_2636.jpg
/home/pi/Desktop/images/25112025/20/29/image_25112025_20_29_56_3758.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_01_2631.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_05_3554.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_16_2594.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_23_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070899","1397070893","1397070896","1397070902","1397070891","1397070906"],"photo_ids_order":["1397070891","1397070893","1397070896","1397070899","1397070902","1397070906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83e5405aeb4ac1bdf99b199296059b83.jpg","text":"TemporaryFile(/tmp/multipartBody2849436762174984335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_30_05_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/30/f768f77b1233c7f734cb381d31c277f9.jpg","text":"TemporaryFile(/tmp/multipartBody6677643914946859016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_29_56_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/30/bc606d4f2d8ad7aade789a213044fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody7849335928139944538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_30_01_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/30/570e54759f26c1a5601f76f2841bc5d2.jpg","text":"TemporaryFile(/tmp/multipartBody7347787225046803998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_30_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/30/4f75914af6d6969ef678d7cbff48f450.jpg","text":"TemporaryFile(/tmp/multipartBody8065382982260053815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_29_52_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/30/b1d77b16bbef45283022aca3538d4bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1994850360575537561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517874533,"filename":"image_25112025_20_30_23_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070896","file1":"1397070893","file0":"1397070891","file4":"1397070902","file5":"1397070906","file3":"1397070899"},"map_files_photo_id_array":[{"photo_id":"1397070906","filename":"file5"},{"photo_id":"1397070896","filename":"file2"},{"photo_id":"1397070902","filename":"file4"},{"photo_id":"1397070893","filename":"file1"},{"photo_id":"1397070891","filename":"file0"},{"photo_id":"1397070899","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397070899":["hashtag1","hashtag2"]},{"1397070893":["hashtag1","hashtag2"]},{"1397070896":["hashtag1","hashtag2"]},{"1397070902":["hashtag1","hashtag2"]},{"1397070891":["hashtag1","hashtag2"]},{"1397070906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397070899, 1397070893, 1397070896, 1397070902, 1397070891, 1397070906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.831249475479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:51:03.480624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_44_9570.jpg', '/home/pi/Desktop/images/30112025/14/59/image_30112025_14_59_24_10754.jpg', '/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_14_10056.jpg', '/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_45_9670.jpg', '/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_54_9713.jpg', '/home/pi/Desktop/images/30112025/15/00/image_30112025_15_01_05_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/14/58/image_30112025_14_58_44_9570.jpg
/home/pi/Desktop/images/30112025/14/59/image_30112025_14_59_24_10754.jpg
/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_14_10056.jpg
/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_45_9670.jpg
/home/pi/Desktop/images/30112025/15/00/image_30112025_15_00_54_9713.jpg
/home/pi/Desktop/images/30112025/15/00/image_30112025_15_01_05_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070921","1397070914","1397070913","1397070910","1397070918","1397070912"],"photo_ids_order":["1397070910","1397070912","1397070913","1397070914","1397070918","1397070921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f174e94dea6511a9d714d965cc3f43dc.jpg","text":"TemporaryFile(/tmp/multipartBody8673249464728499909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_15_01_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9158156e6cfced25582b8aa0d33662db.jpg","text":"TemporaryFile(/tmp/multipartBody6351472198275568550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_15_00_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87c553cefc45a2a324c6e87ff3a2aae0.jpg","text":"TemporaryFile(/tmp/multipartBody7409148611515269868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_15_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2de3619331b9d1f977ad7a7b90333df.jpg","text":"TemporaryFile(/tmp/multipartBody833894072256576921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_14_58_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9301559dfe6b7ff0854f8f381fbca55.jpg","text":"TemporaryFile(/tmp/multipartBody3345110851572449815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_15_00_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e652bdfcbe2fe1b118cafe77dc0b80b.jpg","text":"TemporaryFile(/tmp/multipartBody7484720427839022648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517924241,"filename":"image_30112025_14_59_24_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070913","file1":"1397070912","file0":"1397070910","file4":"1397070918","file5":"1397070921","file3":"1397070914"},"map_files_photo_id_array":[{"photo_id":"1397070921","filename":"file5"},{"photo_id":"1397070913","filename":"file2"},{"photo_id":"1397070918","filename":"file4"},{"photo_id":"1397070912","filename":"file1"},{"photo_id":"1397070910","filename":"file0"},{"photo_id":"1397070914","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070921":["hashtag1","hashtag2"]},{"1397070914":["hashtag1","hashtag2"]},{"1397070913":["hashtag1","hashtag2"]},{"1397070910":["hashtag1","hashtag2"]},{"1397070918":["hashtag1","hashtag2"]},{"1397070912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070921, 1397070914, 1397070913, 1397070910, 1397070918, 1397070912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99945569038391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:51:42.713531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/07/image_31102025_13_07_20_2599.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_23_2746.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_26_3629.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_29_2780.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_32_2745.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_34_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_20_2599.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_23_2746.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_26_3629.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_29_2780.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_32_2745.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_34_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":["1397070935","1397070929","1397070932","1397070931","1397070933","1397070927"],"photo_ids_order":["1397070927","1397070929","1397070931","1397070932","1397070933","1397070935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87185717640e8f5bd3521e91edbb6d1f.jpg","text":"TemporaryFile(/tmp/multipartBody373227114346004511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_34_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/30/4bb492f7db7516475a0f8cfc18beea6e.jpg","text":"TemporaryFile(/tmp/multipartBody2283997858324112529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_23_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/30/38a4df6f16467a56546a0805bac4607f.jpg","text":"TemporaryFile(/tmp/multipartBody5300093283384953209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_29_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e2361ca84901d2b5c3b080a0899a88e.jpg","text":"TemporaryFile(/tmp/multipartBody6780357101270696843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_26_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/30/1b70dfc32af46cc29412801a1fb27ee3.jpg","text":"TemporaryFile(/tmp/multipartBody411557551813867602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_32_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/30/c3fcd8141ef9a669e28d7c6be724aecc.jpg","text":"TemporaryFile(/tmp/multipartBody2817904052051207851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764517963629,"filename":"image_31102025_13_07_20_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070931","file1":"1397070929","file0":"1397070927","file4":"1397070933","file5":"1397070935","file3":"1397070932"},"map_files_photo_id_array":[{"photo_id":"1397070935","filename":"file5"},{"photo_id":"1397070931","filename":"file2"},{"photo_id":"1397070933","filename":"file4"},{"photo_id":"1397070929","filename":"file1"},{"photo_id":"1397070927","filename":"file0"},{"photo_id":"1397070932","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070935":["hashtag1","hashtag2"]},{"1397070929":["hashtag1","hashtag2"]},{"1397070932":["hashtag1","hashtag2"]},{"1397070931":["hashtag1","hashtag2"]},{"1397070933":["hashtag1","hashtag2"]},{"1397070927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070935, 1397070929, 1397070932, 1397070931, 1397070933, 1397070927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68043780326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:52:21.958166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_15_9787.jpg', '/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_25_10008.jpg', '/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_44_9705.jpg', '/home/pi/Desktop/images/30112025/15/01/image_30112025_15_02_05_10550.jpg', '/home/pi/Desktop/images/30112025/15/02/image_30112025_15_02_34_9796.jpg', '/home/pi/Desktop/images/30112025/15/04/image_30112025_15_04_15_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_15_9787.jpg
/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_25_10008.jpg
/home/pi/Desktop/images/30112025/15/01/image_30112025_15_01_44_9705.jpg
/home/pi/Desktop/images/30112025/15/01/image_30112025_15_02_05_10550.jpg
/home/pi/Desktop/images/30112025/15/02/image_30112025_15_02_34_9796.jpg
/home/pi/Desktop/images/30112025/15/04/image_30112025_15_04_15_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070946","1397070949","1397070943","1397070954","1397070951","1397070939"],"photo_ids_order":["1397070939","1397070943","1397070946","1397070949","1397070951","1397070954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff3724abb33542ed25c788419b13a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody883607475715181035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_01_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11adb820b3274a450979497501f796fd.jpg","text":"TemporaryFile(/tmp/multipartBody6044277301423622780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_02_05_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f9dff8c4791b15c0680a10f3cbf88254.jpg","text":"TemporaryFile(/tmp/multipartBody8307116606211582397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_01_25_10008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96699547e272bece21efcd1aad35305b.jpg","text":"TemporaryFile(/tmp/multipartBody8349145116922036164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_04_15_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/334fa77b21e6b7592e377b9d5e1697dc.jpg","text":"TemporaryFile(/tmp/multipartBody4176215098065281324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_02_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bdee64ec897743378f130697ed568cf.jpg","text":"TemporaryFile(/tmp/multipartBody5017444726613936804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518002690,"filename":"image_30112025_15_01_15_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070946","file1":"1397070943","file0":"1397070939","file4":"1397070951","file5":"1397070954","file3":"1397070949"},"map_files_photo_id_array":[{"photo_id":"1397070954","filename":"file5"},{"photo_id":"1397070946","filename":"file2"},{"photo_id":"1397070951","filename":"file4"},{"photo_id":"1397070943","filename":"file1"},{"photo_id":"1397070939","filename":"file0"},{"photo_id":"1397070949","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070946":["hashtag1","hashtag2"]},{"1397070949":["hashtag1","hashtag2"]},{"1397070943":["hashtag1","hashtag2"]},{"1397070954":["hashtag1","hashtag2"]},{"1397070951":["hashtag1","hashtag2"]},{"1397070939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070946, 1397070949, 1397070943, 1397070954, 1397070951, 1397070939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.496639251708984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:53:02.820054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/04/image_30112025_15_05_05_9808.jpg', '/home/pi/Desktop/images/30112025/15/05/image_30112025_15_05_35_9562.jpg', '/home/pi/Desktop/images/30112025/15/05/image_30112025_15_06_05_9718.jpg', '/home/pi/Desktop/images/30112025/15/07/image_30112025_15_07_34_9756.jpg', '/home/pi/Desktop/images/30112025/15/09/image_30112025_15_09_15_10269.jpg', '/home/pi/Desktop/images/30112025/15/09/image_30112025_15_09_44_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/04/image_30112025_15_05_05_9808.jpg
/home/pi/Desktop/images/30112025/15/05/image_30112025_15_05_35_9562.jpg
/home/pi/Desktop/images/30112025/15/05/image_30112025_15_06_05_9718.jpg
/home/pi/Desktop/images/30112025/15/07/image_30112025_15_07_34_9756.jpg
/home/pi/Desktop/images/30112025/15/09/image_30112025_15_09_15_10269.jpg
/home/pi/Desktop/images/30112025/15/09/image_30112025_15_09_44_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070956","1397070964","1397070958","1397070955","1397070960","1397070957"],"photo_ids_order":["1397070955","1397070956","1397070957","1397070958","1397070960","1397070964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78445549cf85eae0e537efc0d5f11cd1.jpg","text":"TemporaryFile(/tmp/multipartBody644357553903803976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_05_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca120a8c090908e6ddddaec8373d3612.jpg","text":"TemporaryFile(/tmp/multipartBody5437925185179924997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_09_44_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dfa7c9e1a6dc2a466296ccf8ca7c916.jpg","text":"TemporaryFile(/tmp/multipartBody9079052715261975860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_07_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e47316b5bdbaa2c6c7f8f204c0b8e0eb.jpg","text":"TemporaryFile(/tmp/multipartBody4563486400653994594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_05_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43380da43ab499db172f72af767e880c.jpg","text":"TemporaryFile(/tmp/multipartBody1986287412510405920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_09_15_10269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eaac1cb4eca179bec15c1255e83a21cc.jpg","text":"TemporaryFile(/tmp/multipartBody2711477528950305787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518043639,"filename":"image_30112025_15_06_05_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070957","file1":"1397070956","file0":"1397070955","file4":"1397070960","file5":"1397070964","file3":"1397070958"},"map_files_photo_id_array":[{"photo_id":"1397070964","filename":"file5"},{"photo_id":"1397070957","filename":"file2"},{"photo_id":"1397070960","filename":"file4"},{"photo_id":"1397070956","filename":"file1"},{"photo_id":"1397070955","filename":"file0"},{"photo_id":"1397070958","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070956":["hashtag1","hashtag2"]},{"1397070964":["hashtag1","hashtag2"]},{"1397070958":["hashtag1","hashtag2"]},{"1397070955":["hashtag1","hashtag2"]},{"1397070960":["hashtag1","hashtag2"]},{"1397070957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070956, 1397070964, 1397070958, 1397070955, 1397070960, 1397070957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82828736305237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:53:42.064973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/07/image_31102025_13_07_38_3661.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_41_2725.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_44_2666.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_47_3554.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_50_2881.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_53_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_38_3661.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_41_2725.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_44_2666.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_47_3554.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_50_2881.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_53_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":["1397070983","1397070971","1397070980","1397070982","1397070979","1397070981"],"photo_ids_order":["1397070971","1397070979","1397070980","1397070981","1397070982","1397070983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1eaa9f5174726d9e8534b09ac6f2173f.jpg","text":"TemporaryFile(/tmp/multipartBody5442247403289787210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_53_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fb7eaf0d8d919d879a9e8941dfdc459.jpg","text":"TemporaryFile(/tmp/multipartBody1784838887431162268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_38_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/30/47411aff812f3c0a2c19dd329c6249cd.jpg","text":"TemporaryFile(/tmp/multipartBody4799509426974253650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_44_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/30/90ed18c25914886601b9520a81ae10b4.jpg","text":"TemporaryFile(/tmp/multipartBody7612016736234161758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_50_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dde1b418355df2564d96deff984ffba4.jpg","text":"TemporaryFile(/tmp/multipartBody5430508587279744193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_41_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/30/3b452f3691970a567075abe7c4f015a5.jpg","text":"TemporaryFile(/tmp/multipartBody8080735602396337161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518082942,"filename":"image_31102025_13_07_47_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070980","file1":"1397070979","file0":"1397070971","file4":"1397070982","file5":"1397070983","file3":"1397070981"},"map_files_photo_id_array":[{"photo_id":"1397070983","filename":"file5"},{"photo_id":"1397070980","filename":"file2"},{"photo_id":"1397070982","filename":"file4"},{"photo_id":"1397070979","filename":"file1"},{"photo_id":"1397070971","filename":"file0"},{"photo_id":"1397070981","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397070983":["hashtag1","hashtag2"]},{"1397070971":["hashtag1","hashtag2"]},{"1397070980":["hashtag1","hashtag2"]},{"1397070982":["hashtag1","hashtag2"]},{"1397070979":["hashtag1","hashtag2"]},{"1397070981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397070983, 1397070971, 1397070980, 1397070982, 1397070979, 1397070981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72870683670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:54:22.233493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/09/image_30112025_15_10_05_10612.jpg', '/home/pi/Desktop/images/30112025/15/10/image_30112025_15_10_55_9703.jpg', '/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_05_9675.jpg', '/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_25_9840.jpg', '/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_55_10587.jpg', '/home/pi/Desktop/images/30112025/15/12/image_30112025_15_12_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/09/image_30112025_15_10_05_10612.jpg
/home/pi/Desktop/images/30112025/15/10/image_30112025_15_10_55_9703.jpg
/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_05_9675.jpg
/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_25_9840.jpg
/home/pi/Desktop/images/30112025/15/11/image_30112025_15_11_55_10587.jpg
/home/pi/Desktop/images/30112025/15/12/image_30112025_15_12_14_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397070998","1397070992","1397070986","1397070995","1397070990","1397070996"],"photo_ids_order":["1397070986","1397070990","1397070992","1397070995","1397070996","1397070998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f18e6288845f6fae2f631d3e2cdd9f6.jpg","text":"TemporaryFile(/tmp/multipartBody6579217190752817987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_12_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7adcb29475cf5c7baf3e63ccb224412.jpg","text":"TemporaryFile(/tmp/multipartBody8733556702598608272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_11_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be6097725714e9952fbf52629fc5e6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2678879379306019957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_10_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54884ad53f689959bf896d0f64179895.jpg","text":"TemporaryFile(/tmp/multipartBody8995008262726090237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_11_25_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/523cd22bf9f03e8e3c0f3adac5c22aff.jpg","text":"TemporaryFile(/tmp/multipartBody3650035539377768911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_10_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c3104e84af94e5f50acebc1fee5cca2.jpg","text":"TemporaryFile(/tmp/multipartBody1516214959257277840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518122931,"filename":"image_30112025_15_11_55_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397070992","file1":"1397070990","file0":"1397070986","file4":"1397070996","file5":"1397070998","file3":"1397070995"},"map_files_photo_id_array":[{"photo_id":"1397070998","filename":"file5"},{"photo_id":"1397070992","filename":"file2"},{"photo_id":"1397070996","filename":"file4"},{"photo_id":"1397070990","filename":"file1"},{"photo_id":"1397070986","filename":"file0"},{"photo_id":"1397070995","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397070998":["hashtag1","hashtag2"]},{"1397070992":["hashtag1","hashtag2"]},{"1397070986":["hashtag1","hashtag2"]},{"1397070995":["hashtag1","hashtag2"]},{"1397070990":["hashtag1","hashtag2"]},{"1397070996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397070998, 1397070992, 1397070986, 1397070995, 1397070990, 1397070996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67227125167847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:55:02.995875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/12/image_30112025_15_12_45_9798.jpg', '/home/pi/Desktop/images/30112025/15/13/image_30112025_15_13_45_9679.jpg', '/home/pi/Desktop/images/30112025/15/14/image_30112025_15_14_15_9831.jpg', '/home/pi/Desktop/images/30112025/15/14/image_30112025_15_14_25_9685.jpg', '/home/pi/Desktop/images/30112025/15/15/image_30112025_15_15_14_9620.jpg', '/home/pi/Desktop/images/30112025/15/16/image_30112025_15_16_25_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/12/image_30112025_15_12_45_9798.jpg
/home/pi/Desktop/images/30112025/15/13/image_30112025_15_13_45_9679.jpg
/home/pi/Desktop/images/30112025/15/14/image_30112025_15_14_15_9831.jpg
/home/pi/Desktop/images/30112025/15/14/image_30112025_15_14_25_9685.jpg
/home/pi/Desktop/images/30112025/15/15/image_30112025_15_15_14_9620.jpg
/home/pi/Desktop/images/30112025/15/16/image_30112025_15_16_25_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397071001","1397071004","1397071007","1397071000","1397070999","1397071002"],"photo_ids_order":["1397070999","1397071000","1397071001","1397071002","1397071004","1397071007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20ce6480904ff2c0e9f21ab71ce20be3.jpg","text":"TemporaryFile(/tmp/multipartBody5583066267810623515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_14_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1ac56973193ddf2bafbf373acda9202.jpg","text":"TemporaryFile(/tmp/multipartBody750668404636688504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_15_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dea574566542a4352a1d84a24e530c12.jpg","text":"TemporaryFile(/tmp/multipartBody8353541348379234416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_16_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b97c997a6ca8052d75fa64401a4ac549.jpg","text":"TemporaryFile(/tmp/multipartBody8125741979113091166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_13_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/489e04ae8756f7b665e7cf1fdc2a46f0.jpg","text":"TemporaryFile(/tmp/multipartBody2399936272149057968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_12_45_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a873954e762df9f8ec940b7d8b183a5.jpg","text":"TemporaryFile(/tmp/multipartBody2737352099669693056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518163849,"filename":"image_30112025_15_14_25_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397071001","file1":"1397071000","file0":"1397070999","file4":"1397071004","file5":"1397071007","file3":"1397071002"},"map_files_photo_id_array":[{"photo_id":"1397071007","filename":"file5"},{"photo_id":"1397071001","filename":"file2"},{"photo_id":"1397071004","filename":"file4"},{"photo_id":"1397071000","filename":"file1"},{"photo_id":"1397070999","filename":"file0"},{"photo_id":"1397071002","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397071001":["hashtag1","hashtag2"]},{"1397071004":["hashtag1","hashtag2"]},{"1397071007":["hashtag1","hashtag2"]},{"1397071000":["hashtag1","hashtag2"]},{"1397070999":["hashtag1","hashtag2"]},{"1397071002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397071001, 1397071004, 1397071007, 1397071000, 1397070999, 1397071002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71258187294006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 16:55:42.501034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/07/image_31102025_13_07_57_3982.jpg', '/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_58_1925.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_02_3588.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_05_2662.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_07_2589.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_11_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/13/07/image_31102025_13_07_57_3982.jpg
/home/pi/Desktop/images/31102025/13/07/image_31102025_13_07_58_1925.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_02_3588.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_05_2662.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_07_2589.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_11_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397071019","1397071021","1397071015","1397071018","1397071020","1397071017"],"photo_ids_order":["1397071015","1397071017","1397071018","1397071019","1397071020","1397071021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54f1ecc4459b5512e85f36823eabb4e0.jpg","text":"TemporaryFile(/tmp/multipartBody880373516784410722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_08_05_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d38317f3583bf99f6c0a329cec24610b.jpg","text":"TemporaryFile(/tmp/multipartBody8207096139024366312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_08_11_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/30/a6a58d4e74d59b7c1122e09d2319fe67.jpg","text":"TemporaryFile(/tmp/multipartBody9159029813607948997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_07_57_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/30/66e25aeb1afe48ad22cdbb277ddbb717.jpg","text":"TemporaryFile(/tmp/multipartBody1178889772769096048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_08_02_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/30/f20fc4214d6c0f9d09ab84aa0cb4921b.jpg","text":"TemporaryFile(/tmp/multipartBody4179089706602043988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_08_07_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/30/c4eb9861bdd319baf36faf2fb8376418.jpg","text":"TemporaryFile(/tmp/multipartBody3076948580249012747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518203382,"filename":"image_31102025_13_07_58_1925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397071018","file1":"1397071017","file0":"1397071015","file4":"1397071020","file5":"1397071021","file3":"1397071019"},"map_files_photo_id_array":[{"photo_id":"1397071021","filename":"file5"},{"photo_id":"1397071018","filename":"file2"},{"photo_id":"1397071020","filename":"file4"},{"photo_id":"1397071017","filename":"file1"},{"photo_id":"1397071015","filename":"file0"},{"photo_id":"1397071019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397071019":["hashtag1","hashtag2"]},{"1397071021":["hashtag1","hashtag2"]},{"1397071015":["hashtag1","hashtag2"]},{"1397071018":["hashtag1","hashtag2"]},{"1397071020":["hashtag1","hashtag2"]},{"1397071017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397071019, 1397071021, 1397071015, 1397071018, 1397071020, 1397071017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.763431787490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:56:22.677451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/16/image_30112025_15_16_44_9624.jpg', '/home/pi/Desktop/images/30112025/15/17/image_30112025_15_17_35_10686.jpg', '/home/pi/Desktop/images/30112025/15/17/image_30112025_15_17_55_9653.jpg', '/home/pi/Desktop/images/30112025/15/17/image_30112025_15_18_04_9770.jpg', '/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_15_10571.jpg', '/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_25_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/16/image_30112025_15_16_44_9624.jpg
/home/pi/Desktop/images/30112025/15/17/image_30112025_15_17_35_10686.jpg
/home/pi/Desktop/images/30112025/15/17/image_30112025_15_17_55_9653.jpg
/home/pi/Desktop/images/30112025/15/17/image_30112025_15_18_04_9770.jpg
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_15_10571.jpg
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_25_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397071034","1397071028","1397071031","1397071025","1397071039","1397071038"],"photo_ids_order":["1397071025","1397071028","1397071031","1397071034","1397071038","1397071039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48e0473369391d7d5ddeb5dbde3bb38d.jpg","text":"TemporaryFile(/tmp/multipartBody8340972527106374868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_18_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e464213924992103d557086802597942.jpg","text":"TemporaryFile(/tmp/multipartBody3843763722584547047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_17_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ebf111eb94b2bbd6a49c6f54be07720.jpg","text":"TemporaryFile(/tmp/multipartBody6798990049375183048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_17_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bed0511dd07d2640b70f6e3b129e17d.jpg","text":"TemporaryFile(/tmp/multipartBody7222032671700713469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_16_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fe31f0a0f281a524f34b4aeae4e200d.jpg","text":"TemporaryFile(/tmp/multipartBody786604908951632352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_18_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f50b2971c53cca50e0050f49d7c8d36.jpg","text":"TemporaryFile(/tmp/multipartBody6409622564823547406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518243383,"filename":"image_30112025_15_18_15_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397071031","file1":"1397071028","file0":"1397071025","file4":"1397071038","file5":"1397071039","file3":"1397071034"},"map_files_photo_id_array":[{"photo_id":"1397071039","filename":"file5"},{"photo_id":"1397071031","filename":"file2"},{"photo_id":"1397071038","filename":"file4"},{"photo_id":"1397071028","filename":"file1"},{"photo_id":"1397071025","filename":"file0"},{"photo_id":"1397071034","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397071034":["hashtag1","hashtag2"]},{"1397071028":["hashtag1","hashtag2"]},{"1397071031":["hashtag1","hashtag2"]},{"1397071025":["hashtag1","hashtag2"]},{"1397071039":["hashtag1","hashtag2"]},{"1397071038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397071034, 1397071028, 1397071031, 1397071025, 1397071039, 1397071038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.601123094558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 16:57:14.351110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 16:57:24.415635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_35_10704.jpg', '/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_45_9701.jpg', '/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_55_9632.jpg', '/home/pi/Desktop/images/30112025/15/18/image_30112025_15_19_05_10659.jpg', '/home/pi/Desktop/images/30112025/15/19/image_30112025_15_19_15_9741.jpg', '/home/pi/Desktop/images/30112025/15/19/image_30112025_15_20_05_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_35_10704.jpg
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_45_9701.jpg
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_18_55_9632.jpg
/home/pi/Desktop/images/30112025/15/18/image_30112025_15_19_05_10659.jpg
/home/pi/Desktop/images/30112025/15/19/image_30112025_15_19_15_9741.jpg
/home/pi/Desktop/images/30112025/15/19/image_30112025_15_20_05_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397071046","1397071049","1397071043","1397071051","1397071054","1397071056"],"photo_ids_order":["1397071043","1397071046","1397071049","1397071051","1397071054","1397071056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d5d57f2d7aad69d9fb1534c2caee731.jpg","text":"TemporaryFile(/tmp/multipartBody4514090447570259995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_18_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b30bd9a94e4809f04b9953e9c0340446.jpg","text":"TemporaryFile(/tmp/multipartBody2350389032098048886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_18_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7fa503bc567740ddf32fa54d8f4613a5.jpg","text":"TemporaryFile(/tmp/multipartBody4709881154358288436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_18_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/122cca5068c8a3c558c16f375dfd9793.jpg","text":"TemporaryFile(/tmp/multipartBody4899961800270987976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_19_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50c5cbe81d4697254fca380f46bd1166.jpg","text":"TemporaryFile(/tmp/multipartBody6347357116049883060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_19_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8764b88bbba9cc3d5568ba8ba1d26db3.jpg","text":"TemporaryFile(/tmp/multipartBody903647227490218026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518305089,"filename":"image_30112025_15_20_05_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397071049","file1":"1397071046","file0":"1397071043","file4":"1397071054","file5":"1397071056","file3":"1397071051"},"map_files_photo_id_array":[{"photo_id":"1397071056","filename":"file5"},{"photo_id":"1397071049","filename":"file2"},{"photo_id":"1397071054","filename":"file4"},{"photo_id":"1397071046","filename":"file1"},{"photo_id":"1397071043","filename":"file0"},{"photo_id":"1397071051","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397071046":["hashtag1","hashtag2"]},{"1397071049":["hashtag1","hashtag2"]},{"1397071043":["hashtag1","hashtag2"]},{"1397071051":["hashtag1","hashtag2"]},{"1397071054":["hashtag1","hashtag2"]},{"1397071056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397071046, 1397071049, 1397071043, 1397071051, 1397071054, 1397071056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.756181478500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 16:59:03.673977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/20/image_30112025_15_20_45_9696.jpg', '/home/pi/Desktop/images/30112025/15/20/image_30112025_15_20_55_10668.jpg', '/home/pi/Desktop/images/30112025/15/20/image_30112025_15_21_05_9795.jpg', '/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_15_9685.jpg', '/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_24_9741.jpg', '/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/20/image_30112025_15_20_45_9696.jpg
/home/pi/Desktop/images/30112025/15/20/image_30112025_15_20_55_10668.jpg
/home/pi/Desktop/images/30112025/15/20/image_30112025_15_21_05_9795.jpg
/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_15_9685.jpg
/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_24_9741.jpg
/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_45_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397071154","1397071381","1397071534","1397071240","1397071460","1397071308"],"photo_ids_order":["1397071154","1397071240","1397071308","1397071381","1397071460","1397071534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ada0eee1a95109102a908e5a829c3268.jpg","text":"TemporaryFile(/tmp/multipartBody7933499624306474692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_20_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7a8f7fb20d7c6d4899aa81317e73030.jpg","text":"TemporaryFile(/tmp/multipartBody2661665816571322290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_21_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fdf6bceae9cb9449dd263d786baafe7.jpg","text":"TemporaryFile(/tmp/multipartBody3713628513407928755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_21_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38f411f5d39335bfdf0fa3f8d2428b92.jpg","text":"TemporaryFile(/tmp/multipartBody8508854141712275485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_20_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ba0c5da423af77e43c87183931e10fc.jpg","text":"TemporaryFile(/tmp/multipartBody1012630413267475093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_21_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c3f34c3079f477ffc2404282ed4c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody6363722895719244213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518404480,"filename":"image_30112025_15_21_05_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397071308","file1":"1397071240","file0":"1397071154","file4":"1397071460","file5":"1397071534","file3":"1397071381"},"map_files_photo_id_array":[{"photo_id":"1397071534","filename":"file5"},{"photo_id":"1397071308","filename":"file2"},{"photo_id":"1397071460","filename":"file4"},{"photo_id":"1397071240","filename":"file1"},{"photo_id":"1397071154","filename":"file0"},{"photo_id":"1397071381","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397071154":["hashtag1","hashtag2"]},{"1397071381":["hashtag1","hashtag2"]},{"1397071534":["hashtag1","hashtag2"]},{"1397071240":["hashtag1","hashtag2"]},{"1397071460":["hashtag1","hashtag2"]},{"1397071308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397071154, 1397071381, 1397071534, 1397071240, 1397071460, 1397071308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.866610288619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:00:02.898310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:00:12.398698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:00:22.691052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_54_9552.jpg', '/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_15_9730.jpg', '/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_24_9612.jpg', '/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_34_9968.jpg', '/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_45_10824.jpg', '/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_15_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/21/image_30112025_15_21_54_9552.jpg
/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_15_9730.jpg
/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_24_9612.jpg
/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_34_9968.jpg
/home/pi/Desktop/images/30112025/15/22/image_30112025_15_22_45_10824.jpg
/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_15_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397072341","1397072422","1397072382","1397072265","1397072346","1397072304"],"photo_ids_order":["1397072265","1397072304","1397072341","1397072346","1397072382","1397072422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/123d0deeecbe625345ab8efc59ea18aa.jpg","text":"TemporaryFile(/tmp/multipartBody3830752921243310549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_22_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbf8d7766e54c315d0b9217659fee5b0.jpg","text":"TemporaryFile(/tmp/multipartBody44003881802768429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_23_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f72d6b0d61a746d4c6c66f1b8acc1a6.jpg","text":"TemporaryFile(/tmp/multipartBody6047413160750043639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_22_45_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cbc2466e132257c02e334bb8f9b26b8.jpg","text":"TemporaryFile(/tmp/multipartBody7265271696191164072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_21_54_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/080705972f87cfca3769d63af1c0effc.jpg","text":"TemporaryFile(/tmp/multipartBody3402625554625187149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_22_34_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4b55dab739f0726a15fa28498a99e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6402802209260546317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518483367,"filename":"image_30112025_15_22_15_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397072341","file1":"1397072304","file0":"1397072265","file4":"1397072382","file5":"1397072422","file3":"1397072346"},"map_files_photo_id_array":[{"photo_id":"1397072422","filename":"file5"},{"photo_id":"1397072341","filename":"file2"},{"photo_id":"1397072382","filename":"file4"},{"photo_id":"1397072304","filename":"file1"},{"photo_id":"1397072265","filename":"file0"},{"photo_id":"1397072346","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397072341":["hashtag1","hashtag2"]},{"1397072422":["hashtag1","hashtag2"]},{"1397072382":["hashtag1","hashtag2"]},{"1397072265":["hashtag1","hashtag2"]},{"1397072346":["hashtag1","hashtag2"]},{"1397072304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397072341, 1397072422, 1397072382, 1397072265, 1397072346, 1397072304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.070645570755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:01:03.203735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_35_9701.jpg', '/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_44_9706.jpg', '/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_55_10784.jpg', '/home/pi/Desktop/images/30112025/15/23/image_30112025_15_24_05_9822.jpg', '/home/pi/Desktop/images/30112025/15/24/image_30112025_15_24_45_10356.jpg', '/home/pi/Desktop/images/30112025/15/24/image_30112025_15_24_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_35_9701.jpg
/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_44_9706.jpg
/home/pi/Desktop/images/30112025/15/23/image_30112025_15_23_55_10784.jpg
/home/pi/Desktop/images/30112025/15/23/image_30112025_15_24_05_9822.jpg
/home/pi/Desktop/images/30112025/15/24/image_30112025_15_24_45_10356.jpg
/home/pi/Desktop/images/30112025/15/24/image_30112025_15_24_54_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397072587","1397072560","1397072524","1397072527","1397072646","1397072561"],"photo_ids_order":["1397072524","1397072527","1397072560","1397072561","1397072587","1397072646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31e2f018d75168ed37d33a722afb0307.jpg","text":"TemporaryFile(/tmp/multipartBody1552916545175311057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_24_45_10356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e0a9611f6a0378f49c201528282d58a.jpg","text":"TemporaryFile(/tmp/multipartBody1525702251662360951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_23_55_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e764a069540287994cae7ee603ef2e3b.jpg","text":"TemporaryFile(/tmp/multipartBody1547538366389731561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_23_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ead0d8828c0574c669ee0836cd27b7af.jpg","text":"TemporaryFile(/tmp/multipartBody3038910785477160710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_23_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c4022e53c99ba1ec1dd157cbbd03e53.jpg","text":"TemporaryFile(/tmp/multipartBody7236148200569275126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_24_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a10f44029af937da81a01a38404ac2b.jpg","text":"TemporaryFile(/tmp/multipartBody2496375342184798350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518523960,"filename":"image_30112025_15_24_05_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397072560","file1":"1397072527","file0":"1397072524","file4":"1397072587","file5":"1397072646","file3":"1397072561"},"map_files_photo_id_array":[{"photo_id":"1397072646","filename":"file5"},{"photo_id":"1397072560","filename":"file2"},{"photo_id":"1397072587","filename":"file4"},{"photo_id":"1397072527","filename":"file1"},{"photo_id":"1397072524","filename":"file0"},{"photo_id":"1397072561","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397072587":["hashtag1","hashtag2"]},{"1397072560":["hashtag1","hashtag2"]},{"1397072524":["hashtag1","hashtag2"]},{"1397072527":["hashtag1","hashtag2"]},{"1397072646":["hashtag1","hashtag2"]},{"1397072561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397072587, 1397072560, 1397072524, 1397072527, 1397072646, 1397072561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81204581260681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:01:42.526462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/08/image_31102025_13_08_13_2610.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_17_3769.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_20_2573.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_22_2599.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_26_3620.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_29_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/13/08/image_31102025_13_08_13_2610.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_17_3769.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_20_2573.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_22_2599.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_26_3620.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_29_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397072900","1397072970","1397073228","1397073036","1397073182","1397073107"],"photo_ids_order":["1397072900","1397072970","1397073036","1397073107","1397073182","1397073228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd1ec34c233112b9ea20fa85267e8d68.jpg","text":"TemporaryFile(/tmp/multipartBody5965218645518071855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e919d98e8db9ac95961b082802943eba.jpg","text":"TemporaryFile(/tmp/multipartBody240360428761990932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_17_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/30/056acea589e05a0b5d4dab160f6b9004.jpg","text":"TemporaryFile(/tmp/multipartBody797759541507995390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_29_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/30/3e2026fc375e807687b8f50c8b0bf7bf.jpg","text":"TemporaryFile(/tmp/multipartBody9191675400707386005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_20_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/30/0b16160e03720ce37e7181b82ff73bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1571764457791147048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_26_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/30/702b94f36d582aaf091503f86153d422.jpg","text":"TemporaryFile(/tmp/multipartBody6074024253568441074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518563397,"filename":"image_31102025_13_08_22_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397073036","file1":"1397072970","file0":"1397072900","file4":"1397073182","file5":"1397073228","file3":"1397073107"},"map_files_photo_id_array":[{"photo_id":"1397073228","filename":"file5"},{"photo_id":"1397073036","filename":"file2"},{"photo_id":"1397073182","filename":"file4"},{"photo_id":"1397072970","filename":"file1"},{"photo_id":"1397072900","filename":"file0"},{"photo_id":"1397073107","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397072900":["hashtag1","hashtag2"]},{"1397072970":["hashtag1","hashtag2"]},{"1397073228":["hashtag1","hashtag2"]},{"1397073036":["hashtag1","hashtag2"]},{"1397073182":["hashtag1","hashtag2"]},{"1397073107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397072900, 1397072970, 1397073228, 1397073036, 1397073182, 1397073107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54715299606323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:02:22.757524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/24/image_30112025_15_25_05_10458.jpg', '/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_14_9697.jpg', '/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_24_9789.jpg', '/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_35_10704.jpg', '/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_45_9610.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_04_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/24/image_30112025_15_25_05_10458.jpg
/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_14_9697.jpg
/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_24_9789.jpg
/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_35_10704.jpg
/home/pi/Desktop/images/30112025/15/25/image_30112025_15_25_45_9610.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_04_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397073676","1397073418","1397073511","1397073474","1397073549","1397073602"],"photo_ids_order":["1397073418","1397073474","1397073511","1397073549","1397073602","1397073676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/381957f9eb80b591ae4352a278884307.jpg","text":"TemporaryFile(/tmp/multipartBody6296304684358794331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_26_04_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/392d991a3ca88383a9c258bf88317474.jpg","text":"TemporaryFile(/tmp/multipartBody5763440124716919909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_25_05_10458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/633592dc254e3b94a832792ec119f711.jpg","text":"TemporaryFile(/tmp/multipartBody5447365663955605782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_25_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/deb3ca02e4c4b40f01533142f3c117e6.jpg","text":"TemporaryFile(/tmp/multipartBody5920422312246908336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_25_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7a993b9e92a3fc475fe14fcac57804e.jpg","text":"TemporaryFile(/tmp/multipartBody2721390017767476800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_25_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5139f91360a3b8c2e161226272f0630e.jpg","text":"TemporaryFile(/tmp/multipartBody8814846808625287963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518603457,"filename":"image_30112025_15_25_45_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397073511","file1":"1397073474","file0":"1397073418","file4":"1397073602","file5":"1397073676","file3":"1397073549"},"map_files_photo_id_array":[{"photo_id":"1397073676","filename":"file5"},{"photo_id":"1397073511","filename":"file2"},{"photo_id":"1397073602","filename":"file4"},{"photo_id":"1397073474","filename":"file1"},{"photo_id":"1397073418","filename":"file0"},{"photo_id":"1397073549","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397073676":["hashtag1","hashtag2"]},{"1397073418":["hashtag1","hashtag2"]},{"1397073511":["hashtag1","hashtag2"]},{"1397073474":["hashtag1","hashtag2"]},{"1397073549":["hashtag1","hashtag2"]},{"1397073602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397073676, 1397073418, 1397073511, 1397073474, 1397073549, 1397073602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71004128456116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:03:02.522023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_15_10698.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_25_9890.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_35_9808.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_45_9958.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_54_9794.jpg', '/home/pi/Desktop/images/30112025/15/26/image_30112025_15_27_05_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_15_10698.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_25_9890.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_35_9808.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_45_9958.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_26_54_9794.jpg
/home/pi/Desktop/images/30112025/15/26/image_30112025_15_27_05_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397073876","1397073942","1397073843","1397073912","1397073947","1397073944"],"photo_ids_order":["1397073843","1397073876","1397073912","1397073942","1397073944","1397073947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5ce1afac5da460e29498f28d5dbda96.jpg","text":"TemporaryFile(/tmp/multipartBody2892183667867164962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_26_25_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0cc6c23d22ec1b73133c86afdc8249e.jpg","text":"TemporaryFile(/tmp/multipartBody5460810470118051697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_26_45_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25d352ecfeb37b26836436790196eb6b.jpg","text":"TemporaryFile(/tmp/multipartBody6789018391806228469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_26_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1140e381ddb963c308d618d942b22d65.jpg","text":"TemporaryFile(/tmp/multipartBody2600587106731926715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_26_35_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d076a6e552ab52f0e75fb0f8bcff01a.jpg","text":"TemporaryFile(/tmp/multipartBody3838745503008490117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_27_05_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99817a6cebaeef059e4110cf59f584d4.jpg","text":"TemporaryFile(/tmp/multipartBody8036596173405256083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518643309,"filename":"image_30112025_15_26_54_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397073912","file1":"1397073876","file0":"1397073843","file4":"1397073944","file5":"1397073947","file3":"1397073942"},"map_files_photo_id_array":[{"photo_id":"1397073947","filename":"file5"},{"photo_id":"1397073912","filename":"file2"},{"photo_id":"1397073944","filename":"file4"},{"photo_id":"1397073876","filename":"file1"},{"photo_id":"1397073843","filename":"file0"},{"photo_id":"1397073942","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397073876":["hashtag1","hashtag2"]},{"1397073942":["hashtag1","hashtag2"]},{"1397073843":["hashtag1","hashtag2"]},{"1397073912":["hashtag1","hashtag2"]},{"1397073947":["hashtag1","hashtag2"]},{"1397073944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397073876, 1397073942, 1397073843, 1397073912, 1397073947, 1397073944)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.300533294677734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:04:03.144425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_15_9741.jpg', '/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_25_9717.jpg', '/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_45_10679.jpg', '/home/pi/Desktop/images/30112025/15/28/image_30112025_15_28_35_10547.jpg', '/home/pi/Desktop/images/30112025/15/29/image_30112025_15_29_25_9686.jpg', '/home/pi/Desktop/images/30112025/15/29/image_30112025_15_29_45_10129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_15_9741.jpg
/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_25_9717.jpg
/home/pi/Desktop/images/30112025/15/27/image_30112025_15_27_45_10679.jpg
/home/pi/Desktop/images/30112025/15/28/image_30112025_15_28_35_10547.jpg
/home/pi/Desktop/images/30112025/15/29/image_30112025_15_29_25_9686.jpg
/home/pi/Desktop/images/30112025/15/29/image_30112025_15_29_45_10129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074114","1397074117","1397074145","1397074115","1397074096","1397074057"],"photo_ids_order":["1397074057","1397074096","1397074114","1397074115","1397074117","1397074145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f633b7de812c1b6ff9ebd2431b78f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3223471717889142908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_27_45_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d187d8f50bec22747bba631206c7e020.jpg","text":"TemporaryFile(/tmp/multipartBody9081425959607734815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_29_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/884fb8e65e31989b8f46f4be6afde34b.jpg","text":"TemporaryFile(/tmp/multipartBody8606627723920903861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_29_45_10129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4b0585cfbc615fa0d6695d2e4fd0dff.jpg","text":"TemporaryFile(/tmp/multipartBody6331561521348707882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_28_35_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3176ec7c45173ab879573644bbf30614.jpg","text":"TemporaryFile(/tmp/multipartBody8903354190124350131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_27_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e038ba64543c5b41680668f5c786537f.jpg","text":"TemporaryFile(/tmp/multipartBody7520720076105381345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518703912,"filename":"image_30112025_15_27_15_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074114","file1":"1397074096","file0":"1397074057","file4":"1397074117","file5":"1397074145","file3":"1397074115"},"map_files_photo_id_array":[{"photo_id":"1397074145","filename":"file5"},{"photo_id":"1397074114","filename":"file2"},{"photo_id":"1397074117","filename":"file4"},{"photo_id":"1397074096","filename":"file1"},{"photo_id":"1397074057","filename":"file0"},{"photo_id":"1397074115","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074114":["hashtag1","hashtag2"]},{"1397074117":["hashtag1","hashtag2"]},{"1397074145":["hashtag1","hashtag2"]},{"1397074115":["hashtag1","hashtag2"]},{"1397074096":["hashtag1","hashtag2"]},{"1397074057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074114, 1397074117, 1397074145, 1397074115, 1397074096, 1397074057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39197039604187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:04:42.451228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/08/image_31102025_13_08_31_2661.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_35_3691.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_38_2672.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_40_2641.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_43_2779.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_47_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/13/08/image_31102025_13_08_31_2661.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_35_3691.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_38_2672.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_40_2641.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_43_2779.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_47_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":["1397074216","1397074221","1397074224","1397074223","1397074222","1397074225"],"photo_ids_order":["1397074216","1397074221","1397074222","1397074223","1397074224","1397074225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/284abd76ba78f7aa31d37301257e7bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8655634989326344646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12f73b7b9cbe37e4477b097edb9f3bca.jpg","text":"TemporaryFile(/tmp/multipartBody4113770552139520435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_35_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/30/3240f125316a7cd3a2deb8cba2564bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6138319916280563737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_43_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/322d68cfdc325045bf653ceea1009a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2046397659000179131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_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/30/b4bd32daea5f8723d2675c761ccf3de0.jpg","text":"TemporaryFile(/tmp/multipartBody2271663193969026875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_38_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3690e4975f0d8b535de88dab9cf7297d.jpg","text":"TemporaryFile(/tmp/multipartBody2472643641574695214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518743297,"filename":"image_31102025_13_08_47_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074222","file1":"1397074221","file0":"1397074216","file4":"1397074224","file5":"1397074225","file3":"1397074223"},"map_files_photo_id_array":[{"photo_id":"1397074225","filename":"file5"},{"photo_id":"1397074222","filename":"file2"},{"photo_id":"1397074224","filename":"file4"},{"photo_id":"1397074221","filename":"file1"},{"photo_id":"1397074216","filename":"file0"},{"photo_id":"1397074223","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397074216":["hashtag1","hashtag2"]},{"1397074221":["hashtag1","hashtag2"]},{"1397074224":["hashtag1","hashtag2"]},{"1397074223":["hashtag1","hashtag2"]},{"1397074222":["hashtag1","hashtag2"]},{"1397074225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397074216, 1397074221, 1397074224, 1397074223, 1397074222, 1397074225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5327684879303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:05:22.642651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_15_10051.jpg', '/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_26_10727.jpg', '/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_45_9555.jpg', '/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_56_10688.jpg', '/home/pi/Desktop/images/30112025/15/31/image_30112025_15_31_05_9091.jpg', '/home/pi/Desktop/images/30112025/15/31/image_30112025_15_31_46_10860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_15_10051.jpg
/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_26_10727.jpg
/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_45_9555.jpg
/home/pi/Desktop/images/30112025/15/30/image_30112025_15_30_56_10688.jpg
/home/pi/Desktop/images/30112025/15/31/image_30112025_15_31_05_9091.jpg
/home/pi/Desktop/images/30112025/15/31/image_30112025_15_31_46_10860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074234","1397074229","1397074240","1397074243","1397074237","1397074231"],"photo_ids_order":["1397074229","1397074231","1397074234","1397074237","1397074240","1397074243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b60969f765439cb35d13e0649bea88ae.jpg","text":"TemporaryFile(/tmp/multipartBody4749839669504336222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_30_45_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8c5dca2e419763ce61534e72fca845b.jpg","text":"TemporaryFile(/tmp/multipartBody4751967434022061329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_30_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f97dbf50d6b1290516508f0ebd7dab86.jpg","text":"TemporaryFile(/tmp/multipartBody6162718763404339788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_31_05_9091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd0adecf4565c20f30765563a4cf594f.jpg","text":"TemporaryFile(/tmp/multipartBody1652940878840716817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_31_46_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8eeabc9b9acadb77e6b35c0a389b2df.jpg","text":"TemporaryFile(/tmp/multipartBody6887338328837813434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_30_56_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c1f9244c7b847d1bc0037ec43cdd8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3982542592569689335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518783321,"filename":"image_30112025_15_30_26_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074234","file1":"1397074231","file0":"1397074229","file4":"1397074240","file5":"1397074243","file3":"1397074237"},"map_files_photo_id_array":[{"photo_id":"1397074243","filename":"file5"},{"photo_id":"1397074234","filename":"file2"},{"photo_id":"1397074240","filename":"file4"},{"photo_id":"1397074231","filename":"file1"},{"photo_id":"1397074229","filename":"file0"},{"photo_id":"1397074237","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074234":["hashtag1","hashtag2"]},{"1397074229":["hashtag1","hashtag2"]},{"1397074240":["hashtag1","hashtag2"]},{"1397074243":["hashtag1","hashtag2"]},{"1397074237":["hashtag1","hashtag2"]},{"1397074231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074234, 1397074229, 1397074240, 1397074243, 1397074237, 1397074231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36092448234558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:06:02.364959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/31/image_30112025_15_32_05_9672.jpg', '/home/pi/Desktop/images/30112025/15/32/image_30112025_15_32_45_9696.jpg', '/home/pi/Desktop/images/30112025/15/32/image_30112025_15_33_06_10692.jpg', '/home/pi/Desktop/images/30112025/15/33/image_30112025_15_33_36_10855.jpg', '/home/pi/Desktop/images/30112025/15/33/image_30112025_15_34_05_10273.jpg', '/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_35_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/31/image_30112025_15_32_05_9672.jpg
/home/pi/Desktop/images/30112025/15/32/image_30112025_15_32_45_9696.jpg
/home/pi/Desktop/images/30112025/15/32/image_30112025_15_33_06_10692.jpg
/home/pi/Desktop/images/30112025/15/33/image_30112025_15_33_36_10855.jpg
/home/pi/Desktop/images/30112025/15/33/image_30112025_15_34_05_10273.jpg
/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_35_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074266","1397074269","1397074271","1397074268","1397074273","1397074267"],"photo_ids_order":["1397074266","1397074267","1397074268","1397074269","1397074271","1397074273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf5bd0e8a79ef1d65ee3bd054aa783ee.jpg","text":"TemporaryFile(/tmp/multipartBody882882712869882702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_32_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/978baf7c7b890b7e087ccd27f98909dc.jpg","text":"TemporaryFile(/tmp/multipartBody3961628664183717171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_33_36_10855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d02e3abc4197e456d295650d2be99717.jpg","text":"TemporaryFile(/tmp/multipartBody7490938267897133968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_34_05_10273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eef12e487354eac173103c8bff836d6d.jpg","text":"TemporaryFile(/tmp/multipartBody190869624078942569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_33_06_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/578ee335276b024d0fe56691920c364c.jpg","text":"TemporaryFile(/tmp/multipartBody2989120028016343100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_34_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79bfc926f86d18d20608de2ef751aa36.jpg","text":"TemporaryFile(/tmp/multipartBody474903865035127208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518823070,"filename":"image_30112025_15_32_45_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074268","file1":"1397074267","file0":"1397074266","file4":"1397074271","file5":"1397074273","file3":"1397074269"},"map_files_photo_id_array":[{"photo_id":"1397074273","filename":"file5"},{"photo_id":"1397074268","filename":"file2"},{"photo_id":"1397074271","filename":"file4"},{"photo_id":"1397074267","filename":"file1"},{"photo_id":"1397074266","filename":"file0"},{"photo_id":"1397074269","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074266":["hashtag1","hashtag2"]},{"1397074269":["hashtag1","hashtag2"]},{"1397074271":["hashtag1","hashtag2"]},{"1397074268":["hashtag1","hashtag2"]},{"1397074273":["hashtag1","hashtag2"]},{"1397074267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074266, 1397074269, 1397074271, 1397074268, 1397074273, 1397074267)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.9526584148407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:07:03.017131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
 val : 1 : upload photos already in processing! 
2025-11-30 17:07:19.158599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_40_2689.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_43_2800.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_47_3686.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_49_2545.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_52_2608.jpg', '/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_56_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_40_2689.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_43_2800.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_47_3686.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_49_2545.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_52_2608.jpg
/home/pi/Desktop/images/25112025/20/30/image_25112025_20_30_56_3717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074296","1397074293","1397074298","1397074291","1397074285","1397074288"],"photo_ids_order":["1397074285","1397074288","1397074291","1397074293","1397074296","1397074298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bc83ec84625a8c7ccc7392bb9b2c8d7.jpg","text":"TemporaryFile(/tmp/multipartBody4003212588677741292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_52_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c81e341adc184cbf4bab7b3247d9ad1.jpg","text":"TemporaryFile(/tmp/multipartBody6895066682186164256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_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/30/f750fee15f54451a2ed98bfa98fadb46.jpg","text":"TemporaryFile(/tmp/multipartBody8012996126650986020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_56_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c938d8650ea909357a6c08a18a1d550b.jpg","text":"TemporaryFile(/tmp/multipartBody3038640413190307706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_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/30/623b6baf4f38e983a98fad1b4538ee96.jpg","text":"TemporaryFile(/tmp/multipartBody6890661846940806022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_40_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/387fbb046e79757f58e9606ae1ac722d.jpg","text":"TemporaryFile(/tmp/multipartBody2954635291618185389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518903497,"filename":"image_25112025_20_30_43_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074291","file1":"1397074288","file0":"1397074285","file4":"1397074296","file5":"1397074298","file3":"1397074293"},"map_files_photo_id_array":[{"photo_id":"1397074298","filename":"file5"},{"photo_id":"1397074291","filename":"file2"},{"photo_id":"1397074296","filename":"file4"},{"photo_id":"1397074288","filename":"file1"},{"photo_id":"1397074285","filename":"file0"},{"photo_id":"1397074293","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397074296":["hashtag1","hashtag2"]},{"1397074293":["hashtag1","hashtag2"]},{"1397074298":["hashtag1","hashtag2"]},{"1397074291":["hashtag1","hashtag2"]},{"1397074285":["hashtag1","hashtag2"]},{"1397074288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397074296, 1397074293, 1397074298, 1397074291, 1397074285, 1397074288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37304925918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:08:03.019046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:08:12.632692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_04_2672.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_08_3700.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_10_2627.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_14_3648.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_28_2540.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_36_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_04_2672.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_08_3700.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_10_2627.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_14_3648.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_28_2540.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_36_3800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074300","1397074314","1397074308","1397074302","1397074311","1397074305"],"photo_ids_order":["1397074300","1397074302","1397074305","1397074308","1397074311","1397074314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e01c5fecc45927f5aae971c93c538147.jpg","text":"TemporaryFile(/tmp/multipartBody3524221037181545152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_04_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/30/0dfbb4e7a2d530aee4e0bb5c68253e54.jpg","text":"TemporaryFile(/tmp/multipartBody4277208743943201280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_36_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/30/795e6970f3b1d7b9f30ecd8549045147.jpg","text":"TemporaryFile(/tmp/multipartBody4175800934640105870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_14_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/30/15de5d05c883db9cbebea11d2c62559b.jpg","text":"TemporaryFile(/tmp/multipartBody2623103750149603917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_08_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/30/847606c54f4bcbdf93f10af1b9960750.jpg","text":"TemporaryFile(/tmp/multipartBody7612909331964871696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_28_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/30/e6f4a1293a4dd0a1ed20b6d28a8c4194.jpg","text":"TemporaryFile(/tmp/multipartBody6331617034471553969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764518955401,"filename":"image_25112025_20_31_10_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074305","file1":"1397074302","file0":"1397074300","file4":"1397074311","file5":"1397074314","file3":"1397074308"},"map_files_photo_id_array":[{"photo_id":"1397074314","filename":"file5"},{"photo_id":"1397074305","filename":"file2"},{"photo_id":"1397074311","filename":"file4"},{"photo_id":"1397074302","filename":"file1"},{"photo_id":"1397074300","filename":"file0"},{"photo_id":"1397074308","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397074300":["hashtag1","hashtag2"]},{"1397074314":["hashtag1","hashtag2"]},{"1397074308":["hashtag1","hashtag2"]},{"1397074302":["hashtag1","hashtag2"]},{"1397074311":["hashtag1","hashtag2"]},{"1397074305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397074300, 1397074314, 1397074308, 1397074302, 1397074311, 1397074305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47759699821472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:09:05.285507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_45_9855.jpg', '/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_55_10004.jpg', '/home/pi/Desktop/images/30112025/15/34/image_30112025_15_35_05_9747.jpg', '/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_15_9865.jpg', '/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_26_10604.jpg', '/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_36_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_45_9855.jpg
/home/pi/Desktop/images/30112025/15/34/image_30112025_15_34_55_10004.jpg
/home/pi/Desktop/images/30112025/15/34/image_30112025_15_35_05_9747.jpg
/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_15_9865.jpg
/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_26_10604.jpg
/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_36_10042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074347","1397074355","1397074358","1397074352","1397074346","1397074349"],"photo_ids_order":["1397074346","1397074347","1397074349","1397074352","1397074355","1397074358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3458f5c9d03ffe73cb29c8d1f2686043.jpg","text":"TemporaryFile(/tmp/multipartBody2764352415257604256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_34_55_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e04431d46fcd240d688d6ceef52a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody8995465233072590164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_35_26_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f675c6809808cfdf297297dacce7d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5169160197041282325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_35_36_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b4a1e3cb2371aa75463de9c33b13093.jpg","text":"TemporaryFile(/tmp/multipartBody4120783258624128545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_35_15_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e496eb4c1db9ac82535d2b2f8ed71322.jpg","text":"TemporaryFile(/tmp/multipartBody6109974605425750723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_34_45_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87bd7afe5371778b254d5fa147761924.jpg","text":"TemporaryFile(/tmp/multipartBody5388975171034467783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519010355,"filename":"image_30112025_15_35_05_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074349","file1":"1397074347","file0":"1397074346","file4":"1397074355","file5":"1397074358","file3":"1397074352"},"map_files_photo_id_array":[{"photo_id":"1397074358","filename":"file5"},{"photo_id":"1397074349","filename":"file2"},{"photo_id":"1397074355","filename":"file4"},{"photo_id":"1397074347","filename":"file1"},{"photo_id":"1397074346","filename":"file0"},{"photo_id":"1397074352","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074347":["hashtag1","hashtag2"]},{"1397074355":["hashtag1","hashtag2"]},{"1397074358":["hashtag1","hashtag2"]},{"1397074352":["hashtag1","hashtag2"]},{"1397074346":["hashtag1","hashtag2"]},{"1397074349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074347, 1397074355, 1397074358, 1397074352, 1397074346, 1397074349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.00766611099243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:10:02.397086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_45_9890.jpg', '/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_55_9811.jpg', '/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_05_10197.jpg', '/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_25_10048.jpg', '/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_45_9421.jpg', '/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_55_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_45_9890.jpg
/home/pi/Desktop/images/30112025/15/35/image_30112025_15_35_55_9811.jpg
/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_05_10197.jpg
/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_25_10048.jpg
/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_45_9421.jpg
/home/pi/Desktop/images/30112025/15/36/image_30112025_15_36_55_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074371","1397074365","1397074374","1397074368","1397074364","1397074366"],"photo_ids_order":["1397074364","1397074365","1397074366","1397074368","1397074371","1397074374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42242ef1811ef4e26ea7aa2353295eef.jpg","text":"TemporaryFile(/tmp/multipartBody2137478966311274358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_36_45_9421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fe0494d2ad27f1bb0282db43f463dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8243222136421961989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_35_55_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96c28fd45aebf982f9a4473f754b1800.jpg","text":"TemporaryFile(/tmp/multipartBody4871520232610707873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_36_55_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed06bdef8b199484e3717696b804832f.jpg","text":"TemporaryFile(/tmp/multipartBody8444508010470802296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_36_25_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c38ca17f2d201b661d9b4a59b8debead.jpg","text":"TemporaryFile(/tmp/multipartBody1813260595646125133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_35_45_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b05a8ffd7b1d9ef24cbbcc2956ef6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7697268991081155384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519066131,"filename":"image_30112025_15_36_05_10197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074366","file1":"1397074365","file0":"1397074364","file4":"1397074371","file5":"1397074374","file3":"1397074368"},"map_files_photo_id_array":[{"photo_id":"1397074374","filename":"file5"},{"photo_id":"1397074366","filename":"file2"},{"photo_id":"1397074371","filename":"file4"},{"photo_id":"1397074365","filename":"file1"},{"photo_id":"1397074364","filename":"file0"},{"photo_id":"1397074368","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074371":["hashtag1","hashtag2"]},{"1397074365":["hashtag1","hashtag2"]},{"1397074374":["hashtag1","hashtag2"]},{"1397074368":["hashtag1","hashtag2"]},{"1397074364":["hashtag1","hashtag2"]},{"1397074366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074371, 1397074365, 1397074374, 1397074368, 1397074364, 1397074366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.461004972457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:10:41.788286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/08/image_31102025_13_08_50_2740.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_53_3651.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_56_2599.jpg', '/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_58_2645.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_02_3635.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_05_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_50_2740.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_53_3651.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_56_2599.jpg
/home/pi/Desktop/images/31102025/13/08/image_31102025_13_08_58_2645.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_02_3635.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_05_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074386","1397074388","1397074385","1397074390","1397074387","1397074381"],"photo_ids_order":["1397074381","1397074385","1397074386","1397074387","1397074388","1397074390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29c22b1050c4adc7cb14f86a8517754a.jpg","text":"TemporaryFile(/tmp/multipartBody4986865610103340006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_08_56_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/30/f47c2c50e6a8a4c78eb0849095043610.jpg","text":"TemporaryFile(/tmp/multipartBody8871408982236268981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_09_02_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/30/f1191e2e12a2a9d7b2a28a994156452d.jpg","text":"TemporaryFile(/tmp/multipartBody3037207777935632902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_08_53_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c141e94b7b880d1c1d517b3d36553945.jpg","text":"TemporaryFile(/tmp/multipartBody9124112416186215949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_09_05_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/30/c8a208810f9ce441d20fe52d311262ee.jpg","text":"TemporaryFile(/tmp/multipartBody3831202805394167794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_08_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/30/ac99b08360a072513bb3c7749479d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody6939253696743108354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519102635,"filename":"image_31102025_13_08_50_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074386","file1":"1397074385","file0":"1397074381","file4":"1397074388","file5":"1397074390","file3":"1397074387"},"map_files_photo_id_array":[{"photo_id":"1397074390","filename":"file5"},{"photo_id":"1397074386","filename":"file2"},{"photo_id":"1397074388","filename":"file4"},{"photo_id":"1397074385","filename":"file1"},{"photo_id":"1397074381","filename":"file0"},{"photo_id":"1397074387","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397074386":["hashtag1","hashtag2"]},{"1397074388":["hashtag1","hashtag2"]},{"1397074385":["hashtag1","hashtag2"]},{"1397074390":["hashtag1","hashtag2"]},{"1397074387":["hashtag1","hashtag2"]},{"1397074381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397074386, 1397074388, 1397074385, 1397074390, 1397074387, 1397074381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.972671031951904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:11:32.018786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_43_2552.jpg', '/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_53_3591.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_04_2852.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_07_2508.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_11_3596.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_28_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_43_2552.jpg
/home/pi/Desktop/images/25112025/20/31/image_25112025_20_31_53_3591.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_04_2852.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_07_2508.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_11_3596.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_28_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074405","1397074398","1397074434","1397074401","1397074404","1397074435"],"photo_ids_order":["1397074398","1397074401","1397074404","1397074405","1397074434","1397074435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6aa4200c7ea4ea7171d2d4fc99f0587.jpg","text":"TemporaryFile(/tmp/multipartBody2397435470979058855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_32_07_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/30/a40f750bc82090cfc71d653683b1e285.jpg","text":"TemporaryFile(/tmp/multipartBody5895448301334471311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_31_43_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/30/d2c05b1e1565440b7e14d12363c0a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3499625462255533783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_32_11_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/30/42bc680bc09b0939dce54b1c0d58d375.jpg","text":"TemporaryFile(/tmp/multipartBody5957126693883286496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_31_53_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c4b77da34f2dfa968149d6b4edfaea1.jpg","text":"TemporaryFile(/tmp/multipartBody9038715050494731105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_32_04_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/30/773217ad4cd52ba418098b7b6ff5fde4.jpg","text":"TemporaryFile(/tmp/multipartBody2590698227779531654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519153969,"filename":"image_25112025_20_32_28_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074404","file1":"1397074401","file0":"1397074398","file4":"1397074434","file5":"1397074435","file3":"1397074405"},"map_files_photo_id_array":[{"photo_id":"1397074435","filename":"file5"},{"photo_id":"1397074404","filename":"file2"},{"photo_id":"1397074434","filename":"file4"},{"photo_id":"1397074401","filename":"file1"},{"photo_id":"1397074398","filename":"file0"},{"photo_id":"1397074405","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397074405":["hashtag1","hashtag2"]},{"1397074398":["hashtag1","hashtag2"]},{"1397074434":["hashtag1","hashtag2"]},{"1397074401":["hashtag1","hashtag2"]},{"1397074404":["hashtag1","hashtag2"]},{"1397074435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397074405, 1397074398, 1397074434, 1397074401, 1397074404, 1397074435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.618600606918335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:12:12.235757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_31_2654.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_49_3519.jpg', '/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_52_2548.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_01_2606.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_10_2781.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_16_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_31_2654.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_49_3519.jpg
/home/pi/Desktop/images/25112025/20/32/image_25112025_20_32_52_2548.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_01_2606.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_10_2781.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_16_2526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074436","1397074450","1397074447","1397074441","1397074444","1397074438"],"photo_ids_order":["1397074436","1397074438","1397074441","1397074444","1397074447","1397074450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a330bd08f116e703cbddb725d1bd4e09.jpg","text":"TemporaryFile(/tmp/multipartBody92183077405054512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_32_31_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/248e07f30e1bc2ba486ae82ee26a581d.jpg","text":"TemporaryFile(/tmp/multipartBody8906334631493869540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_33_16_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/30/555babf7190321476c550c0a92bf653d.jpg","text":"TemporaryFile(/tmp/multipartBody1987774776564722581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_33_10_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/30/8d0bc121fa01ac51eb8ae9e74a211dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2817095627150467580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_32_52_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29a3de1e394e7456c5f2ad6c40b1bb52.jpg","text":"TemporaryFile(/tmp/multipartBody240792596712634072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_33_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/30/a3717f24005f2898d77c3a1d40399282.jpg","text":"TemporaryFile(/tmp/multipartBody616239838619814229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519194101,"filename":"image_25112025_20_32_49_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074441","file1":"1397074438","file0":"1397074436","file4":"1397074447","file5":"1397074450","file3":"1397074444"},"map_files_photo_id_array":[{"photo_id":"1397074450","filename":"file5"},{"photo_id":"1397074441","filename":"file2"},{"photo_id":"1397074447","filename":"file4"},{"photo_id":"1397074438","filename":"file1"},{"photo_id":"1397074436","filename":"file0"},{"photo_id":"1397074444","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397074436":["hashtag1","hashtag2"]},{"1397074450":["hashtag1","hashtag2"]},{"1397074447":["hashtag1","hashtag2"]},{"1397074441":["hashtag1","hashtag2"]},{"1397074444":["hashtag1","hashtag2"]},{"1397074438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397074436, 1397074450, 1397074447, 1397074441, 1397074444, 1397074438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.564189434051514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:13:03.152966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_15_9744.jpg', '/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_26_10685.jpg', '/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_35_9701.jpg', '/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_45_9832.jpg', '/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_55_9695.jpg', '/home/pi/Desktop/images/30112025/15/37/image_30112025_15_38_05_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_15_9744.jpg
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_26_10685.jpg
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_35_9701.jpg
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_45_9832.jpg
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_37_55_9695.jpg
/home/pi/Desktop/images/30112025/15/37/image_30112025_15_38_05_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074455","1397074454","1397074463","1397074457","1397074459","1397074456"],"photo_ids_order":["1397074454","1397074455","1397074456","1397074457","1397074459","1397074463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e459796e86c620d4550a5c294e6bee03.jpg","text":"TemporaryFile(/tmp/multipartBody6647988870807185365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_37_26_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8150e78ccbc32f947fb681ea10e827e.jpg","text":"TemporaryFile(/tmp/multipartBody4916075982561718616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_37_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc786c730c17ff23d6e96b1eea016b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2992365925873786060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_38_05_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4333f96da9ec383b9b4a0ccf51302827.jpg","text":"TemporaryFile(/tmp/multipartBody103437218376580467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_37_45_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71df7294575832e64329a4b76973f0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5589530189057203084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_37_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46db150ede684e03ae6a7466b139a8cc.jpg","text":"TemporaryFile(/tmp/multipartBody59870204358359917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519243883,"filename":"image_30112025_15_37_35_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074456","file1":"1397074455","file0":"1397074454","file4":"1397074459","file5":"1397074463","file3":"1397074457"},"map_files_photo_id_array":[{"photo_id":"1397074463","filename":"file5"},{"photo_id":"1397074456","filename":"file2"},{"photo_id":"1397074459","filename":"file4"},{"photo_id":"1397074455","filename":"file1"},{"photo_id":"1397074454","filename":"file0"},{"photo_id":"1397074457","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074455":["hashtag1","hashtag2"]},{"1397074454":["hashtag1","hashtag2"]},{"1397074463":["hashtag1","hashtag2"]},{"1397074457":["hashtag1","hashtag2"]},{"1397074459":["hashtag1","hashtag2"]},{"1397074456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074455, 1397074454, 1397074463, 1397074457, 1397074459, 1397074456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.262452363967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:13:42.444949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/09/image_31102025_13_09_07_2654.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_11_3660.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_14_2737.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_16_2670.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_20_3562.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_23_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/13/09/image_31102025_13_09_07_2654.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_11_3660.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_14_2737.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_16_2670.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_20_3562.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_23_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074476","1397074473","1397074475","1397074477","1397074471","1397074474"],"photo_ids_order":["1397074471","1397074473","1397074474","1397074475","1397074476","1397074477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beefb20f8a6125203b4d5afe805c7af0.jpg","text":"TemporaryFile(/tmp/multipartBody5970398434372345315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_20_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dcc8a149b2254ddeaebf52e93fc9b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7820687129686246414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_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/30/4642c1d656c07bc2c7035c2b243fe8b6.jpg","text":"TemporaryFile(/tmp/multipartBody7375057572734439175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_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/30/4b44d30e0f7a5b10b490438986b886ab.jpg","text":"TemporaryFile(/tmp/multipartBody3170820624529274729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_23_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/30/beb583c82f5620f22d0c78d34f99ab6a.jpg","text":"TemporaryFile(/tmp/multipartBody4951202064426416464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_07_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/30/8bd1f10a95b08066904801178b734105.jpg","text":"TemporaryFile(/tmp/multipartBody4799098858241069833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519283321,"filename":"image_31102025_13_09_14_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074474","file1":"1397074473","file0":"1397074471","file4":"1397074476","file5":"1397074477","file3":"1397074475"},"map_files_photo_id_array":[{"photo_id":"1397074477","filename":"file5"},{"photo_id":"1397074474","filename":"file2"},{"photo_id":"1397074476","filename":"file4"},{"photo_id":"1397074473","filename":"file1"},{"photo_id":"1397074471","filename":"file0"},{"photo_id":"1397074475","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397074476":["hashtag1","hashtag2"]},{"1397074473":["hashtag1","hashtag2"]},{"1397074475":["hashtag1","hashtag2"]},{"1397074477":["hashtag1","hashtag2"]},{"1397074471":["hashtag1","hashtag2"]},{"1397074474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397074476, 1397074473, 1397074475, 1397074477, 1397074471, 1397074474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31525468826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:14:22.618272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_16_10687.jpg', '/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_25_9645.jpg', '/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_55_10096.jpg', '/home/pi/Desktop/images/30112025/15/38/image_30112025_15_39_05_9976.jpg', '/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_25_9654.jpg', '/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_35_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_16_10687.jpg
/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_25_9645.jpg
/home/pi/Desktop/images/30112025/15/38/image_30112025_15_38_55_10096.jpg
/home/pi/Desktop/images/30112025/15/38/image_30112025_15_39_05_9976.jpg
/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_25_9654.jpg
/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_35_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074500","1397074493","1397074496","1397074481","1397074486","1397074489"],"photo_ids_order":["1397074481","1397074486","1397074489","1397074493","1397074496","1397074500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9d985796336872f832278d40f42cae3.jpg","text":"TemporaryFile(/tmp/multipartBody488147036649043064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_39_35_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f53be2073f881ffdd722fedd73eec1.jpg","text":"TemporaryFile(/tmp/multipartBody3069651498826371707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_39_05_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e96b2f2842136c5a0d439695aff1a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody2625912781743924730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_39_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e8a8a30beb791ea1c3487984ba750a0.jpg","text":"TemporaryFile(/tmp/multipartBody5719608415123894375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_38_16_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/714529cf3ef641bb9e4b02dafe2c6849.jpg","text":"TemporaryFile(/tmp/multipartBody4937365889816789736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_38_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c04c0c0297bb6c3312c00bf878f6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6034430212171419315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519323332,"filename":"image_30112025_15_38_55_10096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074489","file1":"1397074486","file0":"1397074481","file4":"1397074496","file5":"1397074500","file3":"1397074493"},"map_files_photo_id_array":[{"photo_id":"1397074500","filename":"file5"},{"photo_id":"1397074489","filename":"file2"},{"photo_id":"1397074496","filename":"file4"},{"photo_id":"1397074486","filename":"file1"},{"photo_id":"1397074481","filename":"file0"},{"photo_id":"1397074493","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074500":["hashtag1","hashtag2"]},{"1397074493":["hashtag1","hashtag2"]},{"1397074496":["hashtag1","hashtag2"]},{"1397074481":["hashtag1","hashtag2"]},{"1397074486":["hashtag1","hashtag2"]},{"1397074489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074500, 1397074493, 1397074496, 1397074481, 1397074486, 1397074489)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.06433057785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:15:11.833281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_19_2781.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_26_7064.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_30_1857.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_37_2628.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_40_3620.jpg', '/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_52_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_19_2781.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_26_7064.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_30_1857.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_37_2628.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_40_3620.jpg
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_52_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074532","1397074531","1397074540","1397074534","1397074543","1397074537"],"photo_ids_order":["1397074531","1397074532","1397074534","1397074537","1397074540","1397074543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffe3751c3b45ac1186f99a61e8bb6315.jpg","text":"TemporaryFile(/tmp/multipartBody8437862986525582970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_26_7064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac6a7792a579076a263bb225e8837c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4741455236401228733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_19_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/30/5ab047e3414a1cf36805ed7dde4354f3.jpg","text":"TemporaryFile(/tmp/multipartBody2757143419661782303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_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/30/0c84d811d58ae0c76edb972018b23c97.jpg","text":"TemporaryFile(/tmp/multipartBody2113465737450350881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_30_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8354dfb40b3e3bce72113e7aeb236f17.jpg","text":"TemporaryFile(/tmp/multipartBody562341179362028052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_52_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/30/de26e2d68268184b2fe75b854d32b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody2809763541330085364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519373766,"filename":"image_25112025_20_33_37_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074534","file1":"1397074532","file0":"1397074531","file4":"1397074540","file5":"1397074543","file3":"1397074537"},"map_files_photo_id_array":[{"photo_id":"1397074543","filename":"file5"},{"photo_id":"1397074534","filename":"file2"},{"photo_id":"1397074540","filename":"file4"},{"photo_id":"1397074532","filename":"file1"},{"photo_id":"1397074531","filename":"file0"},{"photo_id":"1397074537","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397074532":["hashtag1","hashtag2"]},{"1397074531":["hashtag1","hashtag2"]},{"1397074540":["hashtag1","hashtag2"]},{"1397074534":["hashtag1","hashtag2"]},{"1397074543":["hashtag1","hashtag2"]},{"1397074537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397074532, 1397074531, 1397074540, 1397074534, 1397074543, 1397074537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.072203159332275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:16:02.510286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_45_9617.jpg', '/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_56_10662.jpg', '/home/pi/Desktop/images/30112025/15/39/image_30112025_15_40_05_9768.jpg', '/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_26_10589.jpg', '/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_36_9994.jpg', '/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_45_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_45_9617.jpg
/home/pi/Desktop/images/30112025/15/39/image_30112025_15_39_56_10662.jpg
/home/pi/Desktop/images/30112025/15/39/image_30112025_15_40_05_9768.jpg
/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_26_10589.jpg
/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_36_9994.jpg
/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_45_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074551","1397074548","1397074553","1397074556","1397074550","1397074549"],"photo_ids_order":["1397074548","1397074549","1397074550","1397074551","1397074553","1397074556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8aeacc88e92f3ccbcca429c7458e76db.jpg","text":"TemporaryFile(/tmp/multipartBody631570493280858956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_40_26_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f2a14740ba12e6cd9f521cf8786d47e.jpg","text":"TemporaryFile(/tmp/multipartBody6436336441800058251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_39_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7f0e0165ac4315c2426ad77981dad04.jpg","text":"TemporaryFile(/tmp/multipartBody3398438625569343128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_40_36_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f93aef9909e6f27ebd63a1d58ca2672e.jpg","text":"TemporaryFile(/tmp/multipartBody7364268001586252690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_40_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50e33644cdbd048ff87e2eeea4df2077.jpg","text":"TemporaryFile(/tmp/multipartBody4232855801216978099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_40_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62daf99c2d04a9c4b891304f3a2c1b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7775760997979389071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519423261,"filename":"image_30112025_15_39_56_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074550","file1":"1397074549","file0":"1397074548","file4":"1397074553","file5":"1397074556","file3":"1397074551"},"map_files_photo_id_array":[{"photo_id":"1397074556","filename":"file5"},{"photo_id":"1397074550","filename":"file2"},{"photo_id":"1397074553","filename":"file4"},{"photo_id":"1397074549","filename":"file1"},{"photo_id":"1397074548","filename":"file0"},{"photo_id":"1397074551","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074551":["hashtag1","hashtag2"]},{"1397074548":["hashtag1","hashtag2"]},{"1397074553":["hashtag1","hashtag2"]},{"1397074556":["hashtag1","hashtag2"]},{"1397074550":["hashtag1","hashtag2"]},{"1397074549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074551, 1397074548, 1397074553, 1397074556, 1397074550, 1397074549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5393385887146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:16:42.043781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/09/image_31102025_13_09_26_2820.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_28_2710.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_32_3620.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_35_2596.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_37_2658.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_41_3873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_26_2820.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_28_2710.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_32_3620.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_35_2596.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_37_2658.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_41_3873.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.772291898727417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:17:02.951485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_55_9827.jpg', '/home/pi/Desktop/images/30112025/15/40/image_30112025_15_41_05_9880.jpg', '/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_35_9623.jpg', '/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_46_10647.jpg', '/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_55_9584.jpg', '/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_13_18247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/40/image_30112025_15_40_55_9827.jpg
/home/pi/Desktop/images/30112025/15/40/image_30112025_15_41_05_9880.jpg
/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_35_9623.jpg
/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_46_10647.jpg
/home/pi/Desktop/images/30112025/15/41/image_30112025_15_41_55_9584.jpg
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_13_18247.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074575","1397074572","1397074580","1397074574","1397074577","1397074573"],"photo_ids_order":["1397074572","1397074573","1397074574","1397074575","1397074577","1397074580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5e1363b9db671f5feee1fada8945124.jpg","text":"TemporaryFile(/tmp/multipartBody57692174066483252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_41_46_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdba0da611d5f00e96122b29c69e05d9.jpg","text":"TemporaryFile(/tmp/multipartBody6473990945124690879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_40_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edbca7823d0d0ec293e0da8727a69e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5410869118755721105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_42_13_18247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c555762f91c2c225acb2b8a0d3b02a4.jpg","text":"TemporaryFile(/tmp/multipartBody3054421023539071889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_41_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cec405599166fed996a9046d0136293b.jpg","text":"TemporaryFile(/tmp/multipartBody6093970228818577486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_41_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86ba5ce608508f4e0d4ae99002171aed.jpg","text":"TemporaryFile(/tmp/multipartBody5413960131542161937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519483707,"filename":"image_30112025_15_41_05_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074574","file1":"1397074573","file0":"1397074572","file4":"1397074577","file5":"1397074580","file3":"1397074575"},"map_files_photo_id_array":[{"photo_id":"1397074580","filename":"file5"},{"photo_id":"1397074574","filename":"file2"},{"photo_id":"1397074577","filename":"file4"},{"photo_id":"1397074573","filename":"file1"},{"photo_id":"1397074572","filename":"file0"},{"photo_id":"1397074575","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074575":["hashtag1","hashtag2"]},{"1397074572":["hashtag1","hashtag2"]},{"1397074580":["hashtag1","hashtag2"]},{"1397074574":["hashtag1","hashtag2"]},{"1397074577":["hashtag1","hashtag2"]},{"1397074573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074575, 1397074572, 1397074580, 1397074574, 1397074577, 1397074573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.904155254364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:17:42.197673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/09/image_31102025_13_09_26_2820.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_28_2710.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_32_3620.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_35_2596.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_37_2658.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_41_3873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_26_2820.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_28_2710.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_32_3620.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_35_2596.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_37_2658.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_41_3873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074593","1397074590","1397074592","1397074595","1397074589","1397074591"],"photo_ids_order":["1397074589","1397074590","1397074591","1397074592","1397074593","1397074595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f5900ea062526ed9307d7431ccfa82b.jpg","text":"TemporaryFile(/tmp/multipartBody3283457375906276225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_37_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9720884b698e44ae78a65c1f32879ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8720890285297356959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_28_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/30/1e2a86dd0383a8457c4efada59a83f10.jpg","text":"TemporaryFile(/tmp/multipartBody3494843144658622424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_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/30/b58102816de0d658872e141d51da91da.jpg","text":"TemporaryFile(/tmp/multipartBody6242491612034235289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_41_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/30/5471113065f43b079f96601872431a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7938332789363564729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_26_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/30/40b62562dae1e05401bac1e15aa620c8.jpg","text":"TemporaryFile(/tmp/multipartBody9072744182676777811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519522997,"filename":"image_31102025_13_09_32_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074591","file1":"1397074590","file0":"1397074589","file4":"1397074593","file5":"1397074595","file3":"1397074592"},"map_files_photo_id_array":[{"photo_id":"1397074595","filename":"file5"},{"photo_id":"1397074591","filename":"file2"},{"photo_id":"1397074593","filename":"file4"},{"photo_id":"1397074590","filename":"file1"},{"photo_id":"1397074589","filename":"file0"},{"photo_id":"1397074592","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397074593":["hashtag1","hashtag2"]},{"1397074590":["hashtag1","hashtag2"]},{"1397074592":["hashtag1","hashtag2"]},{"1397074595":["hashtag1","hashtag2"]},{"1397074589":["hashtag1","hashtag2"]},{"1397074591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397074593, 1397074590, 1397074592, 1397074595, 1397074589, 1397074591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07007169723511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:18:22.470540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_26_10696.jpg', '/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_35_9670.jpg', '/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_45_10023.jpg', '/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_55_9856.jpg', '/home/pi/Desktop/images/30112025/15/42/image_30112025_15_43_06_10629.jpg', '/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_16_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_26_10696.jpg
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_35_9670.jpg
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_45_10023.jpg
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_42_55_9856.jpg
/home/pi/Desktop/images/30112025/15/42/image_30112025_15_43_06_10629.jpg
/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_16_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074686","1397074599","1397074605","1397074602","1397074610","1397074645"],"photo_ids_order":["1397074599","1397074602","1397074605","1397074610","1397074645","1397074686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5254fb9453b965e76e2bf7063d78772a.jpg","text":"TemporaryFile(/tmp/multipartBody2997551494038113778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_43_16_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e3bf350e6f93d7e5c8f3ebe82c7b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5008931020048816850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_42_26_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cfb9f6892609c315162579e80c68b97.jpg","text":"TemporaryFile(/tmp/multipartBody6645116147494453787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_42_45_10023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b60c6c08706b12c709109fc18696b83.jpg","text":"TemporaryFile(/tmp/multipartBody3310879647114083773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_42_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e10f2fc4bddb09f000acfda4b3821cb.jpg","text":"TemporaryFile(/tmp/multipartBody5960901574196518422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_42_55_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00bdba6022c636ebb13741b38d1d7dad.jpg","text":"TemporaryFile(/tmp/multipartBody4708227765057252148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519563260,"filename":"image_30112025_15_43_06_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074605","file1":"1397074602","file0":"1397074599","file4":"1397074645","file5":"1397074686","file3":"1397074610"},"map_files_photo_id_array":[{"photo_id":"1397074686","filename":"file5"},{"photo_id":"1397074605","filename":"file2"},{"photo_id":"1397074645","filename":"file4"},{"photo_id":"1397074602","filename":"file1"},{"photo_id":"1397074599","filename":"file0"},{"photo_id":"1397074610","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074686":["hashtag1","hashtag2"]},{"1397074599":["hashtag1","hashtag2"]},{"1397074605":["hashtag1","hashtag2"]},{"1397074602":["hashtag1","hashtag2"]},{"1397074610":["hashtag1","hashtag2"]},{"1397074645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074686, 1397074599, 1397074605, 1397074602, 1397074610, 1397074645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98747634887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:19:03.514197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_25_9736.jpg', '/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_35_9674.jpg', '/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_56_10796.jpg', '/home/pi/Desktop/images/30112025/15/43/image_30112025_15_44_05_9602.jpg', '/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_15_9622.jpg', '/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_25_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_25_9736.jpg
/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_35_9674.jpg
/home/pi/Desktop/images/30112025/15/43/image_30112025_15_43_56_10796.jpg
/home/pi/Desktop/images/30112025/15/43/image_30112025_15_44_05_9602.jpg
/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_15_9622.jpg
/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_25_10017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397074893","1397074857","1397074926","1397074961","1397074999","1397074823"],"photo_ids_order":["1397074823","1397074857","1397074893","1397074926","1397074961","1397074999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/806d920de1a77b1d704a0e3edf6a3bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5992207469919877739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_43_56_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32870ef992190dabd292cff8b25a8e0e.jpg","text":"TemporaryFile(/tmp/multipartBody7460376906767748358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_43_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ce9e444d5d42096bd10504362de519e.jpg","text":"TemporaryFile(/tmp/multipartBody7693133103592791580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_44_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb476906c65adfd6e46ef5e4c9d2daa7.jpg","text":"TemporaryFile(/tmp/multipartBody7553291840805845531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_44_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/938424b8452258e6162ddc046828a8b6.jpg","text":"TemporaryFile(/tmp/multipartBody3877623003529829553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_44_25_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a25a99f9ec1690fb739de6a23d6470c.jpg","text":"TemporaryFile(/tmp/multipartBody2834426800147958320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519604449,"filename":"image_30112025_15_43_25_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397074893","file1":"1397074857","file0":"1397074823","file4":"1397074961","file5":"1397074999","file3":"1397074926"},"map_files_photo_id_array":[{"photo_id":"1397074999","filename":"file5"},{"photo_id":"1397074893","filename":"file2"},{"photo_id":"1397074961","filename":"file4"},{"photo_id":"1397074857","filename":"file1"},{"photo_id":"1397074823","filename":"file0"},{"photo_id":"1397074926","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397074893":["hashtag1","hashtag2"]},{"1397074857":["hashtag1","hashtag2"]},{"1397074926":["hashtag1","hashtag2"]},{"1397074961":["hashtag1","hashtag2"]},{"1397074999":["hashtag1","hashtag2"]},{"1397074823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397074893, 1397074857, 1397074926, 1397074961, 1397074999, 1397074823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7383770942688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:19:42.582845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/09/image_31102025_13_09_44_2731.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_47_2780.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_49_2692.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_53_3333.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_55_2867.jpg', '/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_58_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_44_2731.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_47_2780.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_49_2692.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_53_3333.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_55_2867.jpg
/home/pi/Desktop/images/31102025/13/09/image_31102025_13_09_58_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075240","1397075129","1397075167","1397075308","1397075203","1397075274"],"photo_ids_order":["1397075129","1397075167","1397075203","1397075240","1397075274","1397075308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a31d3b4f39380d6ac4663c25b6dc9cf.jpg","text":"TemporaryFile(/tmp/multipartBody5791959313037982657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_53_3333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/906001314e3b30441bd5cb32c915ce66.jpg","text":"TemporaryFile(/tmp/multipartBody2351812826715582553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_44_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/30/6acfb79708545160555c41e692e57376.jpg","text":"TemporaryFile(/tmp/multipartBody6475315088109172165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_47_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b84c15bb5337c4377c28e3b5039c57ca.jpg","text":"TemporaryFile(/tmp/multipartBody7094012993502678313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_58_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/30/3c37398a514ac57ba970bd9cfdb8e31e.jpg","text":"TemporaryFile(/tmp/multipartBody62739142237056688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_49_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9791ec64766925e8410de88b7da0e124.jpg","text":"TemporaryFile(/tmp/multipartBody5403554834694060764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519643475,"filename":"image_31102025_13_09_55_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075203","file1":"1397075167","file0":"1397075129","file4":"1397075274","file5":"1397075308","file3":"1397075240"},"map_files_photo_id_array":[{"photo_id":"1397075308","filename":"file5"},{"photo_id":"1397075203","filename":"file2"},{"photo_id":"1397075274","filename":"file4"},{"photo_id":"1397075167","filename":"file1"},{"photo_id":"1397075129","filename":"file0"},{"photo_id":"1397075240","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075240":["hashtag1","hashtag2"]},{"1397075129":["hashtag1","hashtag2"]},{"1397075167":["hashtag1","hashtag2"]},{"1397075308":["hashtag1","hashtag2"]},{"1397075203":["hashtag1","hashtag2"]},{"1397075274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075240, 1397075129, 1397075167, 1397075308, 1397075203, 1397075274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11855506896973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:20:26.138985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_45_9895.jpg', '/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_55_9679.jpg', '/home/pi/Desktop/images/30112025/15/44/image_30112025_15_45_05_9708.jpg', '/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_25_9628.jpg', '/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_36_10276.jpg', '/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_55_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_45_9895.jpg
/home/pi/Desktop/images/30112025/15/44/image_30112025_15_44_55_9679.jpg
/home/pi/Desktop/images/30112025/15/44/image_30112025_15_45_05_9708.jpg
/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_25_9628.jpg
/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_36_10276.jpg
/home/pi/Desktop/images/30112025/15/46/image_30112025_15_46_55_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075325","1397075321","1397075327","1397075332","1397075341","1397075329"],"photo_ids_order":["1397075321","1397075325","1397075327","1397075329","1397075332","1397075341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4ca65ff1265cfe9787767fbaf63ba39.jpg","text":"TemporaryFile(/tmp/multipartBody7427788091457505875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_44_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efcde2b26982bf152be13462329d2a98.jpg","text":"TemporaryFile(/tmp/multipartBody3945333388635472713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_44_45_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68c941143bc21370e066dde0be494b84.jpg","text":"TemporaryFile(/tmp/multipartBody8172684461246644906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_45_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e17e8ad71f79ec756ea42c7b5f49720.jpg","text":"TemporaryFile(/tmp/multipartBody2871198361719590858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_46_36_10276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99629e3bfc73e034e5a3b6279a932265.jpg","text":"TemporaryFile(/tmp/multipartBody7120304605974419158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_46_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9fa8510e724375cca8f7c08e1d460cb.jpg","text":"TemporaryFile(/tmp/multipartBody3283943144260631824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519686862,"filename":"image_30112025_15_46_25_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075327","file1":"1397075325","file0":"1397075321","file4":"1397075332","file5":"1397075341","file3":"1397075329"},"map_files_photo_id_array":[{"photo_id":"1397075341","filename":"file5"},{"photo_id":"1397075327","filename":"file2"},{"photo_id":"1397075332","filename":"file4"},{"photo_id":"1397075325","filename":"file1"},{"photo_id":"1397075321","filename":"file0"},{"photo_id":"1397075329","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075325":["hashtag1","hashtag2"]},{"1397075321":["hashtag1","hashtag2"]},{"1397075327":["hashtag1","hashtag2"]},{"1397075332":["hashtag1","hashtag2"]},{"1397075341":["hashtag1","hashtag2"]},{"1397075329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075325, 1397075321, 1397075327, 1397075332, 1397075341, 1397075329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.517019510269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:21:12.197926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_58_2747.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_01_2675.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_04_3601.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_13_2813.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_25_2608.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_28_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/33/image_25112025_20_33_58_2747.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_01_2675.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_04_3601.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_13_2813.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_25_2608.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_28_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075593","1397075596","1397075551","1397075530","1397075548","1397075565"],"photo_ids_order":["1397075530","1397075548","1397075551","1397075565","1397075593","1397075596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb08a3f1e9fff1409d1ae76a0d04211e.jpg","text":"TemporaryFile(/tmp/multipartBody1567490700888527511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_34_25_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/30/b8e28b064211c89e6dca8761c47fcc28.jpg","text":"TemporaryFile(/tmp/multipartBody4490226319783535000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_34_28_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/30/7864764cb37678241960ef5732779845.jpg","text":"TemporaryFile(/tmp/multipartBody92647246294294183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_34_04_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/30/9f49dd9cae84735de487860eac92d822.jpg","text":"TemporaryFile(/tmp/multipartBody8287002256627241019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_33_58_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/30/1557dfee2a881b689b7419e3ffc3931a.jpg","text":"TemporaryFile(/tmp/multipartBody5384094511351014464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_34_01_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d95ba89d7aa644a66c891a1466f70103.jpg","text":"TemporaryFile(/tmp/multipartBody7248390946595089142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519733865,"filename":"image_25112025_20_34_13_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075551","file1":"1397075548","file0":"1397075530","file4":"1397075593","file5":"1397075596","file3":"1397075565"},"map_files_photo_id_array":[{"photo_id":"1397075596","filename":"file5"},{"photo_id":"1397075551","filename":"file2"},{"photo_id":"1397075593","filename":"file4"},{"photo_id":"1397075548","filename":"file1"},{"photo_id":"1397075530","filename":"file0"},{"photo_id":"1397075565","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397075593":["hashtag1","hashtag2"]},{"1397075596":["hashtag1","hashtag2"]},{"1397075551":["hashtag1","hashtag2"]},{"1397075530":["hashtag1","hashtag2"]},{"1397075548":["hashtag1","hashtag2"]},{"1397075565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397075593, 1397075596, 1397075551, 1397075530, 1397075548, 1397075565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83109211921692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:22:02.938400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/46/image_30112025_15_47_06_10680.jpg', '/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_15_9685.jpg', '/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_46_10776.jpg', '/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_55_9674.jpg', '/home/pi/Desktop/images/30112025/15/47/image_30112025_15_48_06_10462.jpg', '/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_16_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/46/image_30112025_15_47_06_10680.jpg
/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_15_9685.jpg
/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_46_10776.jpg
/home/pi/Desktop/images/30112025/15/47/image_30112025_15_47_55_9674.jpg
/home/pi/Desktop/images/30112025/15/47/image_30112025_15_48_06_10462.jpg
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_16_9995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075649","1397075658","1397075643","1397075642","1397075653","1397075646"],"photo_ids_order":["1397075642","1397075643","1397075646","1397075649","1397075653","1397075658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/309c2c7fd0075caa87526a7eb5dea19e.jpg","text":"TemporaryFile(/tmp/multipartBody3516856994153053876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_47_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b0dc94b82ca26f391cb937bdec37407.jpg","text":"TemporaryFile(/tmp/multipartBody2267524839290529523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_48_16_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb9d3fe1ec18cfd24b64f25a17fe685d.jpg","text":"TemporaryFile(/tmp/multipartBody1899545775034613337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_47_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbf714a2650f8541a2648beac86eb5d3.jpg","text":"TemporaryFile(/tmp/multipartBody5477641202250930670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_47_06_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e10f28265fcc645fbafc1cfb26d541e.jpg","text":"TemporaryFile(/tmp/multipartBody5374994854860700182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_48_06_10462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b3f0f6987aec1b74eaae99792049da5.jpg","text":"TemporaryFile(/tmp/multipartBody3101169259235532658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519783675,"filename":"image_30112025_15_47_46_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075646","file1":"1397075643","file0":"1397075642","file4":"1397075653","file5":"1397075658","file3":"1397075649"},"map_files_photo_id_array":[{"photo_id":"1397075658","filename":"file5"},{"photo_id":"1397075646","filename":"file2"},{"photo_id":"1397075653","filename":"file4"},{"photo_id":"1397075643","filename":"file1"},{"photo_id":"1397075642","filename":"file0"},{"photo_id":"1397075649","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075649":["hashtag1","hashtag2"]},{"1397075658":["hashtag1","hashtag2"]},{"1397075643":["hashtag1","hashtag2"]},{"1397075642":["hashtag1","hashtag2"]},{"1397075653":["hashtag1","hashtag2"]},{"1397075646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075649, 1397075658, 1397075643, 1397075642, 1397075653, 1397075646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.673532485961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:22:42.511740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/10/image_31102025_13_10_02_3818.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_05_3007.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_08_2695.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_10_2598.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_14_3776.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_17_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_02_3818.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_05_3007.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_08_2695.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_10_2598.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_14_3776.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_17_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075700","1397075698","1397075668","1397075683","1397075704","1397075707"],"photo_ids_order":["1397075668","1397075683","1397075698","1397075700","1397075704","1397075707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/10a12d6d79a7eabf7b717186fbb92d39.jpg","text":"TemporaryFile(/tmp/multipartBody4826611563723061872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_10_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/30/487df0ed4940945f4fe5dd1ec05f6af5.jpg","text":"TemporaryFile(/tmp/multipartBody4473080976979709803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_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/30/6a34625c9b29213ce2f510fe6c2be3f5.jpg","text":"TemporaryFile(/tmp/multipartBody900757202673667420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_02_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/30/cb51ce82d7e671193d4de67cb4d37fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3072352698779735562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_05_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2a74c71bfe966ab2717021340f18610.jpg","text":"TemporaryFile(/tmp/multipartBody8072166082166784592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_14_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/30/03b8fe3f65ad439e5d9f487b5fc7f9a2.jpg","text":"TemporaryFile(/tmp/multipartBody8791151145761628697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519823443,"filename":"image_31102025_13_10_17_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075698","file1":"1397075683","file0":"1397075668","file4":"1397075704","file5":"1397075707","file3":"1397075700"},"map_files_photo_id_array":[{"photo_id":"1397075707","filename":"file5"},{"photo_id":"1397075698","filename":"file2"},{"photo_id":"1397075704","filename":"file4"},{"photo_id":"1397075683","filename":"file1"},{"photo_id":"1397075668","filename":"file0"},{"photo_id":"1397075700","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075700":["hashtag1","hashtag2"]},{"1397075698":["hashtag1","hashtag2"]},{"1397075668":["hashtag1","hashtag2"]},{"1397075683":["hashtag1","hashtag2"]},{"1397075704":["hashtag1","hashtag2"]},{"1397075707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075700, 1397075698, 1397075668, 1397075683, 1397075704, 1397075707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06252121925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:23:22.631830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_25_9684.jpg', '/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_35_9625.jpg', '/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_45_9710.jpg', '/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_56_10861.jpg', '/home/pi/Desktop/images/30112025/15/48/image_30112025_15_49_05_9675.jpg', '/home/pi/Desktop/images/30112025/15/49/image_30112025_15_49_45_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_25_9684.jpg
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_35_9625.jpg
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_45_9710.jpg
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_48_56_10861.jpg
/home/pi/Desktop/images/30112025/15/48/image_30112025_15_49_05_9675.jpg
/home/pi/Desktop/images/30112025/15/49/image_30112025_15_49_45_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075715","1397075724","1397075718","1397075712","1397075722","1397075731"],"photo_ids_order":["1397075712","1397075715","1397075718","1397075722","1397075724","1397075731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/195315a9183774227ad27471c5e725ee.jpg","text":"TemporaryFile(/tmp/multipartBody7908901375423068603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_48_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d49e4a19917d40531fe4705dea9bd4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2538836869232686771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_49_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b0697e3da1f9fb1c622c7047a4936f8.jpg","text":"TemporaryFile(/tmp/multipartBody819373325433861422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_48_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c89252548f073a8aacb4c7719d4da37.jpg","text":"TemporaryFile(/tmp/multipartBody1783715973460389793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_48_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b66aa0fec1a7042b4da04f88bbf9603.jpg","text":"TemporaryFile(/tmp/multipartBody3416577329459480497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_48_56_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f00b6c0723dbf1241eb16f87b8dabfa2.jpg","text":"TemporaryFile(/tmp/multipartBody9038725265600340248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519863372,"filename":"image_30112025_15_49_45_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075718","file1":"1397075715","file0":"1397075712","file4":"1397075724","file5":"1397075731","file3":"1397075722"},"map_files_photo_id_array":[{"photo_id":"1397075731","filename":"file5"},{"photo_id":"1397075718","filename":"file2"},{"photo_id":"1397075724","filename":"file4"},{"photo_id":"1397075715","filename":"file1"},{"photo_id":"1397075712","filename":"file0"},{"photo_id":"1397075722","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075715":["hashtag1","hashtag2"]},{"1397075724":["hashtag1","hashtag2"]},{"1397075718":["hashtag1","hashtag2"]},{"1397075712":["hashtag1","hashtag2"]},{"1397075722":["hashtag1","hashtag2"]},{"1397075731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075715, 1397075724, 1397075718, 1397075712, 1397075722, 1397075731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12296175956726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:24:02.467172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/49/image_30112025_15_50_05_9651.jpg', '/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_15_9665.jpg', '/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_26_10520.jpg', '/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_45_9645.jpg', '/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_56_10675.jpg', '/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_05_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/49/image_30112025_15_50_05_9651.jpg
/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_15_9665.jpg
/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_26_10520.jpg
/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_45_9645.jpg
/home/pi/Desktop/images/30112025/15/50/image_30112025_15_50_56_10675.jpg
/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_05_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075733","1397075732","1397075735","1397075740","1397075734","1397075737"],"photo_ids_order":["1397075732","1397075733","1397075734","1397075735","1397075737","1397075740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2778e6bbaab4e1bf86fb38635a731fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2700870296962935536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_50_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ffcce158ff2eb459c4b3237bc25d535.jpg","text":"TemporaryFile(/tmp/multipartBody6085370393203311462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_50_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fba318c518e6911a4a409500c9fcef1.jpg","text":"TemporaryFile(/tmp/multipartBody1313916284141695529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_50_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d641d96e878568f248f6ef744472429.jpg","text":"TemporaryFile(/tmp/multipartBody5082272606100028869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_51_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44d38708d2d66feeadc2636cf4a893c9.jpg","text":"TemporaryFile(/tmp/multipartBody5808020856779603010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_50_26_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c097e1cb346067bfd904ef9bc606f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8822197975414699716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519903178,"filename":"image_30112025_15_50_56_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075734","file1":"1397075733","file0":"1397075732","file4":"1397075737","file5":"1397075740","file3":"1397075735"},"map_files_photo_id_array":[{"photo_id":"1397075740","filename":"file5"},{"photo_id":"1397075734","filename":"file2"},{"photo_id":"1397075737","filename":"file4"},{"photo_id":"1397075733","filename":"file1"},{"photo_id":"1397075732","filename":"file0"},{"photo_id":"1397075735","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075733":["hashtag1","hashtag2"]},{"1397075732":["hashtag1","hashtag2"]},{"1397075735":["hashtag1","hashtag2"]},{"1397075740":["hashtag1","hashtag2"]},{"1397075734":["hashtag1","hashtag2"]},{"1397075737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075733, 1397075732, 1397075735, 1397075740, 1397075734, 1397075737)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.08966636657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:25:03.272397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_15_9689.jpg', '/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_36_10646.jpg', '/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_55_9783.jpg', '/home/pi/Desktop/images/30112025/15/51/image_30112025_15_52_05_9812.jpg', '/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_15_9852.jpg', '/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_26_10819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_15_9689.jpg
/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_36_10646.jpg
/home/pi/Desktop/images/30112025/15/51/image_30112025_15_51_55_9783.jpg
/home/pi/Desktop/images/30112025/15/51/image_30112025_15_52_05_9812.jpg
/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_15_9852.jpg
/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_26_10819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075756","1397075759","1397075750","1397075753","1397075752","1397075751"],"photo_ids_order":["1397075750","1397075751","1397075752","1397075753","1397075756","1397075759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e63f561695fea52665b10498f60529e9.jpg","text":"TemporaryFile(/tmp/multipartBody8801594880144606510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_52_15_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/063d265e6700a9000449c8ac2d79389d.jpg","text":"TemporaryFile(/tmp/multipartBody8651136367632656053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_52_26_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec8f9815f154be16fec8d35b94272a83.jpg","text":"TemporaryFile(/tmp/multipartBody942968832275473072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_51_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0df1b2ec2707068a7f89963b472ab110.jpg","text":"TemporaryFile(/tmp/multipartBody7043722340042122605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_52_05_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a53d235fe033a1ddc9ea4c9d59764bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6741549681431313573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_51_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac67797c4613015bbe5a8050966845cf.jpg","text":"TemporaryFile(/tmp/multipartBody1391212104137043595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764519964034,"filename":"image_30112025_15_51_36_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075752","file1":"1397075751","file0":"1397075750","file4":"1397075756","file5":"1397075759","file3":"1397075753"},"map_files_photo_id_array":[{"photo_id":"1397075759","filename":"file5"},{"photo_id":"1397075752","filename":"file2"},{"photo_id":"1397075756","filename":"file4"},{"photo_id":"1397075751","filename":"file1"},{"photo_id":"1397075750","filename":"file0"},{"photo_id":"1397075753","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075756":["hashtag1","hashtag2"]},{"1397075759":["hashtag1","hashtag2"]},{"1397075750":["hashtag1","hashtag2"]},{"1397075753":["hashtag1","hashtag2"]},{"1397075752":["hashtag1","hashtag2"]},{"1397075751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075756, 1397075759, 1397075750, 1397075753, 1397075752, 1397075751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91363024711609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:25:42.659971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/10/image_31102025_13_10_19_2633.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_22_2702.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_26_3783.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_29_2759.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_31_2798.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_35_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_19_2633.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_22_2702.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_26_3783.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_29_2759.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_31_2798.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_35_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":["1397075769","1397075768","1397075771","1397075770","1397075773","1397075766"],"photo_ids_order":["1397075766","1397075768","1397075769","1397075770","1397075771","1397075773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9c14dac4323728b12d94186e10b0226.jpg","text":"TemporaryFile(/tmp/multipartBody9145545924123756443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_26_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/30/1fd225c45d52d32732531d7ca110e2da.jpg","text":"TemporaryFile(/tmp/multipartBody2174342777146319963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_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/30/5ae39130b953d155fa6a68f2f8b0bce8.jpg","text":"TemporaryFile(/tmp/multipartBody905792314596443845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_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/30/290c7320ec1d8efa2bdc8e025f5efc06.jpg","text":"TemporaryFile(/tmp/multipartBody3952308845454947212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_29_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/715c69dec84b5cc3062c0e3ce4de1bd5.jpg","text":"TemporaryFile(/tmp/multipartBody4195606814349104004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_35_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/30/2e0ff8439d3796503df6a4bed81fb5ce.jpg","text":"TemporaryFile(/tmp/multipartBody865205521147416028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520003590,"filename":"image_31102025_13_10_19_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075769","file1":"1397075768","file0":"1397075766","file4":"1397075771","file5":"1397075773","file3":"1397075770"},"map_files_photo_id_array":[{"photo_id":"1397075773","filename":"file5"},{"photo_id":"1397075769","filename":"file2"},{"photo_id":"1397075771","filename":"file4"},{"photo_id":"1397075768","filename":"file1"},{"photo_id":"1397075766","filename":"file0"},{"photo_id":"1397075770","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075769":["hashtag1","hashtag2"]},{"1397075768":["hashtag1","hashtag2"]},{"1397075771":["hashtag1","hashtag2"]},{"1397075770":["hashtag1","hashtag2"]},{"1397075773":["hashtag1","hashtag2"]},{"1397075766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075769, 1397075768, 1397075771, 1397075770, 1397075773, 1397075766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.940802812576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:26:22.929992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_36_9846.jpg', '/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_46_10120.jpg', '/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_55_9795.jpg', '/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_16_10712.jpg', '/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_25_9483.jpg', '/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_35_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_36_9846.jpg
/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_46_10120.jpg
/home/pi/Desktop/images/30112025/15/52/image_30112025_15_52_55_9795.jpg
/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_16_10712.jpg
/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_25_9483.jpg
/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_35_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075802","1397075786","1397075791","1397075779","1397075782","1397075776"],"photo_ids_order":["1397075776","1397075779","1397075782","1397075786","1397075791","1397075802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/618ee0235cf1eb92557e65c81e7d542d.jpg","text":"TemporaryFile(/tmp/multipartBody5175297918686864783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_53_35_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b96f94dedf363be716b48410b51843d.jpg","text":"TemporaryFile(/tmp/multipartBody6440805195428624315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_53_16_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccc02a2fdddddf1aea476f040a825080.jpg","text":"TemporaryFile(/tmp/multipartBody4343350737864873645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_53_25_9483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35c22845c8209a1091dbbcbcbb0ddc3c.jpg","text":"TemporaryFile(/tmp/multipartBody8299373976046485875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_52_46_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a24256fe61a3cca68f95b6c0bd7d2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8481565282764287321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_52_55_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/706fd3305d729b36b08a4b0c77537bad.jpg","text":"TemporaryFile(/tmp/multipartBody6143668774202479863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520043636,"filename":"image_30112025_15_52_36_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075782","file1":"1397075779","file0":"1397075776","file4":"1397075791","file5":"1397075802","file3":"1397075786"},"map_files_photo_id_array":[{"photo_id":"1397075802","filename":"file5"},{"photo_id":"1397075782","filename":"file2"},{"photo_id":"1397075791","filename":"file4"},{"photo_id":"1397075779","filename":"file1"},{"photo_id":"1397075776","filename":"file0"},{"photo_id":"1397075786","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075802":["hashtag1","hashtag2"]},{"1397075786":["hashtag1","hashtag2"]},{"1397075791":["hashtag1","hashtag2"]},{"1397075779":["hashtag1","hashtag2"]},{"1397075782":["hashtag1","hashtag2"]},{"1397075776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075802, 1397075786, 1397075791, 1397075779, 1397075782, 1397075776)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.07243824005127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:27:11.888323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_32_3623.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_37_2703.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_40_2677.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_43_3682.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_46_2673.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_55_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_32_3623.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_37_2703.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_40_2677.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_43_3682.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_46_2673.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_55_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075820","1397075808","1397075817","1397075810","1397075813","1397075815"],"photo_ids_order":["1397075808","1397075810","1397075813","1397075815","1397075817","1397075820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aaf7fd9cd12badabceffc4b6c678ec22.jpg","text":"TemporaryFile(/tmp/multipartBody2893287938787501016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_55_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa726d037f69c25e2d0840ca4bd06621.jpg","text":"TemporaryFile(/tmp/multipartBody3809831098514291228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_32_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/30/69ffe31e9f3a3b15c914b10de84501e6.jpg","text":"TemporaryFile(/tmp/multipartBody1108993684811381371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_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/30/f866a18aac4a6e9cf3d39fff3327bdea.jpg","text":"TemporaryFile(/tmp/multipartBody736185513520579377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_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/30/ed9dfb0f43d790516d67b84e59cac1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1081387792428052426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_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/30/4330be90fd01cd58aead3039b0ccd279.jpg","text":"TemporaryFile(/tmp/multipartBody6492660265496465097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520093530,"filename":"image_25112025_20_34_43_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075813","file1":"1397075810","file0":"1397075808","file4":"1397075817","file5":"1397075820","file3":"1397075815"},"map_files_photo_id_array":[{"photo_id":"1397075820","filename":"file5"},{"photo_id":"1397075813","filename":"file2"},{"photo_id":"1397075817","filename":"file4"},{"photo_id":"1397075810","filename":"file1"},{"photo_id":"1397075808","filename":"file0"},{"photo_id":"1397075815","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397075820":["hashtag1","hashtag2"]},{"1397075808":["hashtag1","hashtag2"]},{"1397075817":["hashtag1","hashtag2"]},{"1397075810":["hashtag1","hashtag2"]},{"1397075813":["hashtag1","hashtag2"]},{"1397075815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397075820, 1397075808, 1397075817, 1397075810, 1397075813, 1397075815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50760889053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:28:02.595860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_46_10828.jpg', '/home/pi/Desktop/images/30112025/15/53/image_30112025_15_54_05_9671.jpg', '/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_16_10811.jpg', '/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_26_9768.jpg', '/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_35_9749.jpg', '/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_45_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/53/image_30112025_15_53_46_10828.jpg
/home/pi/Desktop/images/30112025/15/53/image_30112025_15_54_05_9671.jpg
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_16_10811.jpg
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_26_9768.jpg
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_35_9749.jpg
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_45_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075832","1397075826","1397075829","1397075823","1397075825","1397075827"],"photo_ids_order":["1397075823","1397075825","1397075826","1397075827","1397075829","1397075832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9f41ed6105371b30f24dd059245a235.jpg","text":"TemporaryFile(/tmp/multipartBody2782939827967581232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_54_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9203a8eff8b49417d17f533075140daf.jpg","text":"TemporaryFile(/tmp/multipartBody7224269598476898331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_54_16_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acdf81351bc523f9395d3e1dff413818.jpg","text":"TemporaryFile(/tmp/multipartBody8177188598370594271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_54_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48860687d7f54f6a6891c0f17bb49fea.jpg","text":"TemporaryFile(/tmp/multipartBody4642913677639272143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_53_46_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05b7b5780353f2030455bbabc420d853.jpg","text":"TemporaryFile(/tmp/multipartBody2590472751123584162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_54_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11cf164983237a43aa47868ae6c6bf6e.jpg","text":"TemporaryFile(/tmp/multipartBody1713225714312057370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520143278,"filename":"image_30112025_15_54_26_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075826","file1":"1397075825","file0":"1397075823","file4":"1397075829","file5":"1397075832","file3":"1397075827"},"map_files_photo_id_array":[{"photo_id":"1397075832","filename":"file5"},{"photo_id":"1397075826","filename":"file2"},{"photo_id":"1397075829","filename":"file4"},{"photo_id":"1397075825","filename":"file1"},{"photo_id":"1397075823","filename":"file0"},{"photo_id":"1397075827","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075832":["hashtag1","hashtag2"]},{"1397075826":["hashtag1","hashtag2"]},{"1397075829":["hashtag1","hashtag2"]},{"1397075823":["hashtag1","hashtag2"]},{"1397075825":["hashtag1","hashtag2"]},{"1397075827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075832, 1397075826, 1397075829, 1397075823, 1397075825, 1397075827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67054986953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:28:42.183992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/10/image_31102025_13_10_38_2719.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_40_2728.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_43_2672.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_47_3787.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_50_2670.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_52_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_38_2719.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_40_2728.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_43_2672.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_47_3787.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_50_2670.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_52_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397075847","1397075841","1397075843","1397075840","1397075845","1397075844"],"photo_ids_order":["1397075840","1397075841","1397075843","1397075844","1397075845","1397075847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6084987299d0406b26e3eed89143af87.jpg","text":"TemporaryFile(/tmp/multipartBody4099976872007260320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_52_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8ddc3be5becd3ae26821b9731f4d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4237109151103827232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c138da959211457ca94051b6c7f91b3.jpg","text":"TemporaryFile(/tmp/multipartBody1822226945523792054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4166d4d4a254b00c70ba988eb36c96a.jpg","text":"TemporaryFile(/tmp/multipartBody1929141624526838708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_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/30/200ea77d72d63ca6f1c674cca3616c77.jpg","text":"TemporaryFile(/tmp/multipartBody7790236404210595057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_50_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7db09f0517d3c2179351b082ceb5167.jpg","text":"TemporaryFile(/tmp/multipartBody6735566284950196610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520183065,"filename":"image_31102025_13_10_47_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075843","file1":"1397075841","file0":"1397075840","file4":"1397075845","file5":"1397075847","file3":"1397075844"},"map_files_photo_id_array":[{"photo_id":"1397075847","filename":"file5"},{"photo_id":"1397075843","filename":"file2"},{"photo_id":"1397075845","filename":"file4"},{"photo_id":"1397075841","filename":"file1"},{"photo_id":"1397075840","filename":"file0"},{"photo_id":"1397075844","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075847":["hashtag1","hashtag2"]},{"1397075841":["hashtag1","hashtag2"]},{"1397075843":["hashtag1","hashtag2"]},{"1397075840":["hashtag1","hashtag2"]},{"1397075845":["hashtag1","hashtag2"]},{"1397075844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075847, 1397075841, 1397075843, 1397075840, 1397075845, 1397075844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.020227909088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:29:32.346344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_58_2654.jpg', '/home/pi/Desktop/images/25112025/20/34/image_25112025_20_35_01_3691.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_04_2606.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_07_2697.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_10_3532.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_16_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_34_58_2654.jpg
/home/pi/Desktop/images/25112025/20/34/image_25112025_20_35_01_3691.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_04_2606.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_07_2697.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_10_3532.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_16_3590.jpg
 val : 1 : upload photos 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":["1397075901","1397075861","1397075900","1397075911","1397075889","1397075898"],"photo_ids_order":["1397075861","1397075889","1397075898","1397075900","1397075901","1397075911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d71b8aec00e884903b4d4db510943bd.jpg","text":"TemporaryFile(/tmp/multipartBody3826866019088227680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_35_10_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ef8b80fae051917e1a331a8c2cf9bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5143409316149330568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_34_58_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/30/ca0522a03c937520c1b7022624b51cf2.jpg","text":"TemporaryFile(/tmp/multipartBody78767232306217440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_35_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/30/812b6496359a72cc2bfc1de39c52cb14.jpg","text":"TemporaryFile(/tmp/multipartBody7740139729836806202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_35_16_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/30/4e8b605feccc08fbb26aaab70e01b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody3720500687580104687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_35_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/30/9dced824e9e2ffa43c6d604cc6f14bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7747017578902142804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520234340,"filename":"image_25112025_20_35_04_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075898","file1":"1397075889","file0":"1397075861","file4":"1397075901","file5":"1397075911","file3":"1397075900"},"map_files_photo_id_array":[{"photo_id":"1397075911","filename":"file5"},{"photo_id":"1397075898","filename":"file2"},{"photo_id":"1397075901","filename":"file4"},{"photo_id":"1397075889","filename":"file1"},{"photo_id":"1397075861","filename":"file0"},{"photo_id":"1397075900","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397075901":["hashtag1","hashtag2"]},{"1397075861":["hashtag1","hashtag2"]},{"1397075900":["hashtag1","hashtag2"]},{"1397075911":["hashtag1","hashtag2"]},{"1397075889":["hashtag1","hashtag2"]},{"1397075898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397075901, 1397075861, 1397075900, 1397075911, 1397075889, 1397075898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.59045124053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:30:51.604199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/10/image_31102025_13_10_55_2694.jpg', '/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_59_3862.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_04_2804.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_08_3542.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_10_2627.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_13_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_55_2694.jpg
/home/pi/Desktop/images/31102025/13/10/image_31102025_13_10_59_3862.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_04_2804.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_08_3542.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_10_2627.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_13_2692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075922","1397075919","1397075921","1397075924","1397075920","1397075923"],"photo_ids_order":["1397075919","1397075920","1397075921","1397075922","1397075923","1397075924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04fab7adf4987ee76631dd0fa98d7d18.jpg","text":"TemporaryFile(/tmp/multipartBody5152415072133878945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_11_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/30/1e9ba86476b8927a64910404cb7fa4d2.jpg","text":"TemporaryFile(/tmp/multipartBody4969175766829915077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_10_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/30/189656253a4b5d5824be03b7a22bc250.jpg","text":"TemporaryFile(/tmp/multipartBody5687593133911887474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_11_04_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/30/1e2b4cb910214fddd4a7123fcd886456.jpg","text":"TemporaryFile(/tmp/multipartBody8457149692453154646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_11_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/30/1ad20533da9e1294955560e75e5e6c12.jpg","text":"TemporaryFile(/tmp/multipartBody4870907063633419537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_10_59_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/30/9b69073bc3f7106b494c31f5b6b9d79c.jpg","text":"TemporaryFile(/tmp/multipartBody4976220746592432366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520313192,"filename":"image_31102025_13_11_10_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075921","file1":"1397075920","file0":"1397075919","file4":"1397075923","file5":"1397075924","file3":"1397075922"},"map_files_photo_id_array":[{"photo_id":"1397075924","filename":"file5"},{"photo_id":"1397075921","filename":"file2"},{"photo_id":"1397075923","filename":"file4"},{"photo_id":"1397075920","filename":"file1"},{"photo_id":"1397075919","filename":"file0"},{"photo_id":"1397075922","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075922":["hashtag1","hashtag2"]},{"1397075919":["hashtag1","hashtag2"]},{"1397075921":["hashtag1","hashtag2"]},{"1397075924":["hashtag1","hashtag2"]},{"1397075920":["hashtag1","hashtag2"]},{"1397075923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075922, 1397075919, 1397075921, 1397075924, 1397075920, 1397075923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37159061431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:31:32.771713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_22_2627.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_28_2716.jpg', '/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_52_1791.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_01_5487.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_07_5806.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_30_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_22_2627.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_28_2716.jpg
/home/pi/Desktop/images/25112025/20/35/image_25112025_20_35_52_1791.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_01_5487.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_07_5806.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_30_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075940","1397075942","1397075939","1397075932","1397075941","1397075935"],"photo_ids_order":["1397075932","1397075935","1397075939","1397075940","1397075941","1397075942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68271b5cc454bbd3415be6d26ccb18c4.jpg","text":"TemporaryFile(/tmp/multipartBody218162904050139330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_36_01_5487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d1fc2636c6dbc10adfdecad08132429.jpg","text":"TemporaryFile(/tmp/multipartBody3485543283731093902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_36_30_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f6b5e2dcc87805a8621a5f4f442052f.jpg","text":"TemporaryFile(/tmp/multipartBody5096154512699331055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_35_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/30/84806c111874a0c84d307f936604d181.jpg","text":"TemporaryFile(/tmp/multipartBody5912721035903042393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_35_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/30/0a9f1a76771af8e967c72c19842224b4.jpg","text":"TemporaryFile(/tmp/multipartBody6943880042919888268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_36_07_5806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94d8373eeea86fccd193361abdf0097c.jpg","text":"TemporaryFile(/tmp/multipartBody4518722513750498666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520354617,"filename":"image_25112025_20_35_28_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075939","file1":"1397075935","file0":"1397075932","file4":"1397075941","file5":"1397075942","file3":"1397075940"},"map_files_photo_id_array":[{"photo_id":"1397075942","filename":"file5"},{"photo_id":"1397075939","filename":"file2"},{"photo_id":"1397075941","filename":"file4"},{"photo_id":"1397075935","filename":"file1"},{"photo_id":"1397075932","filename":"file0"},{"photo_id":"1397075940","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397075940":["hashtag1","hashtag2"]},{"1397075942":["hashtag1","hashtag2"]},{"1397075939":["hashtag1","hashtag2"]},{"1397075932":["hashtag1","hashtag2"]},{"1397075941":["hashtag1","hashtag2"]},{"1397075935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397075940, 1397075942, 1397075939, 1397075932, 1397075941, 1397075935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26400184631348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:32:11.938237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_42_1638.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_45_1586.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_48_2847.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_51_1637.jpg', '/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_56_1733.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_34_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_42_1638.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_45_1586.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_48_2847.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_51_1637.jpg
/home/pi/Desktop/images/25112025/20/36/image_25112025_20_36_56_1733.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_34_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075946","1397075949","1397075960","1397075957","1397075953","1397075947"],"photo_ids_order":["1397075946","1397075947","1397075949","1397075953","1397075957","1397075960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23e6f009d72072b2280ddb0e59fbccae.jpg","text":"TemporaryFile(/tmp/multipartBody7021956878821844227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_36_42_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/30/3771911a539892ccbaece55d6f020fff.jpg","text":"TemporaryFile(/tmp/multipartBody602410409032077165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_36_48_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3da9f3e63cdbc9a76e8643f7cc54acce.jpg","text":"TemporaryFile(/tmp/multipartBody7306748212702001356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_37_34_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7ee3d0bdcb6d3f074e94b8fca62776f.jpg","text":"TemporaryFile(/tmp/multipartBody7334146275509170400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_36_56_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67ade5393a6dea9c94b7d93a0c93df77.jpg","text":"TemporaryFile(/tmp/multipartBody63801237078682414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_36_51_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/30/32bb505114998bcac0eb5ad6eeb648de.jpg","text":"TemporaryFile(/tmp/multipartBody4777691885436272158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520393781,"filename":"image_25112025_20_36_45_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075949","file1":"1397075947","file0":"1397075946","file4":"1397075957","file5":"1397075960","file3":"1397075953"},"map_files_photo_id_array":[{"photo_id":"1397075960","filename":"file5"},{"photo_id":"1397075949","filename":"file2"},{"photo_id":"1397075957","filename":"file4"},{"photo_id":"1397075947","filename":"file1"},{"photo_id":"1397075946","filename":"file0"},{"photo_id":"1397075953","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397075946":["hashtag1","hashtag2"]},{"1397075949":["hashtag1","hashtag2"]},{"1397075960":["hashtag1","hashtag2"]},{"1397075957":["hashtag1","hashtag2"]},{"1397075953":["hashtag1","hashtag2"]},{"1397075947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397075946, 1397075949, 1397075960, 1397075957, 1397075953, 1397075947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62065577507019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:33:02.899358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_56_10635.jpg', '/home/pi/Desktop/images/30112025/15/54/image_30112025_15_55_05_9606.jpg', '/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_26_10772.jpg', '/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_35_9633.jpg', '/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_56_10775.jpg', '/home/pi/Desktop/images/30112025/15/55/image_30112025_15_56_05_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_54_56_10635.jpg
/home/pi/Desktop/images/30112025/15/54/image_30112025_15_55_05_9606.jpg
/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_26_10772.jpg
/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_35_9633.jpg
/home/pi/Desktop/images/30112025/15/55/image_30112025_15_55_56_10775.jpg
/home/pi/Desktop/images/30112025/15/55/image_30112025_15_56_05_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397075967","1397075972","1397075966","1397075969","1397075965","1397075964"],"photo_ids_order":["1397075964","1397075965","1397075966","1397075967","1397075969","1397075972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c02c58574be98ff62e138086951f2b0.jpg","text":"TemporaryFile(/tmp/multipartBody3395088418694653478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_55_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53f1f73283a5849fd89e40fc4c5dbe83.jpg","text":"TemporaryFile(/tmp/multipartBody2787750098402102464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_56_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d9289036e129cb76be51a1716a7bd5f.jpg","text":"TemporaryFile(/tmp/multipartBody829145156250768692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_55_26_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e0918037b5a97d66a9bb02bb51d068.jpg","text":"TemporaryFile(/tmp/multipartBody2169911514874383983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_55_56_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/faef6a02b6ede354353f63df5cbfb863.jpg","text":"TemporaryFile(/tmp/multipartBody6717988358390383020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_55_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6ea2d1cff4e167a583b4c44c8aa86cf.jpg","text":"TemporaryFile(/tmp/multipartBody2717627974431118366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520443666,"filename":"image_30112025_15_54_56_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075966","file1":"1397075965","file0":"1397075964","file4":"1397075969","file5":"1397075972","file3":"1397075967"},"map_files_photo_id_array":[{"photo_id":"1397075972","filename":"file5"},{"photo_id":"1397075966","filename":"file2"},{"photo_id":"1397075969","filename":"file4"},{"photo_id":"1397075965","filename":"file1"},{"photo_id":"1397075964","filename":"file0"},{"photo_id":"1397075967","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397075967":["hashtag1","hashtag2"]},{"1397075972":["hashtag1","hashtag2"]},{"1397075966":["hashtag1","hashtag2"]},{"1397075969":["hashtag1","hashtag2"]},{"1397075965":["hashtag1","hashtag2"]},{"1397075964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397075967, 1397075972, 1397075966, 1397075969, 1397075965, 1397075964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.497132778167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:33:42.139536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/11/image_31102025_13_11_17_3680.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_20_2697.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_22_2678.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_26_3616.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_31_2853.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_34_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/13/11/image_31102025_13_11_17_3680.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_20_2697.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_22_2678.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_26_3616.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_31_2853.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_34_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":["1397075984","1397075983","1397075986","1397075980","1397075982","1397075985"],"photo_ids_order":["1397075980","1397075982","1397075983","1397075984","1397075985","1397075986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86bbaddfdb90a19f71d6bbb64de90762.jpg","text":"TemporaryFile(/tmp/multipartBody5951732514567571939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_26_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/30/0d4f58f4450bc911271a075c912cf92c.jpg","text":"TemporaryFile(/tmp/multipartBody4372170869338592329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_22_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ae92a1f8df13b7d0cf6b21bafb46ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6586506164595723448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_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/30/70001e0cdb1a7cd2c4be104f3f472ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6102938761230946904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_17_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/30/661f9e66e3c3793587673913e5e099c8.jpg","text":"TemporaryFile(/tmp/multipartBody9135423531362827861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_20_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21f6de1e226fd3f18ee743f32c2cf20a.jpg","text":"TemporaryFile(/tmp/multipartBody198587691204536329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520483018,"filename":"image_31102025_13_11_31_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075983","file1":"1397075982","file0":"1397075980","file4":"1397075985","file5":"1397075986","file3":"1397075984"},"map_files_photo_id_array":[{"photo_id":"1397075986","filename":"file5"},{"photo_id":"1397075983","filename":"file2"},{"photo_id":"1397075985","filename":"file4"},{"photo_id":"1397075982","filename":"file1"},{"photo_id":"1397075980","filename":"file0"},{"photo_id":"1397075984","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397075984":["hashtag1","hashtag2"]},{"1397075983":["hashtag1","hashtag2"]},{"1397075986":["hashtag1","hashtag2"]},{"1397075980":["hashtag1","hashtag2"]},{"1397075982":["hashtag1","hashtag2"]},{"1397075985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397075984, 1397075983, 1397075986, 1397075980, 1397075982, 1397075985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26322650909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:34:22.359821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_25_10131.jpg', '/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_35_10268.jpg', '/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_45_9739.jpg', '/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_55_9686.jpg', '/home/pi/Desktop/images/30112025/15/56/image_30112025_15_57_06_10699.jpg', '/home/pi/Desktop/images/30112025/15/57/image_30112025_15_57_36_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_25_10131.jpg
/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_35_10268.jpg
/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_45_9739.jpg
/home/pi/Desktop/images/30112025/15/56/image_30112025_15_56_55_9686.jpg
/home/pi/Desktop/images/30112025/15/56/image_30112025_15_57_06_10699.jpg
/home/pi/Desktop/images/30112025/15/57/image_30112025_15_57_36_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076000","1397076003","1397075993","1397075995","1397075998","1397075989"],"photo_ids_order":["1397075989","1397075993","1397075995","1397075998","1397076000","1397076003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e944ca6f089b4dec4a4ba99e0f5a335.jpg","text":"TemporaryFile(/tmp/multipartBody59798932849825094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_57_06_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88a2d5a37a879f819e5cb8410d9060ae.jpg","text":"TemporaryFile(/tmp/multipartBody3895261797348697240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_57_36_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21d4349a4e3cb9136aefca04ac38b46d.jpg","text":"TemporaryFile(/tmp/multipartBody3923416430149033823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_56_35_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ccce9d21f03d731e2cab319b194534a.jpg","text":"TemporaryFile(/tmp/multipartBody2044908923250407793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_56_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/622aa8435e3da960e8999dc2a614a482.jpg","text":"TemporaryFile(/tmp/multipartBody575269622112749514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_56_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e17f7850b23ca4e81ac72928233d056.jpg","text":"TemporaryFile(/tmp/multipartBody7297175289956559474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520523070,"filename":"image_30112025_15_56_25_10131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397075995","file1":"1397075993","file0":"1397075989","file4":"1397076000","file5":"1397076003","file3":"1397075998"},"map_files_photo_id_array":[{"photo_id":"1397076003","filename":"file5"},{"photo_id":"1397075995","filename":"file2"},{"photo_id":"1397076000","filename":"file4"},{"photo_id":"1397075993","filename":"file1"},{"photo_id":"1397075989","filename":"file0"},{"photo_id":"1397075998","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076000":["hashtag1","hashtag2"]},{"1397076003":["hashtag1","hashtag2"]},{"1397075993":["hashtag1","hashtag2"]},{"1397075995":["hashtag1","hashtag2"]},{"1397075998":["hashtag1","hashtag2"]},{"1397075989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076000, 1397076003, 1397075993, 1397075995, 1397075998, 1397075989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33828139305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:35:03.224302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/57/image_30112025_15_57_45_9630.jpg', '/home/pi/Desktop/images/30112025/15/57/image_30112025_15_58_05_9683.jpg', '/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_15_9785.jpg', '/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_25_9710.jpg', '/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_35_9865.jpg', '/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_46_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/57/image_30112025_15_57_45_9630.jpg
/home/pi/Desktop/images/30112025/15/57/image_30112025_15_58_05_9683.jpg
/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_15_9785.jpg
/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_25_9710.jpg
/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_35_9865.jpg
/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_46_10810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076008","1397076013","1397076016","1397076010","1397076007","1397076006"],"photo_ids_order":["1397076006","1397076007","1397076008","1397076010","1397076013","1397076016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b787aea1c75e862bd2d6879964412c1.jpg","text":"TemporaryFile(/tmp/multipartBody9186533714104663957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_58_15_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd8eccb8581df341217e8074c5133bae.jpg","text":"TemporaryFile(/tmp/multipartBody6862486083715108239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_58_35_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a51e24b3db14c71af2da82b7f1c3163.jpg","text":"TemporaryFile(/tmp/multipartBody3074006783949657190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_58_46_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dac6a2f680046317f990bb540b115980.jpg","text":"TemporaryFile(/tmp/multipartBody984532967068950870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_58_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec61f899910b7cd3f675397dd795fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody6008677818942644518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_58_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c51cdb6368fb995ab3bb4b771aef2c66.jpg","text":"TemporaryFile(/tmp/multipartBody3321733035040136518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520563938,"filename":"image_30112025_15_57_45_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076008","file1":"1397076007","file0":"1397076006","file4":"1397076013","file5":"1397076016","file3":"1397076010"},"map_files_photo_id_array":[{"photo_id":"1397076016","filename":"file5"},{"photo_id":"1397076008","filename":"file2"},{"photo_id":"1397076013","filename":"file4"},{"photo_id":"1397076007","filename":"file1"},{"photo_id":"1397076006","filename":"file0"},{"photo_id":"1397076010","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076008":["hashtag1","hashtag2"]},{"1397076013":["hashtag1","hashtag2"]},{"1397076016":["hashtag1","hashtag2"]},{"1397076010":["hashtag1","hashtag2"]},{"1397076007":["hashtag1","hashtag2"]},{"1397076006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076008, 1397076013, 1397076016, 1397076010, 1397076007, 1397076006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71482300758362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:36:03.194812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_55_9783.jpg', '/home/pi/Desktop/images/30112025/15/59/image_30112025_15_59_15_9769.jpg', '/home/pi/Desktop/images/30112025/15/59/image_30112025_15_59_35_10637.jpg', '/home/pi/Desktop/images/30112025/16/00/image_30112025_16_00_25_10724.jpg', '/home/pi/Desktop/images/30112025/16/00/image_30112025_16_00_45_9760.jpg', '/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_24_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/15/58/image_30112025_15_58_55_9783.jpg
/home/pi/Desktop/images/30112025/15/59/image_30112025_15_59_15_9769.jpg
/home/pi/Desktop/images/30112025/15/59/image_30112025_15_59_35_10637.jpg
/home/pi/Desktop/images/30112025/16/00/image_30112025_16_00_25_10724.jpg
/home/pi/Desktop/images/30112025/16/00/image_30112025_16_00_45_9760.jpg
/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_24_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076036","1397076029","1397076032","1397076031","1397076034","1397076030"],"photo_ids_order":["1397076029","1397076030","1397076031","1397076032","1397076034","1397076036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8008f8be207946262290741c6afa526.jpg","text":"TemporaryFile(/tmp/multipartBody4374684727656184921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_16_01_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9328bdf7e3cb34e0cd046af8bc4d6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody264465400910337537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_15_58_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c72e89da52a445847384ccccafd32ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1158909262935497512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_16_00_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/971dd71c902b810faaa807dad2f568ce.jpg","text":"TemporaryFile(/tmp/multipartBody502327045773325820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_15_59_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/102e7fe828b9d7d3f06ce015929fdf35.jpg","text":"TemporaryFile(/tmp/multipartBody1176000263190318064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_16_00_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68be5c414014c8bad581517c378b985a.jpg","text":"TemporaryFile(/tmp/multipartBody2690409263085389740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520623927,"filename":"image_30112025_15_59_15_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076031","file1":"1397076030","file0":"1397076029","file4":"1397076034","file5":"1397076036","file3":"1397076032"},"map_files_photo_id_array":[{"photo_id":"1397076036","filename":"file5"},{"photo_id":"1397076031","filename":"file2"},{"photo_id":"1397076034","filename":"file4"},{"photo_id":"1397076030","filename":"file1"},{"photo_id":"1397076029","filename":"file0"},{"photo_id":"1397076032","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076036":["hashtag1","hashtag2"]},{"1397076029":["hashtag1","hashtag2"]},{"1397076032":["hashtag1","hashtag2"]},{"1397076031":["hashtag1","hashtag2"]},{"1397076034":["hashtag1","hashtag2"]},{"1397076030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076036, 1397076029, 1397076032, 1397076031, 1397076034, 1397076030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14929938316345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:36:42.714936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/11/image_31102025_13_11_38_3628.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_41_2741.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_43_2720.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_46_2721.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_52_2761.jpg', '/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_55_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/13/11/image_31102025_13_11_38_3628.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_41_2741.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_43_2720.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_46_2721.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_52_2761.jpg
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_55_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076047","1397076056","1397076050","1397076052","1397076057","1397076054"],"photo_ids_order":["1397076047","1397076050","1397076052","1397076054","1397076056","1397076057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c3e4cdca3d2016ce2f62965a0ae4f32.jpg","text":"TemporaryFile(/tmp/multipartBody5818015317197776798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_38_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/30/1810d2c9463f48d3d05c1d0a6df37de4.jpg","text":"TemporaryFile(/tmp/multipartBody1955425269630187406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_52_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/30/9faf8575fec3ea93e7c8ec34c5bbd25c.jpg","text":"TemporaryFile(/tmp/multipartBody3166691215750274000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_41_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/30/5d565d52005fee3e06eb9c75b9dfdfb9.jpg","text":"TemporaryFile(/tmp/multipartBody3216568341234390551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_43_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/30/225dfcb4843ce0f0b588f27725fd0614.jpg","text":"TemporaryFile(/tmp/multipartBody9061001976478379359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5caa280d317cd2dbedb5a372a54bd1e5.jpg","text":"TemporaryFile(/tmp/multipartBody3203353094262495964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520663637,"filename":"image_31102025_13_11_46_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076052","file1":"1397076050","file0":"1397076047","file4":"1397076056","file5":"1397076057","file3":"1397076054"},"map_files_photo_id_array":[{"photo_id":"1397076057","filename":"file5"},{"photo_id":"1397076052","filename":"file2"},{"photo_id":"1397076056","filename":"file4"},{"photo_id":"1397076050","filename":"file1"},{"photo_id":"1397076047","filename":"file0"},{"photo_id":"1397076054","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076047":["hashtag1","hashtag2"]},{"1397076056":["hashtag1","hashtag2"]},{"1397076050":["hashtag1","hashtag2"]},{"1397076052":["hashtag1","hashtag2"]},{"1397076057":["hashtag1","hashtag2"]},{"1397076054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076047, 1397076056, 1397076050, 1397076052, 1397076057, 1397076054)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.757428884506226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:37:31.867546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_37_2799.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_39_2784.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_43_3694.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_46_2573.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_49_3531.jpg', '/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_52_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_37_2799.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_39_2784.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_43_3694.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_46_2573.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_49_3531.jpg
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_37_52_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":["1397076071","1397076065","1397076074","1397076068","1397076073","1397076072"],"photo_ids_order":["1397076065","1397076068","1397076071","1397076072","1397076073","1397076074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4dc3a44fb65c17f80471a67c95a002d.jpg","text":"TemporaryFile(/tmp/multipartBody8806557481537058129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_43_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/30/3c12aa8c4ff030a093fc87db42b09129.jpg","text":"TemporaryFile(/tmp/multipartBody561900633996945377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_37_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/30/ba2bb7cb648f8067f2f748433b547a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7273350754741079437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_52_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/30/b3e589150aa29fc7089c90d769d12ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3576841192120063236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_39_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/30/d8b930ac2e0df51c8e7c5af12ef6822d.jpg","text":"TemporaryFile(/tmp/multipartBody8409170836614314019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_49_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/30/024763b023dc528a39f574a3e534a9a4.jpg","text":"TemporaryFile(/tmp/multipartBody5573204564995235214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520713825,"filename":"image_25112025_20_37_46_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076071","file1":"1397076068","file0":"1397076065","file4":"1397076073","file5":"1397076074","file3":"1397076072"},"map_files_photo_id_array":[{"photo_id":"1397076074","filename":"file5"},{"photo_id":"1397076071","filename":"file2"},{"photo_id":"1397076073","filename":"file4"},{"photo_id":"1397076068","filename":"file1"},{"photo_id":"1397076065","filename":"file0"},{"photo_id":"1397076072","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397076071":["hashtag1","hashtag2"]},{"1397076065":["hashtag1","hashtag2"]},{"1397076074":["hashtag1","hashtag2"]},{"1397076068":["hashtag1","hashtag2"]},{"1397076073":["hashtag1","hashtag2"]},{"1397076072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397076071, 1397076065, 1397076074, 1397076068, 1397076073, 1397076072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44863200187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:38:12.130681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/37/image_25112025_20_38_01_3652.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_04_2654.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_06_2676.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_10_3767.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_13_2646.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_15_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/37/image_25112025_20_38_01_3652.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_04_2654.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_06_2676.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_10_3767.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_13_2646.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_15_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076082","1397076076","1397076085","1397076079","1397076088","1397076075"],"photo_ids_order":["1397076075","1397076076","1397076079","1397076082","1397076085","1397076088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db50880618af76d8d6e4b231e0028e9d.jpg","text":"TemporaryFile(/tmp/multipartBody771805242800060753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_10_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/30/d9ba0b8cb3277b2a66589e2e730774fd.jpg","text":"TemporaryFile(/tmp/multipartBody443828177745185373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_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/30/994167dc9d63ba3c2f7c807aef8b6b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2414049185745474451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_13_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/30/9744b31d4d006ec2a8d6d9b50172a00f.jpg","text":"TemporaryFile(/tmp/multipartBody1049668768310770027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_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/30/3f6fae71a6b683bd43118dcadd4e01b6.jpg","text":"TemporaryFile(/tmp/multipartBody6759961035126630120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_15_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/30/8a574447e3a6e0144fc945ecf9791043.jpg","text":"TemporaryFile(/tmp/multipartBody8262945158917942269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520754007,"filename":"image_25112025_20_38_01_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076079","file1":"1397076076","file0":"1397076075","file4":"1397076085","file5":"1397076088","file3":"1397076082"},"map_files_photo_id_array":[{"photo_id":"1397076088","filename":"file5"},{"photo_id":"1397076079","filename":"file2"},{"photo_id":"1397076085","filename":"file4"},{"photo_id":"1397076076","filename":"file1"},{"photo_id":"1397076075","filename":"file0"},{"photo_id":"1397076082","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397076082":["hashtag1","hashtag2"]},{"1397076076":["hashtag1","hashtag2"]},{"1397076085":["hashtag1","hashtag2"]},{"1397076079":["hashtag1","hashtag2"]},{"1397076088":["hashtag1","hashtag2"]},{"1397076075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397076082, 1397076076, 1397076085, 1397076079, 1397076088, 1397076075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52572965621948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:39:03.042709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_45_9751.jpg', '/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_55_9783.jpg', '/home/pi/Desktop/images/30112025/16/01/image_30112025_16_02_04_9639.jpg', '/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_15_10673.jpg', '/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_25_9879.jpg', '/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_55_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_45_9751.jpg
/home/pi/Desktop/images/30112025/16/01/image_30112025_16_01_55_9783.jpg
/home/pi/Desktop/images/30112025/16/01/image_30112025_16_02_04_9639.jpg
/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_15_10673.jpg
/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_25_9879.jpg
/home/pi/Desktop/images/30112025/16/02/image_30112025_16_02_55_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076098","1397076102","1397076095","1397076097","1397076096","1397076105"],"photo_ids_order":["1397076095","1397076096","1397076097","1397076098","1397076102","1397076105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e45e862382ae5446a267db5b3c67963.jpg","text":"TemporaryFile(/tmp/multipartBody1251332368637127189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_02_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b40d101cfead645e43c0a66731a14121.jpg","text":"TemporaryFile(/tmp/multipartBody8802382686965967303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_02_25_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5925f17f17bb8fb62c2f641e03e1cd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4261754605298506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_01_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6925e0105b749c1cdff969fe478a8db6.jpg","text":"TemporaryFile(/tmp/multipartBody8361575966039127422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_02_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be681a7edd856fadc2dcf1c8899591d1.jpg","text":"TemporaryFile(/tmp/multipartBody6427339600093956129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_01_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/758fd22bd6ea979a0fcb7d36b090bcd0.jpg","text":"TemporaryFile(/tmp/multipartBody1855777234217483498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520803952,"filename":"image_30112025_16_02_55_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076097","file1":"1397076096","file0":"1397076095","file4":"1397076102","file5":"1397076105","file3":"1397076098"},"map_files_photo_id_array":[{"photo_id":"1397076105","filename":"file5"},{"photo_id":"1397076097","filename":"file2"},{"photo_id":"1397076102","filename":"file4"},{"photo_id":"1397076096","filename":"file1"},{"photo_id":"1397076095","filename":"file0"},{"photo_id":"1397076098","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076098":["hashtag1","hashtag2"]},{"1397076102":["hashtag1","hashtag2"]},{"1397076095":["hashtag1","hashtag2"]},{"1397076097":["hashtag1","hashtag2"]},{"1397076096":["hashtag1","hashtag2"]},{"1397076105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076098, 1397076102, 1397076095, 1397076097, 1397076096, 1397076105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.257882595062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:39:42.282210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/11/image_31102025_13_11_59_3553.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_04_2858.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_07_2732.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_11_3544.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_13_2650.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_17_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/11/image_31102025_13_11_59_3553.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_04_2858.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_07_2732.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_11_3544.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_13_2650.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_17_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076114","1397076116","1397076110","1397076112","1397076115","1397076117"],"photo_ids_order":["1397076110","1397076112","1397076114","1397076115","1397076116","1397076117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98f2723e6e8a6631e1d642fc40c88398.jpg","text":"TemporaryFile(/tmp/multipartBody2296558974824729494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_12_07_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/30/69243ab4ec6faef25bce248ce2e56a37.jpg","text":"TemporaryFile(/tmp/multipartBody7220021190098113244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_12_13_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/30/94b99dd523a6d47bb52193d1f349fb95.jpg","text":"TemporaryFile(/tmp/multipartBody2351636810780309009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_11_59_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/30/b5b10ba6ba0376eee27ea51e22d4b45d.jpg","text":"TemporaryFile(/tmp/multipartBody8178958349482546384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_12_04_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/223536fee3de21ff81c8a364991750dd.jpg","text":"TemporaryFile(/tmp/multipartBody666468808878519135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_12_11_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/30/a0dcff3601efda404e37fcedd3f2abea.jpg","text":"TemporaryFile(/tmp/multipartBody8232590421932462061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520843164,"filename":"image_31102025_13_12_17_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076114","file1":"1397076112","file0":"1397076110","file4":"1397076116","file5":"1397076117","file3":"1397076115"},"map_files_photo_id_array":[{"photo_id":"1397076117","filename":"file5"},{"photo_id":"1397076114","filename":"file2"},{"photo_id":"1397076116","filename":"file4"},{"photo_id":"1397076112","filename":"file1"},{"photo_id":"1397076110","filename":"file0"},{"photo_id":"1397076115","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076114":["hashtag1","hashtag2"]},{"1397076116":["hashtag1","hashtag2"]},{"1397076110":["hashtag1","hashtag2"]},{"1397076112":["hashtag1","hashtag2"]},{"1397076115":["hashtag1","hashtag2"]},{"1397076117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076114, 1397076116, 1397076110, 1397076112, 1397076115, 1397076117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92006039619446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:40:22.451395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_14_9651.jpg', '/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_25_10621.jpg', '/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_35_9778.jpg', '/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_55_10665.jpg', '/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_14_9731.jpg', '/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_35_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_14_9651.jpg
/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_25_10621.jpg
/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_35_9778.jpg
/home/pi/Desktop/images/30112025/16/03/image_30112025_16_03_55_10665.jpg
/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_14_9731.jpg
/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_35_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076129","1397076120","1397076134","1397076123","1397076132","1397076126"],"photo_ids_order":["1397076120","1397076123","1397076126","1397076129","1397076132","1397076134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8e5a619a8d1f2c80ee6465287f07878.jpg","text":"TemporaryFile(/tmp/multipartBody1121345510686638779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_03_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8b03b3f9cd0cabf66ad094f60d7034a.jpg","text":"TemporaryFile(/tmp/multipartBody3227493951793085831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_03_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb40f79e00279a55b1787933211b39ff.jpg","text":"TemporaryFile(/tmp/multipartBody4447731887440558792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_04_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38902a7538a32d68dba0a5a76d766baa.jpg","text":"TemporaryFile(/tmp/multipartBody2009103472898206635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_03_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5756578a79c7213cff2ac8f467922946.jpg","text":"TemporaryFile(/tmp/multipartBody6296564761988713047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_04_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b329572ae9b52dc750c44f7d04b43dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1579434846022840972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520883154,"filename":"image_30112025_16_03_35_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076126","file1":"1397076123","file0":"1397076120","file4":"1397076132","file5":"1397076134","file3":"1397076129"},"map_files_photo_id_array":[{"photo_id":"1397076134","filename":"file5"},{"photo_id":"1397076126","filename":"file2"},{"photo_id":"1397076132","filename":"file4"},{"photo_id":"1397076123","filename":"file1"},{"photo_id":"1397076120","filename":"file0"},{"photo_id":"1397076129","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076129":["hashtag1","hashtag2"]},{"1397076120":["hashtag1","hashtag2"]},{"1397076134":["hashtag1","hashtag2"]},{"1397076123":["hashtag1","hashtag2"]},{"1397076132":["hashtag1","hashtag2"]},{"1397076126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076129, 1397076120, 1397076134, 1397076123, 1397076132, 1397076126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.095266342163086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:41:03.328981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_44_9715.jpg', '/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_54_9756.jpg', '/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_14_10058.jpg', '/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_24_10651.jpg', '/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_34_9856.jpg', '/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_15_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_44_9715.jpg
/home/pi/Desktop/images/30112025/16/04/image_30112025_16_04_54_9756.jpg
/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_14_10058.jpg
/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_24_10651.jpg
/home/pi/Desktop/images/30112025/16/05/image_30112025_16_05_34_9856.jpg
/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_15_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076140","1397076137","1397076145","1397076139","1397076142","1397076138"],"photo_ids_order":["1397076137","1397076138","1397076139","1397076140","1397076142","1397076145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43db4d2e5d89943d5c1a1249bf9c52ac.jpg","text":"TemporaryFile(/tmp/multipartBody180133292091899622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_05_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62dddf16e52453f69f03245bbed931e7.jpg","text":"TemporaryFile(/tmp/multipartBody1917775047180105237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_04_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d460b9c1212c1f3b0837140656bdf2b.jpg","text":"TemporaryFile(/tmp/multipartBody6364206553697641723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_06_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35d44104aeff3c0089a124e4082d3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody7404682494721379536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_05_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e002615afec3a54ace95365903d1828b.jpg","text":"TemporaryFile(/tmp/multipartBody5449178502454622168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_05_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67d4de3bbe2d5af9eb4bf65c9a99c8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6235183712006888766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520924225,"filename":"image_30112025_16_04_54_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076139","file1":"1397076138","file0":"1397076137","file4":"1397076142","file5":"1397076145","file3":"1397076140"},"map_files_photo_id_array":[{"photo_id":"1397076145","filename":"file5"},{"photo_id":"1397076139","filename":"file2"},{"photo_id":"1397076142","filename":"file4"},{"photo_id":"1397076138","filename":"file1"},{"photo_id":"1397076137","filename":"file0"},{"photo_id":"1397076140","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076140":["hashtag1","hashtag2"]},{"1397076137":["hashtag1","hashtag2"]},{"1397076145":["hashtag1","hashtag2"]},{"1397076139":["hashtag1","hashtag2"]},{"1397076142":["hashtag1","hashtag2"]},{"1397076138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076140, 1397076137, 1397076145, 1397076139, 1397076142, 1397076138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22445750236511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:41:42.567292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/12/image_31102025_13_12_19_2566.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_22_2540.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_26_3818.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_28_2743.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_31_2867.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_34_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_19_2566.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_22_2540.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_26_3818.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_28_2743.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_31_2867.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_34_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":["1397076164","1397076167","1397076155","1397076163","1397076166","1397076165"],"photo_ids_order":["1397076155","1397076163","1397076164","1397076165","1397076166","1397076167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df0a7eea3a707feb24cf6edb9966f746.jpg","text":"TemporaryFile(/tmp/multipartBody4202026651156626933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_26_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/30/5152ed06918b230a9da1e7b00321923a.jpg","text":"TemporaryFile(/tmp/multipartBody3003817198894509279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ebbd9787af13a115b252a16df0d20410.jpg","text":"TemporaryFile(/tmp/multipartBody2428431968375825295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_19_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/30/d9eb3a6a1dec60a9d16e9ac9c4b63acf.jpg","text":"TemporaryFile(/tmp/multipartBody5599393665063711411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_22_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/30/af73aab1baeb828695b4206a506ae64d.jpg","text":"TemporaryFile(/tmp/multipartBody8076816424098888512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_31_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/30/6eb987a8aab5adf85985310d93a297b3.jpg","text":"TemporaryFile(/tmp/multipartBody4988006513902231929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764520963439,"filename":"image_31102025_13_12_28_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076164","file1":"1397076163","file0":"1397076155","file4":"1397076166","file5":"1397076167","file3":"1397076165"},"map_files_photo_id_array":[{"photo_id":"1397076167","filename":"file5"},{"photo_id":"1397076164","filename":"file2"},{"photo_id":"1397076166","filename":"file4"},{"photo_id":"1397076163","filename":"file1"},{"photo_id":"1397076155","filename":"file0"},{"photo_id":"1397076165","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076164":["hashtag1","hashtag2"]},{"1397076167":["hashtag1","hashtag2"]},{"1397076155":["hashtag1","hashtag2"]},{"1397076163":["hashtag1","hashtag2"]},{"1397076166":["hashtag1","hashtag2"]},{"1397076165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076164, 1397076167, 1397076155, 1397076163, 1397076166, 1397076165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13571834564209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:42:22.750204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_24_9569.jpg', '/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_45_10759.jpg', '/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_54_9734.jpg', '/home/pi/Desktop/images/30112025/16/06/image_30112025_16_07_04_9676.jpg', '/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_15_10600.jpg', '/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_24_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_24_9569.jpg
/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_45_10759.jpg
/home/pi/Desktop/images/30112025/16/06/image_30112025_16_06_54_9734.jpg
/home/pi/Desktop/images/30112025/16/06/image_30112025_16_07_04_9676.jpg
/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_15_10600.jpg
/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_24_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076179","1397076181","1397076171","1397076174","1397076183","1397076177"],"photo_ids_order":["1397076171","1397076174","1397076177","1397076179","1397076181","1397076183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1cb0aef6a4a3e632b2ebd4b88dff6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1791225385661106646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_07_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfeec62dbe2283e1f86f29e0ff1513bc.jpg","text":"TemporaryFile(/tmp/multipartBody7501787506835509092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_07_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc5a6d35fbd07e3fbd4a6d8ee80481bd.jpg","text":"TemporaryFile(/tmp/multipartBody113310742374247808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_06_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e91bb823d89a2c650238413e87a9d459.jpg","text":"TemporaryFile(/tmp/multipartBody5935665284171649029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_06_45_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb4a32da81e42aa4c601afa8afbaca7e.jpg","text":"TemporaryFile(/tmp/multipartBody4774201366073535344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_07_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1093ede3ef0a7d9e2a5b418daf41efc.jpg","text":"TemporaryFile(/tmp/multipartBody8431621040547024266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521003460,"filename":"image_30112025_16_06_54_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076177","file1":"1397076174","file0":"1397076171","file4":"1397076181","file5":"1397076183","file3":"1397076179"},"map_files_photo_id_array":[{"photo_id":"1397076183","filename":"file5"},{"photo_id":"1397076177","filename":"file2"},{"photo_id":"1397076181","filename":"file4"},{"photo_id":"1397076174","filename":"file1"},{"photo_id":"1397076171","filename":"file0"},{"photo_id":"1397076179","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076179":["hashtag1","hashtag2"]},{"1397076181":["hashtag1","hashtag2"]},{"1397076171":["hashtag1","hashtag2"]},{"1397076174":["hashtag1","hashtag2"]},{"1397076183":["hashtag1","hashtag2"]},{"1397076177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076179, 1397076181, 1397076171, 1397076174, 1397076183, 1397076177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31087851524353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:43:02.493865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_44_9609.jpg', '/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_54_10632.jpg', '/home/pi/Desktop/images/30112025/16/07/image_30112025_16_08_04_9182.jpg', '/home/pi/Desktop/images/30112025/16/08/image_30112025_16_08_14_10014.jpg', '/home/pi/Desktop/images/30112025/16/08/image_30112025_16_08_34_9584.jpg', '/home/pi/Desktop/images/30112025/16/08/image_30112025_16_09_04_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_44_9609.jpg
/home/pi/Desktop/images/30112025/16/07/image_30112025_16_07_54_10632.jpg
/home/pi/Desktop/images/30112025/16/07/image_30112025_16_08_04_9182.jpg
/home/pi/Desktop/images/30112025/16/08/image_30112025_16_08_14_10014.jpg
/home/pi/Desktop/images/30112025/16/08/image_30112025_16_08_34_9584.jpg
/home/pi/Desktop/images/30112025/16/08/image_30112025_16_09_04_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076185","1397076188","1397076193","1397076190","1397076187","1397076186"],"photo_ids_order":["1397076185","1397076186","1397076187","1397076188","1397076190","1397076193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7780d0acacb1a71253884ec09e60745.jpg","text":"TemporaryFile(/tmp/multipartBody2048235818825709404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_07_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2df2c69d323c2cf9ab0b6a2dbf9265f6.jpg","text":"TemporaryFile(/tmp/multipartBody433878002437281156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_08_14_10014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05bc22cd572a17fdaa69d2a9895af8e3.jpg","text":"TemporaryFile(/tmp/multipartBody5054019736506431492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_09_04_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0cc973e75d7ff3429d21bb7e470f60f.jpg","text":"TemporaryFile(/tmp/multipartBody6945833495522812858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_08_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ca9b0551ba826983f89a3fd7cfd2523.jpg","text":"TemporaryFile(/tmp/multipartBody8778880855937323503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_08_04_9182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/383252a788ea8bc07cb77ecd43bbbd08.jpg","text":"TemporaryFile(/tmp/multipartBody7611321541084952857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521043239,"filename":"image_30112025_16_07_54_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076187","file1":"1397076186","file0":"1397076185","file4":"1397076190","file5":"1397076193","file3":"1397076188"},"map_files_photo_id_array":[{"photo_id":"1397076193","filename":"file5"},{"photo_id":"1397076187","filename":"file2"},{"photo_id":"1397076190","filename":"file4"},{"photo_id":"1397076186","filename":"file1"},{"photo_id":"1397076185","filename":"file0"},{"photo_id":"1397076188","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076185":["hashtag1","hashtag2"]},{"1397076188":["hashtag1","hashtag2"]},{"1397076193":["hashtag1","hashtag2"]},{"1397076190":["hashtag1","hashtag2"]},{"1397076187":["hashtag1","hashtag2"]},{"1397076186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076185, 1397076188, 1397076193, 1397076190, 1397076187, 1397076186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.840513706207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:43:42.003396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/12/image_31102025_13_12_38_3781.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_40_2566.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_43_2680.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_46_2769.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_49_3573.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_52_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_38_3781.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_40_2566.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_43_2680.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_46_2769.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_49_3573.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_52_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076207","1397076203","1397076206","1397076208","1397076205","1397076204"],"photo_ids_order":["1397076203","1397076204","1397076205","1397076206","1397076207","1397076208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c41e8c194e2aafaafc148bfe85e327e.jpg","text":"TemporaryFile(/tmp/multipartBody1937551283364627587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_49_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/30/da20a408cba402d907ef0b3aaa94ce5f.jpg","text":"TemporaryFile(/tmp/multipartBody3978258111685488720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_38_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/30/2b51ff321d7b91270f081bdd43fd9e94.jpg","text":"TemporaryFile(/tmp/multipartBody6465519594707940269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_46_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/139454ebac8f4b2c1f7269c6da758996.jpg","text":"TemporaryFile(/tmp/multipartBody2423738128630928070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_52_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d42e622bbcd680858d471c53d809ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3122908605095732757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_43_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/30/57be67e0d08da028ab0e7630bd5956bf.jpg","text":"TemporaryFile(/tmp/multipartBody5427631878067409504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521082909,"filename":"image_31102025_13_12_40_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076205","file1":"1397076204","file0":"1397076203","file4":"1397076207","file5":"1397076208","file3":"1397076206"},"map_files_photo_id_array":[{"photo_id":"1397076208","filename":"file5"},{"photo_id":"1397076205","filename":"file2"},{"photo_id":"1397076207","filename":"file4"},{"photo_id":"1397076204","filename":"file1"},{"photo_id":"1397076203","filename":"file0"},{"photo_id":"1397076206","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076207":["hashtag1","hashtag2"]},{"1397076203":["hashtag1","hashtag2"]},{"1397076206":["hashtag1","hashtag2"]},{"1397076208":["hashtag1","hashtag2"]},{"1397076205":["hashtag1","hashtag2"]},{"1397076204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076207, 1397076203, 1397076206, 1397076208, 1397076205, 1397076204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42749881744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:44:22.278031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_24_9729.jpg', '/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_44_9817.jpg', '/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_54_9709.jpg', '/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_15_10056.jpg', '/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_26_10848.jpg', '/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_36_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_24_9729.jpg
/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_44_9817.jpg
/home/pi/Desktop/images/30112025/16/09/image_30112025_16_09_54_9709.jpg
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_15_10056.jpg
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_26_10848.jpg
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_36_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076236","1397076221","1397076215","1397076218","1397076212","1397076225"],"photo_ids_order":["1397076212","1397076215","1397076218","1397076221","1397076225","1397076236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8288e58538fa7a36e57284e0e286b05b.jpg","text":"TemporaryFile(/tmp/multipartBody1922028261542806458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_10_36_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e1080b924f1dfb751933e9e8ef64296.jpg","text":"TemporaryFile(/tmp/multipartBody6135136580779516519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_10_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3eb23e98f4712f1c1f0a069acb586b38.jpg","text":"TemporaryFile(/tmp/multipartBody3729886033131762238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_09_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20eaece7e586e25630cd024e925cb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody5645866382932159720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_09_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/973d1b63ee55959666598b3774f01c86.jpg","text":"TemporaryFile(/tmp/multipartBody6712727149684890855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_09_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae44f6242970ebfd2f029677b2bf8bec.jpg","text":"TemporaryFile(/tmp/multipartBody5959670691573854762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521122981,"filename":"image_30112025_16_10_26_10848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076218","file1":"1397076215","file0":"1397076212","file4":"1397076225","file5":"1397076236","file3":"1397076221"},"map_files_photo_id_array":[{"photo_id":"1397076236","filename":"file5"},{"photo_id":"1397076218","filename":"file2"},{"photo_id":"1397076225","filename":"file4"},{"photo_id":"1397076215","filename":"file1"},{"photo_id":"1397076212","filename":"file0"},{"photo_id":"1397076221","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076236":["hashtag1","hashtag2"]},{"1397076221":["hashtag1","hashtag2"]},{"1397076215":["hashtag1","hashtag2"]},{"1397076218":["hashtag1","hashtag2"]},{"1397076212":["hashtag1","hashtag2"]},{"1397076225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076236, 1397076221, 1397076215, 1397076218, 1397076212, 1397076225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60742139816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:45:03.048824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:45:13.942461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_22_7078.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_26_3075.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_27_1648.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_29_1508.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_30_1723.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_34_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_22_7078.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_26_3075.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_27_1648.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_29_1508.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_30_1723.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_34_3617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076251","1397076245","1397076254","1397076248","1397076257","1397076243"],"photo_ids_order":["1397076243","1397076245","1397076248","1397076251","1397076254","1397076257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea6579bdc808382f7ce2e02669acc4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6087748657767896869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_29_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80b63a46f35d0f8ca8e2befd1a2326dd.jpg","text":"TemporaryFile(/tmp/multipartBody8101927644611027755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_26_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86d89292da58e300b0c027c60f36d647.jpg","text":"TemporaryFile(/tmp/multipartBody3261126000004350314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_30_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19f26dedd2a76a1c4faecb121d69c6af.jpg","text":"TemporaryFile(/tmp/multipartBody2514150442765757165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_27_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/30/44afcdc739140c866354b609438a7bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4957898584873943539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29ad77af77280ff971ae20f497bcb9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4240969809941729835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521175948,"filename":"image_25112025_20_38_22_7078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076248","file1":"1397076245","file0":"1397076243","file4":"1397076254","file5":"1397076257","file3":"1397076251"},"map_files_photo_id_array":[{"photo_id":"1397076257","filename":"file5"},{"photo_id":"1397076248","filename":"file2"},{"photo_id":"1397076254","filename":"file4"},{"photo_id":"1397076245","filename":"file1"},{"photo_id":"1397076243","filename":"file0"},{"photo_id":"1397076251","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397076251":["hashtag1","hashtag2"]},{"1397076245":["hashtag1","hashtag2"]},{"1397076254":["hashtag1","hashtag2"]},{"1397076248":["hashtag1","hashtag2"]},{"1397076257":["hashtag1","hashtag2"]},{"1397076243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397076251, 1397076245, 1397076254, 1397076248, 1397076257, 1397076243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83866548538208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:46:03.011394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_45_9654.jpg', '/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_56_10412.jpg', '/home/pi/Desktop/images/30112025/16/10/image_30112025_16_11_05_9679.jpg', '/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_26_9607.jpg', '/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_35_9805.jpg', '/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_45_10168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_45_9654.jpg
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_10_56_10412.jpg
/home/pi/Desktop/images/30112025/16/10/image_30112025_16_11_05_9679.jpg
/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_26_9607.jpg
/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_35_9805.jpg
/home/pi/Desktop/images/30112025/16/11/image_30112025_16_11_45_10168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076263","1397076260","1397076268","1397076262","1397076265","1397076270"],"photo_ids_order":["1397076260","1397076262","1397076263","1397076265","1397076268","1397076270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de01b1de94144df4e3edbd826b63a23d.jpg","text":"TemporaryFile(/tmp/multipartBody407695132432317820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_11_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0c47af53867d56a17a08ea612c2ae84.jpg","text":"TemporaryFile(/tmp/multipartBody5101160351853473872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_10_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0102d69ab8b5ded3cb723711accbcfe7.jpg","text":"TemporaryFile(/tmp/multipartBody8040175610663326155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_11_35_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd5f1d0ecd3e4028099bf98541d53a98.jpg","text":"TemporaryFile(/tmp/multipartBody7248974060219979194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_10_56_10412.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/262a33724a4a9a7280ea07e6d6179e62.jpg","text":"TemporaryFile(/tmp/multipartBody9179519331674275842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_11_26_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51cb7a25a758ca1f495f4a5b5560154a.jpg","text":"TemporaryFile(/tmp/multipartBody771397834506764142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521223701,"filename":"image_30112025_16_11_45_10168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076263","file1":"1397076262","file0":"1397076260","file4":"1397076268","file5":"1397076270","file3":"1397076265"},"map_files_photo_id_array":[{"photo_id":"1397076270","filename":"file5"},{"photo_id":"1397076263","filename":"file2"},{"photo_id":"1397076268","filename":"file4"},{"photo_id":"1397076262","filename":"file1"},{"photo_id":"1397076260","filename":"file0"},{"photo_id":"1397076265","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076263":["hashtag1","hashtag2"]},{"1397076260":["hashtag1","hashtag2"]},{"1397076268":["hashtag1","hashtag2"]},{"1397076262":["hashtag1","hashtag2"]},{"1397076265":["hashtag1","hashtag2"]},{"1397076270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076263, 1397076260, 1397076268, 1397076262, 1397076265, 1397076270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.239699602127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:46:42.697556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/12/image_31102025_13_12_56_3553.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_58_2591.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_01_2633.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_04_3657.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_07_2725.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_11_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_56_3553.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_58_2591.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_01_2633.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_04_3657.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_07_2725.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_11_3570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8594074249267578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:47:02.673601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/11/image_30112025_16_12_05_9720.jpg', '/home/pi/Desktop/images/30112025/16/12/image_30112025_16_12_16_10786.jpg', '/home/pi/Desktop/images/30112025/16/13/image_30112025_16_13_15_9915.jpg', '/home/pi/Desktop/images/30112025/16/13/image_30112025_16_13_45_9658.jpg', '/home/pi/Desktop/images/30112025/16/13/image_30112025_16_14_05_9746.jpg', '/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_26_10262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/11/image_30112025_16_12_05_9720.jpg
/home/pi/Desktop/images/30112025/16/12/image_30112025_16_12_16_10786.jpg
/home/pi/Desktop/images/30112025/16/13/image_30112025_16_13_15_9915.jpg
/home/pi/Desktop/images/30112025/16/13/image_30112025_16_13_45_9658.jpg
/home/pi/Desktop/images/30112025/16/13/image_30112025_16_14_05_9746.jpg
/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_26_10262.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076290","1397076293","1397076287","1397076286","1397076285","1397076288"],"photo_ids_order":["1397076285","1397076286","1397076287","1397076288","1397076290","1397076293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6943cf4669045dccdd7ed44d5a7f66e.jpg","text":"TemporaryFile(/tmp/multipartBody1046590229940914583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_14_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fcfa45696488696fe266ad3b21a3a0b.jpg","text":"TemporaryFile(/tmp/multipartBody28080187788329955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_14_26_10262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeb1106cb0fadb9aadf56de2a1d0374b.jpg","text":"TemporaryFile(/tmp/multipartBody5043057559644439368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_13_15_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccab71651acd36ca73bbdc0e1313c08b.jpg","text":"TemporaryFile(/tmp/multipartBody4150380608703641053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_12_16_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72e70cda6181fd1d93175a4e8bf8997d.jpg","text":"TemporaryFile(/tmp/multipartBody8104862138226883012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_12_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/305181ae1831c164d152a0aa25a1ad91.jpg","text":"TemporaryFile(/tmp/multipartBody511134348228832891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521283428,"filename":"image_30112025_16_13_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076287","file1":"1397076286","file0":"1397076285","file4":"1397076290","file5":"1397076293","file3":"1397076288"},"map_files_photo_id_array":[{"photo_id":"1397076293","filename":"file5"},{"photo_id":"1397076287","filename":"file2"},{"photo_id":"1397076290","filename":"file4"},{"photo_id":"1397076286","filename":"file1"},{"photo_id":"1397076285","filename":"file0"},{"photo_id":"1397076288","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076290":["hashtag1","hashtag2"]},{"1397076293":["hashtag1","hashtag2"]},{"1397076287":["hashtag1","hashtag2"]},{"1397076286":["hashtag1","hashtag2"]},{"1397076285":["hashtag1","hashtag2"]},{"1397076288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076290, 1397076293, 1397076287, 1397076286, 1397076285, 1397076288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541810035705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:47:41.827187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/12/image_31102025_13_12_56_3553.jpg', '/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_58_2591.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_01_2633.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_04_3657.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_07_2725.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_11_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_56_3553.jpg
/home/pi/Desktop/images/31102025/13/12/image_31102025_13_12_58_2591.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_01_2633.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_04_3657.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_07_2725.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_11_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076312","1397076314","1397076311","1397076313","1397076301","1397076315"],"photo_ids_order":["1397076301","1397076311","1397076312","1397076313","1397076314","1397076315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf4fbdfbc0a63996f0eae124be3aa199.jpg","text":"TemporaryFile(/tmp/multipartBody6938739385591460265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_13_01_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/30/fa6b63570ba6155258a4208ec2b4531f.jpg","text":"TemporaryFile(/tmp/multipartBody5038445526568026376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_13_07_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/669a9a81530da5a2421b7d175f205ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2137784349837504385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_12_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/30/00b5e07dc456988e4e41d33ee1fd9a64.jpg","text":"TemporaryFile(/tmp/multipartBody2162106171607219198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_13_04_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/30/b660e9bc16a979a99bf5ce18a7ca2e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8215994149923237815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_12_56_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/30/1fd3db8245d8b1a8d42d8dafee13becc.jpg","text":"TemporaryFile(/tmp/multipartBody5343110046577557453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521322565,"filename":"image_31102025_13_13_11_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076312","file1":"1397076311","file0":"1397076301","file4":"1397076314","file5":"1397076315","file3":"1397076313"},"map_files_photo_id_array":[{"photo_id":"1397076315","filename":"file5"},{"photo_id":"1397076312","filename":"file2"},{"photo_id":"1397076314","filename":"file4"},{"photo_id":"1397076311","filename":"file1"},{"photo_id":"1397076301","filename":"file0"},{"photo_id":"1397076313","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076312":["hashtag1","hashtag2"]},{"1397076314":["hashtag1","hashtag2"]},{"1397076311":["hashtag1","hashtag2"]},{"1397076313":["hashtag1","hashtag2"]},{"1397076301":["hashtag1","hashtag2"]},{"1397076315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076312, 1397076314, 1397076311, 1397076313, 1397076301, 1397076315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.391876220703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:48:22.010942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_36_9775.jpg', '/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_46_10002.jpg', '/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_56_10075.jpg', '/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_14_10055.jpg', '/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_25_10933.jpg', '/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_36_9775.jpg
/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_46_10002.jpg
/home/pi/Desktop/images/30112025/16/14/image_30112025_16_14_56_10075.jpg
/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_14_10055.jpg
/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_25_10933.jpg
/home/pi/Desktop/images/30112025/16/15/image_30112025_16_15_55_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076327","1397076332","1397076329","1397076317","1397076325","1397076321"],"photo_ids_order":["1397076317","1397076321","1397076325","1397076327","1397076329","1397076332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2159a9490c78603ca3a30824d50ec685.jpg","text":"TemporaryFile(/tmp/multipartBody2095486749574908605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_15_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/803996c76b1248b127a0f351a1ef40e3.jpg","text":"TemporaryFile(/tmp/multipartBody6998283430148801074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_15_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc51cb1082843a0ec93c1c3db89ed9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2110193671046143236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_15_25_10933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2054643b07d29b82f738b3cd6772b5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8150912437063276751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_14_36_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ec670bceb2e2bcc5abcc24b30871a38.jpg","text":"TemporaryFile(/tmp/multipartBody6041021739592436260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_14_56_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/30/2ad711c6e684c3e3c54725500f650dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4513369685916429417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521362728,"filename":"image_30112025_16_14_46_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076325","file1":"1397076321","file0":"1397076317","file4":"1397076329","file5":"1397076332","file3":"1397076327"},"map_files_photo_id_array":[{"photo_id":"1397076332","filename":"file5"},{"photo_id":"1397076325","filename":"file2"},{"photo_id":"1397076329","filename":"file4"},{"photo_id":"1397076321","filename":"file1"},{"photo_id":"1397076317","filename":"file0"},{"photo_id":"1397076327","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076327":["hashtag1","hashtag2"]},{"1397076332":["hashtag1","hashtag2"]},{"1397076329":["hashtag1","hashtag2"]},{"1397076317":["hashtag1","hashtag2"]},{"1397076325":["hashtag1","hashtag2"]},{"1397076321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076327, 1397076332, 1397076329, 1397076317, 1397076325, 1397076321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7424201965332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:49:02.766259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/15/image_30112025_16_16_05_9658.jpg', '/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_15_9823.jpg', '/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_24_9686.jpg', '/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_35_10455.jpg', '/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_54_9774.jpg', '/home/pi/Desktop/images/30112025/16/16/image_30112025_16_17_05_10862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/15/image_30112025_16_16_05_9658.jpg
/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_15_9823.jpg
/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_24_9686.jpg
/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_35_10455.jpg
/home/pi/Desktop/images/30112025/16/16/image_30112025_16_16_54_9774.jpg
/home/pi/Desktop/images/30112025/16/16/image_30112025_16_17_05_10862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076344","1397076335","1397076338","1397076337","1397076340","1397076336"],"photo_ids_order":["1397076335","1397076336","1397076337","1397076338","1397076340","1397076344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42a39ba0eaedf6894204b4cf16e5cc41.jpg","text":"TemporaryFile(/tmp/multipartBody7337564483246305883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_17_05_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fac7fb8b3aa7dbcda7efb064d194a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4955170714772451132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_16_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2ad84d56aceb6d6b5f3b46534024afc.jpg","text":"TemporaryFile(/tmp/multipartBody2098371240752655557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_16_35_10455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3067bfb4d3dfc7040b7cb7f64e81bf21.jpg","text":"TemporaryFile(/tmp/multipartBody407669209055275731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_16_24_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f27f26ef4465e7bba3ba598723d55bdf.jpg","text":"TemporaryFile(/tmp/multipartBody71247161239851419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_16_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d860fadc20e07db8145289f1f340780.jpg","text":"TemporaryFile(/tmp/multipartBody2740517836768102046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521403640,"filename":"image_30112025_16_16_15_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076337","file1":"1397076336","file0":"1397076335","file4":"1397076340","file5":"1397076344","file3":"1397076338"},"map_files_photo_id_array":[{"photo_id":"1397076344","filename":"file5"},{"photo_id":"1397076337","filename":"file2"},{"photo_id":"1397076340","filename":"file4"},{"photo_id":"1397076336","filename":"file1"},{"photo_id":"1397076335","filename":"file0"},{"photo_id":"1397076338","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076344":["hashtag1","hashtag2"]},{"1397076335":["hashtag1","hashtag2"]},{"1397076338":["hashtag1","hashtag2"]},{"1397076337":["hashtag1","hashtag2"]},{"1397076340":["hashtag1","hashtag2"]},{"1397076336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076344, 1397076335, 1397076338, 1397076337, 1397076340, 1397076336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72601890563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:49:42.210596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/13/image_31102025_13_13_13_2609.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_16_2773.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_19_2696.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_25_2709.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_28_2723.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_37_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_13_2609.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_16_2773.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_19_2696.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_25_2709.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_28_2723.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_37_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076353","1397076356","1397076355","1397076358","1397076352","1397076354"],"photo_ids_order":["1397076352","1397076353","1397076354","1397076355","1397076356","1397076358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f47b1d9177c40a86d51da7906b529f0.jpg","text":"TemporaryFile(/tmp/multipartBody6713110514519512720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_16_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/30/3b601bc83a097e30391a52a7e3afd68b.jpg","text":"TemporaryFile(/tmp/multipartBody4199553464293507703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_28_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/30/1fe48f03bace23e896f0b814ddec9de6.jpg","text":"TemporaryFile(/tmp/multipartBody2483254389915072567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_25_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/30/939a64c66a08085bd4a9b6b72fa92ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8627820135409180945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_37_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/30/8159db274bbd3de5c042b1b0c6752461.jpg","text":"TemporaryFile(/tmp/multipartBody8422342140104217771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_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/30/ef5a6e94705427004c00fbb81b2269c8.jpg","text":"TemporaryFile(/tmp/multipartBody3822583630779383540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521443102,"filename":"image_31102025_13_13_19_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076354","file1":"1397076353","file0":"1397076352","file4":"1397076356","file5":"1397076358","file3":"1397076355"},"map_files_photo_id_array":[{"photo_id":"1397076358","filename":"file5"},{"photo_id":"1397076354","filename":"file2"},{"photo_id":"1397076356","filename":"file4"},{"photo_id":"1397076353","filename":"file1"},{"photo_id":"1397076352","filename":"file0"},{"photo_id":"1397076355","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076353":["hashtag1","hashtag2"]},{"1397076356":["hashtag1","hashtag2"]},{"1397076355":["hashtag1","hashtag2"]},{"1397076358":["hashtag1","hashtag2"]},{"1397076352":["hashtag1","hashtag2"]},{"1397076354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076353, 1397076356, 1397076355, 1397076358, 1397076352, 1397076354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70657420158386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:50:22.356193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_15_9713.jpg', '/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_25_9700.jpg', '/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_35_10477.jpg', '/home/pi/Desktop/images/30112025/16/17/image_30112025_16_18_05_10662.jpg', '/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_15_9696.jpg', '/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_24_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_15_9713.jpg
/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_25_9700.jpg
/home/pi/Desktop/images/30112025/16/17/image_30112025_16_17_35_10477.jpg
/home/pi/Desktop/images/30112025/16/17/image_30112025_16_18_05_10662.jpg
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_15_9696.jpg
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_24_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076367","1397076361","1397076370","1397076364","1397076372","1397076375"],"photo_ids_order":["1397076361","1397076364","1397076367","1397076370","1397076372","1397076375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f234837931d31bb181061473bd6c6b76.jpg","text":"TemporaryFile(/tmp/multipartBody4690377615271083955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_17_35_10477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c672eac051812ca234fac8f6de2c0c2.jpg","text":"TemporaryFile(/tmp/multipartBody4793448370634098789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_17_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a53973e1be1a42d59da65181ee09c8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6595335642206427771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_18_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3137fad75ee9b0f61b94c178c6b7fef6.jpg","text":"TemporaryFile(/tmp/multipartBody3793426924235317467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_17_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a452db2d0d05691c0f501f07f01d899e.jpg","text":"TemporaryFile(/tmp/multipartBody982814798130480868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_18_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5936a2dd5cdec02c3432e99d5ff1519.jpg","text":"TemporaryFile(/tmp/multipartBody5560076288638612663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521483114,"filename":"image_30112025_16_18_24_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076367","file1":"1397076364","file0":"1397076361","file4":"1397076372","file5":"1397076375","file3":"1397076370"},"map_files_photo_id_array":[{"photo_id":"1397076375","filename":"file5"},{"photo_id":"1397076367","filename":"file2"},{"photo_id":"1397076372","filename":"file4"},{"photo_id":"1397076364","filename":"file1"},{"photo_id":"1397076361","filename":"file0"},{"photo_id":"1397076370","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076367":["hashtag1","hashtag2"]},{"1397076361":["hashtag1","hashtag2"]},{"1397076370":["hashtag1","hashtag2"]},{"1397076364":["hashtag1","hashtag2"]},{"1397076372":["hashtag1","hashtag2"]},{"1397076375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076367, 1397076361, 1397076370, 1397076364, 1397076372, 1397076375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.383655309677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:51:03.222082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_35_10730.jpg', '/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_45_9715.jpg', '/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_55_9716.jpg', '/home/pi/Desktop/images/30112025/16/18/image_30112025_16_19_04_9760.jpg', '/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_15_10640.jpg', '/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_28_12750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_35_10730.jpg
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_45_9715.jpg
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_18_55_9716.jpg
/home/pi/Desktop/images/30112025/16/18/image_30112025_16_19_04_9760.jpg
/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_15_10640.jpg
/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_28_12750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076389","1397076391","1397076388","1397076396","1397076390","1397076393"],"photo_ids_order":["1397076388","1397076389","1397076390","1397076391","1397076393","1397076396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/948d4461c4ac6a1ecf67f5fcc1c811ac.jpg","text":"TemporaryFile(/tmp/multipartBody2170199623108349501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_18_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dad6ce684a264b9120446fabbe7ce6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8870976451611098482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_19_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea758a9b48a578cee759d06f998096d3.jpg","text":"TemporaryFile(/tmp/multipartBody4110260817754732863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_18_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/882f11cce839c766691cd080f8c7c683.jpg","text":"TemporaryFile(/tmp/multipartBody7999696705957680749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_19_28_12750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d337a56678b4f8ffebcea87231478f65.jpg","text":"TemporaryFile(/tmp/multipartBody3030624956498581510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_18_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42e11dd725ecc01b1546a1eb08d40684.jpg","text":"TemporaryFile(/tmp/multipartBody7107389509903545897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521523942,"filename":"image_30112025_16_19_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076390","file1":"1397076389","file0":"1397076388","file4":"1397076393","file5":"1397076396","file3":"1397076391"},"map_files_photo_id_array":[{"photo_id":"1397076396","filename":"file5"},{"photo_id":"1397076390","filename":"file2"},{"photo_id":"1397076393","filename":"file4"},{"photo_id":"1397076389","filename":"file1"},{"photo_id":"1397076388","filename":"file0"},{"photo_id":"1397076391","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076389":["hashtag1","hashtag2"]},{"1397076391":["hashtag1","hashtag2"]},{"1397076388":["hashtag1","hashtag2"]},{"1397076396":["hashtag1","hashtag2"]},{"1397076390":["hashtag1","hashtag2"]},{"1397076393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076389, 1397076391, 1397076388, 1397076396, 1397076390, 1397076393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10690402984619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:51:42.650222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/13/image_31102025_13_13_40_2544.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_43_3632.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_46_2541.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_50_3721.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_52_2567.jpg', '/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_55_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/13/13/image_31102025_13_13_40_2544.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_43_3632.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_46_2541.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_50_3721.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_52_2567.jpg
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_55_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076405","1397076408","1397076404","1397076403","1397076406","1397076409"],"photo_ids_order":["1397076403","1397076404","1397076405","1397076406","1397076408","1397076409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed8c6beb2b5d9cf79a905a480b4f1b11.jpg","text":"TemporaryFile(/tmp/multipartBody3685738350219946327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_46_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/30/2822923047a6a6f9ff0f755f5a1c7607.jpg","text":"TemporaryFile(/tmp/multipartBody3596571511054537327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_52_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc4dccc61b66c4bd2b06ca2dc6977ead.jpg","text":"TemporaryFile(/tmp/multipartBody2505258534758122523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_43_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/30/6dfa8f0d6b8f4b11be2824f30f07d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7517723650333238744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_40_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/30/edca35cbd95e2fe4a7fe8bdd48eab834.jpg","text":"TemporaryFile(/tmp/multipartBody8612048408700572968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_50_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/30/e18501f6a0aa7a3055401f275a52dbf3.jpg","text":"TemporaryFile(/tmp/multipartBody7408870465344454662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521563580,"filename":"image_31102025_13_13_55_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076405","file1":"1397076404","file0":"1397076403","file4":"1397076408","file5":"1397076409","file3":"1397076406"},"map_files_photo_id_array":[{"photo_id":"1397076409","filename":"file5"},{"photo_id":"1397076405","filename":"file2"},{"photo_id":"1397076408","filename":"file4"},{"photo_id":"1397076404","filename":"file1"},{"photo_id":"1397076403","filename":"file0"},{"photo_id":"1397076406","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076405":["hashtag1","hashtag2"]},{"1397076408":["hashtag1","hashtag2"]},{"1397076404":["hashtag1","hashtag2"]},{"1397076403":["hashtag1","hashtag2"]},{"1397076406":["hashtag1","hashtag2"]},{"1397076409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076405, 1397076408, 1397076404, 1397076403, 1397076406, 1397076409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44042468070984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:52:22.863454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_34_6584.jpg', '/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_14_10059.jpg', '/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_25_10585.jpg', '/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_35_9705.jpg', '/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_44_9657.jpg', '/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_55_10829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/19/image_30112025_16_19_34_6584.jpg
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_14_10059.jpg
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_25_10585.jpg
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_35_9705.jpg
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_44_9657.jpg
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_20_55_10829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076425","1397076416","1397076419","1397076412","1397076429","1397076423"],"photo_ids_order":["1397076412","1397076416","1397076419","1397076423","1397076425","1397076429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66724986d0f980bd70368f0c239c89d0.jpg","text":"TemporaryFile(/tmp/multipartBody3346852487159579998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_20_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/279bb9107cd19e6fc43b2bbf78408e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2674004988379226980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_20_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6afdbc36c574f8f2b896c2a2300df4ae.jpg","text":"TemporaryFile(/tmp/multipartBody6815155749027849464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_20_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21991ec7b24d3ddaf3bdb4bbd3783f35.jpg","text":"TemporaryFile(/tmp/multipartBody8282734110128107743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_19_34_6584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7360ff31d1ef8e23804db8a44487342.jpg","text":"TemporaryFile(/tmp/multipartBody1037729766894415445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_20_55_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/404b1466ef2a893a70b1e9234dff0704.jpg","text":"TemporaryFile(/tmp/multipartBody384595211375363161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521603587,"filename":"image_30112025_16_20_35_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076419","file1":"1397076416","file0":"1397076412","file4":"1397076425","file5":"1397076429","file3":"1397076423"},"map_files_photo_id_array":[{"photo_id":"1397076429","filename":"file5"},{"photo_id":"1397076419","filename":"file2"},{"photo_id":"1397076425","filename":"file4"},{"photo_id":"1397076416","filename":"file1"},{"photo_id":"1397076412","filename":"file0"},{"photo_id":"1397076423","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076425":["hashtag1","hashtag2"]},{"1397076416":["hashtag1","hashtag2"]},{"1397076419":["hashtag1","hashtag2"]},{"1397076412":["hashtag1","hashtag2"]},{"1397076429":["hashtag1","hashtag2"]},{"1397076423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076425, 1397076416, 1397076419, 1397076412, 1397076429, 1397076423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08154034614563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:53:02.577212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/20/image_30112025_16_21_05_9703.jpg', '/home/pi/Desktop/images/30112025/16/21/image_30112025_16_21_54_9600.jpg', '/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_25_9680.jpg', '/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_35_10816.jpg', '/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_55_9698.jpg', '/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_15_10888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/20/image_30112025_16_21_05_9703.jpg
/home/pi/Desktop/images/30112025/16/21/image_30112025_16_21_54_9600.jpg
/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_25_9680.jpg
/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_35_10816.jpg
/home/pi/Desktop/images/30112025/16/22/image_30112025_16_22_55_9698.jpg
/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_15_10888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076434","1397076436","1397076433","1397076441","1397076435","1397076438"],"photo_ids_order":["1397076433","1397076434","1397076435","1397076436","1397076438","1397076441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/348b3806b9a95479486edcdd31901d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6259108593231290867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_21_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c97c7aa17dc495c4686aad7311b3848b.jpg","text":"TemporaryFile(/tmp/multipartBody5329353704031515363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_22_35_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0739d4bca546b0ad03de7903df68a412.jpg","text":"TemporaryFile(/tmp/multipartBody1653840751535953524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_21_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b5766f0329e487ddd000b11b5944a38.jpg","text":"TemporaryFile(/tmp/multipartBody1974506928874182447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_23_15_10888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0e58971f25649e607c93eeae321a699.jpg","text":"TemporaryFile(/tmp/multipartBody1308361718506381856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_22_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7248858c2a3bc7ed737bda0c4d2f06cf.jpg","text":"TemporaryFile(/tmp/multipartBody1834529770761840045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521643363,"filename":"image_30112025_16_22_55_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076435","file1":"1397076434","file0":"1397076433","file4":"1397076438","file5":"1397076441","file3":"1397076436"},"map_files_photo_id_array":[{"photo_id":"1397076441","filename":"file5"},{"photo_id":"1397076435","filename":"file2"},{"photo_id":"1397076438","filename":"file4"},{"photo_id":"1397076434","filename":"file1"},{"photo_id":"1397076433","filename":"file0"},{"photo_id":"1397076436","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076434":["hashtag1","hashtag2"]},{"1397076436":["hashtag1","hashtag2"]},{"1397076433":["hashtag1","hashtag2"]},{"1397076441":["hashtag1","hashtag2"]},{"1397076435":["hashtag1","hashtag2"]},{"1397076438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076434, 1397076436, 1397076433, 1397076441, 1397076435, 1397076438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.815946102142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:53:41.985366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/13/image_31102025_13_13_59_3640.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_04_2574.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_08_3699.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_10_2775.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_16_2682.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_19_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_59_3640.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_04_2574.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_08_3699.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_10_2775.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_16_2682.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_19_3729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.77229905128479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:54:02.845038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_25_9748.jpg', '/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_35_9826.jpg', '/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_55_10060.jpg', '/home/pi/Desktop/images/30112025/16/23/image_30112025_16_24_05_10699.jpg', '/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_15_9756.jpg', '/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_24_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_25_9748.jpg
/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_35_9826.jpg
/home/pi/Desktop/images/30112025/16/23/image_30112025_16_23_55_10060.jpg
/home/pi/Desktop/images/30112025/16/23/image_30112025_16_24_05_10699.jpg
/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_15_9756.jpg
/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_24_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076464","1397076466","1397076463","1397076471","1397076465","1397076468"],"photo_ids_order":["1397076463","1397076464","1397076465","1397076466","1397076468","1397076471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fb393f744b54b325ecd3bf5fdce597d.jpg","text":"TemporaryFile(/tmp/multipartBody3700627614308568912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_23_35_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd80ba670e35f8553ed225e19a6e25f2.jpg","text":"TemporaryFile(/tmp/multipartBody2854201925061979683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_24_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61e247da60e9b29d5492ea637cc1131f.jpg","text":"TemporaryFile(/tmp/multipartBody6750193123512150381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_23_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed567f0769ebf29a3bfe50f065253629.jpg","text":"TemporaryFile(/tmp/multipartBody2339246036838491122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_24_24_9413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/581dacf56a6766b5dca1cb71cec9c867.jpg","text":"TemporaryFile(/tmp/multipartBody7785114242335865189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_23_55_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03c59950c04af463ac980332f0e1ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody5751332106342290232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521703585,"filename":"image_30112025_16_24_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076465","file1":"1397076464","file0":"1397076463","file4":"1397076468","file5":"1397076471","file3":"1397076466"},"map_files_photo_id_array":[{"photo_id":"1397076471","filename":"file5"},{"photo_id":"1397076465","filename":"file2"},{"photo_id":"1397076468","filename":"file4"},{"photo_id":"1397076464","filename":"file1"},{"photo_id":"1397076463","filename":"file0"},{"photo_id":"1397076466","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076464":["hashtag1","hashtag2"]},{"1397076466":["hashtag1","hashtag2"]},{"1397076463":["hashtag1","hashtag2"]},{"1397076471":["hashtag1","hashtag2"]},{"1397076465":["hashtag1","hashtag2"]},{"1397076468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076464, 1397076466, 1397076463, 1397076471, 1397076465, 1397076468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26139688491821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:54:42.185126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/13/image_31102025_13_13_59_3640.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_04_2574.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_08_3699.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_10_2775.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_16_2682.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_19_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/13/image_31102025_13_13_59_3640.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_04_2574.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_08_3699.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_10_2775.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_16_2682.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_19_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076482","1397076484","1397076481","1397076483","1397076486","1397076480"],"photo_ids_order":["1397076480","1397076481","1397076482","1397076483","1397076484","1397076486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/484bd44f5ad55e099a4c054370c15213.jpg","text":"TemporaryFile(/tmp/multipartBody2857938338671897820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_14_08_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/30/2f24437369c5c878daca0d84a6ed9252.jpg","text":"TemporaryFile(/tmp/multipartBody6659007830375762582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_14_16_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d585d153d5b4e86dd063275a4a1c0a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6253267951642465661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_14_04_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/30/60aae52a4bfbf04f333c88d35d718878.jpg","text":"TemporaryFile(/tmp/multipartBody5209362337927463181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_14_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/30/31966eb19af5ce509c3fd2f8aff7ef81.jpg","text":"TemporaryFile(/tmp/multipartBody6852788777738621939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_14_19_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/30/5b43b4a7860b6c87be136a536da3596e.jpg","text":"TemporaryFile(/tmp/multipartBody8986292115154247728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521742934,"filename":"image_31102025_13_13_59_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076482","file1":"1397076481","file0":"1397076480","file4":"1397076484","file5":"1397076486","file3":"1397076483"},"map_files_photo_id_array":[{"photo_id":"1397076486","filename":"file5"},{"photo_id":"1397076482","filename":"file2"},{"photo_id":"1397076484","filename":"file4"},{"photo_id":"1397076481","filename":"file1"},{"photo_id":"1397076480","filename":"file0"},{"photo_id":"1397076483","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076482":["hashtag1","hashtag2"]},{"1397076484":["hashtag1","hashtag2"]},{"1397076481":["hashtag1","hashtag2"]},{"1397076483":["hashtag1","hashtag2"]},{"1397076486":["hashtag1","hashtag2"]},{"1397076480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076482, 1397076484, 1397076481, 1397076483, 1397076486, 1397076480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8358952999115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 17:55:22.371712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_35_10597.jpg', '/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_45_9648.jpg', '/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_55_9919.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_14_10054.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_25_10756.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_35_10597.jpg
/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_45_9648.jpg
/home/pi/Desktop/images/30112025/16/24/image_30112025_16_24_55_9919.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_14_10054.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_25_10756.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_35_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076499","1397076490","1397076503","1397076493","1397076495","1397076501"],"photo_ids_order":["1397076490","1397076493","1397076495","1397076499","1397076501","1397076503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20bb861d4df403e7700e10404c3c4be9.jpg","text":"TemporaryFile(/tmp/multipartBody8506387817116262929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_25_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d98848e08abd781d357fcb33d30597cf.jpg","text":"TemporaryFile(/tmp/multipartBody1471244829782180969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_24_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bce1efbd8a35b2155992822ad1bcdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7218535242213977758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_25_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/234f87fd1752e434e7cf346af1607c97.jpg","text":"TemporaryFile(/tmp/multipartBody2316630104760808479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_24_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1474835bd770f3fa97b14ef271308f64.jpg","text":"TemporaryFile(/tmp/multipartBody5994923652634019007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_24_55_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb976416f83274a63de0bd6807a712e4.jpg","text":"TemporaryFile(/tmp/multipartBody1703440173845537117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521783101,"filename":"image_30112025_16_25_25_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076495","file1":"1397076493","file0":"1397076490","file4":"1397076501","file5":"1397076503","file3":"1397076499"},"map_files_photo_id_array":[{"photo_id":"1397076503","filename":"file5"},{"photo_id":"1397076495","filename":"file2"},{"photo_id":"1397076501","filename":"file4"},{"photo_id":"1397076493","filename":"file1"},{"photo_id":"1397076490","filename":"file0"},{"photo_id":"1397076499","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076499":["hashtag1","hashtag2"]},{"1397076490":["hashtag1","hashtag2"]},{"1397076503":["hashtag1","hashtag2"]},{"1397076493":["hashtag1","hashtag2"]},{"1397076495":["hashtag1","hashtag2"]},{"1397076501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076499, 1397076490, 1397076503, 1397076493, 1397076495, 1397076501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28204917907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:56:02.841048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_45_9910.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_54_9672.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_26_05_10674.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_15_9597.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_24_9710.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_45_9910.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_54_9672.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_26_05_10674.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_15_9597.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_24_9710.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_35_10643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6845533847808838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 17:56:12.455442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_37_2616.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_39_2633.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_43_3686.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_46_2520.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_48_2760.jpg', '/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_52_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_37_2616.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_39_2633.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_43_3686.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_46_2520.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_48_2760.jpg
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_52_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076507","1397076509","1397076520","1397076523","1397076517","1397076514"],"photo_ids_order":["1397076507","1397076509","1397076514","1397076517","1397076520","1397076523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83bfe9495d18b62b7114301a64ae82d6.jpg","text":"TemporaryFile(/tmp/multipartBody2607139673638182302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_37_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/30/d9b95a7e10ff0f0d059c833817276358.jpg","text":"TemporaryFile(/tmp/multipartBody5527232978568018138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_39_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/863e7b6f2da4bfd29345997dae75cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody371616479784504629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_48_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/30/420babb40c361f0137456fa0e9291126.jpg","text":"TemporaryFile(/tmp/multipartBody287730386273891945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_52_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/30/bda211f0b68f99c3e686ecb97b3e44ae.jpg","text":"TemporaryFile(/tmp/multipartBody4079079468595456098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_46_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/30/9a35545168120058b06a0193b1681006.jpg","text":"TemporaryFile(/tmp/multipartBody7938273932023626020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521834123,"filename":"image_25112025_20_38_43_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076514","file1":"1397076509","file0":"1397076507","file4":"1397076520","file5":"1397076523","file3":"1397076517"},"map_files_photo_id_array":[{"photo_id":"1397076523","filename":"file5"},{"photo_id":"1397076514","filename":"file2"},{"photo_id":"1397076520","filename":"file4"},{"photo_id":"1397076509","filename":"file1"},{"photo_id":"1397076507","filename":"file0"},{"photo_id":"1397076517","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397076507":["hashtag1","hashtag2"]},{"1397076509":["hashtag1","hashtag2"]},{"1397076520":["hashtag1","hashtag2"]},{"1397076523":["hashtag1","hashtag2"]},{"1397076517":["hashtag1","hashtag2"]},{"1397076514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397076507, 1397076509, 1397076520, 1397076523, 1397076517, 1397076514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.208396196365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:57:03.298926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_45_9910.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_54_9672.jpg', '/home/pi/Desktop/images/30112025/16/25/image_30112025_16_26_05_10674.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_15_9597.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_24_9710.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_45_9910.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_25_54_9672.jpg
/home/pi/Desktop/images/30112025/16/25/image_30112025_16_26_05_10674.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_15_9597.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_24_9710.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_35_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076530","1397076527","1397076535","1397076529","1397076532","1397076528"],"photo_ids_order":["1397076527","1397076528","1397076529","1397076530","1397076532","1397076535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c63ba6f341efdd3a3a6ef34b709638c6.jpg","text":"TemporaryFile(/tmp/multipartBody1671615343195800078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_26_15_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5c13797137f89fbc5a8e49ec85eaa5d.jpg","text":"TemporaryFile(/tmp/multipartBody6903759264411387318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_25_45_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8506a0e1de2194b19d02c678dd27596f.jpg","text":"TemporaryFile(/tmp/multipartBody5891058294969169375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_26_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf1f1d5d2c74ef621469bfa352e22f02.jpg","text":"TemporaryFile(/tmp/multipartBody3136305595200875319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_26_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d2182164a71a543524f76e48399481d.jpg","text":"TemporaryFile(/tmp/multipartBody4587763479279307769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_26_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bc87589af1e7bdc014619fe54ea4c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3645698940992908041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521884146,"filename":"image_30112025_16_25_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076529","file1":"1397076528","file0":"1397076527","file4":"1397076532","file5":"1397076535","file3":"1397076530"},"map_files_photo_id_array":[{"photo_id":"1397076535","filename":"file5"},{"photo_id":"1397076529","filename":"file2"},{"photo_id":"1397076532","filename":"file4"},{"photo_id":"1397076528","filename":"file1"},{"photo_id":"1397076527","filename":"file0"},{"photo_id":"1397076530","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076530":["hashtag1","hashtag2"]},{"1397076527":["hashtag1","hashtag2"]},{"1397076535":["hashtag1","hashtag2"]},{"1397076529":["hashtag1","hashtag2"]},{"1397076532":["hashtag1","hashtag2"]},{"1397076528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076530, 1397076527, 1397076535, 1397076529, 1397076532, 1397076528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28598093986511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 17:57:42.782069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/14/image_31102025_13_14_22_2723.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_25_2636.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_28_3659.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_31_2553.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_38_3750.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_40_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/13/14/image_31102025_13_14_22_2723.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_25_2636.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_28_3659.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_31_2553.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_38_3750.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_40_2632.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076545","1397076548","1397076547","1397076550","1397076546","1397076549"],"photo_ids_order":["1397076545","1397076546","1397076547","1397076548","1397076549","1397076550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f901684bdb7274e0d239af2addbf126.jpg","text":"TemporaryFile(/tmp/multipartBody2051818846815478762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_22_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/30/b5370ebc39b2f734001e5df4baa2704f.jpg","text":"TemporaryFile(/tmp/multipartBody623245465415347819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_31_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/614feaf8a369e0a3a494d334ab4443bd.jpg","text":"TemporaryFile(/tmp/multipartBody3151379068321845661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_28_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/30/91675667af088222ca1176407936bb18.jpg","text":"TemporaryFile(/tmp/multipartBody9027303641856703904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_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/30/7eaea3509bc4cd032be6a6177e23838f.jpg","text":"TemporaryFile(/tmp/multipartBody4552256400371556536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_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/30/9c543611ee46dcf765bedd1c6ee85163.jpg","text":"TemporaryFile(/tmp/multipartBody6811456625991753737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764521923683,"filename":"image_31102025_13_14_38_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076547","file1":"1397076546","file0":"1397076545","file4":"1397076549","file5":"1397076550","file3":"1397076548"},"map_files_photo_id_array":[{"photo_id":"1397076550","filename":"file5"},{"photo_id":"1397076547","filename":"file2"},{"photo_id":"1397076549","filename":"file4"},{"photo_id":"1397076546","filename":"file1"},{"photo_id":"1397076545","filename":"file0"},{"photo_id":"1397076548","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397076545":["hashtag1","hashtag2"]},{"1397076548":["hashtag1","hashtag2"]},{"1397076547":["hashtag1","hashtag2"]},{"1397076550":["hashtag1","hashtag2"]},{"1397076546":["hashtag1","hashtag2"]},{"1397076549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397076545, 1397076548, 1397076547, 1397076550, 1397076546, 1397076549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72270631790161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 17:59:03.096775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_45_9638.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_55_10573.jpg', '/home/pi/Desktop/images/30112025/16/26/image_30112025_16_27_04_9214.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_15_10656.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_25_9785.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_35_10278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_45_9638.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_26_55_10573.jpg
/home/pi/Desktop/images/30112025/16/26/image_30112025_16_27_04_9214.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_15_10656.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_25_9785.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_35_10278.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397076569","1397076563","1397076566","1397076571","1397076559","1397076552"],"photo_ids_order":["1397076552","1397076559","1397076563","1397076566","1397076569","1397076571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0857c00fc6bdaf15e4c119830d099d59.jpg","text":"TemporaryFile(/tmp/multipartBody2619724789192163445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_27_25_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cd35370dad23d738c1d8041c932ec27.jpg","text":"TemporaryFile(/tmp/multipartBody7737801150346305685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_27_04_9214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a301a52cfb613a7139571144a0b8f84.jpg","text":"TemporaryFile(/tmp/multipartBody3529823828592780394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_27_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b674b926305c68f54d0983d0c751289d.jpg","text":"TemporaryFile(/tmp/multipartBody4702316808801650555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_27_35_10278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64e6414d13a2a06feee2395af6037d21.jpg","text":"TemporaryFile(/tmp/multipartBody7879205545626797259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_26_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a81f7646d68f970813d7697928abd02.jpg","text":"TemporaryFile(/tmp/multipartBody9086801516197151652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522004049,"filename":"image_30112025_16_26_45_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397076563","file1":"1397076559","file0":"1397076552","file4":"1397076569","file5":"1397076571","file3":"1397076566"},"map_files_photo_id_array":[{"photo_id":"1397076571","filename":"file5"},{"photo_id":"1397076563","filename":"file2"},{"photo_id":"1397076569","filename":"file4"},{"photo_id":"1397076559","filename":"file1"},{"photo_id":"1397076552","filename":"file0"},{"photo_id":"1397076566","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397076569":["hashtag1","hashtag2"]},{"1397076563":["hashtag1","hashtag2"]},{"1397076566":["hashtag1","hashtag2"]},{"1397076571":["hashtag1","hashtag2"]},{"1397076559":["hashtag1","hashtag2"]},{"1397076552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397076569, 1397076563, 1397076566, 1397076571, 1397076559, 1397076552)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.72795557975769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:00:14.030599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_45_9542.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_54_9891.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_28_04_9942.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_15_10707.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_25_9691.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_38_13331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_45_9542.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_54_9891.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_28_04_9942.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_15_10707.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_25_9691.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_38_13331.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6162033081054688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:00:16.543614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_58_3620.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_01_2855.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_04_2704.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_10_3776.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_13_2622.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_15_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/38/image_25112025_20_38_58_3620.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_01_2855.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_04_2704.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_10_3776.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_13_2622.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_15_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397077067","1397077738","1397077135","1397077581","1397077269","1397077428"],"photo_ids_order":["1397077067","1397077135","1397077269","1397077428","1397077581","1397077738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2472cc257d4dd62d5df1410f090d0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7203065948945279634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_38_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/30/9b70c18c12de77b26377211aa561235b.jpg","text":"TemporaryFile(/tmp/multipartBody991471345897344437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_39_15_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/30/624a217f9b6ecc2be09062db013db864.jpg","text":"TemporaryFile(/tmp/multipartBody1379674474778615913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_39_01_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/30/9c8167a906a13196ed09ebc1f8be8093.jpg","text":"TemporaryFile(/tmp/multipartBody8790105052591688095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_39_13_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c346212e805be3d280766997f6aac4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6585563427627407285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_39_04_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/30/433e8a8ee9f6604fac7a1e1a451ace4c.jpg","text":"TemporaryFile(/tmp/multipartBody8194964288957735986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522078214,"filename":"image_25112025_20_39_10_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397077269","file1":"1397077135","file0":"1397077067","file4":"1397077581","file5":"1397077738","file3":"1397077428"},"map_files_photo_id_array":[{"photo_id":"1397077738","filename":"file5"},{"photo_id":"1397077269","filename":"file2"},{"photo_id":"1397077581","filename":"file4"},{"photo_id":"1397077135","filename":"file1"},{"photo_id":"1397077067","filename":"file0"},{"photo_id":"1397077428","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397077067":["hashtag1","hashtag2"]},{"1397077738":["hashtag1","hashtag2"]},{"1397077135":["hashtag1","hashtag2"]},{"1397077581":["hashtag1","hashtag2"]},{"1397077269":["hashtag1","hashtag2"]},{"1397077428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397077067, 1397077738, 1397077135, 1397077581, 1397077269, 1397077428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98359251022339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:01:02.585051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_45_9542.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_54_9891.jpg', '/home/pi/Desktop/images/30112025/16/27/image_30112025_16_28_04_9942.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_15_10707.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_25_9691.jpg', '/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_38_13331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_45_9542.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_27_54_9891.jpg
/home/pi/Desktop/images/30112025/16/27/image_30112025_16_28_04_9942.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_15_10707.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_25_9691.jpg
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_38_13331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397078959","1397078437","1397078602","1397078847","1397079068","1397078735"],"photo_ids_order":["1397078437","1397078602","1397078735","1397078847","1397078959","1397079068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/978fe3c97e232e81fa36966cb6a8a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody1220393626257685325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_28_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42159c0c624855637bff1485f0ea953d.jpg","text":"TemporaryFile(/tmp/multipartBody1326716165371739042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_27_45_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4fe47a82ceb6b5904ce8723297c0384.jpg","text":"TemporaryFile(/tmp/multipartBody8996148992724303505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_27_54_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23bbc9327163526f095c5f8a599b6581.jpg","text":"TemporaryFile(/tmp/multipartBody1632698619166319555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_28_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84959bbfffe935b150f0aadd4368f75b.jpg","text":"TemporaryFile(/tmp/multipartBody1633443775810187526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_28_38_13331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c217c81dc759024e26d8be848ab1d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1363313606506972534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522123413,"filename":"image_30112025_16_28_04_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397078735","file1":"1397078602","file0":"1397078437","file4":"1397078959","file5":"1397079068","file3":"1397078847"},"map_files_photo_id_array":[{"photo_id":"1397079068","filename":"file5"},{"photo_id":"1397078735","filename":"file2"},{"photo_id":"1397078959","filename":"file4"},{"photo_id":"1397078602","filename":"file1"},{"photo_id":"1397078437","filename":"file0"},{"photo_id":"1397078847","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397078959":["hashtag1","hashtag2"]},{"1397078437":["hashtag1","hashtag2"]},{"1397078602":["hashtag1","hashtag2"]},{"1397078847":["hashtag1","hashtag2"]},{"1397079068":["hashtag1","hashtag2"]},{"1397078735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397078959, 1397078437, 1397078602, 1397078847, 1397079068, 1397078735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53310227394104 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
 val : 1 : upload photos already in processing! 
2025-11-30 18:02:07.396042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:02:21.933455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_45_6865.jpg', '/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_02_17452.jpg', '/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_05_2643.jpg', '/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_15_9599.jpg', '/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_24_9748.jpg', '/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_44_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/28/image_30112025_16_28_45_6865.jpg
/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_02_17452.jpg
/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_05_2643.jpg
/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_15_9599.jpg
/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_24_9748.jpg
/home/pi/Desktop/images/30112025/16/29/image_30112025_16_29_44_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397079952","1397079774","1397079642","1397080029","1397079874","1397079685"],"photo_ids_order":["1397079642","1397079685","1397079774","1397079874","1397079952","1397080029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8520f4ee516bdbab23898bf8fa6052d.jpg","text":"TemporaryFile(/tmp/multipartBody2611910417465782295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_29_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6fac607a55605d1ba1b5d5d8217c296.jpg","text":"TemporaryFile(/tmp/multipartBody7949966645732437406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_29_05_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/30/b4fbfc35a6b396df36aa815c2176505f.jpg","text":"TemporaryFile(/tmp/multipartBody6870752729860369158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_28_45_6865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66b45f6e942dde369936b13805661b59.jpg","text":"TemporaryFile(/tmp/multipartBody3077034419399510284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_29_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9be5c8262c971ada7ef3aebeaeab05f9.jpg","text":"TemporaryFile(/tmp/multipartBody4623047817876683910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_29_15_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c47b610e06690a1086fc02c3bd435e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8192727732722797441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522202613,"filename":"image_30112025_16_29_02_17452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397079774","file1":"1397079685","file0":"1397079642","file4":"1397079952","file5":"1397080029","file3":"1397079874"},"map_files_photo_id_array":[{"photo_id":"1397080029","filename":"file5"},{"photo_id":"1397079774","filename":"file2"},{"photo_id":"1397079952","filename":"file4"},{"photo_id":"1397079685","filename":"file1"},{"photo_id":"1397079642","filename":"file0"},{"photo_id":"1397079874","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397079952":["hashtag1","hashtag2"]},{"1397079774":["hashtag1","hashtag2"]},{"1397079642":["hashtag1","hashtag2"]},{"1397080029":["hashtag1","hashtag2"]},{"1397079874":["hashtag1","hashtag2"]},{"1397079685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397079952, 1397079774, 1397079642, 1397080029, 1397079874, 1397079685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89034152030945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:03:03.005483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_14_10052.jpg', '/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_25_10711.jpg', '/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_35_9806.jpg', '/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_47_11839.jpg', '/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_54_7635.jpg', '/home/pi/Desktop/images/30112025/16/30/image_30112025_16_31_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_14_10052.jpg
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_25_10711.jpg
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_35_9806.jpg
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_47_11839.jpg
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_30_54_7635.jpg
/home/pi/Desktop/images/30112025/16/30/image_30112025_16_31_05_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080351","1397080339","1397080440","1397080481","1397080376","1397080352"],"photo_ids_order":["1397080339","1397080351","1397080352","1397080376","1397080440","1397080481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/818e7900b64dc7df2ec2e177c919baa7.jpg","text":"TemporaryFile(/tmp/multipartBody2778552611523511656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_30_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a699959947a3b3fcfcf5269e31fe1694.jpg","text":"TemporaryFile(/tmp/multipartBody8167847680850292446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_30_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/956fd21e5c761d0fd26ed4d1749b6813.jpg","text":"TemporaryFile(/tmp/multipartBody2398423571500257055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_30_54_7635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/547a464d75c06b18ce743e0f8e4a5240.jpg","text":"TemporaryFile(/tmp/multipartBody6305828775549479281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_31_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/180d8dcdab4199a119b93706b655c9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5141831475663476505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_30_47_11839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef8b37a4a895f5d251226aae7c374c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7752076850483639434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522243781,"filename":"image_30112025_16_30_35_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080352","file1":"1397080351","file0":"1397080339","file4":"1397080440","file5":"1397080481","file3":"1397080376"},"map_files_photo_id_array":[{"photo_id":"1397080481","filename":"file5"},{"photo_id":"1397080352","filename":"file2"},{"photo_id":"1397080440","filename":"file4"},{"photo_id":"1397080351","filename":"file1"},{"photo_id":"1397080339","filename":"file0"},{"photo_id":"1397080376","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080351":["hashtag1","hashtag2"]},{"1397080339":["hashtag1","hashtag2"]},{"1397080440":["hashtag1","hashtag2"]},{"1397080481":["hashtag1","hashtag2"]},{"1397080376":["hashtag1","hashtag2"]},{"1397080352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080351, 1397080339, 1397080440, 1397080481, 1397080376, 1397080352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71864604949951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:03:42.302717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/14/image_31102025_13_14_43_2687.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_46_2724.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_49_3803.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_52_2725.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_55_2760.jpg', '/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_58_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/13/14/image_31102025_13_14_43_2687.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_46_2724.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_49_3803.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_52_2725.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_55_2760.jpg
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_14_58_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":["1397080600","1397080599","1397080602","1397080592","1397080562","1397080601"],"photo_ids_order":["1397080562","1397080592","1397080599","1397080600","1397080601","1397080602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74ce1c263368eacdcf3c9c44351fd7cb.jpg","text":"TemporaryFile(/tmp/multipartBody7922463195384952137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_52_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/30/9b5300433588e9308ab5493c80140017.jpg","text":"TemporaryFile(/tmp/multipartBody438998926452313805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_49_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/30/07e9703132898672809e58fedac3c76e.jpg","text":"TemporaryFile(/tmp/multipartBody8888163699391923781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_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/30/6027fc29a3640240ba43cb0c7bc2c7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7027951918177573519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_46_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d42499e14d81d363091ea74c51919383.jpg","text":"TemporaryFile(/tmp/multipartBody8061228613494777003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_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/30/eb4cc97a5860ec52848ed382bea98eb8.jpg","text":"TemporaryFile(/tmp/multipartBody186701450964092244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522283156,"filename":"image_31102025_13_14_55_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080599","file1":"1397080592","file0":"1397080562","file4":"1397080601","file5":"1397080602","file3":"1397080600"},"map_files_photo_id_array":[{"photo_id":"1397080602","filename":"file5"},{"photo_id":"1397080599","filename":"file2"},{"photo_id":"1397080601","filename":"file4"},{"photo_id":"1397080592","filename":"file1"},{"photo_id":"1397080562","filename":"file0"},{"photo_id":"1397080600","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080600":["hashtag1","hashtag2"]},{"1397080599":["hashtag1","hashtag2"]},{"1397080602":["hashtag1","hashtag2"]},{"1397080592":["hashtag1","hashtag2"]},{"1397080562":["hashtag1","hashtag2"]},{"1397080601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080600, 1397080599, 1397080602, 1397080592, 1397080562, 1397080601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98208022117615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:04:22.576975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_20_14747.jpg', '/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_24_4720.jpg', '/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_35_10636.jpg', '/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_45_9729.jpg', '/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_54_9627.jpg', '/home/pi/Desktop/images/30112025/16/31/image_30112025_16_32_05_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_20_14747.jpg
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_24_4720.jpg
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_35_10636.jpg
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_45_9729.jpg
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_31_54_9627.jpg
/home/pi/Desktop/images/30112025/16/31/image_30112025_16_32_05_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080612","1397080609","1397080606","1397080614","1397080616","1397080619"],"photo_ids_order":["1397080606","1397080609","1397080612","1397080614","1397080616","1397080619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed9ab12ce82d03a0e96cf03265f296b0.jpg","text":"TemporaryFile(/tmp/multipartBody4961421503173464156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_31_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a85dfa46da4987720d9917ab120e6c20.jpg","text":"TemporaryFile(/tmp/multipartBody798316940369092125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_31_24_4720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6db83fbb05933f052b0c8dec99412f96.jpg","text":"TemporaryFile(/tmp/multipartBody3125412516162973385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_31_20_14747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b30859a84bc3fa7f3c0405ef8c7fc9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3395687472394034962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_31_45_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14973e2cfd79ad91fdcefa9d0a00be51.jpg","text":"TemporaryFile(/tmp/multipartBody8938092548576542925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_31_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b7a0f5c294b22e78991a2194885f0a7.jpg","text":"TemporaryFile(/tmp/multipartBody7329390016459703016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522323250,"filename":"image_30112025_16_32_05_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080612","file1":"1397080609","file0":"1397080606","file4":"1397080616","file5":"1397080619","file3":"1397080614"},"map_files_photo_id_array":[{"photo_id":"1397080619","filename":"file5"},{"photo_id":"1397080612","filename":"file2"},{"photo_id":"1397080616","filename":"file4"},{"photo_id":"1397080609","filename":"file1"},{"photo_id":"1397080606","filename":"file0"},{"photo_id":"1397080614","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080612":["hashtag1","hashtag2"]},{"1397080609":["hashtag1","hashtag2"]},{"1397080606":["hashtag1","hashtag2"]},{"1397080614":["hashtag1","hashtag2"]},{"1397080616":["hashtag1","hashtag2"]},{"1397080619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080612, 1397080609, 1397080606, 1397080614, 1397080616, 1397080619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86198973655701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:05:03.554830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_15_9765.jpg', '/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_25_10461.jpg', '/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_35_9917.jpg', '/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_45_9741.jpg', '/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_54_9747.jpg', '/home/pi/Desktop/images/30112025/16/32/image_30112025_16_33_04_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_15_9765.jpg
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_25_10461.jpg
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_35_9917.jpg
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_45_9741.jpg
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_32_54_9747.jpg
/home/pi/Desktop/images/30112025/16/32/image_30112025_16_33_04_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080627","1397080621","1397080623","1397080629","1397080620","1397080622"],"photo_ids_order":["1397080620","1397080621","1397080622","1397080623","1397080627","1397080629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c367ce9f0f2bde2dcf2c0357b1462366.jpg","text":"TemporaryFile(/tmp/multipartBody62362577103232792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_32_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b6ec6ce27f2e245552d361969e4b463.jpg","text":"TemporaryFile(/tmp/multipartBody7588908323828090233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_32_25_10461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9389c0cd2f837d7b13dd5d2cd8c9175c.jpg","text":"TemporaryFile(/tmp/multipartBody2764875443406041768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_32_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f82f3cdac1fe492fd61b4cb921b33e05.jpg","text":"TemporaryFile(/tmp/multipartBody7390261820339967828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_33_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8c3db5a564d2e414ddb8bbb172949ae.jpg","text":"TemporaryFile(/tmp/multipartBody4964199415839404088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_32_15_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef253febaf130d1336fdc7de5a5bbb8f.jpg","text":"TemporaryFile(/tmp/multipartBody290911143065989040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522364330,"filename":"image_30112025_16_32_35_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080622","file1":"1397080621","file0":"1397080620","file4":"1397080627","file5":"1397080629","file3":"1397080623"},"map_files_photo_id_array":[{"photo_id":"1397080629","filename":"file5"},{"photo_id":"1397080622","filename":"file2"},{"photo_id":"1397080627","filename":"file4"},{"photo_id":"1397080621","filename":"file1"},{"photo_id":"1397080620","filename":"file0"},{"photo_id":"1397080623","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080627":["hashtag1","hashtag2"]},{"1397080621":["hashtag1","hashtag2"]},{"1397080623":["hashtag1","hashtag2"]},{"1397080629":["hashtag1","hashtag2"]},{"1397080620":["hashtag1","hashtag2"]},{"1397080622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080627, 1397080621, 1397080623, 1397080629, 1397080620, 1397080622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962034940719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:05:42.892523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/14/image_31102025_13_15_01_3641.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_04_2793.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_07_2715.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_10_3639.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_13_2759.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_16_2950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/14/image_31102025_13_15_01_3641.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_04_2793.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_07_2715.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_10_3639.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_13_2759.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_16_2950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080651","1397080635","1397080650","1397080638","1397080652","1397080649"],"photo_ids_order":["1397080635","1397080638","1397080649","1397080650","1397080651","1397080652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf7b854e9d065b7f59cc0ced6c108e88.jpg","text":"TemporaryFile(/tmp/multipartBody7620320788517141141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_13_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57502db95863a04968f9a369d1f979ae.jpg","text":"TemporaryFile(/tmp/multipartBody2638163040996640403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_01_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef148b7f7e934e7b44db9bf3ed3450b5.jpg","text":"TemporaryFile(/tmp/multipartBody7582972963000439785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_10_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/30/307390d0c188c658405c328ad03b03c9.jpg","text":"TemporaryFile(/tmp/multipartBody345085597590078521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_04_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/30/386d06fbc9a8b784d516ccf3d90ef2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6700191944319827792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_16_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b85edb9a34be1ccacf8411a7dca549a.jpg","text":"TemporaryFile(/tmp/multipartBody106812282152208300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522403782,"filename":"image_31102025_13_15_07_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080649","file1":"1397080638","file0":"1397080635","file4":"1397080651","file5":"1397080652","file3":"1397080650"},"map_files_photo_id_array":[{"photo_id":"1397080652","filename":"file5"},{"photo_id":"1397080649","filename":"file2"},{"photo_id":"1397080651","filename":"file4"},{"photo_id":"1397080638","filename":"file1"},{"photo_id":"1397080635","filename":"file0"},{"photo_id":"1397080650","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080651":["hashtag1","hashtag2"]},{"1397080635":["hashtag1","hashtag2"]},{"1397080650":["hashtag1","hashtag2"]},{"1397080638":["hashtag1","hashtag2"]},{"1397080652":["hashtag1","hashtag2"]},{"1397080649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080651, 1397080635, 1397080650, 1397080638, 1397080652, 1397080649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41585826873779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:06:22.029729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_15_10657.jpg', '/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_25_9950.jpg', '/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_34_9708.jpg', '/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_45_10599.jpg', '/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_55_9895.jpg', '/home/pi/Desktop/images/30112025/16/33/image_30112025_16_34_05_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_15_10657.jpg
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_25_9950.jpg
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_34_9708.jpg
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_45_10599.jpg
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_33_55_9895.jpg
/home/pi/Desktop/images/30112025/16/33/image_30112025_16_34_05_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080663","1397080657","1397080666","1397080659","1397080661","1397080655"],"photo_ids_order":["1397080655","1397080657","1397080659","1397080661","1397080663","1397080666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9caacba43bd3b4097cf0e8ecdd41b3cf.jpg","text":"TemporaryFile(/tmp/multipartBody8788869308953636974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_33_55_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd9d280793c61f025f94a3d40bf034a2.jpg","text":"TemporaryFile(/tmp/multipartBody4300421937685120902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_33_25_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64e711163b968bb23be14aaf6066bcc5.jpg","text":"TemporaryFile(/tmp/multipartBody7155020508120260698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_34_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/166971246487a3957ffd82f26c807e36.jpg","text":"TemporaryFile(/tmp/multipartBody4105543867240470663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_33_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b67891cfb2f93879e15485e698eb6929.jpg","text":"TemporaryFile(/tmp/multipartBody1849937511285150792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_33_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c3529d9f3cf65644c4834990e239e21.jpg","text":"TemporaryFile(/tmp/multipartBody4616654690668826341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522442781,"filename":"image_30112025_16_33_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080659","file1":"1397080657","file0":"1397080655","file4":"1397080663","file5":"1397080666","file3":"1397080661"},"map_files_photo_id_array":[{"photo_id":"1397080666","filename":"file5"},{"photo_id":"1397080659","filename":"file2"},{"photo_id":"1397080663","filename":"file4"},{"photo_id":"1397080657","filename":"file1"},{"photo_id":"1397080655","filename":"file0"},{"photo_id":"1397080661","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080663":["hashtag1","hashtag2"]},{"1397080657":["hashtag1","hashtag2"]},{"1397080666":["hashtag1","hashtag2"]},{"1397080659":["hashtag1","hashtag2"]},{"1397080661":["hashtag1","hashtag2"]},{"1397080655":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080663, 1397080657, 1397080666, 1397080659, 1397080661, 1397080655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44740176200867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:07:02.853878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_14_9776.jpg', '/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_24_9712.jpg', '/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_35_10656.jpg', '/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_45_9833.jpg', '/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_54_9755.jpg', '/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_14_9776.jpg
/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_24_9712.jpg
/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_35_10656.jpg
/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_45_9833.jpg
/home/pi/Desktop/images/30112025/16/34/image_30112025_16_34_54_9755.jpg
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_14_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080669","1397080671","1397080674","1397080668","1397080670","1397080676"],"photo_ids_order":["1397080668","1397080669","1397080670","1397080671","1397080674","1397080676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cab95f285702f93aacb036faf3f537a6.jpg","text":"TemporaryFile(/tmp/multipartBody8818623921336712941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_34_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7ae101da9c3463b7f04e107bce62fee.jpg","text":"TemporaryFile(/tmp/multipartBody7037243654893953817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_34_45_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3f5d7966b255d5ca50216e1e2742ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2155335348217624735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_34_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e135b7ad758926702f2b264728d54670.jpg","text":"TemporaryFile(/tmp/multipartBody791930653887339746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_34_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/684c8c35e7440b3c700fad0503e93131.jpg","text":"TemporaryFile(/tmp/multipartBody8471561700222306268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_34_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d9112339caccbcbdaa09f030cb7915a.jpg","text":"TemporaryFile(/tmp/multipartBody1075066376874318463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522483636,"filename":"image_30112025_16_35_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080670","file1":"1397080669","file0":"1397080668","file4":"1397080674","file5":"1397080676","file3":"1397080671"},"map_files_photo_id_array":[{"photo_id":"1397080676","filename":"file5"},{"photo_id":"1397080670","filename":"file2"},{"photo_id":"1397080674","filename":"file4"},{"photo_id":"1397080669","filename":"file1"},{"photo_id":"1397080668","filename":"file0"},{"photo_id":"1397080671","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080669":["hashtag1","hashtag2"]},{"1397080671":["hashtag1","hashtag2"]},{"1397080674":["hashtag1","hashtag2"]},{"1397080668":["hashtag1","hashtag2"]},{"1397080670":["hashtag1","hashtag2"]},{"1397080676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080669, 1397080671, 1397080674, 1397080668, 1397080670, 1397080676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28943133354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:07:42.253714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/15/image_31102025_13_15_19_2649.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_22_3546.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_25_2634.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_28_2659.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_31_3702.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_34_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_19_2649.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_22_3546.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_25_2634.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_28_2659.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_31_3702.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_34_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080690","1397080686","1397080682","1397080685","1397080688","1397080687"],"photo_ids_order":["1397080682","1397080685","1397080686","1397080687","1397080688","1397080690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21f4954a475ad0f88c62f6b3833d91a9.jpg","text":"TemporaryFile(/tmp/multipartBody314930806567253263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_34_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/30/3b75f05afc08ec3126d97474c76b54bf.jpg","text":"TemporaryFile(/tmp/multipartBody4606895369307623265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/178a30ed17fe8e36c994f9401c48d92f.jpg","text":"TemporaryFile(/tmp/multipartBody5305783909398324653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_19_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bede084c8be43aa546227d8eb0fe9d9.jpg","text":"TemporaryFile(/tmp/multipartBody2371015707217952400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_22_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4edf63a094cc24e09214e82627e13334.jpg","text":"TemporaryFile(/tmp/multipartBody4144711067254703923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_31_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/30/8935d2824ec767bae89551f6afcb0411.jpg","text":"TemporaryFile(/tmp/multipartBody8811370227419777126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522523153,"filename":"image_31102025_13_15_28_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080686","file1":"1397080685","file0":"1397080682","file4":"1397080688","file5":"1397080690","file3":"1397080687"},"map_files_photo_id_array":[{"photo_id":"1397080690","filename":"file5"},{"photo_id":"1397080686","filename":"file2"},{"photo_id":"1397080688","filename":"file4"},{"photo_id":"1397080685","filename":"file1"},{"photo_id":"1397080682","filename":"file0"},{"photo_id":"1397080687","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080690":["hashtag1","hashtag2"]},{"1397080686":["hashtag1","hashtag2"]},{"1397080682":["hashtag1","hashtag2"]},{"1397080685":["hashtag1","hashtag2"]},{"1397080688":["hashtag1","hashtag2"]},{"1397080687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080690, 1397080686, 1397080682, 1397080685, 1397080688, 1397080687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31851053237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:08:22.501223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_25_10595.jpg', '/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_35_9648.jpg', '/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_44_9783.jpg', '/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_55_10562.jpg', '/home/pi/Desktop/images/30112025/16/35/image_30112025_16_36_05_9682.jpg', '/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_15_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_25_10595.jpg
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_35_9648.jpg
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_44_9783.jpg
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_35_55_10562.jpg
/home/pi/Desktop/images/30112025/16/35/image_30112025_16_36_05_9682.jpg
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_15_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080696","1397080707","1397080697","1397080700","1397080703","1397080693"],"photo_ids_order":["1397080693","1397080696","1397080697","1397080700","1397080703","1397080707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e185d96e4263bb4a8d947519f4a25e46.jpg","text":"TemporaryFile(/tmp/multipartBody6605724530765472268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_35_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdeec12d88bd1afaaefe3c8b54dd10ee.jpg","text":"TemporaryFile(/tmp/multipartBody8546741462020136988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_36_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f270912fa88392792b301375f3c2dc1.jpg","text":"TemporaryFile(/tmp/multipartBody371619830412452682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_35_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1955ff9f7e7ab222ba726b87d37d0de5.jpg","text":"TemporaryFile(/tmp/multipartBody3146092674587078369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_35_55_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c17059c30fa1b9e81debf6450797662.jpg","text":"TemporaryFile(/tmp/multipartBody3066904449899019649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_36_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/750ae346365f709c23ca4003477fd179.jpg","text":"TemporaryFile(/tmp/multipartBody6132749897163464907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522563203,"filename":"image_30112025_16_35_25_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080697","file1":"1397080696","file0":"1397080693","file4":"1397080703","file5":"1397080707","file3":"1397080700"},"map_files_photo_id_array":[{"photo_id":"1397080707","filename":"file5"},{"photo_id":"1397080697","filename":"file2"},{"photo_id":"1397080703","filename":"file4"},{"photo_id":"1397080696","filename":"file1"},{"photo_id":"1397080693","filename":"file0"},{"photo_id":"1397080700","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080696":["hashtag1","hashtag2"]},{"1397080707":["hashtag1","hashtag2"]},{"1397080697":["hashtag1","hashtag2"]},{"1397080700":["hashtag1","hashtag2"]},{"1397080703":["hashtag1","hashtag2"]},{"1397080693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080696, 1397080707, 1397080697, 1397080700, 1397080703, 1397080693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26681566238403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:09:03.586974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_25_9706.jpg', '/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_35_9744.jpg', '/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_45_9860.jpg', '/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_55_10647.jpg', '/home/pi/Desktop/images/30112025/16/36/image_30112025_16_37_05_9625.jpg', '/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_15_10292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_25_9706.jpg
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_35_9744.jpg
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_45_9860.jpg
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_36_55_10647.jpg
/home/pi/Desktop/images/30112025/16/36/image_30112025_16_37_05_9625.jpg
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_15_10292.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080723","1397080720","1397080725","1397080719","1397080727","1397080721"],"photo_ids_order":["1397080719","1397080720","1397080721","1397080723","1397080725","1397080727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21a0008890f3aec12df803fa5b19f97d.jpg","text":"TemporaryFile(/tmp/multipartBody4585650669050291412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_36_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94146ae48b8aaf8bef33dcebc5801195.jpg","text":"TemporaryFile(/tmp/multipartBody7783537483268057888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_36_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fd0cd1594607f600a647284ec8632b7.jpg","text":"TemporaryFile(/tmp/multipartBody7328274352645282710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_37_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/388eaf17797fcfe644fd451c36e85273.jpg","text":"TemporaryFile(/tmp/multipartBody8009082793328526836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_36_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f02e928da217488705ec36d997ec6a63.jpg","text":"TemporaryFile(/tmp/multipartBody8103285186855319793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_37_15_10292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5eeefc3c0a69ec6de1dfd6411481f803.jpg","text":"TemporaryFile(/tmp/multipartBody486478043371567046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522604511,"filename":"image_30112025_16_36_45_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080721","file1":"1397080720","file0":"1397080719","file4":"1397080725","file5":"1397080727","file3":"1397080723"},"map_files_photo_id_array":[{"photo_id":"1397080727","filename":"file5"},{"photo_id":"1397080721","filename":"file2"},{"photo_id":"1397080725","filename":"file4"},{"photo_id":"1397080720","filename":"file1"},{"photo_id":"1397080719","filename":"file0"},{"photo_id":"1397080723","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080723":["hashtag1","hashtag2"]},{"1397080720":["hashtag1","hashtag2"]},{"1397080725":["hashtag1","hashtag2"]},{"1397080719":["hashtag1","hashtag2"]},{"1397080727":["hashtag1","hashtag2"]},{"1397080721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080723, 1397080720, 1397080725, 1397080719, 1397080727, 1397080721)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.41336274147034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:10:03.257559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_27_11504.jpg', '/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_35_8039.jpg', '/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_44_9811.jpg', '/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_55_10659.jpg', '/home/pi/Desktop/images/30112025/16/37/image_30112025_16_38_05_9775.jpg', '/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_14_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_27_11504.jpg
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_35_8039.jpg
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_44_9811.jpg
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_37_55_10659.jpg
/home/pi/Desktop/images/30112025/16/37/image_30112025_16_38_05_9775.jpg
/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_14_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080741","1397080750","1397080744","1397080747","1397080743","1397080742"],"photo_ids_order":["1397080741","1397080742","1397080743","1397080744","1397080747","1397080750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2243678a213cd25e7a030ad604ee281c.jpg","text":"TemporaryFile(/tmp/multipartBody1261309512784704100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_37_27_11504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b35dfcae94d78e9f1498c1217d0247f.jpg","text":"TemporaryFile(/tmp/multipartBody4300897093495478840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_38_14_9418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ddbc8fc8f96ca2b3d65c7a99fcec54f.jpg","text":"TemporaryFile(/tmp/multipartBody145327408981543388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_37_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edcc42e50ca9dad113e1b3f9092c8660.jpg","text":"TemporaryFile(/tmp/multipartBody8399962867250050481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_38_05_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d36be6bf88ff91c71d95fa33d76e19be.jpg","text":"TemporaryFile(/tmp/multipartBody4305728836006823137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_37_44_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b73486d9f52f958ec7492c12b4020edc.jpg","text":"TemporaryFile(/tmp/multipartBody5813968065049807973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522663989,"filename":"image_30112025_16_37_35_8039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080743","file1":"1397080742","file0":"1397080741","file4":"1397080747","file5":"1397080750","file3":"1397080744"},"map_files_photo_id_array":[{"photo_id":"1397080750","filename":"file5"},{"photo_id":"1397080743","filename":"file2"},{"photo_id":"1397080747","filename":"file4"},{"photo_id":"1397080742","filename":"file1"},{"photo_id":"1397080741","filename":"file0"},{"photo_id":"1397080744","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080741":["hashtag1","hashtag2"]},{"1397080750":["hashtag1","hashtag2"]},{"1397080744":["hashtag1","hashtag2"]},{"1397080747":["hashtag1","hashtag2"]},{"1397080743":["hashtag1","hashtag2"]},{"1397080742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080741, 1397080750, 1397080744, 1397080747, 1397080743, 1397080742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.231144428253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:10:42.841202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/15/image_31102025_13_15_37_2676.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_40_3686.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_43_2653.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_46_2698.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_49_3745.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_52_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/13/15/image_31102025_13_15_37_2676.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_40_3686.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_43_2653.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_46_2698.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_49_3745.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_52_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080759","1397080761","1397080758","1397080763","1397080757","1397080760"],"photo_ids_order":["1397080757","1397080758","1397080759","1397080760","1397080761","1397080763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d79add57f2d816a1bb49ef0692eeed6.jpg","text":"TemporaryFile(/tmp/multipartBody5517525503009397920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_43_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/30/637d1b7539b0e0e4c003328a588a1a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1632514066890290407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_49_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/30/6234e436fa92e75220c2cca8894d6de4.jpg","text":"TemporaryFile(/tmp/multipartBody8146921578732754540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_40_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/30/89f2aff135f43c9620edac46ce8c4179.jpg","text":"TemporaryFile(/tmp/multipartBody3234914220070097828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_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/30/5168fbc4ee1723e0a5e44b2f942b9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7976833052451448922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_37_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d74a79d3811cc6fd5aefa70d1def3086.jpg","text":"TemporaryFile(/tmp/multipartBody8807657910573476026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522703736,"filename":"image_31102025_13_15_46_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080759","file1":"1397080758","file0":"1397080757","file4":"1397080761","file5":"1397080763","file3":"1397080760"},"map_files_photo_id_array":[{"photo_id":"1397080763","filename":"file5"},{"photo_id":"1397080759","filename":"file2"},{"photo_id":"1397080761","filename":"file4"},{"photo_id":"1397080758","filename":"file1"},{"photo_id":"1397080757","filename":"file0"},{"photo_id":"1397080760","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080759":["hashtag1","hashtag2"]},{"1397080761":["hashtag1","hashtag2"]},{"1397080758":["hashtag1","hashtag2"]},{"1397080763":["hashtag1","hashtag2"]},{"1397080757":["hashtag1","hashtag2"]},{"1397080760":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080759, 1397080761, 1397080758, 1397080763, 1397080757, 1397080760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14920926094055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:11:23.466567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_25_10774.jpg', '/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_35_9672.jpg', '/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_44_9646.jpg', '/home/pi/Desktop/images/30112025/16/39/image_30112025_16_39_10_25273.jpg', '/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_15_10813.jpg', '/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_24_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_25_10774.jpg
/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_35_9672.jpg
/home/pi/Desktop/images/30112025/16/38/image_30112025_16_38_44_9646.jpg
/home/pi/Desktop/images/30112025/16/39/image_30112025_16_39_10_25273.jpg
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_15_10813.jpg
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_24_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080779","1397080770","1397080773","1397080767","1397080782","1397080776"],"photo_ids_order":["1397080767","1397080770","1397080773","1397080776","1397080779","1397080782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7c79779ff4162ebb11cba3df2aeea8e.jpg","text":"TemporaryFile(/tmp/multipartBody4296273812854894880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_41_15_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b4229a514348d4161747ff80f0c9e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5635300961442071570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_38_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/481d660836194919fc76d66cdd0bf423.jpg","text":"TemporaryFile(/tmp/multipartBody6917558608466835748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_38_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/559707a2f1c716c7f8362797584b3d86.jpg","text":"TemporaryFile(/tmp/multipartBody6181310155381204333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_38_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87c36d62f4c823f653e1943758ea972a.jpg","text":"TemporaryFile(/tmp/multipartBody1211138130827487280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_41_24_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d7eadd1b097180caf3ced3b03ff99d5.jpg","text":"TemporaryFile(/tmp/multipartBody6653534880706488248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522744168,"filename":"image_30112025_16_39_10_25273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080773","file1":"1397080770","file0":"1397080767","file4":"1397080779","file5":"1397080782","file3":"1397080776"},"map_files_photo_id_array":[{"photo_id":"1397080782","filename":"file5"},{"photo_id":"1397080773","filename":"file2"},{"photo_id":"1397080779","filename":"file4"},{"photo_id":"1397080770","filename":"file1"},{"photo_id":"1397080767","filename":"file0"},{"photo_id":"1397080776","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080779":["hashtag1","hashtag2"]},{"1397080770":["hashtag1","hashtag2"]},{"1397080773":["hashtag1","hashtag2"]},{"1397080767":["hashtag1","hashtag2"]},{"1397080782":["hashtag1","hashtag2"]},{"1397080776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080779, 1397080770, 1397080773, 1397080767, 1397080782, 1397080776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06675934791565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:12:03.158906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_37_12908.jpg', '/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_44_6711.jpg', '/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_54_10461.jpg', '/home/pi/Desktop/images/30112025/16/41/image_30112025_16_42_04_9783.jpg', '/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_14_9942.jpg', '/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_24_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_37_12908.jpg
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_44_6711.jpg
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_41_54_10461.jpg
/home/pi/Desktop/images/30112025/16/41/image_30112025_16_42_04_9783.jpg
/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_14_9942.jpg
/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_24_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080795","1397080797","1397080801","1397080794","1397080793","1397080792"],"photo_ids_order":["1397080792","1397080793","1397080794","1397080795","1397080797","1397080801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e13fb0ea3a93c8ce0495b90ef8144bf.jpg","text":"TemporaryFile(/tmp/multipartBody2128586648548524689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_42_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57503a56ca90ba14b241992eee3a2ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2098959354910569215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_42_14_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5390eb5e2e0d270ec5eced5c03aa6e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8247306409743234119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_42_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/827dfc07dbfe6db20312c63a6328b764.jpg","text":"TemporaryFile(/tmp/multipartBody712509617252112709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_41_54_10461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18d8e5f67cbdc5464fc8ee3825023eba.jpg","text":"TemporaryFile(/tmp/multipartBody6907138130943100915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_41_44_6711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86dcfe605a79fbe272598a447a854611.jpg","text":"TemporaryFile(/tmp/multipartBody634254484083847553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522783876,"filename":"image_30112025_16_41_37_12908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080794","file1":"1397080793","file0":"1397080792","file4":"1397080797","file5":"1397080801","file3":"1397080795"},"map_files_photo_id_array":[{"photo_id":"1397080801","filename":"file5"},{"photo_id":"1397080794","filename":"file2"},{"photo_id":"1397080797","filename":"file4"},{"photo_id":"1397080793","filename":"file1"},{"photo_id":"1397080792","filename":"file0"},{"photo_id":"1397080795","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080795":["hashtag1","hashtag2"]},{"1397080797":["hashtag1","hashtag2"]},{"1397080801":["hashtag1","hashtag2"]},{"1397080794":["hashtag1","hashtag2"]},{"1397080793":["hashtag1","hashtag2"]},{"1397080792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080795, 1397080797, 1397080801, 1397080794, 1397080793, 1397080792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.989240646362305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:12:42.673120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/15/image_31102025_13_15_55_2688.jpg', '/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_58_3531.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_01_2521.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_04_2725.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_07_3635.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_10_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/13/15/image_31102025_13_15_55_2688.jpg
/home/pi/Desktop/images/31102025/13/15/image_31102025_13_15_58_3531.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_01_2521.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_04_2725.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_07_3635.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_10_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080811","1397080810","1397080813","1397080807","1397080812","1397080809"],"photo_ids_order":["1397080807","1397080809","1397080810","1397080811","1397080812","1397080813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9917e3e00e58c376e74e383cb88ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody3482188764899540714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_16_04_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/30/82aee19b021636583a854b92795af8ac.jpg","text":"TemporaryFile(/tmp/multipartBody9010423109470625775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_16_01_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/30/911a4b75a43e357042c5d6714acf0d64.jpg","text":"TemporaryFile(/tmp/multipartBody5469154088037348707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_16_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/30/ad208205938b476efb410626f6f77b02.jpg","text":"TemporaryFile(/tmp/multipartBody3911540101964699213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_15_55_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/30/71baa27018f81fac33e0a2e446dd8707.jpg","text":"TemporaryFile(/tmp/multipartBody6576758341335838882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_16_07_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2129f17150e144f7728ea0dcd6eec33.jpg","text":"TemporaryFile(/tmp/multipartBody8421803842454129714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522823597,"filename":"image_31102025_13_15_58_3531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080810","file1":"1397080809","file0":"1397080807","file4":"1397080812","file5":"1397080813","file3":"1397080811"},"map_files_photo_id_array":[{"photo_id":"1397080813","filename":"file5"},{"photo_id":"1397080810","filename":"file2"},{"photo_id":"1397080812","filename":"file4"},{"photo_id":"1397080809","filename":"file1"},{"photo_id":"1397080807","filename":"file0"},{"photo_id":"1397080811","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080811":["hashtag1","hashtag2"]},{"1397080810":["hashtag1","hashtag2"]},{"1397080813":["hashtag1","hashtag2"]},{"1397080807":["hashtag1","hashtag2"]},{"1397080812":["hashtag1","hashtag2"]},{"1397080809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080811, 1397080810, 1397080813, 1397080807, 1397080812, 1397080809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.193164587020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:13:21.836041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_36_11736.jpg', '/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_45_8983.jpg', '/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_54_9716.jpg', '/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_04_10005.jpg', '/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_14_9602.jpg', '/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_24_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_36_11736.jpg
/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_45_8983.jpg
/home/pi/Desktop/images/30112025/16/42/image_30112025_16_42_54_9716.jpg
/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_04_10005.jpg
/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_14_9602.jpg
/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_24_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080822","1397080825","1397080819","1397080828","1397080815","1397080832"],"photo_ids_order":["1397080815","1397080819","1397080822","1397080825","1397080828","1397080832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe8f960352eb861ce66453e955d24967.jpg","text":"TemporaryFile(/tmp/multipartBody4932686906163710363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_42_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4fe5c9b5e03cf2f5baaa7ecdfc339dd.jpg","text":"TemporaryFile(/tmp/multipartBody4026608603438876563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_43_04_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f601f7317ee0a0c12429d21f33a491d4.jpg","text":"TemporaryFile(/tmp/multipartBody8071747053427062125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_42_45_8983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd1d47632c0912cb04be0357c7354cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4381961780210505980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_43_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0752675033bed18253a5c6e0e489eb4e.jpg","text":"TemporaryFile(/tmp/multipartBody8288571002587535421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_42_36_11736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc10d71572cd0a446317cc93dd4f3160.jpg","text":"TemporaryFile(/tmp/multipartBody5584579024684090507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522862530,"filename":"image_30112025_16_43_24_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080822","file1":"1397080819","file0":"1397080815","file4":"1397080828","file5":"1397080832","file3":"1397080825"},"map_files_photo_id_array":[{"photo_id":"1397080832","filename":"file5"},{"photo_id":"1397080822","filename":"file2"},{"photo_id":"1397080828","filename":"file4"},{"photo_id":"1397080819","filename":"file1"},{"photo_id":"1397080815","filename":"file0"},{"photo_id":"1397080825","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080822":["hashtag1","hashtag2"]},{"1397080825":["hashtag1","hashtag2"]},{"1397080819":["hashtag1","hashtag2"]},{"1397080828":["hashtag1","hashtag2"]},{"1397080815":["hashtag1","hashtag2"]},{"1397080832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080822, 1397080825, 1397080819, 1397080828, 1397080815, 1397080832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36832857131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:14:03.268235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_44_9731.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_02_18029.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_04_1616.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_15_10674.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_24_9582.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/43/image_30112025_16_43_44_9731.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_02_18029.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_04_1616.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_15_10674.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_24_9582.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_34_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080837","1397080834","1397080836","1397080844","1397080838","1397080841"],"photo_ids_order":["1397080834","1397080836","1397080837","1397080838","1397080841","1397080844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a95fa8b905a9f06ef203dddd09b642b0.jpg","text":"TemporaryFile(/tmp/multipartBody6448812931978942343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_44_04_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/30/35d02cb107c5711ec0c79c1d0c1190ca.jpg","text":"TemporaryFile(/tmp/multipartBody2530395573317332687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_43_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/796946dc8b0e8d8288a72f6cd8298a21.jpg","text":"TemporaryFile(/tmp/multipartBody3185800798930954464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_44_02_18029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cc90baff4a7578f842e3ab13b02fd32.jpg","text":"TemporaryFile(/tmp/multipartBody8796644149359933315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_44_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e80718d87de00ddfb1f9dae455bf7f4.jpg","text":"TemporaryFile(/tmp/multipartBody7335057228821627017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_44_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bcd844f6abba7a04861f9de885be3ce.jpg","text":"TemporaryFile(/tmp/multipartBody5109561889197957243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522903985,"filename":"image_30112025_16_44_24_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080837","file1":"1397080836","file0":"1397080834","file4":"1397080841","file5":"1397080844","file3":"1397080838"},"map_files_photo_id_array":[{"photo_id":"1397080844","filename":"file5"},{"photo_id":"1397080837","filename":"file2"},{"photo_id":"1397080841","filename":"file4"},{"photo_id":"1397080836","filename":"file1"},{"photo_id":"1397080834","filename":"file0"},{"photo_id":"1397080838","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080837":["hashtag1","hashtag2"]},{"1397080834":["hashtag1","hashtag2"]},{"1397080836":["hashtag1","hashtag2"]},{"1397080844":["hashtag1","hashtag2"]},{"1397080838":["hashtag1","hashtag2"]},{"1397080841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080837, 1397080834, 1397080836, 1397080844, 1397080838, 1397080841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.419965505599976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:14:42.558672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/16/image_31102025_13_16_13_2693.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_16_3746.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_19_2615.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_25_3690.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_28_2567.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_31_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/13/16/image_31102025_13_16_13_2693.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_16_3746.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_19_2615.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_25_3690.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_28_2567.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_31_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397080867","1397080870","1397080869","1397080854","1397080856","1397080868"],"photo_ids_order":["1397080854","1397080856","1397080867","1397080868","1397080869","1397080870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea82235b6ba7ae8f3e55bba14a46267f.jpg","text":"TemporaryFile(/tmp/multipartBody7435678844409439259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_19_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/30/a8370bd5dab49df992148d5feb114a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4833822889468742574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_31_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f903b8a7457d6794d4cb390a91966ada.jpg","text":"TemporaryFile(/tmp/multipartBody8353737300532206962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_28_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/30/5db7cd4c667cadc56b9865929f3ca773.jpg","text":"TemporaryFile(/tmp/multipartBody4485247078264595778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_13_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/30/038e78da88fc3294d95ef2539768acec.jpg","text":"TemporaryFile(/tmp/multipartBody81204257458557834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_16_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/30/08f4aeaff0778e89b67668482ec89746.jpg","text":"TemporaryFile(/tmp/multipartBody2739669313182426427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522943445,"filename":"image_31102025_13_16_25_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080867","file1":"1397080856","file0":"1397080854","file4":"1397080869","file5":"1397080870","file3":"1397080868"},"map_files_photo_id_array":[{"photo_id":"1397080870","filename":"file5"},{"photo_id":"1397080867","filename":"file2"},{"photo_id":"1397080869","filename":"file4"},{"photo_id":"1397080856","filename":"file1"},{"photo_id":"1397080854","filename":"file0"},{"photo_id":"1397080868","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080867":["hashtag1","hashtag2"]},{"1397080870":["hashtag1","hashtag2"]},{"1397080869":["hashtag1","hashtag2"]},{"1397080854":["hashtag1","hashtag2"]},{"1397080856":["hashtag1","hashtag2"]},{"1397080868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080867, 1397080870, 1397080869, 1397080854, 1397080856, 1397080868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4272894859314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:15:32.783319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_19_3555.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_22_2704.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_25_2879.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_27_2652.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_31_3853.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_39_8194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_19_3555.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_22_2704.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_25_2879.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_27_2652.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_31_3853.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_39_8194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080888","1397080890","1397080878","1397080881","1397080889","1397080885"],"photo_ids_order":["1397080878","1397080881","1397080885","1397080888","1397080889","1397080890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38b4c099aee92caf02254fde51449d22.jpg","text":"TemporaryFile(/tmp/multipartBody4488328260547787187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_27_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/30/4132b5f0ac91153cd044e2d40f9ac135.jpg","text":"TemporaryFile(/tmp/multipartBody1239704534888585707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_39_8194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0567ea9ad79557f23c1a8d0c2df8b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2388180449495740294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_19_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/30/e2506557f804032a269a0200c098f9df.jpg","text":"TemporaryFile(/tmp/multipartBody5966295644667339082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_22_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/30/cdfcf87251e593af4ab46285c6bc03a7.jpg","text":"TemporaryFile(/tmp/multipartBody8260299992018852333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_31_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/30/b6896b535820478cc07e6a287e1d3364.jpg","text":"TemporaryFile(/tmp/multipartBody3898724252241987544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764522994752,"filename":"image_25112025_20_39_25_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080885","file1":"1397080881","file0":"1397080878","file4":"1397080889","file5":"1397080890","file3":"1397080888"},"map_files_photo_id_array":[{"photo_id":"1397080890","filename":"file5"},{"photo_id":"1397080885","filename":"file2"},{"photo_id":"1397080889","filename":"file4"},{"photo_id":"1397080881","filename":"file1"},{"photo_id":"1397080878","filename":"file0"},{"photo_id":"1397080888","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397080888":["hashtag1","hashtag2"]},{"1397080890":["hashtag1","hashtag2"]},{"1397080878":["hashtag1","hashtag2"]},{"1397080881":["hashtag1","hashtag2"]},{"1397080889":["hashtag1","hashtag2"]},{"1397080885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397080888, 1397080890, 1397080878, 1397080881, 1397080889, 1397080885)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.49395513534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:16:22.082874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_44_10394.jpg', '/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_54_9685.jpg', '/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_15_10048.jpg', '/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_24_9963.jpg', '/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_35_10430.jpg', '/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_44_10394.jpg
/home/pi/Desktop/images/30112025/16/44/image_30112025_16_44_54_9685.jpg
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_15_10048.jpg
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_24_9963.jpg
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_35_10430.jpg
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_45_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080904","1397080896","1397080899","1397080893","1397080902","1397080907"],"photo_ids_order":["1397080893","1397080896","1397080899","1397080902","1397080904","1397080907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2103031e8f95c381ef8544205b83d998.jpg","text":"TemporaryFile(/tmp/multipartBody1540533435322791054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_45_35_10430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff9431f78bd881b0b9e7575199068203.jpg","text":"TemporaryFile(/tmp/multipartBody5915208533978649285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_44_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74cde0328b26e79f2a22a1b4b6bd3242.jpg","text":"TemporaryFile(/tmp/multipartBody9102503694223728044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_45_15_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2484832a910a105b3cea1bfdda571258.jpg","text":"TemporaryFile(/tmp/multipartBody1196162615912053097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_44_44_10394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ecec0097dbdef747aa5f9467c4b6ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody8918141119056709765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_45_24_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/398713e30117f33cda8963bc2b697c56.jpg","text":"TemporaryFile(/tmp/multipartBody7193596084659158899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523042778,"filename":"image_30112025_16_45_45_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080899","file1":"1397080896","file0":"1397080893","file4":"1397080904","file5":"1397080907","file3":"1397080902"},"map_files_photo_id_array":[{"photo_id":"1397080907","filename":"file5"},{"photo_id":"1397080899","filename":"file2"},{"photo_id":"1397080904","filename":"file4"},{"photo_id":"1397080896","filename":"file1"},{"photo_id":"1397080893","filename":"file0"},{"photo_id":"1397080902","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080904":["hashtag1","hashtag2"]},{"1397080896":["hashtag1","hashtag2"]},{"1397080899":["hashtag1","hashtag2"]},{"1397080893":["hashtag1","hashtag2"]},{"1397080902":["hashtag1","hashtag2"]},{"1397080907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080904, 1397080896, 1397080899, 1397080893, 1397080902, 1397080907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04183316230774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:17:02.904695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_55_10863.jpg', '/home/pi/Desktop/images/30112025/16/45/image_30112025_16_46_05_9756.jpg', '/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_15_9673.jpg', '/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_25_10255.jpg', '/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_35_9792.jpg', '/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_45_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_45_55_10863.jpg
/home/pi/Desktop/images/30112025/16/45/image_30112025_16_46_05_9756.jpg
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_15_9673.jpg
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_25_10255.jpg
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_35_9792.jpg
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_45_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080915","1397080914","1397080919","1397080913","1397080922","1397080916"],"photo_ids_order":["1397080913","1397080914","1397080915","1397080916","1397080919","1397080922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99bb1e44d625af6a291f75a43c865411.jpg","text":"TemporaryFile(/tmp/multipartBody620895810733956313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_46_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fcb186483236213b4adc1a2876e63ae.jpg","text":"TemporaryFile(/tmp/multipartBody5962225387605453544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_46_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88b421f5825d847d9e2ff7e3a0e6d530.jpg","text":"TemporaryFile(/tmp/multipartBody4304833843202934320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_46_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52dbcd1065a4dd9e42c9006739d3d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody1512905323736494868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_45_55_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dffd5d3931c5bb4d075fdbc5df7bd2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2215127586632970104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_46_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f09acb05763617281705db3515db5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2004765628670497009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523083661,"filename":"image_30112025_16_46_25_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080915","file1":"1397080914","file0":"1397080913","file4":"1397080919","file5":"1397080922","file3":"1397080916"},"map_files_photo_id_array":[{"photo_id":"1397080922","filename":"file5"},{"photo_id":"1397080915","filename":"file2"},{"photo_id":"1397080919","filename":"file4"},{"photo_id":"1397080914","filename":"file1"},{"photo_id":"1397080913","filename":"file0"},{"photo_id":"1397080916","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080915":["hashtag1","hashtag2"]},{"1397080914":["hashtag1","hashtag2"]},{"1397080919":["hashtag1","hashtag2"]},{"1397080913":["hashtag1","hashtag2"]},{"1397080922":["hashtag1","hashtag2"]},{"1397080916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080915, 1397080914, 1397080919, 1397080913, 1397080922, 1397080916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19556736946106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:17:42.240469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/16/image_31102025_13_16_34_3581.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_37_2648.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_40_2777.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_43_3627.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_46_2642.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_48_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_34_3581.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_37_2648.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_40_2777.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_43_3627.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_46_2642.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_48_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":["1397080942","1397080945","1397080929","1397080944","1397080943","1397080931"],"photo_ids_order":["1397080929","1397080931","1397080942","1397080943","1397080944","1397080945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e169122cf13639a4f61fe41611ad3bff.jpg","text":"TemporaryFile(/tmp/multipartBody8921360605774498613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_40_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/30/a69e44b184fe1cf3ac600baaa2390ea9.jpg","text":"TemporaryFile(/tmp/multipartBody636093045227302580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_48_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/30/2bb481fdc6f0133b7f97f90e6af4197e.jpg","text":"TemporaryFile(/tmp/multipartBody5082925709513149287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_34_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64b07d6cf9c34bc6e126149aeccbab72.jpg","text":"TemporaryFile(/tmp/multipartBody8126162545506377760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_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/30/5da74857350aaf016910dad9c8ca7eab.jpg","text":"TemporaryFile(/tmp/multipartBody1771602550685785741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_43_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/30/864ee8de83635e108ea5e6a7265650d0.jpg","text":"TemporaryFile(/tmp/multipartBody64210628451855057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523123138,"filename":"image_31102025_13_16_37_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080942","file1":"1397080931","file0":"1397080929","file4":"1397080944","file5":"1397080945","file3":"1397080943"},"map_files_photo_id_array":[{"photo_id":"1397080945","filename":"file5"},{"photo_id":"1397080942","filename":"file2"},{"photo_id":"1397080944","filename":"file4"},{"photo_id":"1397080931","filename":"file1"},{"photo_id":"1397080929","filename":"file0"},{"photo_id":"1397080943","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397080942":["hashtag1","hashtag2"]},{"1397080945":["hashtag1","hashtag2"]},{"1397080929":["hashtag1","hashtag2"]},{"1397080944":["hashtag1","hashtag2"]},{"1397080943":["hashtag1","hashtag2"]},{"1397080931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397080942, 1397080945, 1397080929, 1397080944, 1397080943, 1397080931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68768835067749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:18:22.411335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_55_9180.jpg', '/home/pi/Desktop/images/30112025/16/46/image_30112025_16_47_05_10698.jpg', '/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_15_9581.jpg', '/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_25_9740.jpg', '/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_35_10650.jpg', '/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_45_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_46_55_9180.jpg
/home/pi/Desktop/images/30112025/16/46/image_30112025_16_47_05_10698.jpg
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_15_9581.jpg
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_25_9740.jpg
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_35_10650.jpg
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_45_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080960","1397080954","1397080957","1397080951","1397080962","1397080949"],"photo_ids_order":["1397080949","1397080951","1397080954","1397080957","1397080960","1397080962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b5ff4ad2b9a9eb2e2c047f49805f10d.jpg","text":"TemporaryFile(/tmp/multipartBody7510919352701301619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_47_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c22c56dcda966ed1f2529845c853fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6256032560794014956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_47_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f2b0c361e7b8398a43ab8237b06df1f.jpg","text":"TemporaryFile(/tmp/multipartBody135502629427804370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_47_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcd4ff58836d87e7fa4286b2a5109409.jpg","text":"TemporaryFile(/tmp/multipartBody6545106434667667637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_47_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/292e64b3578375d79591840c980b198b.jpg","text":"TemporaryFile(/tmp/multipartBody7633827664884239192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_47_45_9473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fd26445e7c110f668d705296dbbc383.jpg","text":"TemporaryFile(/tmp/multipartBody6164487172664604060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523163133,"filename":"image_30112025_16_46_55_9180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080954","file1":"1397080951","file0":"1397080949","file4":"1397080960","file5":"1397080962","file3":"1397080957"},"map_files_photo_id_array":[{"photo_id":"1397080962","filename":"file5"},{"photo_id":"1397080954","filename":"file2"},{"photo_id":"1397080960","filename":"file4"},{"photo_id":"1397080951","filename":"file1"},{"photo_id":"1397080949","filename":"file0"},{"photo_id":"1397080957","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080960":["hashtag1","hashtag2"]},{"1397080954":["hashtag1","hashtag2"]},{"1397080957":["hashtag1","hashtag2"]},{"1397080951":["hashtag1","hashtag2"]},{"1397080962":["hashtag1","hashtag2"]},{"1397080949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080960, 1397080954, 1397080957, 1397080951, 1397080962, 1397080949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65581440925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:19:03.528002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_55_9855.jpg', '/home/pi/Desktop/images/30112025/16/47/image_30112025_16_48_05_10616.jpg', '/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_15_9943.jpg', '/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_27_11312.jpg', '/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_34_7967.jpg', '/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_45_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_47_55_9855.jpg
/home/pi/Desktop/images/30112025/16/47/image_30112025_16_48_05_10616.jpg
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_15_9943.jpg
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_27_11312.jpg
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_34_7967.jpg
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_45_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080963","1397080965","1397080973","1397080970","1397080964","1397080967"],"photo_ids_order":["1397080963","1397080964","1397080965","1397080967","1397080970","1397080973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6fae08335e2a674db26cb245acea76c3.jpg","text":"TemporaryFile(/tmp/multipartBody5247381123553747918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_47_55_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd269ba8bfb7805d2f456d021e1b769d.jpg","text":"TemporaryFile(/tmp/multipartBody5823517445282934258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_48_15_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e7fd1c007a9d32b5beb542a482442c1.jpg","text":"TemporaryFile(/tmp/multipartBody2384183590753240614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_48_45_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ce829e35ca82dbe73010a231f74e581.jpg","text":"TemporaryFile(/tmp/multipartBody6338590055396819438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_48_34_7967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c30b146611e7a308acae42b9a1d98ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7956124068704367192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_48_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/429e5b35e5cf4010a33819cac77ba3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5164404022387448038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523204402,"filename":"image_30112025_16_48_27_11312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080965","file1":"1397080964","file0":"1397080963","file4":"1397080970","file5":"1397080973","file3":"1397080967"},"map_files_photo_id_array":[{"photo_id":"1397080973","filename":"file5"},{"photo_id":"1397080965","filename":"file2"},{"photo_id":"1397080970","filename":"file4"},{"photo_id":"1397080964","filename":"file1"},{"photo_id":"1397080963","filename":"file0"},{"photo_id":"1397080967","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397080963":["hashtag1","hashtag2"]},{"1397080965":["hashtag1","hashtag2"]},{"1397080973":["hashtag1","hashtag2"]},{"1397080970":["hashtag1","hashtag2"]},{"1397080964":["hashtag1","hashtag2"]},{"1397080967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397080963, 1397080965, 1397080973, 1397080970, 1397080964, 1397080967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.097023010253906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:20:05.583128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:20:16.554460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_41_1623.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_43_1640.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_44_1531.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_46_1652.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_48_2596.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_52_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_41_1623.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_43_1640.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_44_1531.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_46_1652.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_48_2596.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_52_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397080993","1397080996","1397080991","1397080988","1397080982","1397080985"],"photo_ids_order":["1397080982","1397080985","1397080988","1397080991","1397080993","1397080996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1a714246a314f064bdd2f79b89438a6.jpg","text":"TemporaryFile(/tmp/multipartBody1583253790366906845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_48_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/30/037491e224b0ab3b3c2a0811fd42e737.jpg","text":"TemporaryFile(/tmp/multipartBody6713798872958933370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_52_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/30/6e8413034263c245739c4e397d5eaefb.jpg","text":"TemporaryFile(/tmp/multipartBody8193286780617497747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_46_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/30/d4cc78cacb521610bf2b6d4850e9347a.jpg","text":"TemporaryFile(/tmp/multipartBody5603900700637820218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_44_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/30/5158a64b54fad3d451348b114577824d.jpg","text":"TemporaryFile(/tmp/multipartBody9210886807967511206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_41_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/30/4f79f92057660990ef3988591a15bb11.jpg","text":"TemporaryFile(/tmp/multipartBody8374061348874200599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523281052,"filename":"image_25112025_20_39_43_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397080988","file1":"1397080985","file0":"1397080982","file4":"1397080993","file5":"1397080996","file3":"1397080991"},"map_files_photo_id_array":[{"photo_id":"1397080996","filename":"file5"},{"photo_id":"1397080988","filename":"file2"},{"photo_id":"1397080993","filename":"file4"},{"photo_id":"1397080985","filename":"file1"},{"photo_id":"1397080982","filename":"file0"},{"photo_id":"1397080991","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397080993":["hashtag1","hashtag2"]},{"1397080996":["hashtag1","hashtag2"]},{"1397080991":["hashtag1","hashtag2"]},{"1397080988":["hashtag1","hashtag2"]},{"1397080982":["hashtag1","hashtag2"]},{"1397080985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397080993, 1397080996, 1397080991, 1397080988, 1397080982, 1397080985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23760795593262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:21:02.397702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_56_10237.jpg', '/home/pi/Desktop/images/30112025/16/48/image_30112025_16_49_05_9917.jpg', '/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_15_9767.jpg', '/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_25_9771.jpg', '/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_35_9583.jpg', '/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_45_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_48_56_10237.jpg
/home/pi/Desktop/images/30112025/16/48/image_30112025_16_49_05_9917.jpg
/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_15_9767.jpg
/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_25_9771.jpg
/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_35_9583.jpg
/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_45_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081008","1397081010","1397081018","1397081012","1397081015","1397081009"],"photo_ids_order":["1397081008","1397081009","1397081010","1397081012","1397081015","1397081018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a7af05bf032e427dde7bfbd545bbe2ed.jpg","text":"TemporaryFile(/tmp/multipartBody90786354957774529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_48_56_10237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/baa23b529cf9b6ab63fae6369c244260.jpg","text":"TemporaryFile(/tmp/multipartBody7725585971873413945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_49_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62c5c4260b7a2a91b4f7cf15f3166631.jpg","text":"TemporaryFile(/tmp/multipartBody5909284850571033196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_49_45_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3d07a8931a15bccc9e1ac464f2f24ea.jpg","text":"TemporaryFile(/tmp/multipartBody1759612126254888231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_49_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/291fadd389dc6e0eb4fd36bc939a3ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8776791311791437718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_49_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8ba601f245b067aaf084c02f7e096e4.jpg","text":"TemporaryFile(/tmp/multipartBody1849596216816547525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523325762,"filename":"image_30112025_16_49_05_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081010","file1":"1397081009","file0":"1397081008","file4":"1397081015","file5":"1397081018","file3":"1397081012"},"map_files_photo_id_array":[{"photo_id":"1397081018","filename":"file5"},{"photo_id":"1397081010","filename":"file2"},{"photo_id":"1397081015","filename":"file4"},{"photo_id":"1397081009","filename":"file1"},{"photo_id":"1397081008","filename":"file0"},{"photo_id":"1397081012","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081008":["hashtag1","hashtag2"]},{"1397081010":["hashtag1","hashtag2"]},{"1397081018":["hashtag1","hashtag2"]},{"1397081012":["hashtag1","hashtag2"]},{"1397081015":["hashtag1","hashtag2"]},{"1397081009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081008, 1397081010, 1397081018, 1397081012, 1397081015, 1397081009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.0660924911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:22:03.023565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:22:12.119228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_55_2588.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_57_2677.jpg', '/home/pi/Desktop/images/25112025/20/39/image_25112025_20_40_01_3711.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_04_2765.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_07_2824.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_09_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_55_2588.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_39_57_2677.jpg
/home/pi/Desktop/images/25112025/20/39/image_25112025_20_40_01_3711.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_04_2765.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_07_2824.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_09_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081028","1397081042","1397081036","1397081039","1397081030","1397081033"],"photo_ids_order":["1397081028","1397081030","1397081033","1397081036","1397081039","1397081042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38e86d7e43c53a8f114c3e967831991d.jpg","text":"TemporaryFile(/tmp/multipartBody3668328849009452308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_39_55_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/30/6c3fe66b81b17b0eba6cb5922658d8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7721271233000090546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_40_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/30/7c3aeb59c0adf01271a9dbf2be00c658.jpg","text":"TemporaryFile(/tmp/multipartBody8914009268867636954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_40_04_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/460963ff5080843a6d80a1db547eb5e2.jpg","text":"TemporaryFile(/tmp/multipartBody1113446812622081680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_40_07_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/30/a84e81fcec23c650e27a7dd05c842e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7379473947227324137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_39_57_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b8ee28ccae3f3ad328adf77aea66749.jpg","text":"TemporaryFile(/tmp/multipartBody4177354820379829569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523394139,"filename":"image_25112025_20_40_01_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081033","file1":"1397081030","file0":"1397081028","file4":"1397081039","file5":"1397081042","file3":"1397081036"},"map_files_photo_id_array":[{"photo_id":"1397081042","filename":"file5"},{"photo_id":"1397081033","filename":"file2"},{"photo_id":"1397081039","filename":"file4"},{"photo_id":"1397081030","filename":"file1"},{"photo_id":"1397081028","filename":"file0"},{"photo_id":"1397081036","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081028":["hashtag1","hashtag2"]},{"1397081042":["hashtag1","hashtag2"]},{"1397081036":["hashtag1","hashtag2"]},{"1397081039":["hashtag1","hashtag2"]},{"1397081030":["hashtag1","hashtag2"]},{"1397081033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081028, 1397081042, 1397081036, 1397081039, 1397081030, 1397081033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10847544670105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:23:02.915539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:23:12.321666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_13_3616.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_16_2653.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_18_2689.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_21_2905.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_25_3844.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_28_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_13_3616.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_16_2653.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_18_2689.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_21_2905.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_25_3844.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_28_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":["1397081044","1397081058","1397081052","1397081055","1397081049","1397081045"],"photo_ids_order":["1397081044","1397081045","1397081049","1397081052","1397081055","1397081058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ba1ff96b11a1150c1a7fab007dc30b6.jpg","text":"TemporaryFile(/tmp/multipartBody3486533360927968991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_13_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/30/608d4c0e1894e1e2a53c3d2fc0729664.jpg","text":"TemporaryFile(/tmp/multipartBody6290992885367638131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_28_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fec68a6e65dcb561f05ab4400e3c117b.jpg","text":"TemporaryFile(/tmp/multipartBody7259073764102542278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_21_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/30/2e381c5185faca4b77ac9c4cb033a982.jpg","text":"TemporaryFile(/tmp/multipartBody3138139714642464966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_25_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/30/88229172054def939cc8f7751e7585ad.jpg","text":"TemporaryFile(/tmp/multipartBody493618432173626590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_18_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/30/19b9b59a2c9475b24214da5384215366.jpg","text":"TemporaryFile(/tmp/multipartBody6036837538571936125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523454290,"filename":"image_25112025_20_40_16_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081049","file1":"1397081045","file0":"1397081044","file4":"1397081055","file5":"1397081058","file3":"1397081052"},"map_files_photo_id_array":[{"photo_id":"1397081058","filename":"file5"},{"photo_id":"1397081049","filename":"file2"},{"photo_id":"1397081055","filename":"file4"},{"photo_id":"1397081045","filename":"file1"},{"photo_id":"1397081044","filename":"file0"},{"photo_id":"1397081052","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081044":["hashtag1","hashtag2"]},{"1397081058":["hashtag1","hashtag2"]},{"1397081052":["hashtag1","hashtag2"]},{"1397081055":["hashtag1","hashtag2"]},{"1397081049":["hashtag1","hashtag2"]},{"1397081045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081044, 1397081058, 1397081052, 1397081055, 1397081049, 1397081045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0902886390686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:24:03.266719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_55_9866.jpg', '/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_14_10049.jpg', '/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_25_10723.jpg', '/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_34_9774.jpg', '/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_44_9563.jpg', '/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_54_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/49/image_30112025_16_49_55_9866.jpg
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_14_10049.jpg
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_25_10723.jpg
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_34_9774.jpg
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_44_9563.jpg
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_50_54_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081077","1397081073","1397081072","1397081075","1397081080","1397081074"],"photo_ids_order":["1397081072","1397081073","1397081074","1397081075","1397081077","1397081080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3359080047bedd8d673abeff4ca6cab.jpg","text":"TemporaryFile(/tmp/multipartBody4913502697804108088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_50_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24181099445c3e5797a72e06d727bf0a.jpg","text":"TemporaryFile(/tmp/multipartBody3024644206620518508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_50_14_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6af1ffa5e4c1e689cbce6266f0a7d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4707535833653818336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_49_55_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55d701dbf91341642004ec93b75f6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8213977145827399355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_50_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8614a8d429168b847eaeee1f31880dd.jpg","text":"TemporaryFile(/tmp/multipartBody5248284512543944131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_50_54_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb3c541d7847720b39b9afc6927c4240.jpg","text":"TemporaryFile(/tmp/multipartBody5465068451629736871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523504030,"filename":"image_30112025_16_50_25_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081074","file1":"1397081073","file0":"1397081072","file4":"1397081077","file5":"1397081080","file3":"1397081075"},"map_files_photo_id_array":[{"photo_id":"1397081080","filename":"file5"},{"photo_id":"1397081074","filename":"file2"},{"photo_id":"1397081077","filename":"file4"},{"photo_id":"1397081073","filename":"file1"},{"photo_id":"1397081072","filename":"file0"},{"photo_id":"1397081075","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081077":["hashtag1","hashtag2"]},{"1397081073":["hashtag1","hashtag2"]},{"1397081072":["hashtag1","hashtag2"]},{"1397081075":["hashtag1","hashtag2"]},{"1397081080":["hashtag1","hashtag2"]},{"1397081074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081077, 1397081073, 1397081072, 1397081075, 1397081080, 1397081074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50849008560181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:24:42.539941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/16/image_31102025_13_16_52_3572.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_55_2601.jpg', '/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_58_3618.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_01_2684.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_04_2708.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_07_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_52_3572.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_55_2601.jpg
/home/pi/Desktop/images/31102025/13/16/image_31102025_13_16_58_3618.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_01_2684.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_04_2708.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_07_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":["1397081091","1397081090","1397081093","1397081087","1397081092","1397081089"],"photo_ids_order":["1397081087","1397081089","1397081090","1397081091","1397081092","1397081093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e791f2c80b33400d86ea0d74ff0e9e78.jpg","text":"TemporaryFile(/tmp/multipartBody8147831652885139102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_17_01_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/572de0681e3873b0e8044d744966800d.jpg","text":"TemporaryFile(/tmp/multipartBody1952296386031131695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_16_58_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ab48081e75e33ffa300a25620aa991b.jpg","text":"TemporaryFile(/tmp/multipartBody2472115017800694765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_17_07_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/30/b9f4d06adfac2b0db744113661ab57ee.jpg","text":"TemporaryFile(/tmp/multipartBody6070443075506936951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_16_52_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/30/435fb08f8e943bc0604654c4b269aabe.jpg","text":"TemporaryFile(/tmp/multipartBody5655600728551863898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_17_04_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/30/23bd259a7439e9de84a25a018d121b26.jpg","text":"TemporaryFile(/tmp/multipartBody2277193404925934079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523543424,"filename":"image_31102025_13_16_55_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081090","file1":"1397081089","file0":"1397081087","file4":"1397081092","file5":"1397081093","file3":"1397081091"},"map_files_photo_id_array":[{"photo_id":"1397081093","filename":"file5"},{"photo_id":"1397081090","filename":"file2"},{"photo_id":"1397081092","filename":"file4"},{"photo_id":"1397081089","filename":"file1"},{"photo_id":"1397081087","filename":"file0"},{"photo_id":"1397081091","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081091":["hashtag1","hashtag2"]},{"1397081090":["hashtag1","hashtag2"]},{"1397081093":["hashtag1","hashtag2"]},{"1397081087":["hashtag1","hashtag2"]},{"1397081092":["hashtag1","hashtag2"]},{"1397081089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081091, 1397081090, 1397081093, 1397081087, 1397081092, 1397081089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.445053815841675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:25:22.857972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/50/image_30112025_16_51_05_10706.jpg', '/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_14_9437.jpg', '/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_25_10680.jpg', '/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_34_9337.jpg', '/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_44_9849.jpg', '/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_55_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/50/image_30112025_16_51_05_10706.jpg
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_14_9437.jpg
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_25_10680.jpg
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_34_9337.jpg
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_44_9849.jpg
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_51_55_10773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081110","1397081097","1397081100","1397081103","1397081106","1397081108"],"photo_ids_order":["1397081097","1397081100","1397081103","1397081106","1397081108","1397081110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b652a6678b43743af4e4614451a494d.jpg","text":"TemporaryFile(/tmp/multipartBody2318868115150132082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_55_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06ac95d97e5ce75c3395e2da9eaae336.jpg","text":"TemporaryFile(/tmp/multipartBody5046183649948828777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f527065cfe7d5b17ef369e4420102ac.jpg","text":"TemporaryFile(/tmp/multipartBody5653621390927482196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_14_9437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a9ef10a8ad2084f2826f64b2218f454.jpg","text":"TemporaryFile(/tmp/multipartBody8249932169950608049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86930e9317094aa22020449db810093e.jpg","text":"TemporaryFile(/tmp/multipartBody6745163141114686473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_34_9337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3218c93f738d21002b04796d4d666659.jpg","text":"TemporaryFile(/tmp/multipartBody8049533255978859449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523583545,"filename":"image_30112025_16_51_44_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081103","file1":"1397081100","file0":"1397081097","file4":"1397081108","file5":"1397081110","file3":"1397081106"},"map_files_photo_id_array":[{"photo_id":"1397081110","filename":"file5"},{"photo_id":"1397081103","filename":"file2"},{"photo_id":"1397081108","filename":"file4"},{"photo_id":"1397081100","filename":"file1"},{"photo_id":"1397081097","filename":"file0"},{"photo_id":"1397081106","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081110":["hashtag1","hashtag2"]},{"1397081097":["hashtag1","hashtag2"]},{"1397081100":["hashtag1","hashtag2"]},{"1397081103":["hashtag1","hashtag2"]},{"1397081106":["hashtag1","hashtag2"]},{"1397081108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081110, 1397081097, 1397081100, 1397081103, 1397081106, 1397081108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33784103393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:26:02.279098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/51/image_30112025_16_52_05_9905.jpg', '/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_15_9931.jpg', '/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_24_9800.jpg', '/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_34_9575.jpg', '/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_45_10577.jpg', '/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/51/image_30112025_16_52_05_9905.jpg
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_15_9931.jpg
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_24_9800.jpg
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_34_9575.jpg
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_45_10577.jpg
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_52_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081122","1397081116","1397081119","1397081112","1397081115","1397081114"],"photo_ids_order":["1397081112","1397081114","1397081115","1397081116","1397081119","1397081122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a10c469aaa8f6c255d1a46a66884cfb.jpg","text":"TemporaryFile(/tmp/multipartBody696179577377582592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d08ba71a2937f62de02f786949da1a82.jpg","text":"TemporaryFile(/tmp/multipartBody5216550555909637259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/489d6a54894625591473f7c6f09098c4.jpg","text":"TemporaryFile(/tmp/multipartBody4267132869913614405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_45_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/013a9964aeeb5b990d01b1c8a57fe50a.jpg","text":"TemporaryFile(/tmp/multipartBody6963308080310833119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_05_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d995da52ddd1363371463762462c5529.jpg","text":"TemporaryFile(/tmp/multipartBody2299191160691074621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18909505a211ec0b9f879d5b6ea4f549.jpg","text":"TemporaryFile(/tmp/multipartBody2394736046887983685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523622995,"filename":"image_30112025_16_52_15_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081115","file1":"1397081114","file0":"1397081112","file4":"1397081119","file5":"1397081122","file3":"1397081116"},"map_files_photo_id_array":[{"photo_id":"1397081122","filename":"file5"},{"photo_id":"1397081115","filename":"file2"},{"photo_id":"1397081119","filename":"file4"},{"photo_id":"1397081114","filename":"file1"},{"photo_id":"1397081112","filename":"file0"},{"photo_id":"1397081116","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081122":["hashtag1","hashtag2"]},{"1397081116":["hashtag1","hashtag2"]},{"1397081119":["hashtag1","hashtag2"]},{"1397081112":["hashtag1","hashtag2"]},{"1397081115":["hashtag1","hashtag2"]},{"1397081114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081122, 1397081116, 1397081119, 1397081112, 1397081115, 1397081114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78278136253357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:26:41.999968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/17/image_31102025_13_17_10_2697.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_13_2690.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_15_2703.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_19_3725.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_22_2781.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_24_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_10_2697.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_13_2690.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_15_2703.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_19_3725.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_22_2781.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_24_2635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8986155986785889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:27:02.854797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/52/image_30112025_16_53_05_10560.jpg', '/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_15_10035.jpg', '/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_25_9861.jpg', '/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_35_9959.jpg', '/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_44_9550.jpg', '/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_54_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/52/image_30112025_16_53_05_10560.jpg
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_15_10035.jpg
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_25_9861.jpg
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_35_9959.jpg
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_44_9550.jpg
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_53_54_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081151","1397081160","1397081154","1397081156","1397081150","1397081152"],"photo_ids_order":["1397081150","1397081151","1397081152","1397081154","1397081156","1397081160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ee7ba3b282f6a7fd90cd3064d65470f.jpg","text":"TemporaryFile(/tmp/multipartBody1931625694691406594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_15_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a873fc16bb44ee1991fdda714115fb78.jpg","text":"TemporaryFile(/tmp/multipartBody4088189188394266584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/483ef76c331e8a7c68d701a52fabaddf.jpg","text":"TemporaryFile(/tmp/multipartBody8866567481163717802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_35_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c41db178934dccb066a81454743a00e.jpg","text":"TemporaryFile(/tmp/multipartBody3825848388221185224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_44_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28f9142dfe504cfe2d9615665d491959.jpg","text":"TemporaryFile(/tmp/multipartBody1998148913489761535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dadd9896cf6618fc030c82565314866.jpg","text":"TemporaryFile(/tmp/multipartBody5974154153636632871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523683637,"filename":"image_30112025_16_53_25_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081152","file1":"1397081151","file0":"1397081150","file4":"1397081156","file5":"1397081160","file3":"1397081154"},"map_files_photo_id_array":[{"photo_id":"1397081160","filename":"file5"},{"photo_id":"1397081152","filename":"file2"},{"photo_id":"1397081156","filename":"file4"},{"photo_id":"1397081151","filename":"file1"},{"photo_id":"1397081150","filename":"file0"},{"photo_id":"1397081154","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081151":["hashtag1","hashtag2"]},{"1397081160":["hashtag1","hashtag2"]},{"1397081154":["hashtag1","hashtag2"]},{"1397081156":["hashtag1","hashtag2"]},{"1397081150":["hashtag1","hashtag2"]},{"1397081152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081151, 1397081160, 1397081154, 1397081156, 1397081150, 1397081152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04286170005798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:27:42.154142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/17/image_31102025_13_17_10_2697.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_13_2690.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_15_2703.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_19_3725.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_22_2781.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_24_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_10_2697.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_13_2690.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_15_2703.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_19_3725.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_22_2781.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_24_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081169","1397081172","1397081171","1397081174","1397081168","1397081173"],"photo_ids_order":["1397081168","1397081169","1397081171","1397081172","1397081173","1397081174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/168188b99e813cb72019d31090cacca0.jpg","text":"TemporaryFile(/tmp/multipartBody2135977848758864581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_13_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad84ce55f75fa585865bc502bc4704d8.jpg","text":"TemporaryFile(/tmp/multipartBody4485165859534880614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_19_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/30/e4b2a5397b0acca90e87dc547eb9c018.jpg","text":"TemporaryFile(/tmp/multipartBody4605967118592718879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_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/30/cb6e48e5717dff5fd73e90471416ebe0.jpg","text":"TemporaryFile(/tmp/multipartBody6076716416025243173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_24_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/30/ff51d7f86f8562dd1f2ef0ca41c8b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody6862359886578647534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_10_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03f649b96a8ba1493a507f7a89c31bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6954138358554398587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523722885,"filename":"image_31102025_13_17_22_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081171","file1":"1397081169","file0":"1397081168","file4":"1397081173","file5":"1397081174","file3":"1397081172"},"map_files_photo_id_array":[{"photo_id":"1397081174","filename":"file5"},{"photo_id":"1397081171","filename":"file2"},{"photo_id":"1397081173","filename":"file4"},{"photo_id":"1397081169","filename":"file1"},{"photo_id":"1397081168","filename":"file0"},{"photo_id":"1397081172","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081169":["hashtag1","hashtag2"]},{"1397081172":["hashtag1","hashtag2"]},{"1397081171":["hashtag1","hashtag2"]},{"1397081174":["hashtag1","hashtag2"]},{"1397081168":["hashtag1","hashtag2"]},{"1397081173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081169, 1397081172, 1397081171, 1397081174, 1397081168, 1397081173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99030256271362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:28:22.290570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/53/image_30112025_16_54_05_10793.jpg', '/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_15_9764.jpg', '/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_24_9720.jpg', '/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_34_9734.jpg', '/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_45_10681.jpg', '/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_54_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/53/image_30112025_16_54_05_10793.jpg
/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_15_9764.jpg
/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_24_9720.jpg
/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_34_9734.jpg
/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_45_10681.jpg
/home/pi/Desktop/images/30112025/16/54/image_30112025_16_54_54_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081192","1397081186","1397081189","1397081180","1397081183","1397081177"],"photo_ids_order":["1397081177","1397081180","1397081183","1397081186","1397081189","1397081192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/121966b939f4856f2c14e0f8e47fb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody8592055799371488011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4da7cd35080d48f949afe8d57874431.jpg","text":"TemporaryFile(/tmp/multipartBody3842786076603003623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4963e303bc4704d5c3a04e21fc4a7c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7364681213986003956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_45_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/30/49fd72c1ae43f3ac20451443d00fa872.jpg","text":"TemporaryFile(/tmp/multipartBody144462748778943633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1502aba2f65f93d0c094cc68ce57dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody8415790695850481505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7477688db03b246058f2dc563f6ed496.jpg","text":"TemporaryFile(/tmp/multipartBody6061834016243115374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523763009,"filename":"image_30112025_16_54_05_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081183","file1":"1397081180","file0":"1397081177","file4":"1397081189","file5":"1397081192","file3":"1397081186"},"map_files_photo_id_array":[{"photo_id":"1397081192","filename":"file5"},{"photo_id":"1397081183","filename":"file2"},{"photo_id":"1397081189","filename":"file4"},{"photo_id":"1397081180","filename":"file1"},{"photo_id":"1397081177","filename":"file0"},{"photo_id":"1397081186","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081192":["hashtag1","hashtag2"]},{"1397081186":["hashtag1","hashtag2"]},{"1397081189":["hashtag1","hashtag2"]},{"1397081180":["hashtag1","hashtag2"]},{"1397081183":["hashtag1","hashtag2"]},{"1397081177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081192, 1397081186, 1397081189, 1397081180, 1397081183, 1397081177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526450395584106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:29:03.515450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_14_10058.jpg', '/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_25_10878.jpg', '/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_34_9576.jpg', '/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_44_9635.jpg', '/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_54_10584.jpg', '/home/pi/Desktop/images/30112025/16/55/image_30112025_16_56_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_14_10058.jpg
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_25_10878.jpg
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_34_9576.jpg
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_44_9635.jpg
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_55_54_10584.jpg
/home/pi/Desktop/images/30112025/16/55/image_30112025_16_56_04_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081206","1397081198","1397081195","1397081197","1397081201","1397081194"],"photo_ids_order":["1397081194","1397081195","1397081197","1397081198","1397081201","1397081206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1900342b9d2201c164e7c460253aa883.jpg","text":"TemporaryFile(/tmp/multipartBody5432957711359530999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_56_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29a9cddfb8687533ac3ec9e00f0777fc.jpg","text":"TemporaryFile(/tmp/multipartBody1447884819171695636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_55_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e2f61ebf5036b989a68b6d37576a444.jpg","text":"TemporaryFile(/tmp/multipartBody2298343796821015658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_55_25_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f4b09743dee4f3893fcd8ad05c0e367.jpg","text":"TemporaryFile(/tmp/multipartBody2245328664239804500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_55_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/407ddbc0b2509f8cb33a347611d4c4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7105657958310634804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_55_54_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eef17cd98107f3bedd2cb49340323626.jpg","text":"TemporaryFile(/tmp/multipartBody5018540626542077702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523804358,"filename":"image_30112025_16_55_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081197","file1":"1397081195","file0":"1397081194","file4":"1397081201","file5":"1397081206","file3":"1397081198"},"map_files_photo_id_array":[{"photo_id":"1397081206","filename":"file5"},{"photo_id":"1397081197","filename":"file2"},{"photo_id":"1397081201","filename":"file4"},{"photo_id":"1397081195","filename":"file1"},{"photo_id":"1397081194","filename":"file0"},{"photo_id":"1397081198","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081206":["hashtag1","hashtag2"]},{"1397081198":["hashtag1","hashtag2"]},{"1397081195":["hashtag1","hashtag2"]},{"1397081197":["hashtag1","hashtag2"]},{"1397081201":["hashtag1","hashtag2"]},{"1397081194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081206, 1397081198, 1397081195, 1397081197, 1397081201, 1397081194)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.5721709728241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:30:03.329144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_15_10623.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_24_9072.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_34_10570.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_44_9576.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_55_10694.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_57_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_15_10623.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_24_9072.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_34_10570.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_44_9576.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_55_10694.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_57_04_9609.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6103286743164062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:30:12.764583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_30_2798.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_33_2634.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_37_3903.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_40_2814.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_43_2723.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_45_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_30_2798.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_33_2634.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_37_3903.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_40_2814.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_43_2723.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_45_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081242","1397081230","1397081238","1397081232","1397081235","1397081246"],"photo_ids_order":["1397081230","1397081232","1397081235","1397081238","1397081242","1397081246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/821300199c11064b9ff500d3489c3021.jpg","text":"TemporaryFile(/tmp/multipartBody8409956759201914168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_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/30/9d2b85f744dec34237535696baa110cc.jpg","text":"TemporaryFile(/tmp/multipartBody7890372233014704641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_30_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/30/25a023ccf81424527374ac9a4376164a.jpg","text":"TemporaryFile(/tmp/multipartBody4075309368657223466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_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/30/084dce9117dee6e242181cf5f5ec41c3.jpg","text":"TemporaryFile(/tmp/multipartBody2411002545131235521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_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/30/337293d601ef8093cc39e6783a0639ad.jpg","text":"TemporaryFile(/tmp/multipartBody6530619510608710761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_37_3903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f63b6f0586c38999c6c491f667120c1e.jpg","text":"TemporaryFile(/tmp/multipartBody1218355371829594224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523874411,"filename":"image_25112025_20_40_45_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081235","file1":"1397081232","file0":"1397081230","file4":"1397081242","file5":"1397081246","file3":"1397081238"},"map_files_photo_id_array":[{"photo_id":"1397081246","filename":"file5"},{"photo_id":"1397081235","filename":"file2"},{"photo_id":"1397081242","filename":"file4"},{"photo_id":"1397081232","filename":"file1"},{"photo_id":"1397081230","filename":"file0"},{"photo_id":"1397081238","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081242":["hashtag1","hashtag2"]},{"1397081230":["hashtag1","hashtag2"]},{"1397081238":["hashtag1","hashtag2"]},{"1397081232":["hashtag1","hashtag2"]},{"1397081235":["hashtag1","hashtag2"]},{"1397081246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081242, 1397081230, 1397081238, 1397081232, 1397081235, 1397081246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.228768825531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:31:02.572713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_15_10623.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_24_9072.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_34_10570.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_44_9576.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_55_10694.jpg', '/home/pi/Desktop/images/30112025/16/56/image_30112025_16_57_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_15_10623.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_24_9072.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_34_10570.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_44_9576.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_56_55_10694.jpg
/home/pi/Desktop/images/30112025/16/56/image_30112025_16_57_04_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081254","1397081256","1397081253","1397081261","1397081255","1397081258"],"photo_ids_order":["1397081253","1397081254","1397081255","1397081256","1397081258","1397081261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a0956da05e580cf38e79fd5e785a64a.jpg","text":"TemporaryFile(/tmp/multipartBody4095635567379152848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_56_24_9072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eceb1982f2d1a69b6b79dc58763b0490.jpg","text":"TemporaryFile(/tmp/multipartBody7363676068919396737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_56_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/986aea77a8a0d36b97cbe27d16652589.jpg","text":"TemporaryFile(/tmp/multipartBody3246189041035573404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_56_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0312df2dde7645a8cfb6cd1dae23170.jpg","text":"TemporaryFile(/tmp/multipartBody8576949290956657568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_57_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be57534cc9e13d97562bbc0fc410c132.jpg","text":"TemporaryFile(/tmp/multipartBody6935950612617143658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_56_34_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fda3ac9b431c3040ac3bc700ae3fd148.jpg","text":"TemporaryFile(/tmp/multipartBody4601232630543484489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523923370,"filename":"image_30112025_16_56_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081255","file1":"1397081254","file0":"1397081253","file4":"1397081258","file5":"1397081261","file3":"1397081256"},"map_files_photo_id_array":[{"photo_id":"1397081261","filename":"file5"},{"photo_id":"1397081255","filename":"file2"},{"photo_id":"1397081258","filename":"file4"},{"photo_id":"1397081254","filename":"file1"},{"photo_id":"1397081253","filename":"file0"},{"photo_id":"1397081256","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081254":["hashtag1","hashtag2"]},{"1397081256":["hashtag1","hashtag2"]},{"1397081253":["hashtag1","hashtag2"]},{"1397081261":["hashtag1","hashtag2"]},{"1397081255":["hashtag1","hashtag2"]},{"1397081258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081254, 1397081256, 1397081253, 1397081261, 1397081255, 1397081258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.555464029312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:31:41.920885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/17/image_31102025_13_17_28_3552.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_31_2747.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_33_2636.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_37_3823.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_40_2872.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_43_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_28_3552.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_31_2747.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_33_2636.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_37_3823.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_40_2872.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_43_2846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081274","1397081268","1397081271","1397081273","1397081275","1397081272"],"photo_ids_order":["1397081268","1397081271","1397081272","1397081273","1397081274","1397081275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bd1636823f564ac90beea04e57ae954.jpg","text":"TemporaryFile(/tmp/multipartBody2214748484756182321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_40_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9ba466f70db4d3b41f213f275775b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5591419104940822105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_28_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/30/4f0d13a24666759dea1c2ad398faa7a8.jpg","text":"TemporaryFile(/tmp/multipartBody825584693427342904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_31_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/30/92a63282f6047c43939a98940fcb17f8.jpg","text":"TemporaryFile(/tmp/multipartBody4975092681549744828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_37_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b90398e395c5750261580916e7dfede0.jpg","text":"TemporaryFile(/tmp/multipartBody1949725164463986776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_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/30/93545fb64fcbda3f0c5ee50f213f1a38.jpg","text":"TemporaryFile(/tmp/multipartBody5460589500898061088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764523962905,"filename":"image_31102025_13_17_33_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081272","file1":"1397081271","file0":"1397081268","file4":"1397081274","file5":"1397081275","file3":"1397081273"},"map_files_photo_id_array":[{"photo_id":"1397081275","filename":"file5"},{"photo_id":"1397081272","filename":"file2"},{"photo_id":"1397081274","filename":"file4"},{"photo_id":"1397081271","filename":"file1"},{"photo_id":"1397081268","filename":"file0"},{"photo_id":"1397081273","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081274":["hashtag1","hashtag2"]},{"1397081268":["hashtag1","hashtag2"]},{"1397081271":["hashtag1","hashtag2"]},{"1397081273":["hashtag1","hashtag2"]},{"1397081275":["hashtag1","hashtag2"]},{"1397081272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081274, 1397081268, 1397081271, 1397081273, 1397081275, 1397081272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1505012512207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:32:22.230042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_14_9652.jpg', '/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_25_10794.jpg', '/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_34_9642.jpg', '/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_44_9764.jpg', '/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_54_9754.jpg', '/home/pi/Desktop/images/30112025/16/57/image_30112025_16_58_05_10874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_14_9652.jpg
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_25_10794.jpg
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_34_9642.jpg
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_44_9764.jpg
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_57_54_9754.jpg
/home/pi/Desktop/images/30112025/16/57/image_30112025_16_58_05_10874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081289","1397081279","1397081288","1397081281","1397081290","1397081284"],"photo_ids_order":["1397081279","1397081281","1397081284","1397081288","1397081289","1397081290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c3a9aad10fcfb83aaed746881d88837.jpg","text":"TemporaryFile(/tmp/multipartBody6930745655658074138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_57_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b3c2274260a00014c0c5dbbe1c1e552.jpg","text":"TemporaryFile(/tmp/multipartBody2244523692468399493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_57_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7a3ba5258192d3bd17b6516ef1a80a4.jpg","text":"TemporaryFile(/tmp/multipartBody8389789610130546001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_57_44_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b75a2f891c1f2f600c6249cd4a3f8046.jpg","text":"TemporaryFile(/tmp/multipartBody4902106034845725803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_57_25_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38eac9e501878c6d598d17363f4e3ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7580317119503561940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_58_05_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4f57facb0193df44dcba2772294bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4914127453222608287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524002917,"filename":"image_30112025_16_57_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081284","file1":"1397081281","file0":"1397081279","file4":"1397081289","file5":"1397081290","file3":"1397081288"},"map_files_photo_id_array":[{"photo_id":"1397081290","filename":"file5"},{"photo_id":"1397081284","filename":"file2"},{"photo_id":"1397081289","filename":"file4"},{"photo_id":"1397081281","filename":"file1"},{"photo_id":"1397081279","filename":"file0"},{"photo_id":"1397081288","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081289":["hashtag1","hashtag2"]},{"1397081279":["hashtag1","hashtag2"]},{"1397081288":["hashtag1","hashtag2"]},{"1397081281":["hashtag1","hashtag2"]},{"1397081290":["hashtag1","hashtag2"]},{"1397081284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081289, 1397081279, 1397081288, 1397081281, 1397081290, 1397081284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01162648200989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:33:02.862734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_14_9091.jpg', '/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_24_10591.jpg', '/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_34_9874.jpg', '/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_44_10202.jpg', '/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_54_9542.jpg', '/home/pi/Desktop/images/30112025/16/58/image_30112025_16_59_04_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_14_9091.jpg
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_24_10591.jpg
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_34_9874.jpg
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_44_10202.jpg
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_58_54_9542.jpg
/home/pi/Desktop/images/30112025/16/58/image_30112025_16_59_04_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081292","1397081298","1397081301","1397081291","1397081294","1397081293"],"photo_ids_order":["1397081291","1397081292","1397081293","1397081294","1397081298","1397081301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acdc2adf69ec0e68937a9868bc0cfb8c.jpg","text":"TemporaryFile(/tmp/multipartBody9192976368701625686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_58_24_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a15e0b3c1b22b077ee5f5eed24849519.jpg","text":"TemporaryFile(/tmp/multipartBody3589981481660910527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_58_54_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dd77a211b9f2cb36c64125756f35c39.jpg","text":"TemporaryFile(/tmp/multipartBody8357506638887462505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_59_04_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/30/9abe34935e9784ad4cdf5c363c00004f.jpg","text":"TemporaryFile(/tmp/multipartBody7766445688268121925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_58_14_9091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ae03d39113951c7e2090c19d5838aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5978657515362630003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_58_44_10202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e55adfe1498e88040e0e52358ccf1631.jpg","text":"TemporaryFile(/tmp/multipartBody7763788905284231272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524043668,"filename":"image_30112025_16_58_34_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081293","file1":"1397081292","file0":"1397081291","file4":"1397081298","file5":"1397081301","file3":"1397081294"},"map_files_photo_id_array":[{"photo_id":"1397081301","filename":"file5"},{"photo_id":"1397081293","filename":"file2"},{"photo_id":"1397081298","filename":"file4"},{"photo_id":"1397081292","filename":"file1"},{"photo_id":"1397081291","filename":"file0"},{"photo_id":"1397081294","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081292":["hashtag1","hashtag2"]},{"1397081298":["hashtag1","hashtag2"]},{"1397081301":["hashtag1","hashtag2"]},{"1397081291":["hashtag1","hashtag2"]},{"1397081294":["hashtag1","hashtag2"]},{"1397081293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081292, 1397081298, 1397081301, 1397081291, 1397081294, 1397081293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85003733634949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:33:42.278263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/17/image_31102025_13_17_45_2521.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_49_3765.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_52_2805.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_55_2882.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_58_2864.jpg', '/home/pi/Desktop/images/31102025/13/17/image_31102025_13_18_00_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/13/17/image_31102025_13_17_45_2521.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_49_3765.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_52_2805.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_55_2882.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_17_58_2864.jpg
/home/pi/Desktop/images/31102025/13/17/image_31102025_13_18_00_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081314","1397081313","1397081316","1397081315","1397081312","1397081309"],"photo_ids_order":["1397081309","1397081312","1397081313","1397081314","1397081315","1397081316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a549dc1c2e495aa5f853545444ddff44.jpg","text":"TemporaryFile(/tmp/multipartBody5334347143271239488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_17_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/30/5e0d5a11220027e932834979d39aafc6.jpg","text":"TemporaryFile(/tmp/multipartBody5611669055200946665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_17_52_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/30/e9102ede5f28a4d0f778b8cde634d979.jpg","text":"TemporaryFile(/tmp/multipartBody1100237705618708513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_18_00_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/30/25ea7e7e57876c01e22b7a1a76803aca.jpg","text":"TemporaryFile(/tmp/multipartBody5152512490931270180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_17_58_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/30/8005d68178022c33bd6cec264c1df405.jpg","text":"TemporaryFile(/tmp/multipartBody5257591321919304345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_17_49_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/30/5c493b1bf773e1b50f7f526577270ad3.jpg","text":"TemporaryFile(/tmp/multipartBody1642379202565276753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524083180,"filename":"image_31102025_13_17_45_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081313","file1":"1397081312","file0":"1397081309","file4":"1397081315","file5":"1397081316","file3":"1397081314"},"map_files_photo_id_array":[{"photo_id":"1397081316","filename":"file5"},{"photo_id":"1397081313","filename":"file2"},{"photo_id":"1397081315","filename":"file4"},{"photo_id":"1397081312","filename":"file1"},{"photo_id":"1397081309","filename":"file0"},{"photo_id":"1397081314","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081314":["hashtag1","hashtag2"]},{"1397081313":["hashtag1","hashtag2"]},{"1397081316":["hashtag1","hashtag2"]},{"1397081315":["hashtag1","hashtag2"]},{"1397081312":["hashtag1","hashtag2"]},{"1397081309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081314, 1397081313, 1397081316, 1397081315, 1397081312, 1397081309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25679421424866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:34:22.448351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_15_10789.jpg', '/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_24_9624.jpg', '/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_34_9560.jpg', '/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_45_10710.jpg', '/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_54_9822.jpg', '/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_15_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_15_10789.jpg
/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_24_9624.jpg
/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_34_9560.jpg
/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_45_10710.jpg
/home/pi/Desktop/images/30112025/16/59/image_30112025_16_59_54_9822.jpg
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_15_10042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081332","1397081326","1397081329","1397081320","1397081323","1397081330"],"photo_ids_order":["1397081320","1397081323","1397081326","1397081329","1397081330","1397081332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8351492a4fdb799e969a91ecd7b96484.jpg","text":"TemporaryFile(/tmp/multipartBody5040094448727547251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_17_00_15_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/149fc611406e0d961f8fcf00b12b99cf.jpg","text":"TemporaryFile(/tmp/multipartBody5732813955251327220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_16_59_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a861a87750f6f2b097350e8535c6011b.jpg","text":"TemporaryFile(/tmp/multipartBody115154552934069452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_16_59_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5ff3014f0a1500a1bbd1d763d94db48.jpg","text":"TemporaryFile(/tmp/multipartBody4876105333659190843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_16_59_15_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cf6fed917af663d1d87fc815058ca15.jpg","text":"TemporaryFile(/tmp/multipartBody8299287436884606521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_16_59_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/634798febfb406cf48d13d891b056266.jpg","text":"TemporaryFile(/tmp/multipartBody8590901551187882677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524123159,"filename":"image_30112025_16_59_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081326","file1":"1397081323","file0":"1397081320","file4":"1397081330","file5":"1397081332","file3":"1397081329"},"map_files_photo_id_array":[{"photo_id":"1397081332","filename":"file5"},{"photo_id":"1397081326","filename":"file2"},{"photo_id":"1397081330","filename":"file4"},{"photo_id":"1397081323","filename":"file1"},{"photo_id":"1397081320","filename":"file0"},{"photo_id":"1397081329","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081332":["hashtag1","hashtag2"]},{"1397081326":["hashtag1","hashtag2"]},{"1397081329":["hashtag1","hashtag2"]},{"1397081320":["hashtag1","hashtag2"]},{"1397081323":["hashtag1","hashtag2"]},{"1397081330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081332, 1397081326, 1397081329, 1397081320, 1397081323, 1397081330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54599571228027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:35:03.487476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_25_10616.jpg', '/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_36_10340.jpg', '/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_47_11541.jpg', '/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_55_8055.jpg', '/home/pi/Desktop/images/30112025/17/00/image_30112025_17_01_05_9814.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_15_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_25_10616.jpg
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_36_10340.jpg
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_47_11541.jpg
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_00_55_8055.jpg
/home/pi/Desktop/images/30112025/17/00/image_30112025_17_01_05_9814.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_15_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081335","1397081334","1397081333","1397081342","1397081336","1397081339"],"photo_ids_order":["1397081333","1397081334","1397081335","1397081336","1397081339","1397081342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1efd061fbe51e7e68c46b4c520f1c1f7.jpg","text":"TemporaryFile(/tmp/multipartBody3888133336146377117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_00_47_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/30/f58ffdf5f8454c1c28f3a782afe3e23d.jpg","text":"TemporaryFile(/tmp/multipartBody5506136040874826699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_00_36_10340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/853624b4fb9fcceedc5614307f8f2bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3281247676129320541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_00_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5face3ece5e0ab1d378b403a1e4432cb.jpg","text":"TemporaryFile(/tmp/multipartBody8149171821582529158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_01_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c18800a6185c179156d8d5c80f318931.jpg","text":"TemporaryFile(/tmp/multipartBody1950967434026606465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_00_55_8055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e57983093b4d77690c01b8e9996aa70f.jpg","text":"TemporaryFile(/tmp/multipartBody950110351073786907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524164268,"filename":"image_30112025_17_01_05_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081335","file1":"1397081334","file0":"1397081333","file4":"1397081339","file5":"1397081342","file3":"1397081336"},"map_files_photo_id_array":[{"photo_id":"1397081342","filename":"file5"},{"photo_id":"1397081335","filename":"file2"},{"photo_id":"1397081339","filename":"file4"},{"photo_id":"1397081334","filename":"file1"},{"photo_id":"1397081333","filename":"file0"},{"photo_id":"1397081336","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081335":["hashtag1","hashtag2"]},{"1397081334":["hashtag1","hashtag2"]},{"1397081333":["hashtag1","hashtag2"]},{"1397081342":["hashtag1","hashtag2"]},{"1397081336":["hashtag1","hashtag2"]},{"1397081339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081335, 1397081334, 1397081333, 1397081342, 1397081336, 1397081339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48229479789734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:35:42.712682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/18/image_31102025_13_18_03_2941.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_07_3690.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_12_2653.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_16_3760.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_19_2793.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_25_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_03_2941.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_07_3690.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_12_2653.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_16_3760.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_19_2793.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_25_3758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081361","1397081358","1397081351","1397081360","1397081363","1397081359"],"photo_ids_order":["1397081351","1397081358","1397081359","1397081360","1397081361","1397081363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ba5a20a805bed859bee6c3f4a97f19e.jpg","text":"TemporaryFile(/tmp/multipartBody7158915826763629883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_19_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/30/5ecee794dbb6d1d43622a373e4199f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2151863691533050143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_07_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a41c43ca74c8555562ec0f45a3fd66f0.jpg","text":"TemporaryFile(/tmp/multipartBody1182539940582191935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_03_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/30/c9bc5337cecc31b39a5001f137112009.jpg","text":"TemporaryFile(/tmp/multipartBody4568565754292801775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_16_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/30/72909f346aaed5dd3cb84e68f5f509d9.jpg","text":"TemporaryFile(/tmp/multipartBody7305281216520824814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_25_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/30/3479f06c78c0b57c03a541890b74d26b.jpg","text":"TemporaryFile(/tmp/multipartBody8058530785796650388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524203567,"filename":"image_31102025_13_18_12_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081359","file1":"1397081358","file0":"1397081351","file4":"1397081361","file5":"1397081363","file3":"1397081360"},"map_files_photo_id_array":[{"photo_id":"1397081363","filename":"file5"},{"photo_id":"1397081359","filename":"file2"},{"photo_id":"1397081361","filename":"file4"},{"photo_id":"1397081358","filename":"file1"},{"photo_id":"1397081351","filename":"file0"},{"photo_id":"1397081360","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081361":["hashtag1","hashtag2"]},{"1397081358":["hashtag1","hashtag2"]},{"1397081351":["hashtag1","hashtag2"]},{"1397081360":["hashtag1","hashtag2"]},{"1397081363":["hashtag1","hashtag2"]},{"1397081359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081361, 1397081358, 1397081351, 1397081360, 1397081363, 1397081359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.991026163101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:36:21.983583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_25_9955.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_35_10796.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_45_9263.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_55_10682.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_02_05_9565.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_15_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_25_9955.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_35_10796.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_45_9263.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_55_10682.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_02_05_9565.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_15_9901.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6085724830627441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:36:32.034098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_49_3639.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_57_2868.jpg', '/home/pi/Desktop/images/25112025/20/40/image_25112025_20_41_01_3623.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_03_2506.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_07_3584.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_10_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_49_3639.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_40_57_2868.jpg
/home/pi/Desktop/images/25112025/20/40/image_25112025_20_41_01_3623.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_03_2506.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_07_3584.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_10_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081382","1397081379","1397081384","1397081381","1397081380","1397081383"],"photo_ids_order":["1397081379","1397081380","1397081381","1397081382","1397081383","1397081384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/901488531a9f4d788e5c93377e32e973.jpg","text":"TemporaryFile(/tmp/multipartBody1065824131312156349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_41_03_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08babb3956d1d03988dd6960b071d372.jpg","text":"TemporaryFile(/tmp/multipartBody512045138308476048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_40_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/30/bfa24c7b48ea2aa7d80be26d82e54c61.jpg","text":"TemporaryFile(/tmp/multipartBody5729113711294671109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_41_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/30/c7fc21abed4f1c63d542eb963929901b.jpg","text":"TemporaryFile(/tmp/multipartBody6996368988015946466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_41_01_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/30/4ddaa57ffd335a6c5c29333f6c00c042.jpg","text":"TemporaryFile(/tmp/multipartBody1465785418561510153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_40_57_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/30/bd3b8daaefe856fb9cf523a9b82353e5.jpg","text":"TemporaryFile(/tmp/multipartBody9169291847935662784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524266444,"filename":"image_25112025_20_41_07_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081381","file1":"1397081380","file0":"1397081379","file4":"1397081383","file5":"1397081384","file3":"1397081382"},"map_files_photo_id_array":[{"photo_id":"1397081384","filename":"file5"},{"photo_id":"1397081381","filename":"file2"},{"photo_id":"1397081383","filename":"file4"},{"photo_id":"1397081380","filename":"file1"},{"photo_id":"1397081379","filename":"file0"},{"photo_id":"1397081382","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081382":["hashtag1","hashtag2"]},{"1397081379":["hashtag1","hashtag2"]},{"1397081384":["hashtag1","hashtag2"]},{"1397081381":["hashtag1","hashtag2"]},{"1397081380":["hashtag1","hashtag2"]},{"1397081383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081382, 1397081379, 1397081384, 1397081381, 1397081380, 1397081383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.15174198150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:37:22.483313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_25_9955.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_35_10796.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_45_9263.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_55_10682.jpg', '/home/pi/Desktop/images/30112025/17/01/image_30112025_17_02_05_9565.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_15_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_25_9955.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_35_10796.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_45_9263.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_01_55_10682.jpg
/home/pi/Desktop/images/30112025/17/01/image_30112025_17_02_05_9565.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_15_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081396","1397081387","1397081402","1397081392","1397081389","1397081398"],"photo_ids_order":["1397081387","1397081389","1397081392","1397081396","1397081398","1397081402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efee5b6a66b947556923b4bc209e0239.jpg","text":"TemporaryFile(/tmp/multipartBody634911482837406265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_01_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbaa1e3e5657f3b16ce031268be24771.jpg","text":"TemporaryFile(/tmp/multipartBody2154438741563814897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_01_25_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67b4cbbfa005e7003526665914cd85e7.jpg","text":"TemporaryFile(/tmp/multipartBody490051002922304619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_02_15_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd9a56603568f15009307c40c549db7b.jpg","text":"TemporaryFile(/tmp/multipartBody3799323905398923957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_01_45_9263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67b5a92de615be417e170b46c8259791.jpg","text":"TemporaryFile(/tmp/multipartBody6542705385176251871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_01_35_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fb06c2f4f8cd9ca01be47e570f41d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1274065435573841215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524303151,"filename":"image_30112025_17_02_05_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081392","file1":"1397081389","file0":"1397081387","file4":"1397081398","file5":"1397081402","file3":"1397081396"},"map_files_photo_id_array":[{"photo_id":"1397081402","filename":"file5"},{"photo_id":"1397081392","filename":"file2"},{"photo_id":"1397081398","filename":"file4"},{"photo_id":"1397081389","filename":"file1"},{"photo_id":"1397081387","filename":"file0"},{"photo_id":"1397081396","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081396":["hashtag1","hashtag2"]},{"1397081387":["hashtag1","hashtag2"]},{"1397081402":["hashtag1","hashtag2"]},{"1397081392":["hashtag1","hashtag2"]},{"1397081389":["hashtag1","hashtag2"]},{"1397081398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081396, 1397081387, 1397081402, 1397081392, 1397081389, 1397081398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.085519790649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:38:03.239011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:38:12.821794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_12_2588.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_16_3514.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_18_2496.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_22_3677.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_25_2703.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_27_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_12_2588.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_16_3514.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_18_2496.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_22_3677.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_25_2703.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_27_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081407","1397081421","1397081418","1397081412","1397081415","1397081409"],"photo_ids_order":["1397081407","1397081409","1397081412","1397081415","1397081418","1397081421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5f7c7f8df75b74bb2c71be2750d4d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2246257917947206737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_12_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/30/3b732337692c754fdfdac952ff287d34.jpg","text":"TemporaryFile(/tmp/multipartBody5263463268209265579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_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/30/9a0a1abb86a3d3d3194607d44ec9fdba.jpg","text":"TemporaryFile(/tmp/multipartBody6857111821235592649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_25_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/30/d95e1635bb980e27e510143d4e73e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody9222548765263373567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_18_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11fc6f3ef5b0dd199e8c0804d99be989.jpg","text":"TemporaryFile(/tmp/multipartBody1444722532239514863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_22_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/30/765fe697d6546f1f554d23ced5da99e6.jpg","text":"TemporaryFile(/tmp/multipartBody7753248182017483614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524354823,"filename":"image_25112025_20_41_16_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081412","file1":"1397081409","file0":"1397081407","file4":"1397081418","file5":"1397081421","file3":"1397081415"},"map_files_photo_id_array":[{"photo_id":"1397081421","filename":"file5"},{"photo_id":"1397081412","filename":"file2"},{"photo_id":"1397081418","filename":"file4"},{"photo_id":"1397081409","filename":"file1"},{"photo_id":"1397081407","filename":"file0"},{"photo_id":"1397081415","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081407":["hashtag1","hashtag2"]},{"1397081421":["hashtag1","hashtag2"]},{"1397081418":["hashtag1","hashtag2"]},{"1397081412":["hashtag1","hashtag2"]},{"1397081415":["hashtag1","hashtag2"]},{"1397081409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081407, 1397081421, 1397081418, 1397081412, 1397081415, 1397081409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.928795337677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:39:02.838258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:39:11.979778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_31_3596.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_33_2699.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_36_2575.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_40_3546.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_42_2544.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_46_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_31_3596.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_33_2699.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_36_2575.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_40_3546.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_42_2544.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_46_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081424","1397081432","1397081435","1397081429","1397081438","1397081426"],"photo_ids_order":["1397081424","1397081426","1397081429","1397081432","1397081435","1397081438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6cf57b7abfd0457caed2055e54761d0.jpg","text":"TemporaryFile(/tmp/multipartBody1226033154476913964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_31_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/30/1addafb62f36a81467518aa1d47ee196.jpg","text":"TemporaryFile(/tmp/multipartBody5755617856080908766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_40_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/30/20717c6c0015ce1495dbc5785c2139d9.jpg","text":"TemporaryFile(/tmp/multipartBody8881115732377725618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_42_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/30/91e8df497eea5d8abcb282ad52010b21.jpg","text":"TemporaryFile(/tmp/multipartBody3021229666017258654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_36_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a66e4d0dc9e6c91ed284fcbd4109a93e.jpg","text":"TemporaryFile(/tmp/multipartBody7781299443318295584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_46_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/30/8d598b516b1fcde33d6886191d9025db.jpg","text":"TemporaryFile(/tmp/multipartBody7593739203072548155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524415264,"filename":"image_25112025_20_41_33_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081429","file1":"1397081426","file0":"1397081424","file4":"1397081435","file5":"1397081438","file3":"1397081432"},"map_files_photo_id_array":[{"photo_id":"1397081438","filename":"file5"},{"photo_id":"1397081429","filename":"file2"},{"photo_id":"1397081435","filename":"file4"},{"photo_id":"1397081426","filename":"file1"},{"photo_id":"1397081424","filename":"file0"},{"photo_id":"1397081432","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081424":["hashtag1","hashtag2"]},{"1397081432":["hashtag1","hashtag2"]},{"1397081435":["hashtag1","hashtag2"]},{"1397081429":["hashtag1","hashtag2"]},{"1397081438":["hashtag1","hashtag2"]},{"1397081426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081424, 1397081432, 1397081435, 1397081429, 1397081438, 1397081426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.692620515823364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:40:02.680831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:40:12.260982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_48_2596.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_51_2764.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_55_3666.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_57_2685.jpg', '/home/pi/Desktop/images/25112025/20/41/image_25112025_20_42_00_2585.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_04_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_48_2596.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_51_2764.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_55_3666.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_41_57_2685.jpg
/home/pi/Desktop/images/25112025/20/41/image_25112025_20_42_00_2585.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_04_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081448","1397081451","1397081445","1397081453","1397081455","1397081443"],"photo_ids_order":["1397081443","1397081445","1397081448","1397081451","1397081453","1397081455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a62dc7fbf46bf5719ea67ecbc41ed22.jpg","text":"TemporaryFile(/tmp/multipartBody5038356840093779286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_41_55_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/30/73971c1e7b2451e4e15a30d40c111c99.jpg","text":"TemporaryFile(/tmp/multipartBody5601382133095489865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_41_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/30/0009ab1094dae73ee5cdbd8bdf77b166.jpg","text":"TemporaryFile(/tmp/multipartBody3429902237812184444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_41_51_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/30/867b5562a33cabbd4bde4f6703a65350.jpg","text":"TemporaryFile(/tmp/multipartBody5564843364124450947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_42_00_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84643feea15a27d956329241c9e128e4.jpg","text":"TemporaryFile(/tmp/multipartBody8227260764501631675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_42_04_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/30/292ead9bbbbf6f0c78168c2b368851ed.jpg","text":"TemporaryFile(/tmp/multipartBody8104946688974919197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524474285,"filename":"image_25112025_20_41_48_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081448","file1":"1397081445","file0":"1397081443","file4":"1397081453","file5":"1397081455","file3":"1397081451"},"map_files_photo_id_array":[{"photo_id":"1397081455","filename":"file5"},{"photo_id":"1397081448","filename":"file2"},{"photo_id":"1397081453","filename":"file4"},{"photo_id":"1397081445","filename":"file1"},{"photo_id":"1397081443","filename":"file0"},{"photo_id":"1397081451","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081448":["hashtag1","hashtag2"]},{"1397081451":["hashtag1","hashtag2"]},{"1397081445":["hashtag1","hashtag2"]},{"1397081453":["hashtag1","hashtag2"]},{"1397081455":["hashtag1","hashtag2"]},{"1397081443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081448, 1397081451, 1397081445, 1397081453, 1397081455, 1397081443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622512340545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:41:03.168968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_25_10542.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_35_9833.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_45_9724.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_55_9724.jpg', '/home/pi/Desktop/images/30112025/17/02/image_30112025_17_03_05_10731.jpg', '/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_15_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_25_10542.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_35_9833.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_45_9724.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_02_55_9724.jpg
/home/pi/Desktop/images/30112025/17/02/image_30112025_17_03_05_10731.jpg
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_15_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081460","1397081459","1397081468","1397081461","1397081464","1397081458"],"photo_ids_order":["1397081458","1397081459","1397081460","1397081461","1397081464","1397081468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5d52f3a7b2e460f88dd2219414c5076.jpg","text":"TemporaryFile(/tmp/multipartBody1465440870019690503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_02_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54d0647c0ea6dd16e096087b477234a8.jpg","text":"TemporaryFile(/tmp/multipartBody6890698617141732631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_02_35_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc6c9aa8b67e11201bede4648a9f89d0.jpg","text":"TemporaryFile(/tmp/multipartBody7402987726941547435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_03_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f73e3f7fd7bee67b0706b0422c295124.jpg","text":"TemporaryFile(/tmp/multipartBody3230327783843244847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_02_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a250cb3242526cac2d84919bf6ae89e8.jpg","text":"TemporaryFile(/tmp/multipartBody8925645461480285806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_03_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d9cef752c60ab439fad0dd13ba848a8.jpg","text":"TemporaryFile(/tmp/multipartBody227263264579787453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524523954,"filename":"image_30112025_17_02_25_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081460","file1":"1397081459","file0":"1397081458","file4":"1397081464","file5":"1397081468","file3":"1397081461"},"map_files_photo_id_array":[{"photo_id":"1397081468","filename":"file5"},{"photo_id":"1397081460","filename":"file2"},{"photo_id":"1397081464","filename":"file4"},{"photo_id":"1397081459","filename":"file1"},{"photo_id":"1397081458","filename":"file0"},{"photo_id":"1397081461","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081460":["hashtag1","hashtag2"]},{"1397081459":["hashtag1","hashtag2"]},{"1397081468":["hashtag1","hashtag2"]},{"1397081461":["hashtag1","hashtag2"]},{"1397081464":["hashtag1","hashtag2"]},{"1397081458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081460, 1397081459, 1397081468, 1397081461, 1397081464, 1397081458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67402625083923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:41:42.445807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/18/image_31102025_13_18_28_2625.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_31_2652.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_34_3646.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_40_2683.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_42_2699.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_46_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_28_2625.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_31_2652.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_34_3646.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_40_2683.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_42_2699.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_46_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":["1397081481","1397081475","1397081483","1397081480","1397081482","1397081479"],"photo_ids_order":["1397081475","1397081479","1397081480","1397081481","1397081482","1397081483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1726733a2b54e0a8fea0dd88832d2b92.jpg","text":"TemporaryFile(/tmp/multipartBody4413411103188917025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_40_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/30/811c2740d633ab35bfceff1a7bb9f993.jpg","text":"TemporaryFile(/tmp/multipartBody2014126666861428514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_28_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cf0978582f48d7be6509b5ea44ab159.jpg","text":"TemporaryFile(/tmp/multipartBody981791026940133165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_46_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/30/1e8cc33d423ba0ae6ac64302890752cd.jpg","text":"TemporaryFile(/tmp/multipartBody7037139671476829545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_34_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/30/8002acfadf9d5ac134d3c06f19ae267d.jpg","text":"TemporaryFile(/tmp/multipartBody4705151739466597024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_42_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/30/4bb511f0efe3cc8e1f138c02fab28a45.jpg","text":"TemporaryFile(/tmp/multipartBody7586945324303142210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524563334,"filename":"image_31102025_13_18_31_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081480","file1":"1397081479","file0":"1397081475","file4":"1397081482","file5":"1397081483","file3":"1397081481"},"map_files_photo_id_array":[{"photo_id":"1397081483","filename":"file5"},{"photo_id":"1397081480","filename":"file2"},{"photo_id":"1397081482","filename":"file4"},{"photo_id":"1397081479","filename":"file1"},{"photo_id":"1397081475","filename":"file0"},{"photo_id":"1397081481","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081481":["hashtag1","hashtag2"]},{"1397081475":["hashtag1","hashtag2"]},{"1397081483":["hashtag1","hashtag2"]},{"1397081480":["hashtag1","hashtag2"]},{"1397081482":["hashtag1","hashtag2"]},{"1397081479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081481, 1397081475, 1397081483, 1397081480, 1397081482, 1397081479)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.384544372558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:42:42.612258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/18/image_31102025_13_18_51_2746.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_54_2965.jpg', '/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_58_3612.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_01_2667.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_04_2835.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_06_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_51_2746.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_54_2965.jpg
/home/pi/Desktop/images/31102025/13/18/image_31102025_13_18_58_3612.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_01_2667.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_04_2835.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_06_2879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081500","1397081499","1397081495","1397081498","1397081501","1397081497"],"photo_ids_order":["1397081495","1397081497","1397081498","1397081499","1397081500","1397081501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4444d31e929d5d3ebc4897f25516a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1957200013453262643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_19_04_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/30/dd78eef5e685bda5f3cb7eb1361929d2.jpg","text":"TemporaryFile(/tmp/multipartBody151624444083486441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_19_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/30/2d0c0d33925020bd1dfff2c3e37433e1.jpg","text":"TemporaryFile(/tmp/multipartBody6604664451573926422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_18_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/30/939bbe9abd955941d1d0b30fe4b76305.jpg","text":"TemporaryFile(/tmp/multipartBody9221820858389867932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_18_58_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51d2d737a2fd98b443a34bf6cab8ff91.jpg","text":"TemporaryFile(/tmp/multipartBody6747131435377489794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_19_06_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/30/d88b2fa4c6dea363f9f57481deef7c06.jpg","text":"TemporaryFile(/tmp/multipartBody7617398591824075251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524623532,"filename":"image_31102025_13_18_54_2965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081498","file1":"1397081497","file0":"1397081495","file4":"1397081500","file5":"1397081501","file3":"1397081499"},"map_files_photo_id_array":[{"photo_id":"1397081501","filename":"file5"},{"photo_id":"1397081498","filename":"file2"},{"photo_id":"1397081500","filename":"file4"},{"photo_id":"1397081497","filename":"file1"},{"photo_id":"1397081495","filename":"file0"},{"photo_id":"1397081499","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081500":["hashtag1","hashtag2"]},{"1397081499":["hashtag1","hashtag2"]},{"1397081495":["hashtag1","hashtag2"]},{"1397081498":["hashtag1","hashtag2"]},{"1397081501":["hashtag1","hashtag2"]},{"1397081497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081500, 1397081499, 1397081495, 1397081498, 1397081501, 1397081497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68021631240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:43:22.764837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_25_9736.jpg', '/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_35_10640.jpg', '/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_45_9683.jpg', '/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_55_9942.jpg', '/home/pi/Desktop/images/30112025/17/03/image_30112025_17_04_05_9705.jpg', '/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_15_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_25_9736.jpg
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_35_10640.jpg
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_45_9683.jpg
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_03_55_9942.jpg
/home/pi/Desktop/images/30112025/17/03/image_30112025_17_04_05_9705.jpg
/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_15_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081518","1397081511","1397081505","1397081514","1397081508","1397081516"],"photo_ids_order":["1397081505","1397081508","1397081511","1397081514","1397081516","1397081518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd185559876f31ef2c2b101dc1f1bbc0.jpg","text":"TemporaryFile(/tmp/multipartBody8673630952134530085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_04_15_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/382e2f23168442ac0c7cfdc6455ebcaa.jpg","text":"TemporaryFile(/tmp/multipartBody2563044429967050441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_03_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dd8519b46d52c342ba949bc4522c017.jpg","text":"TemporaryFile(/tmp/multipartBody1869619271992223360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_03_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/522a08f68ded3cae672760a735973845.jpg","text":"TemporaryFile(/tmp/multipartBody8536159881762515993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_03_55_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e0bb30cc814d26e759dedf9b3a1d336.jpg","text":"TemporaryFile(/tmp/multipartBody7304806482513969734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_03_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d7e86aed7329e118cfe69844cf3af69.jpg","text":"TemporaryFile(/tmp/multipartBody3906454939939554399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524663489,"filename":"image_30112025_17_04_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081511","file1":"1397081508","file0":"1397081505","file4":"1397081516","file5":"1397081518","file3":"1397081514"},"map_files_photo_id_array":[{"photo_id":"1397081518","filename":"file5"},{"photo_id":"1397081511","filename":"file2"},{"photo_id":"1397081516","filename":"file4"},{"photo_id":"1397081508","filename":"file1"},{"photo_id":"1397081505","filename":"file0"},{"photo_id":"1397081514","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081518":["hashtag1","hashtag2"]},{"1397081511":["hashtag1","hashtag2"]},{"1397081505":["hashtag1","hashtag2"]},{"1397081514":["hashtag1","hashtag2"]},{"1397081508":["hashtag1","hashtag2"]},{"1397081516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081518, 1397081511, 1397081505, 1397081514, 1397081508, 1397081516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2242317199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:44:02.763144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_25_10762.jpg', '/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_35_9879.jpg', '/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_45_9894.jpg', '/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_55_10224.jpg', '/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_14_10054.jpg', '/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_25_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_25_10762.jpg
/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_35_9879.jpg
/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_45_9894.jpg
/home/pi/Desktop/images/30112025/17/04/image_30112025_17_04_55_10224.jpg
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_14_10054.jpg
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_25_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081524","1397081521","1397081529","1397081520","1397081526","1397081522"],"photo_ids_order":["1397081520","1397081521","1397081522","1397081524","1397081526","1397081529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/297ab097ad5afc3088e48c6f68650d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6964521074481922459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_04_55_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b229b04fd5d9b4cb30db2f5d37e77a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3162843892316117788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_04_35_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9671dc3425e8dda3bf2042db7082d866.jpg","text":"TemporaryFile(/tmp/multipartBody1590994299585453695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_05_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b3f7789745f981a0bb6a11f4e70fe68.jpg","text":"TemporaryFile(/tmp/multipartBody1716566386715593551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_04_25_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/905668efa0463acd83a9088d621d401e.jpg","text":"TemporaryFile(/tmp/multipartBody5576262176647288368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_05_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba7e19c02b68fa3eed19d29f1693c2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1663880358379677404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524703481,"filename":"image_30112025_17_04_45_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081522","file1":"1397081521","file0":"1397081520","file4":"1397081526","file5":"1397081529","file3":"1397081524"},"map_files_photo_id_array":[{"photo_id":"1397081529","filename":"file5"},{"photo_id":"1397081522","filename":"file2"},{"photo_id":"1397081526","filename":"file4"},{"photo_id":"1397081521","filename":"file1"},{"photo_id":"1397081520","filename":"file0"},{"photo_id":"1397081524","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081524":["hashtag1","hashtag2"]},{"1397081521":["hashtag1","hashtag2"]},{"1397081529":["hashtag1","hashtag2"]},{"1397081520":["hashtag1","hashtag2"]},{"1397081526":["hashtag1","hashtag2"]},{"1397081522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081524, 1397081521, 1397081529, 1397081520, 1397081526, 1397081522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0491361618042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:44:42.052858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/19/image_31102025_13_19_09_2795.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_13_3760.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_16_2625.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_18_2634.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_22_3606.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_24_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_09_2795.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_13_3760.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_16_2625.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_18_2634.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_22_3606.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_24_2516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081545","1397081539","1397081547","1397081544","1397081543","1397081546"],"photo_ids_order":["1397081539","1397081543","1397081544","1397081545","1397081546","1397081547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/745f4bc471658e795277675720f4e85b.jpg","text":"TemporaryFile(/tmp/multipartBody2655323044666260064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_18_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/30/234958ce76e3858e9cf536e19424eb66.jpg","text":"TemporaryFile(/tmp/multipartBody3892251894205557164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_09_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/30/39787982dbbc73b28e46a4e3638a6fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2698966167345734845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_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/30/c4d91d1528327d14d26bdb4ad8e4487d.jpg","text":"TemporaryFile(/tmp/multipartBody2939211772616538967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_16_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1dbbbb362f13511ab1120ebb41bc0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4657642785329086240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_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/30/7d2e646c619cd3ae2994bb9f581135e2.jpg","text":"TemporaryFile(/tmp/multipartBody3584461505622275849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524742961,"filename":"image_31102025_13_19_22_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081544","file1":"1397081543","file0":"1397081539","file4":"1397081546","file5":"1397081547","file3":"1397081545"},"map_files_photo_id_array":[{"photo_id":"1397081547","filename":"file5"},{"photo_id":"1397081544","filename":"file2"},{"photo_id":"1397081546","filename":"file4"},{"photo_id":"1397081543","filename":"file1"},{"photo_id":"1397081539","filename":"file0"},{"photo_id":"1397081545","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081545":["hashtag1","hashtag2"]},{"1397081539":["hashtag1","hashtag2"]},{"1397081547":["hashtag1","hashtag2"]},{"1397081544":["hashtag1","hashtag2"]},{"1397081543":["hashtag1","hashtag2"]},{"1397081546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081545, 1397081539, 1397081547, 1397081544, 1397081543, 1397081546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38260626792908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:45:22.244115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_35_9708.jpg', '/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_44_9666.jpg', '/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_55_10623.jpg', '/home/pi/Desktop/images/30112025/17/05/image_30112025_17_06_05_9743.jpg', '/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_15_10556.jpg', '/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_25_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_35_9708.jpg
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_44_9666.jpg
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_05_55_10623.jpg
/home/pi/Desktop/images/30112025/17/05/image_30112025_17_06_05_9743.jpg
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_15_10556.jpg
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_25_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081565","1397081553","1397081562","1397081556","1397081550","1397081560"],"photo_ids_order":["1397081550","1397081553","1397081556","1397081560","1397081562","1397081565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21d9d3288aac02ed577c037242d53e09.jpg","text":"TemporaryFile(/tmp/multipartBody4924870308778436734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_06_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c36a1d00f59df10c86507bf6b2e6ef1a.jpg","text":"TemporaryFile(/tmp/multipartBody1131376699286121028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_05_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/546ecc3162417e17410c52cac5bb6555.jpg","text":"TemporaryFile(/tmp/multipartBody1715320628420505890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_06_15_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de880fdf3fc5e45402d1a657271dfdc7.jpg","text":"TemporaryFile(/tmp/multipartBody4454285488600033033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_05_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99545ad8f3b7d29fc41041b377df7a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5020415631818474502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_05_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af17b5e84111ab57ea75e09bd628f771.jpg","text":"TemporaryFile(/tmp/multipartBody8298779693330994709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524782944,"filename":"image_30112025_17_06_05_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081556","file1":"1397081553","file0":"1397081550","file4":"1397081562","file5":"1397081565","file3":"1397081560"},"map_files_photo_id_array":[{"photo_id":"1397081565","filename":"file5"},{"photo_id":"1397081556","filename":"file2"},{"photo_id":"1397081562","filename":"file4"},{"photo_id":"1397081553","filename":"file1"},{"photo_id":"1397081550","filename":"file0"},{"photo_id":"1397081560","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081565":["hashtag1","hashtag2"]},{"1397081553":["hashtag1","hashtag2"]},{"1397081562":["hashtag1","hashtag2"]},{"1397081556":["hashtag1","hashtag2"]},{"1397081550":["hashtag1","hashtag2"]},{"1397081560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081565, 1397081553, 1397081562, 1397081556, 1397081550, 1397081560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90576982498169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:46:02.865069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_35_9656.jpg', '/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_45_10566.jpg', '/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_55_9577.jpg', '/home/pi/Desktop/images/30112025/17/06/image_30112025_17_07_05_9776.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_15_10653.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_25_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_35_9656.jpg
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_45_10566.jpg
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_06_55_9577.jpg
/home/pi/Desktop/images/30112025/17/06/image_30112025_17_07_05_9776.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_15_10653.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_25_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081571","1397081568","1397081576","1397081570","1397081573","1397081569"],"photo_ids_order":["1397081568","1397081569","1397081570","1397081571","1397081573","1397081576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f374077ac5f4ec204124b613c4e9f851.jpg","text":"TemporaryFile(/tmp/multipartBody2985471921224408567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_07_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/befd506afbfd96f97cf7924ae5c19704.jpg","text":"TemporaryFile(/tmp/multipartBody2899244260784177653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_06_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/123bca548734bca47253bde61decdbba.jpg","text":"TemporaryFile(/tmp/multipartBody1338358680848410259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_07_25_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8e0e8192c7e80926d32226b24f6ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody8545553013711446246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_06_55_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48d28c677cc4bbb65a70ed132353c465.jpg","text":"TemporaryFile(/tmp/multipartBody2538614772310688289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_07_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71c334bcff8f099ca20cd77749e6d40d.jpg","text":"TemporaryFile(/tmp/multipartBody6914982016476700473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524823538,"filename":"image_30112025_17_06_45_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081570","file1":"1397081569","file0":"1397081568","file4":"1397081573","file5":"1397081576","file3":"1397081571"},"map_files_photo_id_array":[{"photo_id":"1397081576","filename":"file5"},{"photo_id":"1397081570","filename":"file2"},{"photo_id":"1397081573","filename":"file4"},{"photo_id":"1397081569","filename":"file1"},{"photo_id":"1397081568","filename":"file0"},{"photo_id":"1397081571","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081571":["hashtag1","hashtag2"]},{"1397081568":["hashtag1","hashtag2"]},{"1397081576":["hashtag1","hashtag2"]},{"1397081570":["hashtag1","hashtag2"]},{"1397081573":["hashtag1","hashtag2"]},{"1397081569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081571, 1397081568, 1397081576, 1397081570, 1397081573, 1397081569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.493128299713135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:46:42.534194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/19/image_31102025_13_19_28_3660.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_31_2806.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_33_2666.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_37_3593.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_40_2678.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_42_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_28_3660.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_31_2806.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_33_2666.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_37_3593.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_40_2678.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_42_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081595","1397081588","1397081591","1397081585","1397081590","1397081593"],"photo_ids_order":["1397081585","1397081588","1397081590","1397081591","1397081593","1397081595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/040f584e382c44bddb2781a8150aab04.jpg","text":"TemporaryFile(/tmp/multipartBody6452446723261657746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_42_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/30/6c8bd1fd2af87f962e3a109ee40489fc.jpg","text":"TemporaryFile(/tmp/multipartBody533494016804628865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_31_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/30/eb16007ecc79e842970d6ea1c2a0b3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1584749732814645705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_37_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/30/fbce823764e94168c9c65ec95f47e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3343980636602826170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_28_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/30/0fa29731d54da4d461a1272c1ac5170d.jpg","text":"TemporaryFile(/tmp/multipartBody4615140515641875653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_33_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/149d97c804f1bbb97f21f228f04a7b43.jpg","text":"TemporaryFile(/tmp/multipartBody8867728658093795999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524863488,"filename":"image_31102025_13_19_40_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081590","file1":"1397081588","file0":"1397081585","file4":"1397081593","file5":"1397081595","file3":"1397081591"},"map_files_photo_id_array":[{"photo_id":"1397081595","filename":"file5"},{"photo_id":"1397081590","filename":"file2"},{"photo_id":"1397081593","filename":"file4"},{"photo_id":"1397081588","filename":"file1"},{"photo_id":"1397081585","filename":"file0"},{"photo_id":"1397081591","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081595":["hashtag1","hashtag2"]},{"1397081588":["hashtag1","hashtag2"]},{"1397081591":["hashtag1","hashtag2"]},{"1397081585":["hashtag1","hashtag2"]},{"1397081590":["hashtag1","hashtag2"]},{"1397081593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081595, 1397081588, 1397081591, 1397081585, 1397081590, 1397081593)","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 = 1397081590 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_33_2666.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.68068170547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:48:02.346425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5579283237457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:48:11.711602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_06_2586.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_09_2709.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_13_3534.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_15_2649.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_19_3576.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_21_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_06_2586.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_09_2709.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_13_3534.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_15_2649.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_19_3576.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_21_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081614","1397081628","1397081622","1397081631","1397081619","1397081624"],"photo_ids_order":["1397081614","1397081619","1397081622","1397081624","1397081628","1397081631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0876a478c1533838ab3a272b36c66c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5198428098676830720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_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/30/e2c787a1b221e88173cf607195036139.jpg","text":"TemporaryFile(/tmp/multipartBody9215828228972701803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_19_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/30/26ac3eeebf681338475bae59260f0326.jpg","text":"TemporaryFile(/tmp/multipartBody6216528391639696223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_13_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd0afac4acf16200a256b44e347c5080.jpg","text":"TemporaryFile(/tmp/multipartBody8282554202205388557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_21_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/30/067e125c85b2bfefc53b6798ab4d562b.jpg","text":"TemporaryFile(/tmp/multipartBody7856798137479782313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_09_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/30/30055d2c10fd6996ec9ef3cd3eb57283.jpg","text":"TemporaryFile(/tmp/multipartBody7660559770321077661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764524958424,"filename":"image_25112025_20_42_15_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081622","file1":"1397081619","file0":"1397081614","file4":"1397081628","file5":"1397081631","file3":"1397081624"},"map_files_photo_id_array":[{"photo_id":"1397081631","filename":"file5"},{"photo_id":"1397081622","filename":"file2"},{"photo_id":"1397081628","filename":"file4"},{"photo_id":"1397081619","filename":"file1"},{"photo_id":"1397081614","filename":"file0"},{"photo_id":"1397081624","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081614":["hashtag1","hashtag2"]},{"1397081628":["hashtag1","hashtag2"]},{"1397081622":["hashtag1","hashtag2"]},{"1397081631":["hashtag1","hashtag2"]},{"1397081619":["hashtag1","hashtag2"]},{"1397081624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081614, 1397081628, 1397081622, 1397081631, 1397081619, 1397081624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.850117921829224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:49:02.897715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8144922256469727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:49:12.091588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_24_2566.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_27_3159.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_31_3669.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_36_5154.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_38_1614.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_47_1490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_24_2566.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_27_3159.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_31_3669.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_36_5154.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_38_1614.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_47_1490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081638","1397081647","1397081649","1397081642","1397081645","1397081635"],"photo_ids_order":["1397081635","1397081638","1397081642","1397081645","1397081647","1397081649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52d178224090544acad9d390e053249e.jpg","text":"TemporaryFile(/tmp/multipartBody5608525909255389870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_27_3159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad5c857a653b48d92cf0e95b397b2f06.jpg","text":"TemporaryFile(/tmp/multipartBody6747483175103352231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_38_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/30/e13197a4742a85d45285689dfc1064e8.jpg","text":"TemporaryFile(/tmp/multipartBody6349604019051351505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_47_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e869dbe0f3eef521aa34cdd4bd943c87.jpg","text":"TemporaryFile(/tmp/multipartBody9162573449118954357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_31_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/30/c57a7b0fcc8cdb8a1c42f978cb9e54e3.jpg","text":"TemporaryFile(/tmp/multipartBody6255770863934204789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_36_5154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6394ae01ab551072f5946acf0a627c74.jpg","text":"TemporaryFile(/tmp/multipartBody7283735446535219759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525013769,"filename":"image_25112025_20_42_24_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081642","file1":"1397081638","file0":"1397081635","file4":"1397081647","file5":"1397081649","file3":"1397081645"},"map_files_photo_id_array":[{"photo_id":"1397081649","filename":"file5"},{"photo_id":"1397081642","filename":"file2"},{"photo_id":"1397081647","filename":"file4"},{"photo_id":"1397081638","filename":"file1"},{"photo_id":"1397081635","filename":"file0"},{"photo_id":"1397081645","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081638":["hashtag1","hashtag2"]},{"1397081647":["hashtag1","hashtag2"]},{"1397081649":["hashtag1","hashtag2"]},{"1397081642":["hashtag1","hashtag2"]},{"1397081645":["hashtag1","hashtag2"]},{"1397081635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081638, 1397081647, 1397081649, 1397081642, 1397081645, 1397081635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00570845603943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:50:04.431079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg', '/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_34_9551.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_45_10699.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_07_55_9693.jpg
/home/pi/Desktop/images/30112025/17/07/image_30112025_17_08_05_10043.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_14_9641.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_25_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081658","1397081652","1397081655","1397081654","1397081653","1397081662"],"photo_ids_order":["1397081652","1397081653","1397081654","1397081655","1397081658","1397081662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8b07e527a3170ce3e1b282de8175611.jpg","text":"TemporaryFile(/tmp/multipartBody7404958649853908130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_08_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9a284793a49030dee0f1b0a7b267781.jpg","text":"TemporaryFile(/tmp/multipartBody4657864676395615948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_07_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a66bb5a2f8384f9b5eeb645a5937f280.jpg","text":"TemporaryFile(/tmp/multipartBody2426953212918957618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_08_05_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/999e67f9a75b04b9ae57a364bdf7bad2.jpg","text":"TemporaryFile(/tmp/multipartBody1862552867380579097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_07_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53964d90aefd11715aff29b61ed18f40.jpg","text":"TemporaryFile(/tmp/multipartBody1634853075012338008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_07_45_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e55516ed70f75be74849ed304b8f79be.jpg","text":"TemporaryFile(/tmp/multipartBody6603928395272086036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525065123,"filename":"image_30112025_17_08_25_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081654","file1":"1397081653","file0":"1397081652","file4":"1397081658","file5":"1397081662","file3":"1397081655"},"map_files_photo_id_array":[{"photo_id":"1397081662","filename":"file5"},{"photo_id":"1397081654","filename":"file2"},{"photo_id":"1397081658","filename":"file4"},{"photo_id":"1397081653","filename":"file1"},{"photo_id":"1397081652","filename":"file0"},{"photo_id":"1397081655","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081658":["hashtag1","hashtag2"]},{"1397081652":["hashtag1","hashtag2"]},{"1397081655":["hashtag1","hashtag2"]},{"1397081654":["hashtag1","hashtag2"]},{"1397081653":["hashtag1","hashtag2"]},{"1397081662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081658, 1397081652, 1397081655, 1397081654, 1397081653, 1397081662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.471330642700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:50:44.003683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/19/image_31102025_13_19_45_2843.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_49_3731.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_51_2642.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_55_3593.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_58_2671.jpg', '/home/pi/Desktop/images/31102025/13/19/image_31102025_13_20_00_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_45_2843.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_49_3731.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_51_2642.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_55_3593.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_19_58_2671.jpg
/home/pi/Desktop/images/31102025/13/19/image_31102025_13_20_00_2520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081670","1397081673","1397081675","1397081672","1397081671","1397081674"],"photo_ids_order":["1397081670","1397081671","1397081672","1397081673","1397081674","1397081675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a5821d17136291ed4e92eca0f8f04df.jpg","text":"TemporaryFile(/tmp/multipartBody2951226754970041803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_19_45_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/30/a22a4522cd2736ea739a8379840ae190.jpg","text":"TemporaryFile(/tmp/multipartBody6534554665950164700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_19_55_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/30/38d6e018396278c2b4272df6e4de2c88.jpg","text":"TemporaryFile(/tmp/multipartBody5644445600413193933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_20_00_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/30/d96ba3c5b0df7c5fb5d906561eff8962.jpg","text":"TemporaryFile(/tmp/multipartBody152741076786941261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_19_51_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/30/cb258ac2214b7f66f3ad77fefba6d2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3923829147774529633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_19_49_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfe81cea50264159911cf64f8f0edf66.jpg","text":"TemporaryFile(/tmp/multipartBody8656662999015642982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525104867,"filename":"image_31102025_13_19_58_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081672","file1":"1397081671","file0":"1397081670","file4":"1397081674","file5":"1397081675","file3":"1397081673"},"map_files_photo_id_array":[{"photo_id":"1397081675","filename":"file5"},{"photo_id":"1397081672","filename":"file2"},{"photo_id":"1397081674","filename":"file4"},{"photo_id":"1397081671","filename":"file1"},{"photo_id":"1397081670","filename":"file0"},{"photo_id":"1397081673","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081670":["hashtag1","hashtag2"]},{"1397081673":["hashtag1","hashtag2"]},{"1397081675":["hashtag1","hashtag2"]},{"1397081672":["hashtag1","hashtag2"]},{"1397081671":["hashtag1","hashtag2"]},{"1397081674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081670, 1397081673, 1397081675, 1397081672, 1397081671, 1397081674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14986872673035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:51:32.180277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_50_1705.jpg', '/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_53_3040.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_07_12576.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_09_1834.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_11_1772.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_13_1942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_50_1705.jpg
/home/pi/Desktop/images/25112025/20/42/image_25112025_20_42_53_3040.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_07_12576.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_09_1834.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_11_1772.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_13_1942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081691","1397081685","1397081688","1397081690","1397081692","1397081683"],"photo_ids_order":["1397081683","1397081685","1397081688","1397081690","1397081691","1397081692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6d2a7d71d36b9008e838a244c0eb307.jpg","text":"TemporaryFile(/tmp/multipartBody811438495013503290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_43_11_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/30/04b10939e243b7747c07a47958b91aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4886771211620375843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_42_53_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6f9462fc34fc80e1262abc2f6772505.jpg","text":"TemporaryFile(/tmp/multipartBody5391990541896194255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_43_07_12576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6dca3167113ef217b1aa3b49e6fd76f3.jpg","text":"TemporaryFile(/tmp/multipartBody1484591799737383594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_43_09_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/30/11c47eb51fecd51f0621f69d852ff45d.jpg","text":"TemporaryFile(/tmp/multipartBody1061321192741554659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_43_13_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/30/b905e1b0d0fb1d0f9a19e60085297abd.jpg","text":"TemporaryFile(/tmp/multipartBody2126931352984717683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525154149,"filename":"image_25112025_20_42_50_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081688","file1":"1397081685","file0":"1397081683","file4":"1397081691","file5":"1397081692","file3":"1397081690"},"map_files_photo_id_array":[{"photo_id":"1397081692","filename":"file5"},{"photo_id":"1397081688","filename":"file2"},{"photo_id":"1397081691","filename":"file4"},{"photo_id":"1397081685","filename":"file1"},{"photo_id":"1397081683","filename":"file0"},{"photo_id":"1397081690","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081691":["hashtag1","hashtag2"]},{"1397081685":["hashtag1","hashtag2"]},{"1397081688":["hashtag1","hashtag2"]},{"1397081690":["hashtag1","hashtag2"]},{"1397081692":["hashtag1","hashtag2"]},{"1397081683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081691, 1397081685, 1397081688, 1397081690, 1397081692, 1397081683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30352449417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:52:12.309053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_16_3241.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_19_3238.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_21_1653.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_22_1512.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_24_1718.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_26_1818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_16_3241.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_19_3238.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_21_1653.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_22_1512.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_24_1718.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_26_1818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081694","1397081707","1397081701","1397081703","1397081693","1397081698"],"photo_ids_order":["1397081693","1397081694","1397081698","1397081701","1397081703","1397081707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9818c9879315f61992372f81903bc1b.jpg","text":"TemporaryFile(/tmp/multipartBody5606446971315754253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_19_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3de5c8edfa2614354ecc9f3c718b120.jpg","text":"TemporaryFile(/tmp/multipartBody2906530346793879867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_26_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c549bae998f7af903ef6b4e7c954894.jpg","text":"TemporaryFile(/tmp/multipartBody8727945105730820900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_22_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9db87957f7bd293e08008cc99da323a.jpg","text":"TemporaryFile(/tmp/multipartBody3429950967172517291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_24_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/30/80bc4f3849a97ba16d8d379e2a71c1b3.jpg","text":"TemporaryFile(/tmp/multipartBody417045719627864334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_16_3241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c845d3c15ce22107df7e44d71820c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody2357916422173740381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525194142,"filename":"image_25112025_20_43_21_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081698","file1":"1397081694","file0":"1397081693","file4":"1397081703","file5":"1397081707","file3":"1397081701"},"map_files_photo_id_array":[{"photo_id":"1397081707","filename":"file5"},{"photo_id":"1397081698","filename":"file2"},{"photo_id":"1397081703","filename":"file4"},{"photo_id":"1397081694","filename":"file1"},{"photo_id":"1397081693","filename":"file0"},{"photo_id":"1397081701","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081694":["hashtag1","hashtag2"]},{"1397081707":["hashtag1","hashtag2"]},{"1397081701":["hashtag1","hashtag2"]},{"1397081703":["hashtag1","hashtag2"]},{"1397081693":["hashtag1","hashtag2"]},{"1397081698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081694, 1397081707, 1397081701, 1397081703, 1397081693, 1397081698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.278475522994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:53:03.150308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_35_9644.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_45_10489.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_55_9599.jpg', '/home/pi/Desktop/images/30112025/17/08/image_30112025_17_09_05_9647.jpg', '/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_15_10439.jpg', '/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_30_14904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_35_9644.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_45_10489.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_08_55_9599.jpg
/home/pi/Desktop/images/30112025/17/08/image_30112025_17_09_05_9647.jpg
/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_15_10439.jpg
/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_30_14904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081716","1397081719","1397081713","1397081712","1397081711","1397081714"],"photo_ids_order":["1397081711","1397081712","1397081713","1397081714","1397081716","1397081719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff63f961c3321fabc6b7fb64f03ac275.jpg","text":"TemporaryFile(/tmp/multipartBody1845037518894674928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_09_15_10439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/793c6326277e58f4664bc76efc6de259.jpg","text":"TemporaryFile(/tmp/multipartBody2420951471685646238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_09_30_14904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a45cb5a35080a8ebe17ecc166ef29c28.jpg","text":"TemporaryFile(/tmp/multipartBody3946065540453695542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_08_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d64a6988ef4dfe72914683361f2650eb.jpg","text":"TemporaryFile(/tmp/multipartBody7913860524542794843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_08_45_10489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/712f1f80d849c34a4ecc87f46e5e7c78.jpg","text":"TemporaryFile(/tmp/multipartBody7464237275342244730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_08_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9e894bd5bc248aab3ff986c6a18e719.jpg","text":"TemporaryFile(/tmp/multipartBody7540321981305612173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525243969,"filename":"image_30112025_17_09_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081713","file1":"1397081712","file0":"1397081711","file4":"1397081716","file5":"1397081719","file3":"1397081714"},"map_files_photo_id_array":[{"photo_id":"1397081719","filename":"file5"},{"photo_id":"1397081713","filename":"file2"},{"photo_id":"1397081716","filename":"file4"},{"photo_id":"1397081712","filename":"file1"},{"photo_id":"1397081711","filename":"file0"},{"photo_id":"1397081714","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081716":["hashtag1","hashtag2"]},{"1397081719":["hashtag1","hashtag2"]},{"1397081713":["hashtag1","hashtag2"]},{"1397081712":["hashtag1","hashtag2"]},{"1397081711":["hashtag1","hashtag2"]},{"1397081714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081716, 1397081719, 1397081713, 1397081712, 1397081711, 1397081714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05596089363098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:53:42.674058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/20/image_31102025_13_20_03_2956.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_06_3094.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_10_3723.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_13_2609.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_15_2808.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_19_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_03_2956.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_06_3094.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_10_3723.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_13_2609.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_15_2808.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_19_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":["1397081733","1397081727","1397081736","1397081732","1397081735","1397081734"],"photo_ids_order":["1397081727","1397081732","1397081733","1397081734","1397081735","1397081736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb31cfd2e0b24001e4e566c287faa64c.jpg","text":"TemporaryFile(/tmp/multipartBody5771652341879865121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_10_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/30/e61bfb3369e53a73c460d7b45bd21e1a.jpg","text":"TemporaryFile(/tmp/multipartBody895897479800874422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_03_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/30/4b3674b0be4e3379fbdcc7367024d703.jpg","text":"TemporaryFile(/tmp/multipartBody947174656034037705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_19_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/30/72c7b868766cdf6949ae67cf87690184.jpg","text":"TemporaryFile(/tmp/multipartBody1205469879411795092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_06_3094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a70c59b631db30df2bf192ea4fec70f3.jpg","text":"TemporaryFile(/tmp/multipartBody8549926099963185455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_15_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9db4e685d1a8f6f89d38e4f6931542f2.jpg","text":"TemporaryFile(/tmp/multipartBody1813460482500776375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525283526,"filename":"image_31102025_13_20_13_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081733","file1":"1397081732","file0":"1397081727","file4":"1397081735","file5":"1397081736","file3":"1397081734"},"map_files_photo_id_array":[{"photo_id":"1397081736","filename":"file5"},{"photo_id":"1397081733","filename":"file2"},{"photo_id":"1397081735","filename":"file4"},{"photo_id":"1397081732","filename":"file1"},{"photo_id":"1397081727","filename":"file0"},{"photo_id":"1397081734","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081733":["hashtag1","hashtag2"]},{"1397081727":["hashtag1","hashtag2"]},{"1397081736":["hashtag1","hashtag2"]},{"1397081732":["hashtag1","hashtag2"]},{"1397081735":["hashtag1","hashtag2"]},{"1397081734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081733, 1397081727, 1397081736, 1397081732, 1397081735, 1397081734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01044058799744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:54:22.175426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_35_4727.jpg', '/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_45_10658.jpg', '/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_55_9643.jpg', '/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_14_10092.jpg', '/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_25_10868.jpg', '/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_35_4727.jpg
/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_45_10658.jpg
/home/pi/Desktop/images/30112025/17/09/image_30112025_17_09_55_9643.jpg
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_14_10092.jpg
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_25_10868.jpg
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_34_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081743","1397081746","1397081751","1397081739","1397081748","1397081753"],"photo_ids_order":["1397081739","1397081743","1397081746","1397081748","1397081751","1397081753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92cef303af535bb2979c1cca145719c6.jpg","text":"TemporaryFile(/tmp/multipartBody653519147588213311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_09_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d51b549ff40d0f22723f321272632863.jpg","text":"TemporaryFile(/tmp/multipartBody35335612742122298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_09_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb54487d544cf99de94fff978997a579.jpg","text":"TemporaryFile(/tmp/multipartBody5479330695056306478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_10_25_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d01d62958a21e782b0a7ff52d0d03d5.jpg","text":"TemporaryFile(/tmp/multipartBody5085850383715508485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_09_35_4727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1baa45c5f9c0f4cc67e6c6666a2f6c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3395972455728352207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_10_14_10092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/838d1847d8d1ea14d9987be2c1ac82bb.jpg","text":"TemporaryFile(/tmp/multipartBody3288245815277047769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525322815,"filename":"image_30112025_17_10_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081746","file1":"1397081743","file0":"1397081739","file4":"1397081751","file5":"1397081753","file3":"1397081748"},"map_files_photo_id_array":[{"photo_id":"1397081753","filename":"file5"},{"photo_id":"1397081746","filename":"file2"},{"photo_id":"1397081751","filename":"file4"},{"photo_id":"1397081743","filename":"file1"},{"photo_id":"1397081739","filename":"file0"},{"photo_id":"1397081748","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081743":["hashtag1","hashtag2"]},{"1397081746":["hashtag1","hashtag2"]},{"1397081751":["hashtag1","hashtag2"]},{"1397081739":["hashtag1","hashtag2"]},{"1397081748":["hashtag1","hashtag2"]},{"1397081753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081743, 1397081746, 1397081751, 1397081739, 1397081748, 1397081753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.032172203063965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:55:03.366365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_44_9614.jpg', '/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_54_9810.jpg', '/home/pi/Desktop/images/30112025/17/10/image_30112025_17_11_05_10675.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_14_9794.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_25_10207.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_44_9614.jpg
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_10_54_9810.jpg
/home/pi/Desktop/images/30112025/17/10/image_30112025_17_11_05_10675.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_14_9794.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_25_10207.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081764","1397081758","1397081754","1397081756","1397081761","1397081755"],"photo_ids_order":["1397081754","1397081755","1397081756","1397081758","1397081761","1397081764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58ef72a0fe7ded0022568d11375396a7.jpg","text":"TemporaryFile(/tmp/multipartBody6910351112114634746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_11_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/583cc23854b7ddee6dd771fad563a247.jpg","text":"TemporaryFile(/tmp/multipartBody8038337893498468160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_11_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e544c37e1755f1d92cc753e0fe700d1.jpg","text":"TemporaryFile(/tmp/multipartBody5353191043686672270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_10_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a097583530b15afad8ee8088c38f7b2.jpg","text":"TemporaryFile(/tmp/multipartBody2465343465882714750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_11_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54655180cdb8a278e335ba7f907b4c11.jpg","text":"TemporaryFile(/tmp/multipartBody1558278911281667937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_11_25_10207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58ed2a011567069e7113fd513040e18b.jpg","text":"TemporaryFile(/tmp/multipartBody5298043907688940063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525364106,"filename":"image_30112025_17_10_54_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081756","file1":"1397081755","file0":"1397081754","file4":"1397081761","file5":"1397081764","file3":"1397081758"},"map_files_photo_id_array":[{"photo_id":"1397081764","filename":"file5"},{"photo_id":"1397081756","filename":"file2"},{"photo_id":"1397081761","filename":"file4"},{"photo_id":"1397081755","filename":"file1"},{"photo_id":"1397081754","filename":"file0"},{"photo_id":"1397081758","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081764":["hashtag1","hashtag2"]},{"1397081758":["hashtag1","hashtag2"]},{"1397081754":["hashtag1","hashtag2"]},{"1397081756":["hashtag1","hashtag2"]},{"1397081761":["hashtag1","hashtag2"]},{"1397081755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081764, 1397081758, 1397081754, 1397081756, 1397081761, 1397081755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96368622779846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 18:55:42.889533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/20/image_31102025_13_20_22_2659.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_25_2840.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_27_2560.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_31_3718.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_36_2701.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_45_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_22_2659.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_25_2840.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_27_2560.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_31_3718.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_36_2701.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_45_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081775","1397081774","1397081777","1397081771","1397081773","1397081776"],"photo_ids_order":["1397081771","1397081773","1397081774","1397081775","1397081776","1397081777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74ff090d7f0514fdc376dfee87a616d6.jpg","text":"TemporaryFile(/tmp/multipartBody8142744956391344381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_31_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/30/8fd792ce0b9e79b87e852e72015ca36e.jpg","text":"TemporaryFile(/tmp/multipartBody2730007362113747960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_27_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/30/e1e27d36b03fb9544e7e35c2b6a9fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1108964140874263912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_45_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c53abfa25475096c62c97dc3c3a86a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7905856019191770097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_22_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ab0d3dc7e9ce314117345efa0dc7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1333085964739236103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_25_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/30/b905aacf10287a304a22ba3d8d244509.jpg","text":"TemporaryFile(/tmp/multipartBody1368106642074140786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525403793,"filename":"image_31102025_13_20_36_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081774","file1":"1397081773","file0":"1397081771","file4":"1397081776","file5":"1397081777","file3":"1397081775"},"map_files_photo_id_array":[{"photo_id":"1397081777","filename":"file5"},{"photo_id":"1397081774","filename":"file2"},{"photo_id":"1397081776","filename":"file4"},{"photo_id":"1397081773","filename":"file1"},{"photo_id":"1397081771","filename":"file0"},{"photo_id":"1397081775","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081775":["hashtag1","hashtag2"]},{"1397081774":["hashtag1","hashtag2"]},{"1397081777":["hashtag1","hashtag2"]},{"1397081771":["hashtag1","hashtag2"]},{"1397081773":["hashtag1","hashtag2"]},{"1397081776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081775, 1397081774, 1397081777, 1397081771, 1397081773, 1397081776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391098499298096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:56:22.088816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_44_9696.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_55_10570.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_12_04_9627.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_14_9762.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_25_10625.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_44_9696.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_55_10570.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_12_04_9627.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_14_9762.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_25_10625.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_34_9635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6047234535217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 18:56:32.068141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_28_1639.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_30_2708.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_33_2776.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_37_3548.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_39_2562.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_42_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_28_1639.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_30_2708.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_33_2776.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_37_3548.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_39_2562.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_42_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081800","1397081799","1397081792","1397081798","1397081797","1397081788"],"photo_ids_order":["1397081788","1397081792","1397081797","1397081798","1397081799","1397081800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a65e54f6fdd72b4c678eccf58f5ef606.jpg","text":"TemporaryFile(/tmp/multipartBody648078464678738556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_42_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/30/bbf6cf24082e9398bc3653569216898a.jpg","text":"TemporaryFile(/tmp/multipartBody1555066536410180504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_39_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/30/c8f9085e0c7393e28d6dec7ac82b5729.jpg","text":"TemporaryFile(/tmp/multipartBody690193838225967731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_30_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ebbf89ac7bd5fb64aa08b2b3630a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7992934577595536081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_37_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/30/937b3813060cab7c927dbe9113240ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3849672096748698570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_33_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/021109542636c51ca1b7d91fb04cd4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7702897847236148706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525454055,"filename":"image_25112025_20_43_28_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081797","file1":"1397081792","file0":"1397081788","file4":"1397081799","file5":"1397081800","file3":"1397081798"},"map_files_photo_id_array":[{"photo_id":"1397081800","filename":"file5"},{"photo_id":"1397081797","filename":"file2"},{"photo_id":"1397081799","filename":"file4"},{"photo_id":"1397081792","filename":"file1"},{"photo_id":"1397081788","filename":"file0"},{"photo_id":"1397081798","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397081800":["hashtag1","hashtag2"]},{"1397081799":["hashtag1","hashtag2"]},{"1397081792":["hashtag1","hashtag2"]},{"1397081798":["hashtag1","hashtag2"]},{"1397081797":["hashtag1","hashtag2"]},{"1397081788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397081800, 1397081799, 1397081792, 1397081798, 1397081797, 1397081788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65677738189697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 18:57:22.350307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_44_9696.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_55_10570.jpg', '/home/pi/Desktop/images/30112025/17/11/image_30112025_17_12_04_9627.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_14_9762.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_25_10625.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_44_9696.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_11_55_10570.jpg
/home/pi/Desktop/images/30112025/17/11/image_30112025_17_12_04_9627.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_14_9762.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_25_10625.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_34_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081818","1397081803","1397081805","1397081810","1397081813","1397081816"],"photo_ids_order":["1397081803","1397081805","1397081810","1397081813","1397081816","1397081818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/224056e8671c66b3c36fe27ca05b70ef.jpg","text":"TemporaryFile(/tmp/multipartBody1821612143882605680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_12_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb2645f3956edc381e49229e73fa3cca.jpg","text":"TemporaryFile(/tmp/multipartBody1373528326911889795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_11_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3e12649583c9439fc774e42551bd0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5102535807171622421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_11_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/956bebb41143cbd61ade34629b3fddc4.jpg","text":"TemporaryFile(/tmp/multipartBody5749498643668082820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_12_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe74ead27798dec8681e7fa68c3f91ae.jpg","text":"TemporaryFile(/tmp/multipartBody6404149107766929394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_12_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e61a7ceb8b3e76864a5710b1366200d8.jpg","text":"TemporaryFile(/tmp/multipartBody2519075649632868945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525503087,"filename":"image_30112025_17_12_25_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081810","file1":"1397081805","file0":"1397081803","file4":"1397081816","file5":"1397081818","file3":"1397081813"},"map_files_photo_id_array":[{"photo_id":"1397081818","filename":"file5"},{"photo_id":"1397081810","filename":"file2"},{"photo_id":"1397081816","filename":"file4"},{"photo_id":"1397081805","filename":"file1"},{"photo_id":"1397081803","filename":"file0"},{"photo_id":"1397081813","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081818":["hashtag1","hashtag2"]},{"1397081803":["hashtag1","hashtag2"]},{"1397081805":["hashtag1","hashtag2"]},{"1397081810":["hashtag1","hashtag2"]},{"1397081813":["hashtag1","hashtag2"]},{"1397081816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081818, 1397081803, 1397081805, 1397081810, 1397081813, 1397081816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99409770965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 18:59:03.718220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_44_9684.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_54_10130.jpg', '/home/pi/Desktop/images/30112025/17/12/image_30112025_17_13_05_10637.jpg', '/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_14_9660.jpg', '/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_24_9883.jpg', '/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_34_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_44_9684.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_12_54_10130.jpg
/home/pi/Desktop/images/30112025/17/12/image_30112025_17_13_05_10637.jpg
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_14_9660.jpg
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_24_9883.jpg
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081821","1397081840","1397081837","1397081831","1397081834","1397081827"],"photo_ids_order":["1397081821","1397081827","1397081831","1397081834","1397081837","1397081840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/906975de3b310530b23585d080543f4c.jpg","text":"TemporaryFile(/tmp/multipartBody370179577102638593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_12_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6afea2c320dd9ef541349b28d8d2ac26.jpg","text":"TemporaryFile(/tmp/multipartBody1606871741179679264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_13_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd51abf95d7d5abd504675ab85fefab7.jpg","text":"TemporaryFile(/tmp/multipartBody9094023115151676046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_13_24_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5c746efbaff0392cb042f5bd0721cda.jpg","text":"TemporaryFile(/tmp/multipartBody607203626594965223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_13_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f64c22f0900d7fff105395a2fe7483a2.jpg","text":"TemporaryFile(/tmp/multipartBody6033782733258683883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_13_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfc7d39fb3d69866fb7bb731517cd4be.jpg","text":"TemporaryFile(/tmp/multipartBody2011708622129395568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525604493,"filename":"image_30112025_17_12_54_10130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081831","file1":"1397081827","file0":"1397081821","file4":"1397081837","file5":"1397081840","file3":"1397081834"},"map_files_photo_id_array":[{"photo_id":"1397081840","filename":"file5"},{"photo_id":"1397081831","filename":"file2"},{"photo_id":"1397081837","filename":"file4"},{"photo_id":"1397081827","filename":"file1"},{"photo_id":"1397081821","filename":"file0"},{"photo_id":"1397081834","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081821":["hashtag1","hashtag2"]},{"1397081840":["hashtag1","hashtag2"]},{"1397081837":["hashtag1","hashtag2"]},{"1397081831":["hashtag1","hashtag2"]},{"1397081834":["hashtag1","hashtag2"]},{"1397081827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081821, 1397081840, 1397081837, 1397081831, 1397081834, 1397081827)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.713080406188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:00:02.432109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_45_10766.jpg', '/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_54_9844.jpg', '/home/pi/Desktop/images/30112025/17/13/image_30112025_17_14_04_9791.jpg', '/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_14_9711.jpg', '/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_24_10243.jpg', '/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_35_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_45_10766.jpg
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_13_54_9844.jpg
/home/pi/Desktop/images/30112025/17/13/image_30112025_17_14_04_9791.jpg
/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_14_9711.jpg
/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_24_10243.jpg
/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_35_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081856","1397081855","1397081858","1397081852","1397081860","1397081854"],"photo_ids_order":["1397081852","1397081854","1397081855","1397081856","1397081858","1397081860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc266ef412e9a40d66ffdee71a6cdcd1.jpg","text":"TemporaryFile(/tmp/multipartBody1522801983769617969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_14_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7155ed5d26a2a2be71b60e28362cac10.jpg","text":"TemporaryFile(/tmp/multipartBody7225209455742523825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_14_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4171e88d52387c1d1d0d15838311640e.jpg","text":"TemporaryFile(/tmp/multipartBody7034072925445824611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_14_24_10243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87052e07f80dc12d304c8225812ea00f.jpg","text":"TemporaryFile(/tmp/multipartBody5417811848726989848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_13_45_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f30d0e9d611c5a637cc8f9d7d9dfbe69.jpg","text":"TemporaryFile(/tmp/multipartBody1577488806059340703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_14_35_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f24bb48327d9609dc3d17aa4a65643e7.jpg","text":"TemporaryFile(/tmp/multipartBody6789773578404326917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525663195,"filename":"image_30112025_17_13_54_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081855","file1":"1397081854","file0":"1397081852","file4":"1397081858","file5":"1397081860","file3":"1397081856"},"map_files_photo_id_array":[{"photo_id":"1397081860","filename":"file5"},{"photo_id":"1397081855","filename":"file2"},{"photo_id":"1397081858","filename":"file4"},{"photo_id":"1397081854","filename":"file1"},{"photo_id":"1397081852","filename":"file0"},{"photo_id":"1397081856","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081856":["hashtag1","hashtag2"]},{"1397081855":["hashtag1","hashtag2"]},{"1397081858":["hashtag1","hashtag2"]},{"1397081852":["hashtag1","hashtag2"]},{"1397081860":["hashtag1","hashtag2"]},{"1397081854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081856, 1397081855, 1397081858, 1397081852, 1397081860, 1397081854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96386170387268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:00:42.109341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/20/image_31102025_13_20_48_2853.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_51_2802.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_55_3788.jpg', '/home/pi/Desktop/images/31102025/13/20/image_31102025_13_21_00_2730.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_04_3554.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_07_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/13/20/image_31102025_13_20_48_2853.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_51_2802.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_20_55_3788.jpg
/home/pi/Desktop/images/31102025/13/20/image_31102025_13_21_00_2730.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_04_3554.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_07_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":["1397081874","1397081871","1397081868","1397081873","1397081872","1397081875"],"photo_ids_order":["1397081868","1397081871","1397081872","1397081873","1397081874","1397081875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6c3b58abcbd6a0f986ecdb14e52a630.jpg","text":"TemporaryFile(/tmp/multipartBody6629688562301684879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_21_04_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/30/d0089b07665803a26b8fc6eeb826d162.jpg","text":"TemporaryFile(/tmp/multipartBody8782538747567601914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_20_51_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/30/cd49604451f83f0a664b9d3256e096cb.jpg","text":"TemporaryFile(/tmp/multipartBody2903411532225157659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_20_48_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/30/06c1a8dc08d2f672a17f5970a7682bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8494724172869337328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_21_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/850e30b097882d80cd4a4b67c23308f0.jpg","text":"TemporaryFile(/tmp/multipartBody801684574622362263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_20_55_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/30/c9db9cc727e94a6719c679d0b2968118.jpg","text":"TemporaryFile(/tmp/multipartBody7880772761402963972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525703000,"filename":"image_31102025_13_21_07_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081872","file1":"1397081871","file0":"1397081868","file4":"1397081874","file5":"1397081875","file3":"1397081873"},"map_files_photo_id_array":[{"photo_id":"1397081875","filename":"file5"},{"photo_id":"1397081872","filename":"file2"},{"photo_id":"1397081874","filename":"file4"},{"photo_id":"1397081871","filename":"file1"},{"photo_id":"1397081868","filename":"file0"},{"photo_id":"1397081873","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081874":["hashtag1","hashtag2"]},{"1397081871":["hashtag1","hashtag2"]},{"1397081868":["hashtag1","hashtag2"]},{"1397081873":["hashtag1","hashtag2"]},{"1397081872":["hashtag1","hashtag2"]},{"1397081875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081874, 1397081871, 1397081868, 1397081873, 1397081872, 1397081875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78206777572632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:01:22.276894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_45_9774.jpg', '/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_54_9655.jpg', '/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_14_10427.jpg', '/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_24_9937.jpg', '/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_34_9783.jpg', '/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_45_9774.jpg
/home/pi/Desktop/images/30112025/17/14/image_30112025_17_14_54_9655.jpg
/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_14_10427.jpg
/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_24_9937.jpg
/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_34_9783.jpg
/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_45_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081882","1397081879","1397081890","1397081884","1397081893","1397081887"],"photo_ids_order":["1397081879","1397081882","1397081884","1397081887","1397081890","1397081893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df0e2082d8ab3c92d41234926501c1eb.jpg","text":"TemporaryFile(/tmp/multipartBody2384403558144802494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_14_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/942bc28facba23275833334cd0db7dc7.jpg","text":"TemporaryFile(/tmp/multipartBody142916120772197160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_14_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11c1f6769438fb579021f61e4544d375.jpg","text":"TemporaryFile(/tmp/multipartBody2521661567870795263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_15_34_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4321d06a13e940599965cfb5495d71a.jpg","text":"TemporaryFile(/tmp/multipartBody95867045197729741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_15_14_10427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56e7a3e849631fecb9bfb3e944543132.jpg","text":"TemporaryFile(/tmp/multipartBody6159069738966137935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_15_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b3a5a4b0bdef5916653e9637c9a285d.jpg","text":"TemporaryFile(/tmp/multipartBody69931057320881669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525742968,"filename":"image_30112025_17_15_24_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081884","file1":"1397081882","file0":"1397081879","file4":"1397081890","file5":"1397081893","file3":"1397081887"},"map_files_photo_id_array":[{"photo_id":"1397081893","filename":"file5"},{"photo_id":"1397081884","filename":"file2"},{"photo_id":"1397081890","filename":"file4"},{"photo_id":"1397081882","filename":"file1"},{"photo_id":"1397081879","filename":"file0"},{"photo_id":"1397081887","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081882":["hashtag1","hashtag2"]},{"1397081879":["hashtag1","hashtag2"]},{"1397081890":["hashtag1","hashtag2"]},{"1397081884":["hashtag1","hashtag2"]},{"1397081893":["hashtag1","hashtag2"]},{"1397081887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081882, 1397081879, 1397081890, 1397081884, 1397081893, 1397081887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09614658355713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:02:02.842400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_54_9668.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_04_9874.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_14_9722.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_25_10842.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_35_9864.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_44_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/15/image_30112025_17_15_54_9668.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_04_9874.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_14_9722.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_25_10842.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_35_9864.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_44_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081902","1397081895","1397081894","1397081897","1397081896","1397081899"],"photo_ids_order":["1397081894","1397081895","1397081896","1397081897","1397081899","1397081902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2fd6545936bcd6a37b28f1d0581f2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8679421126416079401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_16_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/592039d1221bdd7d9a70c144b86134cf.jpg","text":"TemporaryFile(/tmp/multipartBody5389078279402866404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_16_04_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8e32757c2d947cd3d1ef0e7ddec747b.jpg","text":"TemporaryFile(/tmp/multipartBody5898426911879342336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_15_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/523c9770edf1521ccb52c91169323a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7369695456497978642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_16_25_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a5c4d853e8005f5343163471b0311a85.jpg","text":"TemporaryFile(/tmp/multipartBody8154557601747297893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_16_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2815f49095e8d3c94832eda01636a487.jpg","text":"TemporaryFile(/tmp/multipartBody2859760952487469129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525783596,"filename":"image_30112025_17_16_35_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081896","file1":"1397081895","file0":"1397081894","file4":"1397081899","file5":"1397081902","file3":"1397081897"},"map_files_photo_id_array":[{"photo_id":"1397081902","filename":"file5"},{"photo_id":"1397081896","filename":"file2"},{"photo_id":"1397081899","filename":"file4"},{"photo_id":"1397081895","filename":"file1"},{"photo_id":"1397081894","filename":"file0"},{"photo_id":"1397081897","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081902":["hashtag1","hashtag2"]},{"1397081895":["hashtag1","hashtag2"]},{"1397081894":["hashtag1","hashtag2"]},{"1397081897":["hashtag1","hashtag2"]},{"1397081896":["hashtag1","hashtag2"]},{"1397081899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081902, 1397081895, 1397081894, 1397081897, 1397081896, 1397081899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.365553855895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:02:42.364312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/21/image_31102025_13_21_09_2687.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_12_2769.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_16_3669.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_19_2722.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_21_2745.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_25_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_09_2687.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_12_2769.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_16_3669.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_19_2722.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_21_2745.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_25_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081914","1397081917","1397081910","1397081916","1397081918","1397081915"],"photo_ids_order":["1397081910","1397081914","1397081915","1397081916","1397081917","1397081918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b4fdcd44b9725712c49b0a15c955012.jpg","text":"TemporaryFile(/tmp/multipartBody6410137022106692420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_12_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/30/87989eb6a845f15e21ba9bbd7807d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody3977203950582369989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_21_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/30/c59ff8d04f3ac5438060b87c7918191b.jpg","text":"TemporaryFile(/tmp/multipartBody8548627955818984816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_09_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/30/2344b6d528d9a628af3866bfb8a2c011.jpg","text":"TemporaryFile(/tmp/multipartBody2474293490794180487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_19_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee7113bcc877ad295ebae47245a257bb.jpg","text":"TemporaryFile(/tmp/multipartBody2411704126510746906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_25_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/30/27948f4b3196134f4aa7bb769e17889d.jpg","text":"TemporaryFile(/tmp/multipartBody9112923126040625642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525823271,"filename":"image_31102025_13_21_16_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081915","file1":"1397081914","file0":"1397081910","file4":"1397081917","file5":"1397081918","file3":"1397081916"},"map_files_photo_id_array":[{"photo_id":"1397081918","filename":"file5"},{"photo_id":"1397081915","filename":"file2"},{"photo_id":"1397081917","filename":"file4"},{"photo_id":"1397081914","filename":"file1"},{"photo_id":"1397081910","filename":"file0"},{"photo_id":"1397081916","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081914":["hashtag1","hashtag2"]},{"1397081917":["hashtag1","hashtag2"]},{"1397081910":["hashtag1","hashtag2"]},{"1397081916":["hashtag1","hashtag2"]},{"1397081918":["hashtag1","hashtag2"]},{"1397081915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081914, 1397081917, 1397081910, 1397081916, 1397081918, 1397081915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62334370613098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:03:22.623637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_54_9722.jpg', '/home/pi/Desktop/images/30112025/17/16/image_30112025_17_17_05_10581.jpg', '/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_14_9811.jpg', '/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_24_9727.jpg', '/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_34_9695.jpg', '/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_44_10080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_16_54_9722.jpg
/home/pi/Desktop/images/30112025/17/16/image_30112025_17_17_05_10581.jpg
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_14_9811.jpg
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_24_9727.jpg
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_34_9695.jpg
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_44_10080.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081935","1397081931","1397081925","1397081928","1397081922","1397081933"],"photo_ids_order":["1397081922","1397081925","1397081928","1397081931","1397081933","1397081935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a28bcb768a459b9d11b3a5462af63605.jpg","text":"TemporaryFile(/tmp/multipartBody4451708201190435631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_17_44_10080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbab3c215c854e3ffbf21d8a33b3048d.jpg","text":"TemporaryFile(/tmp/multipartBody2465582406300206632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_17_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34267ba611310960d64f4d1dbafc77d3.jpg","text":"TemporaryFile(/tmp/multipartBody8213803585335298237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_17_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53eab8c0936453f5af77bd9fa90c8f27.jpg","text":"TemporaryFile(/tmp/multipartBody5268161345682618273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_17_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63a90f833d5b03ac65690c5c2e9a0536.jpg","text":"TemporaryFile(/tmp/multipartBody5098964284062649664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_16_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11ad27c53d664be3db800c8bd6793821.jpg","text":"TemporaryFile(/tmp/multipartBody5157908038786161399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525863322,"filename":"image_30112025_17_17_34_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081928","file1":"1397081925","file0":"1397081922","file4":"1397081933","file5":"1397081935","file3":"1397081931"},"map_files_photo_id_array":[{"photo_id":"1397081935","filename":"file5"},{"photo_id":"1397081928","filename":"file2"},{"photo_id":"1397081933","filename":"file4"},{"photo_id":"1397081925","filename":"file1"},{"photo_id":"1397081922","filename":"file0"},{"photo_id":"1397081931","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081935":["hashtag1","hashtag2"]},{"1397081931":["hashtag1","hashtag2"]},{"1397081925":["hashtag1","hashtag2"]},{"1397081928":["hashtag1","hashtag2"]},{"1397081922":["hashtag1","hashtag2"]},{"1397081933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081935, 1397081931, 1397081925, 1397081928, 1397081922, 1397081933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51208138465881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:04:03.292571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_55_10738.jpg', '/home/pi/Desktop/images/30112025/17/17/image_30112025_17_18_05_9832.jpg', '/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_14_9584.jpg', '/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_24_9738.jpg', '/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_35_10706.jpg', '/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_17_55_10738.jpg
/home/pi/Desktop/images/30112025/17/17/image_30112025_17_18_05_9832.jpg
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_14_9584.jpg
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_24_9738.jpg
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_35_10706.jpg
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081938","1397081937","1397081940","1397081942","1397081945","1397081939"],"photo_ids_order":["1397081937","1397081938","1397081939","1397081940","1397081942","1397081945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a713443e3a60795983dd9f6885230078.jpg","text":"TemporaryFile(/tmp/multipartBody2588879113998616898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_18_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0723f1258154737354c2a579268df09c.jpg","text":"TemporaryFile(/tmp/multipartBody1677544349421160209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_17_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d7e49eb966a355fc7d4bb4f6948c02a.jpg","text":"TemporaryFile(/tmp/multipartBody3932259492180670341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_18_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bca79d1eef361eb1907da7d00b8fc01.jpg","text":"TemporaryFile(/tmp/multipartBody6078942324898140021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_18_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ac5215720c961d4a11cd565efe73bf22.jpg","text":"TemporaryFile(/tmp/multipartBody276177597268243797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_18_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc962c7c26d393b02609db1fda11eca7.jpg","text":"TemporaryFile(/tmp/multipartBody676285710191788490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525904057,"filename":"image_30112025_17_18_14_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081939","file1":"1397081938","file0":"1397081937","file4":"1397081942","file5":"1397081945","file3":"1397081940"},"map_files_photo_id_array":[{"photo_id":"1397081945","filename":"file5"},{"photo_id":"1397081939","filename":"file2"},{"photo_id":"1397081942","filename":"file4"},{"photo_id":"1397081938","filename":"file1"},{"photo_id":"1397081937","filename":"file0"},{"photo_id":"1397081940","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081938":["hashtag1","hashtag2"]},{"1397081937":["hashtag1","hashtag2"]},{"1397081940":["hashtag1","hashtag2"]},{"1397081942":["hashtag1","hashtag2"]},{"1397081945":["hashtag1","hashtag2"]},{"1397081939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081938, 1397081937, 1397081940, 1397081942, 1397081945, 1397081939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9623863697052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:04:42.761062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/21/image_31102025_13_21_27_2613.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_30_2782.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_34_3599.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_36_2600.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_39_2847.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_43_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_27_2613.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_30_2782.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_34_3599.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_36_2600.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_39_2847.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_43_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081964","1397081966","1397081960","1397081957","1397081962","1397081965"],"photo_ids_order":["1397081957","1397081960","1397081962","1397081964","1397081965","1397081966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffb3e3281eb06e97766fd6151bffdbfe.jpg","text":"TemporaryFile(/tmp/multipartBody7202919624127637209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_36_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6a754dfd31c8949aac4ca58ee687142.jpg","text":"TemporaryFile(/tmp/multipartBody4848887075936193096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_43_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/30/5267336826560d770339db4fcdc48b63.jpg","text":"TemporaryFile(/tmp/multipartBody6887053591949358084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_30_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/30/6ff5bac6474bbc4eaed69336ced3f62f.jpg","text":"TemporaryFile(/tmp/multipartBody9121473573869081259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_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/30/a1e3d1e70f2f7a6711d4d52706bfeb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5000356245574427239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_34_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/30/5a5e511bb148f513ba631075b187f0fa.jpg","text":"TemporaryFile(/tmp/multipartBody5727926503290942615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525943640,"filename":"image_31102025_13_21_39_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081962","file1":"1397081960","file0":"1397081957","file4":"1397081965","file5":"1397081966","file3":"1397081964"},"map_files_photo_id_array":[{"photo_id":"1397081966","filename":"file5"},{"photo_id":"1397081962","filename":"file2"},{"photo_id":"1397081965","filename":"file4"},{"photo_id":"1397081960","filename":"file1"},{"photo_id":"1397081957","filename":"file0"},{"photo_id":"1397081964","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397081964":["hashtag1","hashtag2"]},{"1397081966":["hashtag1","hashtag2"]},{"1397081960":["hashtag1","hashtag2"]},{"1397081957":["hashtag1","hashtag2"]},{"1397081962":["hashtag1","hashtag2"]},{"1397081965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397081964, 1397081966, 1397081960, 1397081957, 1397081962, 1397081965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87025570869446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:05:21.935429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_55_10648.jpg', '/home/pi/Desktop/images/30112025/17/18/image_30112025_17_19_04_9623.jpg', '/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_14_9750.jpg', '/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_24_10245.jpg', '/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_34_9671.jpg', '/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_45_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_18_55_10648.jpg
/home/pi/Desktop/images/30112025/17/18/image_30112025_17_19_04_9623.jpg
/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_14_9750.jpg
/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_24_10245.jpg
/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_34_9671.jpg
/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_45_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081984","1397081978","1397081975","1397081980","1397081971","1397081968"],"photo_ids_order":["1397081968","1397081971","1397081975","1397081978","1397081980","1397081984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a27215e5f4982b2df86e536932ebe093.jpg","text":"TemporaryFile(/tmp/multipartBody2230346881158146954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_19_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/233098e6bf93efdefdd7cd18650819b0.jpg","text":"TemporaryFile(/tmp/multipartBody2483211462300729926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_19_24_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9eee1abbe45b93dcf3666649c648b781.jpg","text":"TemporaryFile(/tmp/multipartBody4193021310025073532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_19_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ecce9c0300e4a7bc7c5d6ef6e19f2d6f.jpg","text":"TemporaryFile(/tmp/multipartBody753807943874473994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_19_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b24f03848d745ad27ef25e598d6a58c.jpg","text":"TemporaryFile(/tmp/multipartBody5173403160954874960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_19_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ccafe4d5ec63307f8e4104ef0527e16.jpg","text":"TemporaryFile(/tmp/multipartBody5347484720598857335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764525982614,"filename":"image_30112025_17_18_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081975","file1":"1397081971","file0":"1397081968","file4":"1397081980","file5":"1397081984","file3":"1397081978"},"map_files_photo_id_array":[{"photo_id":"1397081984","filename":"file5"},{"photo_id":"1397081975","filename":"file2"},{"photo_id":"1397081980","filename":"file4"},{"photo_id":"1397081971","filename":"file1"},{"photo_id":"1397081968","filename":"file0"},{"photo_id":"1397081978","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081984":["hashtag1","hashtag2"]},{"1397081978":["hashtag1","hashtag2"]},{"1397081975":["hashtag1","hashtag2"]},{"1397081980":["hashtag1","hashtag2"]},{"1397081971":["hashtag1","hashtag2"]},{"1397081968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081984, 1397081978, 1397081975, 1397081980, 1397081971, 1397081968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74184846878052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:06:02.445564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_54_9371.jpg', '/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_15_10054.jpg', '/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_26_10679.jpg', '/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_35_9816.jpg', '/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_45_9710.jpg', '/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_55_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/19/image_30112025_17_19_54_9371.jpg
/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_15_10054.jpg
/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_26_10679.jpg
/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_35_9816.jpg
/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_45_9710.jpg
/home/pi/Desktop/images/30112025/17/20/image_30112025_17_20_55_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397081991","1397081993","1397081995","1397081989","1397081998","1397081992"],"photo_ids_order":["1397081989","1397081991","1397081992","1397081993","1397081995","1397081998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6866eb1a6a2f48266076cee226c97fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3662413134045228534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_20_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95343619d6e51cdc3e6d205380dade79.jpg","text":"TemporaryFile(/tmp/multipartBody4035410718106879425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_20_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58eaa8eb3be71703054c70a3896b1c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7037225980287977095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_20_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d1c544d1319711bfa01f3e5a4da16fc.jpg","text":"TemporaryFile(/tmp/multipartBody3883530038163960263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_19_54_9371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba0765cdb97d5bad058eb3e7a5a11308.jpg","text":"TemporaryFile(/tmp/multipartBody1473909212470348987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_20_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0719fad03f1d86405854cf86bc52cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody7166859724584761648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526023162,"filename":"image_30112025_17_20_26_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397081992","file1":"1397081991","file0":"1397081989","file4":"1397081995","file5":"1397081998","file3":"1397081993"},"map_files_photo_id_array":[{"photo_id":"1397081998","filename":"file5"},{"photo_id":"1397081992","filename":"file2"},{"photo_id":"1397081995","filename":"file4"},{"photo_id":"1397081991","filename":"file1"},{"photo_id":"1397081989","filename":"file0"},{"photo_id":"1397081993","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397081991":["hashtag1","hashtag2"]},{"1397081993":["hashtag1","hashtag2"]},{"1397081995":["hashtag1","hashtag2"]},{"1397081989":["hashtag1","hashtag2"]},{"1397081998":["hashtag1","hashtag2"]},{"1397081992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397081991, 1397081993, 1397081995, 1397081989, 1397081998, 1397081992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.65402293205261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:07:02.876534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_15_19756.jpg', '/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_16_1518.jpg', '/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_25_8823.jpg', '/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_36_10649.jpg', '/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_45_9716.jpg', '/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_55_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_15_19756.jpg
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_16_1518.jpg
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_25_8823.jpg
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_36_10649.jpg
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_45_9716.jpg
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_21_55_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082010","1397082006","1397082011","1397082008","1397082013","1397082016"],"photo_ids_order":["1397082006","1397082008","1397082010","1397082011","1397082013","1397082016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffdfb5aade357ea82aba1e908fadf419.jpg","text":"TemporaryFile(/tmp/multipartBody9093365746602655305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_25_8823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/684507ec55171c45b88ac21a0b963e21.jpg","text":"TemporaryFile(/tmp/multipartBody2963069091229878020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_15_19756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa6f8e692295cf68fd503fa7b8012b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2570727847044364109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_36_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0dae4afe54cf3089bff049b7f607736.jpg","text":"TemporaryFile(/tmp/multipartBody8478221401694833435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_16_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/30/fed89f0bc79389f1535cb1afefab1256.jpg","text":"TemporaryFile(/tmp/multipartBody1848690911988272083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/656e898941580f8c51eedebea1769b36.jpg","text":"TemporaryFile(/tmp/multipartBody6538684359161260843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526083705,"filename":"image_30112025_17_21_55_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082010","file1":"1397082008","file0":"1397082006","file4":"1397082013","file5":"1397082016","file3":"1397082011"},"map_files_photo_id_array":[{"photo_id":"1397082016","filename":"file5"},{"photo_id":"1397082010","filename":"file2"},{"photo_id":"1397082013","filename":"file4"},{"photo_id":"1397082008","filename":"file1"},{"photo_id":"1397082006","filename":"file0"},{"photo_id":"1397082011","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082010":["hashtag1","hashtag2"]},{"1397082006":["hashtag1","hashtag2"]},{"1397082011":["hashtag1","hashtag2"]},{"1397082008":["hashtag1","hashtag2"]},{"1397082013":["hashtag1","hashtag2"]},{"1397082016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082010, 1397082006, 1397082011, 1397082008, 1397082013, 1397082016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7155122756958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:07:42.241872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/21/image_31102025_13_21_45_2545.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_48_2751.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_52_3592.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_55_2788.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_57_2665.jpg', '/home/pi/Desktop/images/31102025/13/21/image_31102025_13_22_01_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_45_2545.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_48_2751.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_52_3592.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_55_2788.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_21_57_2665.jpg
/home/pi/Desktop/images/31102025/13/21/image_31102025_13_22_01_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082024","1397082027","1397082029","1397082026","1397082031","1397082028"],"photo_ids_order":["1397082024","1397082026","1397082027","1397082028","1397082029","1397082031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36e3b9fda31d912a9529eeaea2dd38f4.jpg","text":"TemporaryFile(/tmp/multipartBody3238463027596277065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_21_45_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/30/103d9ccc80f1e8039d6793dfb6b8ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody6448072035896996171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_21_52_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/30/76752a131d446951323aaa3f1e45b826.jpg","text":"TemporaryFile(/tmp/multipartBody1727761488788339226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_21_57_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/30/8f93e6524ca41035ec9f5fb92336ff77.jpg","text":"TemporaryFile(/tmp/multipartBody3642081844211143060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_21_48_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ebd3fdc5d8f4fd7b007911b494dd8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6660455118310682916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_22_01_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/30/badbbea5b6a6a8d9704e23f738ca6f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3947285778404165185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526123150,"filename":"image_31102025_13_21_55_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082027","file1":"1397082026","file0":"1397082024","file4":"1397082029","file5":"1397082031","file3":"1397082028"},"map_files_photo_id_array":[{"photo_id":"1397082031","filename":"file5"},{"photo_id":"1397082027","filename":"file2"},{"photo_id":"1397082029","filename":"file4"},{"photo_id":"1397082026","filename":"file1"},{"photo_id":"1397082024","filename":"file0"},{"photo_id":"1397082028","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082024":["hashtag1","hashtag2"]},{"1397082027":["hashtag1","hashtag2"]},{"1397082029":["hashtag1","hashtag2"]},{"1397082026":["hashtag1","hashtag2"]},{"1397082031":["hashtag1","hashtag2"]},{"1397082028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082024, 1397082027, 1397082029, 1397082026, 1397082031, 1397082028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13750410079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:08:22.521709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/21/image_30112025_17_22_06_10697.jpg', '/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_16_9988.jpg', '/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_26_9839.jpg', '/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_35_9633.jpg', '/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_45_9693.jpg', '/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_56_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/21/image_30112025_17_22_06_10697.jpg
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_16_9988.jpg
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_26_9839.jpg
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_35_9633.jpg
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_45_9693.jpg
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_22_56_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082047","1397082041","1397082044","1397082052","1397082034","1397082037"],"photo_ids_order":["1397082034","1397082037","1397082041","1397082044","1397082047","1397082052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64200be3ae493cd8eaa2cdbfdd6779b3.jpg","text":"TemporaryFile(/tmp/multipartBody8377879767590801092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5827d8bebf5f35de47a605f20d2876fa.jpg","text":"TemporaryFile(/tmp/multipartBody4259341739101491332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_26_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5099b5311a59c767ffd2db6d82704119.jpg","text":"TemporaryFile(/tmp/multipartBody2946819516550102930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc5ce4e865b65f835a498022f3a7969b.jpg","text":"TemporaryFile(/tmp/multipartBody3269773978180957250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_56_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/782304d0a4e53af0b8f1e1f38f7018b4.jpg","text":"TemporaryFile(/tmp/multipartBody1572255766685955389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_06_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74040ee251fd58a0385160af58756e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5993421642850220306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526163203,"filename":"image_30112025_17_22_16_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082041","file1":"1397082037","file0":"1397082034","file4":"1397082047","file5":"1397082052","file3":"1397082044"},"map_files_photo_id_array":[{"photo_id":"1397082052","filename":"file5"},{"photo_id":"1397082041","filename":"file2"},{"photo_id":"1397082047","filename":"file4"},{"photo_id":"1397082037","filename":"file1"},{"photo_id":"1397082034","filename":"file0"},{"photo_id":"1397082044","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082047":["hashtag1","hashtag2"]},{"1397082041":["hashtag1","hashtag2"]},{"1397082044":["hashtag1","hashtag2"]},{"1397082052":["hashtag1","hashtag2"]},{"1397082034":["hashtag1","hashtag2"]},{"1397082037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082047, 1397082041, 1397082044, 1397082052, 1397082034, 1397082037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19498872756958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:09:03.584322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/22/image_30112025_17_23_05_9587.jpg', '/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_15_9749.jpg', '/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_25_10355.jpg', '/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_35_9960.jpg', '/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_46_10527.jpg', '/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_55_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/22/image_30112025_17_23_05_9587.jpg
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_15_9749.jpg
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_25_10355.jpg
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_35_9960.jpg
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_46_10527.jpg
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_23_55_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082060","1397082054","1397082063","1397082057","1397082053","1397082055"],"photo_ids_order":["1397082053","1397082054","1397082055","1397082057","1397082060","1397082063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/226e924bc442323e33bd80fb1ed66a13.jpg","text":"TemporaryFile(/tmp/multipartBody4993587298577005410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_46_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8966c422de42f8d6c3c075bfb75cd3d8.jpg","text":"TemporaryFile(/tmp/multipartBody1720812866876740160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c7cb2fa073211d88536a4f64c438296.jpg","text":"TemporaryFile(/tmp/multipartBody1986704229172755125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6788337b40c2c7ce28a3b66c65b04a17.jpg","text":"TemporaryFile(/tmp/multipartBody1335085395898748850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_35_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8951e06b2633597f1cfb2eaabdda000.jpg","text":"TemporaryFile(/tmp/multipartBody4081690951792704245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_05_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bd7fa89ecd1ca53154c6ca19d52610b.jpg","text":"TemporaryFile(/tmp/multipartBody3668875979220662613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526204377,"filename":"image_30112025_17_23_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082055","file1":"1397082054","file0":"1397082053","file4":"1397082060","file5":"1397082063","file3":"1397082057"},"map_files_photo_id_array":[{"photo_id":"1397082063","filename":"file5"},{"photo_id":"1397082055","filename":"file2"},{"photo_id":"1397082060","filename":"file4"},{"photo_id":"1397082054","filename":"file1"},{"photo_id":"1397082053","filename":"file0"},{"photo_id":"1397082057","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082060":["hashtag1","hashtag2"]},{"1397082054":["hashtag1","hashtag2"]},{"1397082063":["hashtag1","hashtag2"]},{"1397082057":["hashtag1","hashtag2"]},{"1397082053":["hashtag1","hashtag2"]},{"1397082055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082060, 1397082054, 1397082063, 1397082057, 1397082053, 1397082055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68019771575928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:09:42.624687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/22/image_31102025_13_22_04_2707.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_06_2625.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_09_2796.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_13_3569.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_15_2652.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_19_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_04_2707.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_06_2625.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_09_2796.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_13_3569.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_15_2652.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_19_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":["1397082075","1397082071","1397082074","1397082077","1397082076","1397082073"],"photo_ids_order":["1397082071","1397082073","1397082074","1397082075","1397082076","1397082077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c4e777992dd2bb88a9c082f7007b28c.jpg","text":"TemporaryFile(/tmp/multipartBody5684688238881260187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_13_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/30/c2cb077febc53fce53857bc4e99f18c4.jpg","text":"TemporaryFile(/tmp/multipartBody5831290326481773935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_04_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/30/ae77b9710415c6e1eae343daa1591b67.jpg","text":"TemporaryFile(/tmp/multipartBody1737806322389044516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_09_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/30/5ceedf41e40bffa545d97f315417c647.jpg","text":"TemporaryFile(/tmp/multipartBody214767274824448774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_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/30/812d817e56032078875a3ae8c859a373.jpg","text":"TemporaryFile(/tmp/multipartBody8462256037215771298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_15_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e955bf3f2f77d3ebb719444715856f61.jpg","text":"TemporaryFile(/tmp/multipartBody6398537436578251293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526243493,"filename":"image_31102025_13_22_06_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082074","file1":"1397082073","file0":"1397082071","file4":"1397082076","file5":"1397082077","file3":"1397082075"},"map_files_photo_id_array":[{"photo_id":"1397082077","filename":"file5"},{"photo_id":"1397082074","filename":"file2"},{"photo_id":"1397082076","filename":"file4"},{"photo_id":"1397082073","filename":"file1"},{"photo_id":"1397082071","filename":"file0"},{"photo_id":"1397082075","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082075":["hashtag1","hashtag2"]},{"1397082071":["hashtag1","hashtag2"]},{"1397082074":["hashtag1","hashtag2"]},{"1397082077":["hashtag1","hashtag2"]},{"1397082076":["hashtag1","hashtag2"]},{"1397082073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082075, 1397082071, 1397082074, 1397082077, 1397082076, 1397082073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12277936935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:10:22.792310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/23/image_30112025_17_24_05_9655.jpg', '/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_15_9717.jpg', '/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_25_10640.jpg', '/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_35_9866.jpg', '/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_45_9523.jpg', '/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_55_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/23/image_30112025_17_24_05_9655.jpg
/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_15_9717.jpg
/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_25_10640.jpg
/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_35_9866.jpg
/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_45_9523.jpg
/home/pi/Desktop/images/30112025/17/24/image_30112025_17_24_55_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082081","1397082084","1397082095","1397082092","1397082086","1397082089"],"photo_ids_order":["1397082081","1397082084","1397082086","1397082089","1397082092","1397082095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/968676e49e564e9bf6dbd76bbc016410.jpg","text":"TemporaryFile(/tmp/multipartBody1628702778813835939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ddfa3c06d12b459d927fcbbec075f51.jpg","text":"TemporaryFile(/tmp/multipartBody4715926947738956912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2e1ca0efd3b2caa455189cacb8ad655.jpg","text":"TemporaryFile(/tmp/multipartBody4571333042633518992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e507b2f8e235e28a25ddcdf6d016564a.jpg","text":"TemporaryFile(/tmp/multipartBody7177759228748558698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_45_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a47cfede6e92af2e0997d89c314588c.jpg","text":"TemporaryFile(/tmp/multipartBody5410209948339348758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c657db49afb50bcea55725048fffe50.jpg","text":"TemporaryFile(/tmp/multipartBody7636406940108814280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526283485,"filename":"image_30112025_17_24_35_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082086","file1":"1397082084","file0":"1397082081","file4":"1397082092","file5":"1397082095","file3":"1397082089"},"map_files_photo_id_array":[{"photo_id":"1397082095","filename":"file5"},{"photo_id":"1397082086","filename":"file2"},{"photo_id":"1397082092","filename":"file4"},{"photo_id":"1397082084","filename":"file1"},{"photo_id":"1397082081","filename":"file0"},{"photo_id":"1397082089","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082081":["hashtag1","hashtag2"]},{"1397082084":["hashtag1","hashtag2"]},{"1397082095":["hashtag1","hashtag2"]},{"1397082092":["hashtag1","hashtag2"]},{"1397082086":["hashtag1","hashtag2"]},{"1397082089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082081, 1397082084, 1397082095, 1397082092, 1397082086, 1397082089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98130178451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:11:02.805003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_14_10058.jpg', '/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_24_10626.jpg', '/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_34_9710.jpg', '/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_44_9655.jpg', '/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_54_10641.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_05_10300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_14_10058.jpg
/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_24_10626.jpg
/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_34_9710.jpg
/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_44_9655.jpg
/home/pi/Desktop/images/30112025/17/25/image_30112025_17_25_54_10641.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_05_10300.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082096","1397082105","1397082098","1397082102","1397082097","1397082099"],"photo_ids_order":["1397082096","1397082097","1397082098","1397082099","1397082102","1397082105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b8b8aae129797e14bb3853cfd8d83b1.jpg","text":"TemporaryFile(/tmp/multipartBody2193601569717331387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_25_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f17b261e73b53017a9dfdb8a7af67537.jpg","text":"TemporaryFile(/tmp/multipartBody8204024681780025381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_26_05_10300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/da5889cdfa9c6270b6e66be7c06cb6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6385118027497835341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_25_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cff3a347d7f8a1affaa622cc6f39180.jpg","text":"TemporaryFile(/tmp/multipartBody1934927045739766191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_25_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d093f8efb53421f36792090c804d1fb.jpg","text":"TemporaryFile(/tmp/multipartBody2752682852440621350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_25_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cfccddce9bb3b6fcb090905af3e8940.jpg","text":"TemporaryFile(/tmp/multipartBody4582477653298514725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526323522,"filename":"image_30112025_17_25_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082098","file1":"1397082097","file0":"1397082096","file4":"1397082102","file5":"1397082105","file3":"1397082099"},"map_files_photo_id_array":[{"photo_id":"1397082105","filename":"file5"},{"photo_id":"1397082098","filename":"file2"},{"photo_id":"1397082102","filename":"file4"},{"photo_id":"1397082097","filename":"file1"},{"photo_id":"1397082096","filename":"file0"},{"photo_id":"1397082099","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082096":["hashtag1","hashtag2"]},{"1397082105":["hashtag1","hashtag2"]},{"1397082098":["hashtag1","hashtag2"]},{"1397082102":["hashtag1","hashtag2"]},{"1397082097":["hashtag1","hashtag2"]},{"1397082099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082096, 1397082105, 1397082098, 1397082102, 1397082097, 1397082099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.504180669784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:11:42.077884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/22/image_31102025_13_22_24_2652.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_28_3717.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_30_2667.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_36_2891.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_40_3816.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_43_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_24_2652.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_28_3717.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_30_2667.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_36_2891.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_40_3816.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_43_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082118","1397082117","1397082116","1397082119","1397082113","1397082115"],"photo_ids_order":["1397082113","1397082115","1397082116","1397082117","1397082118","1397082119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2773eeb62309e2ff9837e14017bb637c.jpg","text":"TemporaryFile(/tmp/multipartBody6397142435687873219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_40_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cd7c87b990d1ca7e007851f3e5a09cb.jpg","text":"TemporaryFile(/tmp/multipartBody6673619389479432383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_36_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/30/98648e00dd231a1495a31f9bdf708703.jpg","text":"TemporaryFile(/tmp/multipartBody6914199412144438047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_30_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/30/7dfb8ed23809f8f24a1d9790faa88cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1175795600916806298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4e119cf78b54668f095f839c5f82f75.jpg","text":"TemporaryFile(/tmp/multipartBody7772549521770890761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_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/30/8eb9821181bc074b4c5cf0d24a4303fe.jpg","text":"TemporaryFile(/tmp/multipartBody5330261315212981014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526363003,"filename":"image_31102025_13_22_28_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082116","file1":"1397082115","file0":"1397082113","file4":"1397082118","file5":"1397082119","file3":"1397082117"},"map_files_photo_id_array":[{"photo_id":"1397082119","filename":"file5"},{"photo_id":"1397082116","filename":"file2"},{"photo_id":"1397082118","filename":"file4"},{"photo_id":"1397082115","filename":"file1"},{"photo_id":"1397082113","filename":"file0"},{"photo_id":"1397082117","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082118":["hashtag1","hashtag2"]},{"1397082117":["hashtag1","hashtag2"]},{"1397082116":["hashtag1","hashtag2"]},{"1397082119":["hashtag1","hashtag2"]},{"1397082113":["hashtag1","hashtag2"]},{"1397082115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082118, 1397082117, 1397082116, 1397082119, 1397082113, 1397082115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67156362533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:12:22.224006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_14_9638.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_24_9593.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_34_10754.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_44_9738.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_54_9717.jpg', '/home/pi/Desktop/images/30112025/17/26/image_30112025_17_27_04_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_14_9638.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_24_9593.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_34_10754.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_44_9738.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_26_54_9717.jpg
/home/pi/Desktop/images/30112025/17/26/image_30112025_17_27_04_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082135","1397082123","1397082128","1397082131","1397082125","1397082133"],"photo_ids_order":["1397082123","1397082125","1397082128","1397082131","1397082133","1397082135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f91db8827a157ae1f15e4117827c7162.jpg","text":"TemporaryFile(/tmp/multipartBody4652909141128306726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_27_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32428f87f561734b4b18363cffc2153b.jpg","text":"TemporaryFile(/tmp/multipartBody5001621325543046188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_26_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/030d4b19d516bf7c9f44133acdb07f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5096635367588789881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_26_34_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daa397366007da6a7166a31c4e2565e9.jpg","text":"TemporaryFile(/tmp/multipartBody5822430323973509462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_26_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95d2304d3bcd5f9cf9ccd37cce3a37d2.jpg","text":"TemporaryFile(/tmp/multipartBody6290631361061495453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_26_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d3b3956437925f513b56f062f5fde34.jpg","text":"TemporaryFile(/tmp/multipartBody9203062421915856500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526402882,"filename":"image_30112025_17_26_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082128","file1":"1397082125","file0":"1397082123","file4":"1397082133","file5":"1397082135","file3":"1397082131"},"map_files_photo_id_array":[{"photo_id":"1397082135","filename":"file5"},{"photo_id":"1397082128","filename":"file2"},{"photo_id":"1397082133","filename":"file4"},{"photo_id":"1397082125","filename":"file1"},{"photo_id":"1397082123","filename":"file0"},{"photo_id":"1397082131","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082135":["hashtag1","hashtag2"]},{"1397082123":["hashtag1","hashtag2"]},{"1397082128":["hashtag1","hashtag2"]},{"1397082131":["hashtag1","hashtag2"]},{"1397082125":["hashtag1","hashtag2"]},{"1397082133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082135, 1397082123, 1397082128, 1397082131, 1397082125, 1397082133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.879762172698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:13:03.246977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_14_10700.jpg', '/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_24_9640.jpg', '/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_34_9756.jpg', '/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_44_9835.jpg', '/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_54_10810.jpg', '/home/pi/Desktop/images/30112025/17/27/image_30112025_17_28_04_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_14_10700.jpg
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_24_9640.jpg
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_34_9756.jpg
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_44_9835.jpg
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_27_54_10810.jpg
/home/pi/Desktop/images/30112025/17/27/image_30112025_17_28_04_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082138","1397082140","1397082137","1397082142","1397082145","1397082139"],"photo_ids_order":["1397082137","1397082138","1397082139","1397082140","1397082142","1397082145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abfc35a85e9bad71ece4a2fb69170c26.jpg","text":"TemporaryFile(/tmp/multipartBody6056085082819907288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_27_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cece86090123b7faa9ffb593fab6e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody4047930482559193137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_27_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c6ef698cc058ec7291bce092b9f8240.jpg","text":"TemporaryFile(/tmp/multipartBody5212908654822700053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_27_14_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/264c922aedfba5530a5c829070b568d4.jpg","text":"TemporaryFile(/tmp/multipartBody5740402468105756451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_27_54_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84f9cccaaeb82dfe45aa41dce61b5190.jpg","text":"TemporaryFile(/tmp/multipartBody2088698497176415232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_28_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0846fe3eaa0b5d12bba8924bb71b64ad.jpg","text":"TemporaryFile(/tmp/multipartBody8873282470413694288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526443956,"filename":"image_30112025_17_27_34_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082139","file1":"1397082138","file0":"1397082137","file4":"1397082142","file5":"1397082145","file3":"1397082140"},"map_files_photo_id_array":[{"photo_id":"1397082145","filename":"file5"},{"photo_id":"1397082139","filename":"file2"},{"photo_id":"1397082142","filename":"file4"},{"photo_id":"1397082138","filename":"file1"},{"photo_id":"1397082137","filename":"file0"},{"photo_id":"1397082140","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082138":["hashtag1","hashtag2"]},{"1397082140":["hashtag1","hashtag2"]},{"1397082137":["hashtag1","hashtag2"]},{"1397082142":["hashtag1","hashtag2"]},{"1397082145":["hashtag1","hashtag2"]},{"1397082139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082138, 1397082140, 1397082137, 1397082142, 1397082145, 1397082139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.655324935913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:13:42.576666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/22/image_31102025_13_22_48_2818.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_54_2703.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_57_2593.jpg', '/home/pi/Desktop/images/31102025/13/22/image_31102025_13_23_01_3786.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_03_2656.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_06_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_48_2818.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_54_2703.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_22_57_2593.jpg
/home/pi/Desktop/images/31102025/13/22/image_31102025_13_23_01_3786.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_03_2656.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_06_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082153","1397082156","1397082159","1397082155","1397082157","1397082154"],"photo_ids_order":["1397082153","1397082154","1397082155","1397082156","1397082157","1397082159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cac0d1245e02130a1f60d5532ec216e.jpg","text":"TemporaryFile(/tmp/multipartBody1652866597347162033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_22_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/30/ca30cc5eb20c5db6fbbeda8e6cd7b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody8671420118176948767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_23_01_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/30/4f6b5ae130cc55671744491fd485c565.jpg","text":"TemporaryFile(/tmp/multipartBody2934555616108644581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_23_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/30/bf5639ba6777ccab82a4b1b3c85a0c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2503426370312201834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_22_57_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53c0a99804611ba288f067a04a607df8.jpg","text":"TemporaryFile(/tmp/multipartBody8687237777047983790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_23_03_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/30/4ee758beba29a63e8f6e4119094fd35b.jpg","text":"TemporaryFile(/tmp/multipartBody2506872855259373985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526483449,"filename":"image_31102025_13_22_54_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082155","file1":"1397082154","file0":"1397082153","file4":"1397082157","file5":"1397082159","file3":"1397082156"},"map_files_photo_id_array":[{"photo_id":"1397082159","filename":"file5"},{"photo_id":"1397082155","filename":"file2"},{"photo_id":"1397082157","filename":"file4"},{"photo_id":"1397082154","filename":"file1"},{"photo_id":"1397082153","filename":"file0"},{"photo_id":"1397082156","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082153":["hashtag1","hashtag2"]},{"1397082156":["hashtag1","hashtag2"]},{"1397082159":["hashtag1","hashtag2"]},{"1397082155":["hashtag1","hashtag2"]},{"1397082157":["hashtag1","hashtag2"]},{"1397082154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082153, 1397082156, 1397082159, 1397082155, 1397082157, 1397082154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81192111968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:14:22.775584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_14_9549.jpg', '/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_24_10599.jpg', '/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_34_9690.jpg', '/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_44_9676.jpg', '/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_54_10702.jpg', '/home/pi/Desktop/images/30112025/17/28/image_30112025_17_29_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_14_9549.jpg
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_24_10599.jpg
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_34_9690.jpg
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_44_9676.jpg
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_28_54_10702.jpg
/home/pi/Desktop/images/30112025/17/28/image_30112025_17_29_04_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082168","1397082183","1397082165","1397082179","1397082163","1397082172"],"photo_ids_order":["1397082163","1397082165","1397082168","1397082172","1397082179","1397082183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d73bf47e77b86fed65c332aada11249.jpg","text":"TemporaryFile(/tmp/multipartBody8587657267133857788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_28_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8290743674849b9d2bc7ffb71f3f6a4f.jpg","text":"TemporaryFile(/tmp/multipartBody578932256707091805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_29_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78ebf5c3abc9072f797ddf214c08c8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8599238273954628903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_28_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2206724364772513821084af5d5805e8.jpg","text":"TemporaryFile(/tmp/multipartBody3418040901756550858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_28_54_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e54c007d5ce8b24e311b76c6d82fafc8.jpg","text":"TemporaryFile(/tmp/multipartBody1246398123375464872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_28_14_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96c118524cde83dded4bf4b311577108.jpg","text":"TemporaryFile(/tmp/multipartBody2058556315578020697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526523429,"filename":"image_30112025_17_28_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082168","file1":"1397082165","file0":"1397082163","file4":"1397082179","file5":"1397082183","file3":"1397082172"},"map_files_photo_id_array":[{"photo_id":"1397082183","filename":"file5"},{"photo_id":"1397082168","filename":"file2"},{"photo_id":"1397082179","filename":"file4"},{"photo_id":"1397082165","filename":"file1"},{"photo_id":"1397082163","filename":"file0"},{"photo_id":"1397082172","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082168":["hashtag1","hashtag2"]},{"1397082183":["hashtag1","hashtag2"]},{"1397082165":["hashtag1","hashtag2"]},{"1397082179":["hashtag1","hashtag2"]},{"1397082163":["hashtag1","hashtag2"]},{"1397082172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082168, 1397082183, 1397082165, 1397082179, 1397082163, 1397082172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72489309310913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:15:02.666901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_14_10172.jpg', '/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_24_9603.jpg', '/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_34_10633.jpg', '/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_44_9751.jpg', '/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_54_9807.jpg', '/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_14_10172.jpg
/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_24_9603.jpg
/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_34_10633.jpg
/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_44_9751.jpg
/home/pi/Desktop/images/30112025/17/29/image_30112025_17_29_54_9807.jpg
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_14_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082186","1397082189","1397082194","1397082191","1397082188","1397082187"],"photo_ids_order":["1397082186","1397082187","1397082188","1397082189","1397082191","1397082194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db67f650d6651ef7a67af2806d9e49f7.jpg","text":"TemporaryFile(/tmp/multipartBody4733723975998807694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_29_14_10172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05149c391fd7a5e729cc1a9ca608757b.jpg","text":"TemporaryFile(/tmp/multipartBody3229238590874310604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_29_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7ac8b613673a437e44670dd699678ab.jpg","text":"TemporaryFile(/tmp/multipartBody1080553052067882776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_30_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8033885579b9e80c9b82ba603c27e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1293823283179777851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_29_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b81b5de01e02bd7fc6e3be5a5b704272.jpg","text":"TemporaryFile(/tmp/multipartBody5105960754644718209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_29_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/decf8197b7f3e7154fb4b166b182962b.jpg","text":"TemporaryFile(/tmp/multipartBody1903034923475396309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526563373,"filename":"image_30112025_17_29_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082188","file1":"1397082187","file0":"1397082186","file4":"1397082191","file5":"1397082194","file3":"1397082189"},"map_files_photo_id_array":[{"photo_id":"1397082194","filename":"file5"},{"photo_id":"1397082188","filename":"file2"},{"photo_id":"1397082191","filename":"file4"},{"photo_id":"1397082187","filename":"file1"},{"photo_id":"1397082186","filename":"file0"},{"photo_id":"1397082189","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082186":["hashtag1","hashtag2"]},{"1397082189":["hashtag1","hashtag2"]},{"1397082194":["hashtag1","hashtag2"]},{"1397082191":["hashtag1","hashtag2"]},{"1397082188":["hashtag1","hashtag2"]},{"1397082187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082186, 1397082189, 1397082194, 1397082191, 1397082188, 1397082187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03742527961731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:15:41.980525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/23/image_31102025_13_23_10_3692.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_15_2685.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_19_3627.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_21_2769.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_31_3744.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_33_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_10_3692.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_15_2685.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_19_3627.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_21_2769.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_31_3744.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_33_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082202","1397082204","1397082207","1397082201","1397082203","1397082205"],"photo_ids_order":["1397082201","1397082202","1397082203","1397082204","1397082205","1397082207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e260f7eabb307493b0a320844bab882e.jpg","text":"TemporaryFile(/tmp/multipartBody2909885699286435320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_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/30/3a6780ed42a8b8514fa4d11068939c87.jpg","text":"TemporaryFile(/tmp/multipartBody5278196338669321420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_21_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/30/b5bacb89ee507ca2036e2dca2bb3412d.jpg","text":"TemporaryFile(/tmp/multipartBody4895591713481113837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_33_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f845e2a94775a1c73e4017b9379db0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3345895634871483041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_10_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/30/bef7b0253b214f1a5f0d409bb72e7572.jpg","text":"TemporaryFile(/tmp/multipartBody4731996849943227891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_19_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/30/7c57b442200adf85f8429ac6d2a9973d.jpg","text":"TemporaryFile(/tmp/multipartBody8599324478024271850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526602859,"filename":"image_31102025_13_23_31_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082203","file1":"1397082202","file0":"1397082201","file4":"1397082205","file5":"1397082207","file3":"1397082204"},"map_files_photo_id_array":[{"photo_id":"1397082207","filename":"file5"},{"photo_id":"1397082203","filename":"file2"},{"photo_id":"1397082205","filename":"file4"},{"photo_id":"1397082202","filename":"file1"},{"photo_id":"1397082201","filename":"file0"},{"photo_id":"1397082204","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082202":["hashtag1","hashtag2"]},{"1397082204":["hashtag1","hashtag2"]},{"1397082207":["hashtag1","hashtag2"]},{"1397082201":["hashtag1","hashtag2"]},{"1397082203":["hashtag1","hashtag2"]},{"1397082205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082202, 1397082204, 1397082207, 1397082201, 1397082203, 1397082205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836830377578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:16:22.153771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_25_10548.jpg', '/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_35_10007.jpg', '/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_45_10076.jpg', '/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_55_9886.jpg', '/home/pi/Desktop/images/30112025/17/30/image_30112025_17_31_05_9755.jpg', '/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_25_10548.jpg
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_35_10007.jpg
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_45_10076.jpg
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_30_55_9886.jpg
/home/pi/Desktop/images/30112025/17/30/image_30112025_17_31_05_9755.jpg
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082221","1397082215","1397082209","1397082212","1397082223","1397082220"],"photo_ids_order":["1397082209","1397082212","1397082215","1397082220","1397082221","1397082223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9df344cb661ab4622eceb99ebe32a95.jpg","text":"TemporaryFile(/tmp/multipartBody2597100700473143057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_31_05_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e52cf10a100f52522cce58b0ade93f23.jpg","text":"TemporaryFile(/tmp/multipartBody7385831252805806765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_30_45_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ade7944a0f99b13c3960a272f7b2e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4450815946188188095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_30_25_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1686cfa998a9a38c41f22e2b01f8614.jpg","text":"TemporaryFile(/tmp/multipartBody1391603663996611964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_30_35_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2dfa2ad8c62bc71955c12665dabf98f.jpg","text":"TemporaryFile(/tmp/multipartBody7622059050433073245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_31_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2dca1ec88f7537379d6b260802a5ecb2.jpg","text":"TemporaryFile(/tmp/multipartBody3688559115400165183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526642812,"filename":"image_30112025_17_30_55_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082215","file1":"1397082212","file0":"1397082209","file4":"1397082221","file5":"1397082223","file3":"1397082220"},"map_files_photo_id_array":[{"photo_id":"1397082223","filename":"file5"},{"photo_id":"1397082215","filename":"file2"},{"photo_id":"1397082221","filename":"file4"},{"photo_id":"1397082212","filename":"file1"},{"photo_id":"1397082209","filename":"file0"},{"photo_id":"1397082220","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082221":["hashtag1","hashtag2"]},{"1397082215":["hashtag1","hashtag2"]},{"1397082209":["hashtag1","hashtag2"]},{"1397082212":["hashtag1","hashtag2"]},{"1397082223":["hashtag1","hashtag2"]},{"1397082220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082221, 1397082215, 1397082209, 1397082212, 1397082223, 1397082220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26077151298523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:17:03.028278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_25_10720.jpg', '/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_35_9771.jpg', '/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_44_9656.jpg', '/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_55_10658.jpg', '/home/pi/Desktop/images/30112025/17/31/image_30112025_17_32_05_9643.jpg', '/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_25_10720.jpg
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_35_9771.jpg
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_44_9656.jpg
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_31_55_10658.jpg
/home/pi/Desktop/images/30112025/17/31/image_30112025_17_32_05_9643.jpg
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082225","1397082227","1397082224","1397082232","1397082226","1397082229"],"photo_ids_order":["1397082224","1397082225","1397082226","1397082227","1397082229","1397082232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddba9dca4a46321415136ce04d2549bb.jpg","text":"TemporaryFile(/tmp/multipartBody7034315593097945388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_31_35_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/073e36cfa41605f76022284953fcabbf.jpg","text":"TemporaryFile(/tmp/multipartBody8275920459333717370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_31_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338aa0ac144cedffba00874eca621719.jpg","text":"TemporaryFile(/tmp/multipartBody4067175806638363178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_31_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1899dc798bde2df6da405973b56b133c.jpg","text":"TemporaryFile(/tmp/multipartBody1585693140677226338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_32_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7c9aed8fd505cf0b65d7a9eae127a77.jpg","text":"TemporaryFile(/tmp/multipartBody1063584482438580343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_31_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e29de53bd135b93cc9743b2b3b0d619.jpg","text":"TemporaryFile(/tmp/multipartBody2477506123372937633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526683766,"filename":"image_30112025_17_32_05_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082226","file1":"1397082225","file0":"1397082224","file4":"1397082229","file5":"1397082232","file3":"1397082227"},"map_files_photo_id_array":[{"photo_id":"1397082232","filename":"file5"},{"photo_id":"1397082226","filename":"file2"},{"photo_id":"1397082229","filename":"file4"},{"photo_id":"1397082225","filename":"file1"},{"photo_id":"1397082224","filename":"file0"},{"photo_id":"1397082227","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082225":["hashtag1","hashtag2"]},{"1397082227":["hashtag1","hashtag2"]},{"1397082224":["hashtag1","hashtag2"]},{"1397082232":["hashtag1","hashtag2"]},{"1397082226":["hashtag1","hashtag2"]},{"1397082229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082225, 1397082227, 1397082224, 1397082232, 1397082226, 1397082229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80322003364563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:17:42.449552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/23/image_31102025_13_23_36_2689.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_40_3584.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_42_2581.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_45_2751.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_48_2963.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_52_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_36_2689.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_40_3584.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_42_2581.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_45_2751.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_48_2963.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_52_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082249","1397082246","1397082248","1397082241","1397082250","1397082247"],"photo_ids_order":["1397082241","1397082246","1397082247","1397082248","1397082249","1397082250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3ec6407bcaa7b7aa57ca02084e982c9.jpg","text":"TemporaryFile(/tmp/multipartBody244699546570477974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_48_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/30/1fa38ef88100e2a529fcfee71d52239b.jpg","text":"TemporaryFile(/tmp/multipartBody5972819481680135965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_40_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b42f39432ad041455249f195d7cf7540.jpg","text":"TemporaryFile(/tmp/multipartBody1700755757699122450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_45_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4f49072f29fc7a7ced06de11049f0be.jpg","text":"TemporaryFile(/tmp/multipartBody1805804572941891070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_36_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/30/d1529bd8707df51a952019c9583338a2.jpg","text":"TemporaryFile(/tmp/multipartBody5920845702961369751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_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/30/7b96895cf32b1839b4b61905e48e20ff.jpg","text":"TemporaryFile(/tmp/multipartBody1209463472573318820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526723317,"filename":"image_31102025_13_23_42_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082247","file1":"1397082246","file0":"1397082241","file4":"1397082249","file5":"1397082250","file3":"1397082248"},"map_files_photo_id_array":[{"photo_id":"1397082250","filename":"file5"},{"photo_id":"1397082247","filename":"file2"},{"photo_id":"1397082249","filename":"file4"},{"photo_id":"1397082246","filename":"file1"},{"photo_id":"1397082241","filename":"file0"},{"photo_id":"1397082248","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082249":["hashtag1","hashtag2"]},{"1397082246":["hashtag1","hashtag2"]},{"1397082248":["hashtag1","hashtag2"]},{"1397082241":["hashtag1","hashtag2"]},{"1397082250":["hashtag1","hashtag2"]},{"1397082247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082249, 1397082246, 1397082248, 1397082241, 1397082250, 1397082247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4758734703064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:18:22.687296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_25_10323.jpg', '/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_34_9783.jpg', '/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_45_10680.jpg', '/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_55_9630.jpg', '/home/pi/Desktop/images/30112025/17/32/image_30112025_17_33_04_9718.jpg', '/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_15_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_25_10323.jpg
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_34_9783.jpg
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_45_10680.jpg
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_32_55_9630.jpg
/home/pi/Desktop/images/30112025/17/32/image_30112025_17_33_04_9718.jpg
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_15_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082264","1397082257","1397082266","1397082260","1397082254","1397082262"],"photo_ids_order":["1397082254","1397082257","1397082260","1397082262","1397082264","1397082266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2649ebf8f02c9047a48238c76c423cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4122113631473407807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_33_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/51b0492a9d20c522d0ae7c6a7324a986.jpg","text":"TemporaryFile(/tmp/multipartBody592611789995824732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_32_34_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e945690fc1c51b9f960bf76177279619.jpg","text":"TemporaryFile(/tmp/multipartBody7617702275340621344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_33_15_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64780d1af81fd5a98269af8bfe59d379.jpg","text":"TemporaryFile(/tmp/multipartBody1577359796487229652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_32_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c4c850e2bccce2dc97877cda5ad94bb.jpg","text":"TemporaryFile(/tmp/multipartBody6367191819620642833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_32_25_10323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f05c54c0c9352a521e89f66a5588cfe1.jpg","text":"TemporaryFile(/tmp/multipartBody7949544101077657263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526763353,"filename":"image_30112025_17_32_55_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082260","file1":"1397082257","file0":"1397082254","file4":"1397082264","file5":"1397082266","file3":"1397082262"},"map_files_photo_id_array":[{"photo_id":"1397082266","filename":"file5"},{"photo_id":"1397082260","filename":"file2"},{"photo_id":"1397082264","filename":"file4"},{"photo_id":"1397082257","filename":"file1"},{"photo_id":"1397082254","filename":"file0"},{"photo_id":"1397082262","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082264":["hashtag1","hashtag2"]},{"1397082257":["hashtag1","hashtag2"]},{"1397082266":["hashtag1","hashtag2"]},{"1397082260":["hashtag1","hashtag2"]},{"1397082254":["hashtag1","hashtag2"]},{"1397082262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082264, 1397082257, 1397082266, 1397082260, 1397082254, 1397082262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43527817726135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:19:02.922831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_25_9922.jpg', '/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_35_9780.jpg', '/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_44_9648.jpg', '/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_54_9809.jpg', '/home/pi/Desktop/images/30112025/17/33/image_30112025_17_34_05_10789.jpg', '/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_15_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_25_9922.jpg
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_35_9780.jpg
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_44_9648.jpg
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_33_54_9809.jpg
/home/pi/Desktop/images/30112025/17/33/image_30112025_17_34_05_10789.jpg
/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_15_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082270","1397082275","1397082278","1397082272","1397082269","1397082268"],"photo_ids_order":["1397082268","1397082269","1397082270","1397082272","1397082275","1397082278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/294c684bd0249c3c465dc0ea037b477c.jpg","text":"TemporaryFile(/tmp/multipartBody5933109806819063664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_33_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a164cda3e60eae0dd09dbef4a4a2a2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5809911432568101961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_34_05_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de002cfcca2f1bda6c944ebbb662aed8.jpg","text":"TemporaryFile(/tmp/multipartBody3091730582323849810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_34_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae2d15e6686aedeba24e63d11b117f77.jpg","text":"TemporaryFile(/tmp/multipartBody4637293892830405693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_33_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b55a250a0452dcf451223b17e1b4f16.jpg","text":"TemporaryFile(/tmp/multipartBody2800399651139720440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_33_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ddc43a4cb72f4b5773cecd38c3a8d56.jpg","text":"TemporaryFile(/tmp/multipartBody2694085840246998948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526803774,"filename":"image_30112025_17_33_25_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082270","file1":"1397082269","file0":"1397082268","file4":"1397082275","file5":"1397082278","file3":"1397082272"},"map_files_photo_id_array":[{"photo_id":"1397082278","filename":"file5"},{"photo_id":"1397082270","filename":"file2"},{"photo_id":"1397082275","filename":"file4"},{"photo_id":"1397082269","filename":"file1"},{"photo_id":"1397082268","filename":"file0"},{"photo_id":"1397082272","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082270":["hashtag1","hashtag2"]},{"1397082275":["hashtag1","hashtag2"]},{"1397082278":["hashtag1","hashtag2"]},{"1397082272":["hashtag1","hashtag2"]},{"1397082269":["hashtag1","hashtag2"]},{"1397082268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082270, 1397082275, 1397082278, 1397082272, 1397082269, 1397082268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75143218040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:19:41.930528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/23/image_31102025_13_23_54_2624.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_57_2814.jpg', '/home/pi/Desktop/images/31102025/13/23/image_31102025_13_24_00_2717.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_03_3537.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_09_2727.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_12_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_54_2624.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_23_57_2814.jpg
/home/pi/Desktop/images/31102025/13/23/image_31102025_13_24_00_2717.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_03_3537.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_09_2727.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_12_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082288","1397082290","1397082284","1397082287","1397082286","1397082289"],"photo_ids_order":["1397082284","1397082286","1397082287","1397082288","1397082289","1397082290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe06b4147d0497ab6cfb6f85a2f78be1.jpg","text":"TemporaryFile(/tmp/multipartBody1573962730495628953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_24_03_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/30/8544fa6e6613087bd8ca31ccec210fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1260510691799802024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_24_12_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/30/8f50d9262839cdabca5aea24a4de1a87.jpg","text":"TemporaryFile(/tmp/multipartBody4555930456096712559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_23_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/30/59b5749cf982e3703b6ff2560a68e06d.jpg","text":"TemporaryFile(/tmp/multipartBody5818641786503375910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_24_00_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/30/61ac56be1291b14420c44d681229bb19.jpg","text":"TemporaryFile(/tmp/multipartBody5937664297257630333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_23_57_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/30/7351e373c19fac01a6b6cdc6f96a6844.jpg","text":"TemporaryFile(/tmp/multipartBody718751897881074643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526842815,"filename":"image_31102025_13_24_09_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082287","file1":"1397082286","file0":"1397082284","file4":"1397082289","file5":"1397082290","file3":"1397082288"},"map_files_photo_id_array":[{"photo_id":"1397082290","filename":"file5"},{"photo_id":"1397082287","filename":"file2"},{"photo_id":"1397082289","filename":"file4"},{"photo_id":"1397082286","filename":"file1"},{"photo_id":"1397082284","filename":"file0"},{"photo_id":"1397082288","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082288":["hashtag1","hashtag2"]},{"1397082290":["hashtag1","hashtag2"]},{"1397082284":["hashtag1","hashtag2"]},{"1397082287":["hashtag1","hashtag2"]},{"1397082286":["hashtag1","hashtag2"]},{"1397082289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082288, 1397082290, 1397082284, 1397082287, 1397082286, 1397082289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.945406675338745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:20:22.051386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_25_9976.jpg', '/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_34_9705.jpg', '/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_45_10727.jpg', '/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_55_9655.jpg', '/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_14_10037.jpg', '/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_25_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_25_9976.jpg
/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_34_9705.jpg
/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_45_10727.jpg
/home/pi/Desktop/images/30112025/17/34/image_30112025_17_34_55_9655.jpg
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_14_10037.jpg
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_25_10827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082294","1397082309","1397082303","1397082296","1397082300","1397082305"],"photo_ids_order":["1397082294","1397082296","1397082300","1397082303","1397082305","1397082309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03d0c9fde2cdfcc3679a64d1a4eb410d.jpg","text":"TemporaryFile(/tmp/multipartBody929840847035504769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_34_25_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a742c74ae3f42dac4e17983f75efd907.jpg","text":"TemporaryFile(/tmp/multipartBody4115396182977690619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_36_25_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39538f3d44e6bfff1a8dd0b025deecb6.jpg","text":"TemporaryFile(/tmp/multipartBody1139445731743317816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_34_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ed1a9200991b10dc7c256494924bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody8069583739133903117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_34_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d89ccca0c9e590bf4f3507caaf8baf.jpg","text":"TemporaryFile(/tmp/multipartBody4791055474574759469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_34_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/454dc90a3b763021a4dfe9a0167f1db9.jpg","text":"TemporaryFile(/tmp/multipartBody2672057874819831940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526882723,"filename":"image_30112025_17_36_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082300","file1":"1397082296","file0":"1397082294","file4":"1397082305","file5":"1397082309","file3":"1397082303"},"map_files_photo_id_array":[{"photo_id":"1397082309","filename":"file5"},{"photo_id":"1397082300","filename":"file2"},{"photo_id":"1397082305","filename":"file4"},{"photo_id":"1397082296","filename":"file1"},{"photo_id":"1397082294","filename":"file0"},{"photo_id":"1397082303","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082294":["hashtag1","hashtag2"]},{"1397082309":["hashtag1","hashtag2"]},{"1397082303":["hashtag1","hashtag2"]},{"1397082296":["hashtag1","hashtag2"]},{"1397082300":["hashtag1","hashtag2"]},{"1397082305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082294, 1397082309, 1397082303, 1397082296, 1397082300, 1397082305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34632873535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:21:03.016197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_34_9200.jpg', '/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_45_10573.jpg', '/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_54_9556.jpg', '/home/pi/Desktop/images/30112025/17/36/image_30112025_17_37_04_9881.jpg', '/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_15_10864.jpg', '/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_25_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_34_9200.jpg
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_45_10573.jpg
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_36_54_9556.jpg
/home/pi/Desktop/images/30112025/17/36/image_30112025_17_37_04_9881.jpg
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_15_10864.jpg
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_25_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082316","1397082312","1397082311","1397082314","1397082319","1397082313"],"photo_ids_order":["1397082311","1397082312","1397082313","1397082314","1397082316","1397082319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bcf6a75042d4508fb9a8a2716933bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8938898243884352296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_37_15_10864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ef1cf96de4e1fb174792641456d4162.jpg","text":"TemporaryFile(/tmp/multipartBody3237380775894673395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_36_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31d0a5c643d82a95b1918dbd4b17fa68.jpg","text":"TemporaryFile(/tmp/multipartBody1583161972418161555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_36_34_9200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89c43bf6ca71031a45120fad899b2fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8786918719446662584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_37_04_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7c4436eda9c01651554b9f19df660ec.jpg","text":"TemporaryFile(/tmp/multipartBody5961954546867774137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_37_25_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9496bf17fe0579a9c62a9c6c1e2502b7.jpg","text":"TemporaryFile(/tmp/multipartBody5890917775025353832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526923784,"filename":"image_30112025_17_36_54_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082313","file1":"1397082312","file0":"1397082311","file4":"1397082316","file5":"1397082319","file3":"1397082314"},"map_files_photo_id_array":[{"photo_id":"1397082319","filename":"file5"},{"photo_id":"1397082313","filename":"file2"},{"photo_id":"1397082316","filename":"file4"},{"photo_id":"1397082312","filename":"file1"},{"photo_id":"1397082311","filename":"file0"},{"photo_id":"1397082314","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082316":["hashtag1","hashtag2"]},{"1397082312":["hashtag1","hashtag2"]},{"1397082311":["hashtag1","hashtag2"]},{"1397082314":["hashtag1","hashtag2"]},{"1397082319":["hashtag1","hashtag2"]},{"1397082313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082316, 1397082312, 1397082311, 1397082314, 1397082319, 1397082313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7701849937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:21:42.364500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/24/image_31102025_13_24_33_3704.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_39_2835.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_42_2715.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_45_3632.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_48_3081.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_52_3053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_33_3704.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_39_2835.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_42_2715.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_45_3632.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_48_3081.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_52_3053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082333","1397082330","1397082332","1397082329","1397082331","1397082328"],"photo_ids_order":["1397082328","1397082329","1397082330","1397082331","1397082332","1397082333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33d4942904b0f69c1fa25695afca5ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4518806365924215496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_52_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/613b2abfa75ca812b555519e4a01b121.jpg","text":"TemporaryFile(/tmp/multipartBody9045647116008778299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_42_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8e25c867e731fe402868660656d7246.jpg","text":"TemporaryFile(/tmp/multipartBody6869226256299066505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_48_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/30/51dbc57bbcb9d03f1d22897ea7b12e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3176450623366216059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_39_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/30/b3301e5500ebfee4ee3d9970b1376cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8183051334739331851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_45_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/30/65be1552aac9f22046ab2d8e89dd6e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4076221136467387686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764526963245,"filename":"image_31102025_13_24_33_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082330","file1":"1397082329","file0":"1397082328","file4":"1397082332","file5":"1397082333","file3":"1397082331"},"map_files_photo_id_array":[{"photo_id":"1397082333","filename":"file5"},{"photo_id":"1397082330","filename":"file2"},{"photo_id":"1397082332","filename":"file4"},{"photo_id":"1397082329","filename":"file1"},{"photo_id":"1397082328","filename":"file0"},{"photo_id":"1397082331","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082333":["hashtag1","hashtag2"]},{"1397082330":["hashtag1","hashtag2"]},{"1397082332":["hashtag1","hashtag2"]},{"1397082329":["hashtag1","hashtag2"]},{"1397082331":["hashtag1","hashtag2"]},{"1397082328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082333, 1397082330, 1397082332, 1397082329, 1397082331, 1397082328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52964687347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:22:22.551767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_34_9722.jpg', '/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_45_10598.jpg', '/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_55_9597.jpg', '/home/pi/Desktop/images/30112025/17/37/image_30112025_17_38_04_9701.jpg', '/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_15_10686.jpg', '/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_25_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_34_9722.jpg
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_45_10598.jpg
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_37_55_9597.jpg
/home/pi/Desktop/images/30112025/17/37/image_30112025_17_38_04_9701.jpg
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_15_10686.jpg
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_25_9870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082345","1397082348","1397082342","1397082336","1397082339","1397082337"],"photo_ids_order":["1397082336","1397082337","1397082339","1397082342","1397082345","1397082348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04c84b7f0ac4472bc1b1f819668e12f8.jpg","text":"TemporaryFile(/tmp/multipartBody6389693960143354892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_38_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e46ffe505c919ea0d9755d39e54c2ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8900571261053722384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_38_25_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8049365c94335239bb7d3bc1d2b56133.jpg","text":"TemporaryFile(/tmp/multipartBody5808344424711864289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_38_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8005900a78073730c61a2cf5a9feecd6.jpg","text":"TemporaryFile(/tmp/multipartBody3772486601050864109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_37_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06baf35c0d047ca0aaa9358708095d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2633882006530683282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_37_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e8eab76af912086f312167fe8fcdf7b.jpg","text":"TemporaryFile(/tmp/multipartBody7094773950799825596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527003223,"filename":"image_30112025_17_37_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082339","file1":"1397082337","file0":"1397082336","file4":"1397082345","file5":"1397082348","file3":"1397082342"},"map_files_photo_id_array":[{"photo_id":"1397082348","filename":"file5"},{"photo_id":"1397082339","filename":"file2"},{"photo_id":"1397082345","filename":"file4"},{"photo_id":"1397082337","filename":"file1"},{"photo_id":"1397082336","filename":"file0"},{"photo_id":"1397082342","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082345":["hashtag1","hashtag2"]},{"1397082348":["hashtag1","hashtag2"]},{"1397082342":["hashtag1","hashtag2"]},{"1397082336":["hashtag1","hashtag2"]},{"1397082339":["hashtag1","hashtag2"]},{"1397082337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082345, 1397082348, 1397082342, 1397082336, 1397082339, 1397082337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27802920341492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:23:03.359311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_35_10149.jpg', '/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_45_9815.jpg', '/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_54_9558.jpg', '/home/pi/Desktop/images/30112025/17/38/image_30112025_17_39_04_9880.jpg', '/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_15_10742.jpg', '/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_25_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_35_10149.jpg
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_45_9815.jpg
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_38_54_9558.jpg
/home/pi/Desktop/images/30112025/17/38/image_30112025_17_39_04_9880.jpg
/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_15_10742.jpg
/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_25_9557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082351","1397082354","1397082356","1397082353","1397082358","1397082352"],"photo_ids_order":["1397082351","1397082352","1397082353","1397082354","1397082356","1397082358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a06b9a6f6bc8787013dd6f0b4a9a177f.jpg","text":"TemporaryFile(/tmp/multipartBody4306811210775883826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_38_35_10149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d4fc3e595d397f2a0981a3694dd5e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3055236274195662433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_39_04_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/549f3d8ca8c4d3019cb7a071bccfcf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4345535865738877681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_39_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70c510c92560cc40fd32a715b0b62443.jpg","text":"TemporaryFile(/tmp/multipartBody3169690079853515935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_38_54_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b182bb2bdc03bcb90502cb847885704d.jpg","text":"TemporaryFile(/tmp/multipartBody7775809898406741801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_39_25_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c69bc1b6bcca675be403b43d4fc217ba.jpg","text":"TemporaryFile(/tmp/multipartBody7419762739649057117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527044110,"filename":"image_30112025_17_38_45_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082353","file1":"1397082352","file0":"1397082351","file4":"1397082356","file5":"1397082358","file3":"1397082354"},"map_files_photo_id_array":[{"photo_id":"1397082358","filename":"file5"},{"photo_id":"1397082353","filename":"file2"},{"photo_id":"1397082356","filename":"file4"},{"photo_id":"1397082352","filename":"file1"},{"photo_id":"1397082351","filename":"file0"},{"photo_id":"1397082354","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082351":["hashtag1","hashtag2"]},{"1397082354":["hashtag1","hashtag2"]},{"1397082356":["hashtag1","hashtag2"]},{"1397082353":["hashtag1","hashtag2"]},{"1397082358":["hashtag1","hashtag2"]},{"1397082352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082351, 1397082354, 1397082356, 1397082353, 1397082358, 1397082352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57111191749573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:23:42.725254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/24/image_31102025_13_24_54_2721.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_57_2664.jpg', '/home/pi/Desktop/images/31102025/13/24/image_31102025_13_25_00_2688.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_03_3665.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_06_3189.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_09_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/13/24/image_31102025_13_24_54_2721.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_24_57_2664.jpg
/home/pi/Desktop/images/31102025/13/24/image_31102025_13_25_00_2688.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_03_3665.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_06_3189.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_09_2831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082375","1397082377","1397082371","1397082368","1397082373","1397082376"],"photo_ids_order":["1397082368","1397082371","1397082373","1397082375","1397082376","1397082377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d6bb1828a760e997642f923aafdd4c1.jpg","text":"TemporaryFile(/tmp/multipartBody751700286313080429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_25_03_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/30/da41a206c10a6dcc4d28a2dcb2b43fb6.jpg","text":"TemporaryFile(/tmp/multipartBody8982603950023883412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_25_09_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/30/7e1d81d98263c5451358be6fd2172cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5240534935312010490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_24_57_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/30/64d7a33005cecfe1045c24d6bb19ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody6832372021404946010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_24_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/30/b8dd27f6a5f333f33e189fa81ab1baad.jpg","text":"TemporaryFile(/tmp/multipartBody3328494764596700154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_25_00_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b584d7278d85324c59af12f2f5ce0da.jpg","text":"TemporaryFile(/tmp/multipartBody3503179611719707711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527083610,"filename":"image_31102025_13_25_06_3189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082373","file1":"1397082371","file0":"1397082368","file4":"1397082376","file5":"1397082377","file3":"1397082375"},"map_files_photo_id_array":[{"photo_id":"1397082377","filename":"file5"},{"photo_id":"1397082373","filename":"file2"},{"photo_id":"1397082376","filename":"file4"},{"photo_id":"1397082371","filename":"file1"},{"photo_id":"1397082368","filename":"file0"},{"photo_id":"1397082375","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082375":["hashtag1","hashtag2"]},{"1397082377":["hashtag1","hashtag2"]},{"1397082371":["hashtag1","hashtag2"]},{"1397082368":["hashtag1","hashtag2"]},{"1397082373":["hashtag1","hashtag2"]},{"1397082376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082375, 1397082377, 1397082371, 1397082368, 1397082373, 1397082376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.545421838760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:24:21.976385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_34_9677.jpg', '/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_45_10646.jpg', '/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_55_9789.jpg', '/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_15_10056.jpg', '/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_25_10836.jpg', '/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_35_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_34_9677.jpg
/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_45_10646.jpg
/home/pi/Desktop/images/30112025/17/39/image_30112025_17_39_55_9789.jpg
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_15_10056.jpg
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_25_10836.jpg
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_35_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082392","1397082389","1397082380","1397082383","1397082386","1397082394"],"photo_ids_order":["1397082380","1397082383","1397082386","1397082389","1397082392","1397082394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33617ad02d6ae3fa3501ddbad25b00c4.jpg","text":"TemporaryFile(/tmp/multipartBody4948483384002296329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_40_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd9e6938bb59fa0c0020682811013adc.jpg","text":"TemporaryFile(/tmp/multipartBody436632493332733522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_40_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbfa5bed99c653fbc2fb85667d3bf9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8963498660293346007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_39_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd5254f22fe404f9ad1134c377c07255.jpg","text":"TemporaryFile(/tmp/multipartBody5414934646248005224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_39_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aca366782ed3b34b0943b726232fc865.jpg","text":"TemporaryFile(/tmp/multipartBody1735132442074561551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_39_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fa71ee75019134861c1b946bca2c252.jpg","text":"TemporaryFile(/tmp/multipartBody3177414828849016776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527122662,"filename":"image_30112025_17_40_35_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082386","file1":"1397082383","file0":"1397082380","file4":"1397082392","file5":"1397082394","file3":"1397082389"},"map_files_photo_id_array":[{"photo_id":"1397082394","filename":"file5"},{"photo_id":"1397082386","filename":"file2"},{"photo_id":"1397082392","filename":"file4"},{"photo_id":"1397082383","filename":"file1"},{"photo_id":"1397082380","filename":"file0"},{"photo_id":"1397082389","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082392":["hashtag1","hashtag2"]},{"1397082389":["hashtag1","hashtag2"]},{"1397082380":["hashtag1","hashtag2"]},{"1397082383":["hashtag1","hashtag2"]},{"1397082386":["hashtag1","hashtag2"]},{"1397082394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082392, 1397082389, 1397082380, 1397082383, 1397082386, 1397082394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.616605043411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:25:02.738186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_45_9653.jpg', '/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_55_10712.jpg', '/home/pi/Desktop/images/30112025/17/40/image_30112025_17_41_05_9725.jpg', '/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_15_9733.jpg', '/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_24_9713.jpg', '/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_35_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_45_9653.jpg
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_40_55_10712.jpg
/home/pi/Desktop/images/30112025/17/40/image_30112025_17_41_05_9725.jpg
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_15_9733.jpg
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_24_9713.jpg
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_35_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082400","1397082398","1397082401","1397082403","1397082406","1397082396"],"photo_ids_order":["1397082396","1397082398","1397082400","1397082401","1397082403","1397082406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b97194c676230a9577077d92c1c62ce.jpg","text":"TemporaryFile(/tmp/multipartBody76388483787885458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_41_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/87c1a7ce488d6237cc26f3890d22ab6e.jpg","text":"TemporaryFile(/tmp/multipartBody7802420143444436112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_40_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/425d7b7d31f53e4800257a15198afbb5.jpg","text":"TemporaryFile(/tmp/multipartBody692271595949506030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_41_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a180d93bb352f48f49be3859a0a0942.jpg","text":"TemporaryFile(/tmp/multipartBody2960693224333192153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_41_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66490c89a0af9dcd483ddc57c5ea3fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6166620030452955448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_41_35_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f4cc46bb49146943e3e389aa890d665.jpg","text":"TemporaryFile(/tmp/multipartBody7445436350518902550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527163500,"filename":"image_30112025_17_40_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082400","file1":"1397082398","file0":"1397082396","file4":"1397082403","file5":"1397082406","file3":"1397082401"},"map_files_photo_id_array":[{"photo_id":"1397082406","filename":"file5"},{"photo_id":"1397082400","filename":"file2"},{"photo_id":"1397082403","filename":"file4"},{"photo_id":"1397082398","filename":"file1"},{"photo_id":"1397082396","filename":"file0"},{"photo_id":"1397082401","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082400":["hashtag1","hashtag2"]},{"1397082398":["hashtag1","hashtag2"]},{"1397082401":["hashtag1","hashtag2"]},{"1397082403":["hashtag1","hashtag2"]},{"1397082406":["hashtag1","hashtag2"]},{"1397082396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082400, 1397082398, 1397082401, 1397082403, 1397082406, 1397082396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7747757434845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:25:42.099994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/25/image_31102025_13_25_12_2645.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_15_2704.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_18_3573.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_21_2700.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_25_3618.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_30_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_12_2645.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_15_2704.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_18_3573.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_21_2700.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_25_3618.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_30_2855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082420","1397082414","1397082417","1397082419","1397082416","1397082418"],"photo_ids_order":["1397082414","1397082416","1397082417","1397082418","1397082419","1397082420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e14bfca54f70aba6ceefae2f79ba21f.jpg","text":"TemporaryFile(/tmp/multipartBody2596727219252438618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_30_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/30/faa880c6dd5eeb7187c64ebb8f2b128a.jpg","text":"TemporaryFile(/tmp/multipartBody7918929650792667062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_12_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/30/28c8a364ecbce96470b2a7fed7b2c4a8.jpg","text":"TemporaryFile(/tmp/multipartBody9008423094781707210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_18_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/30/f7dfcc1937a46c0b5883ef3dbe084149.jpg","text":"TemporaryFile(/tmp/multipartBody8032442038154470823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_25_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/30/65d4aaed8fadae234ac976006ff21257.jpg","text":"TemporaryFile(/tmp/multipartBody6557033939333194693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_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/30/536554ff747632cad81113b297a30a18.jpg","text":"TemporaryFile(/tmp/multipartBody2838407990334867203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527202982,"filename":"image_31102025_13_25_21_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082417","file1":"1397082416","file0":"1397082414","file4":"1397082419","file5":"1397082420","file3":"1397082418"},"map_files_photo_id_array":[{"photo_id":"1397082420","filename":"file5"},{"photo_id":"1397082417","filename":"file2"},{"photo_id":"1397082419","filename":"file4"},{"photo_id":"1397082416","filename":"file1"},{"photo_id":"1397082414","filename":"file0"},{"photo_id":"1397082418","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082420":["hashtag1","hashtag2"]},{"1397082414":["hashtag1","hashtag2"]},{"1397082417":["hashtag1","hashtag2"]},{"1397082419":["hashtag1","hashtag2"]},{"1397082416":["hashtag1","hashtag2"]},{"1397082418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082420, 1397082414, 1397082417, 1397082419, 1397082416, 1397082418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93512725830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:26:22.259392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_45_9738.jpg', '/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_55_9796.jpg', '/home/pi/Desktop/images/30112025/17/41/image_30112025_17_42_05_9830.jpg', '/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_15_10540.jpg', '/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_25_9882.jpg', '/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_35_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_45_9738.jpg
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_41_55_9796.jpg
/home/pi/Desktop/images/30112025/17/41/image_30112025_17_42_05_9830.jpg
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_15_10540.jpg
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_25_9882.jpg
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_35_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082432","1397082429","1397082425","1397082440","1397082434","1397082422"],"photo_ids_order":["1397082422","1397082425","1397082429","1397082432","1397082434","1397082440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8451f6f2d118c2a9714e750463d4988f.jpg","text":"TemporaryFile(/tmp/multipartBody6587725574388242468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_42_15_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8299a71adfd92d9599dc89db11c74a93.jpg","text":"TemporaryFile(/tmp/multipartBody4501794504497904631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_42_05_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/99b561e682dbfffad4631ef26244d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody650131872846975465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_41_55_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33d87a5b16031de733db7b36ef252719.jpg","text":"TemporaryFile(/tmp/multipartBody8825566037763208364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_42_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63d11b9109f095844c4ef248ad4eea79.jpg","text":"TemporaryFile(/tmp/multipartBody1842184835390827909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_42_25_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84714ab9085a6555d5fa9e1b38bd3504.jpg","text":"TemporaryFile(/tmp/multipartBody468829175195673377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527242937,"filename":"image_30112025_17_41_45_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082429","file1":"1397082425","file0":"1397082422","file4":"1397082434","file5":"1397082440","file3":"1397082432"},"map_files_photo_id_array":[{"photo_id":"1397082440","filename":"file5"},{"photo_id":"1397082429","filename":"file2"},{"photo_id":"1397082434","filename":"file4"},{"photo_id":"1397082425","filename":"file1"},{"photo_id":"1397082422","filename":"file0"},{"photo_id":"1397082432","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082432":["hashtag1","hashtag2"]},{"1397082429":["hashtag1","hashtag2"]},{"1397082425":["hashtag1","hashtag2"]},{"1397082440":["hashtag1","hashtag2"]},{"1397082434":["hashtag1","hashtag2"]},{"1397082422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082432, 1397082429, 1397082425, 1397082440, 1397082434, 1397082422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01097393035889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:27:03.021943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_45_10699.jpg', '/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_55_9610.jpg', '/home/pi/Desktop/images/30112025/17/42/image_30112025_17_43_05_9690.jpg', '/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_15_10657.jpg', '/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_25_9848.jpg', '/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_35_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_45_10699.jpg
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_42_55_9610.jpg
/home/pi/Desktop/images/30112025/17/42/image_30112025_17_43_05_9690.jpg
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_15_10657.jpg
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_25_9848.jpg
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_35_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082444","1397082443","1397082446","1397082448","1397082451","1397082445"],"photo_ids_order":["1397082443","1397082444","1397082445","1397082446","1397082448","1397082451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47da11fbb4ceb60a9d0cacb6453ab094.jpg","text":"TemporaryFile(/tmp/multipartBody730724601946193963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_42_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b129d0c25e238f1ef69738cfea9cd6c7.jpg","text":"TemporaryFile(/tmp/multipartBody2501047804823734730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_42_45_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55e252b78febeb8780d14f848350572f.jpg","text":"TemporaryFile(/tmp/multipartBody7735260500986223485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_43_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07d3d6588e27eaac798f4919c5bb5268.jpg","text":"TemporaryFile(/tmp/multipartBody3029788704424514382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_43_25_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42b885e57fefce1d5abe85fd4685a5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1598704853464658856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_43_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01a9e03ad5fd00b3e8bbf8da05015f61.jpg","text":"TemporaryFile(/tmp/multipartBody3850314048283666289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527283753,"filename":"image_30112025_17_43_05_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082445","file1":"1397082444","file0":"1397082443","file4":"1397082448","file5":"1397082451","file3":"1397082446"},"map_files_photo_id_array":[{"photo_id":"1397082451","filename":"file5"},{"photo_id":"1397082445","filename":"file2"},{"photo_id":"1397082448","filename":"file4"},{"photo_id":"1397082444","filename":"file1"},{"photo_id":"1397082443","filename":"file0"},{"photo_id":"1397082446","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082444":["hashtag1","hashtag2"]},{"1397082443":["hashtag1","hashtag2"]},{"1397082446":["hashtag1","hashtag2"]},{"1397082448":["hashtag1","hashtag2"]},{"1397082451":["hashtag1","hashtag2"]},{"1397082445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082444, 1397082443, 1397082446, 1397082448, 1397082451, 1397082445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68548250198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:27:42.527454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/25/image_31102025_13_25_33_2708.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_36_2572.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_39_3573.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_42_2784.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_45_2729.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_48_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_33_2708.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_36_2572.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_39_3573.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_42_2784.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_45_2729.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_48_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":["1397082462","1397082465","1397082461","1397082464","1397082460","1397082463"],"photo_ids_order":["1397082460","1397082461","1397082462","1397082463","1397082464","1397082465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86dfd81fe6a75e98650645266d68a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody8143022018498997549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_39_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/824fed2d7bc3f3a51776c318e0e7a718.jpg","text":"TemporaryFile(/tmp/multipartBody8969349223785635062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_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/30/5dce9e79054633a794d72b983e9b6a98.jpg","text":"TemporaryFile(/tmp/multipartBody3960926413597964929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_36_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8dfa81d7be27b43181ee6b5953ca810.jpg","text":"TemporaryFile(/tmp/multipartBody1621774680581410842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_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/30/99a2fb2a0606eae5d4234636eda829ea.jpg","text":"TemporaryFile(/tmp/multipartBody1289534359744426180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_33_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/21d3c56b892238b3a451beffc7655b77.jpg","text":"TemporaryFile(/tmp/multipartBody7944247078188142119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527323437,"filename":"image_31102025_13_25_42_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082462","file1":"1397082461","file0":"1397082460","file4":"1397082464","file5":"1397082465","file3":"1397082463"},"map_files_photo_id_array":[{"photo_id":"1397082465","filename":"file5"},{"photo_id":"1397082462","filename":"file2"},{"photo_id":"1397082464","filename":"file4"},{"photo_id":"1397082461","filename":"file1"},{"photo_id":"1397082460","filename":"file0"},{"photo_id":"1397082463","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082462":["hashtag1","hashtag2"]},{"1397082465":["hashtag1","hashtag2"]},{"1397082461":["hashtag1","hashtag2"]},{"1397082464":["hashtag1","hashtag2"]},{"1397082460":["hashtag1","hashtag2"]},{"1397082463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082462, 1397082465, 1397082461, 1397082464, 1397082460, 1397082463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52825903892517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:28:22.724701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_44_9543.jpg', '/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_55_10225.jpg', '/home/pi/Desktop/images/30112025/17/43/image_30112025_17_44_05_10679.jpg', '/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_15_9753.jpg', '/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_25_9793.jpg', '/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_35_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_44_9543.jpg
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_43_55_10225.jpg
/home/pi/Desktop/images/30112025/17/43/image_30112025_17_44_05_10679.jpg
/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_15_9753.jpg
/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_25_9793.jpg
/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_35_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082482","1397082478","1397082472","1397082475","1397082469","1397082480"],"photo_ids_order":["1397082469","1397082472","1397082475","1397082478","1397082480","1397082482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6996d458f9ee3c4256c62d3ceaf80728.jpg","text":"TemporaryFile(/tmp/multipartBody5704376401912538477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_44_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82492859a6cb3e28c7cd4ae1ee31961a.jpg","text":"TemporaryFile(/tmp/multipartBody5209100285853994270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_44_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cccd8a99742185add7f0f4cb29e92357.jpg","text":"TemporaryFile(/tmp/multipartBody4478912019275996736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_43_55_10225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/394e3b5e0cbadbab96b1cc91ed36431c.jpg","text":"TemporaryFile(/tmp/multipartBody4856088041838098201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_44_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9558e807cb939de4d2e5aad8e3ed71e7.jpg","text":"TemporaryFile(/tmp/multipartBody7882402503139327641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_43_44_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ad73d168da4d65e6344d552a806fd6d.jpg","text":"TemporaryFile(/tmp/multipartBody5600516856687881633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527363434,"filename":"image_30112025_17_44_25_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082475","file1":"1397082472","file0":"1397082469","file4":"1397082480","file5":"1397082482","file3":"1397082478"},"map_files_photo_id_array":[{"photo_id":"1397082482","filename":"file5"},{"photo_id":"1397082475","filename":"file2"},{"photo_id":"1397082480","filename":"file4"},{"photo_id":"1397082472","filename":"file1"},{"photo_id":"1397082469","filename":"file0"},{"photo_id":"1397082478","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082482":["hashtag1","hashtag2"]},{"1397082478":["hashtag1","hashtag2"]},{"1397082472":["hashtag1","hashtag2"]},{"1397082475":["hashtag1","hashtag2"]},{"1397082469":["hashtag1","hashtag2"]},{"1397082480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082482, 1397082478, 1397082472, 1397082475, 1397082469, 1397082480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86283731460571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:29:03.037770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_45_10600.jpg', '/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_55_9702.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_14_10051.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_25_10613.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_35_10034.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_45_10600.jpg
/home/pi/Desktop/images/30112025/17/44/image_30112025_17_44_55_9702.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_14_10051.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_25_10613.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_35_10034.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_44_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082483","1397082492","1397082485","1397082484","1397082487","1397082489"],"photo_ids_order":["1397082483","1397082484","1397082485","1397082487","1397082489","1397082492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdfca6e5760ff8394de1d9d6be344ab0.jpg","text":"TemporaryFile(/tmp/multipartBody968301867189241353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_44_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/604d539911bcd56d13b5922d9b15f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1878060493052470123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_46_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2a58f827b0b330b0fb0239074644e01.jpg","text":"TemporaryFile(/tmp/multipartBody4164387335533361965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_46_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db7d74075f99504a474edf5b2c12d007.jpg","text":"TemporaryFile(/tmp/multipartBody4933675055260208318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_44_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/36a98c7972f36641073be8eb0585fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1042657523468333359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_46_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1e2c058b4035caf0092ae62144e0966.jpg","text":"TemporaryFile(/tmp/multipartBody8258696839621132320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527403837,"filename":"image_30112025_17_46_35_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082485","file1":"1397082484","file0":"1397082483","file4":"1397082489","file5":"1397082492","file3":"1397082487"},"map_files_photo_id_array":[{"photo_id":"1397082492","filename":"file5"},{"photo_id":"1397082485","filename":"file2"},{"photo_id":"1397082489","filename":"file4"},{"photo_id":"1397082484","filename":"file1"},{"photo_id":"1397082483","filename":"file0"},{"photo_id":"1397082487","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082483":["hashtag1","hashtag2"]},{"1397082492":["hashtag1","hashtag2"]},{"1397082485":["hashtag1","hashtag2"]},{"1397082484":["hashtag1","hashtag2"]},{"1397082487":["hashtag1","hashtag2"]},{"1397082489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082483, 1397082492, 1397082485, 1397082484, 1397082487, 1397082489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.022104263305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:29:42.000900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/25/image_31102025_13_25_51_2674.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_54_2844.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_57_3651.jpg', '/home/pi/Desktop/images/31102025/13/25/image_31102025_13_26_00_2568.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_03_2751.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_06_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_51_2674.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_54_2844.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_25_57_3651.jpg
/home/pi/Desktop/images/31102025/13/25/image_31102025_13_26_00_2568.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_03_2751.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_06_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082508","1397082507","1397082501","1397082510","1397082506","1397082505"],"photo_ids_order":["1397082501","1397082505","1397082506","1397082507","1397082508","1397082510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d9ac6b0695670ca635d29d72d4c2a50.jpg","text":"TemporaryFile(/tmp/multipartBody7878271281472683373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_26_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/30/5dc67c3aa1feb4acc48e9cf8234a5383.jpg","text":"TemporaryFile(/tmp/multipartBody863896850037262051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_26_00_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/30/b26be9538f3e6421b773a54a06d20b11.jpg","text":"TemporaryFile(/tmp/multipartBody4923729363644536094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_25_51_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/30/bfbdb6ef1f9aef83137f55af43e7258c.jpg","text":"TemporaryFile(/tmp/multipartBody4376366855410478977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_26_06_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/30/87c98d0c8452a00089010360830e5f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7377730307466340202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_25_57_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b214b25d20cab65bb435e2ad6219fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody5416133730094096348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527442876,"filename":"image_31102025_13_25_54_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082506","file1":"1397082505","file0":"1397082501","file4":"1397082508","file5":"1397082510","file3":"1397082507"},"map_files_photo_id_array":[{"photo_id":"1397082510","filename":"file5"},{"photo_id":"1397082506","filename":"file2"},{"photo_id":"1397082508","filename":"file4"},{"photo_id":"1397082505","filename":"file1"},{"photo_id":"1397082501","filename":"file0"},{"photo_id":"1397082507","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082508":["hashtag1","hashtag2"]},{"1397082507":["hashtag1","hashtag2"]},{"1397082501":["hashtag1","hashtag2"]},{"1397082510":["hashtag1","hashtag2"]},{"1397082506":["hashtag1","hashtag2"]},{"1397082505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082508, 1397082507, 1397082501, 1397082510, 1397082506, 1397082505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22003626823425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:30:22.196786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_54_9651.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_47_05_10841.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_14_9611.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_24_9936.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_34_9787.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_45_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_54_9651.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_47_05_10841.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_14_9611.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_24_9936.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_34_9787.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_45_10777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6606876850128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:30:32.159276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_46_3729.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_48_2841.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_51_2540.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_54_2752.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_57_3611.jpg', '/home/pi/Desktop/images/25112025/20/43/image_25112025_20_44_00_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_46_3729.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_48_2841.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_51_2540.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_54_2752.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_43_57_3611.jpg
/home/pi/Desktop/images/25112025/20/43/image_25112025_20_44_00_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":["1397082525","1397082522","1397082530","1397082518","1397082527","1397082529"],"photo_ids_order":["1397082518","1397082522","1397082525","1397082527","1397082529","1397082530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c5986474ae7cb33216b62c81828078b.jpg","text":"TemporaryFile(/tmp/multipartBody2877477917155240780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_43_51_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/30/545a61400b10dcf452c82fea7078ece3.jpg","text":"TemporaryFile(/tmp/multipartBody4283314425791333730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_43_48_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/30/a429928a68cef6a84471d56a5eb1f28b.jpg","text":"TemporaryFile(/tmp/multipartBody8777576232663932907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_44_00_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/30/60fdd13bfdd6e45f290ba0ab889cef0b.jpg","text":"TemporaryFile(/tmp/multipartBody3052333408289815753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_43_46_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/30/04e43fabe4a07058ec5828e5fce2dfba.jpg","text":"TemporaryFile(/tmp/multipartBody2092920906162277329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_43_54_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6e36492bc009ffaf3f4aceb683c98c0.jpg","text":"TemporaryFile(/tmp/multipartBody2475679008539301966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527494138,"filename":"image_25112025_20_43_57_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082525","file1":"1397082522","file0":"1397082518","file4":"1397082529","file5":"1397082530","file3":"1397082527"},"map_files_photo_id_array":[{"photo_id":"1397082530","filename":"file5"},{"photo_id":"1397082525","filename":"file2"},{"photo_id":"1397082529","filename":"file4"},{"photo_id":"1397082522","filename":"file1"},{"photo_id":"1397082518","filename":"file0"},{"photo_id":"1397082527","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082525":["hashtag1","hashtag2"]},{"1397082522":["hashtag1","hashtag2"]},{"1397082530":["hashtag1","hashtag2"]},{"1397082518":["hashtag1","hashtag2"]},{"1397082527":["hashtag1","hashtag2"]},{"1397082529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082525, 1397082522, 1397082530, 1397082518, 1397082527, 1397082529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71138668060303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:31:12.295291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_03_2992.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_06_2771.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_09_3519.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_16_3574.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_18_2796.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_21_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_03_2992.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_06_2771.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_09_3519.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_16_3574.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_18_2796.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_21_2711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082531","1397082536","1397082533","1397082541","1397082544","1397082538"],"photo_ids_order":["1397082531","1397082533","1397082536","1397082538","1397082541","1397082544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b91474e5f21b911fb8bbfcb46ff2512.jpg","text":"TemporaryFile(/tmp/multipartBody5807491426897673769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_03_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/30/1b799f5b9823559088550dbd5abccbe6.jpg","text":"TemporaryFile(/tmp/multipartBody7536929403184614352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_09_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/30/e0e80f75e68a06ddfdb8f985108c04d1.jpg","text":"TemporaryFile(/tmp/multipartBody8342307683821750151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_06_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/30/a753856d57340002f7e227630ff6d31a.jpg","text":"TemporaryFile(/tmp/multipartBody3834327014010288937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_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/30/ea364c2de4c5c02479eb22e5cb2d01c5.jpg","text":"TemporaryFile(/tmp/multipartBody3566251731147811578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_21_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/30/4dcc41516f3ef42f3b3e41c92565fc97.jpg","text":"TemporaryFile(/tmp/multipartBody4039930237760501059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527534162,"filename":"image_25112025_20_44_16_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082536","file1":"1397082533","file0":"1397082531","file4":"1397082541","file5":"1397082544","file3":"1397082538"},"map_files_photo_id_array":[{"photo_id":"1397082544","filename":"file5"},{"photo_id":"1397082536","filename":"file2"},{"photo_id":"1397082541","filename":"file4"},{"photo_id":"1397082533","filename":"file1"},{"photo_id":"1397082531","filename":"file0"},{"photo_id":"1397082538","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082531":["hashtag1","hashtag2"]},{"1397082536":["hashtag1","hashtag2"]},{"1397082533":["hashtag1","hashtag2"]},{"1397082541":["hashtag1","hashtag2"]},{"1397082544":["hashtag1","hashtag2"]},{"1397082538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082531, 1397082536, 1397082533, 1397082541, 1397082544, 1397082538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67488121986389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:32:03.235070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_54_9651.jpg', '/home/pi/Desktop/images/30112025/17/46/image_30112025_17_47_05_10841.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_14_9611.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_24_9936.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_34_9787.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_45_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_46_54_9651.jpg
/home/pi/Desktop/images/30112025/17/46/image_30112025_17_47_05_10841.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_14_9611.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_24_9936.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_34_9787.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_45_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082558","1397082552","1397082549","1397082554","1397082551","1397082550"],"photo_ids_order":["1397082549","1397082550","1397082551","1397082552","1397082554","1397082558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f8d3bce3689cff686f25c059ed23017.jpg","text":"TemporaryFile(/tmp/multipartBody1514856630492589487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_47_45_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c021c3ff96d6bd47a65a4ba96321ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody6038862347598129510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_47_24_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a7afd2a583fe7e0b225dfab22000c2a.jpg","text":"TemporaryFile(/tmp/multipartBody225563012217075611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_46_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/986829adb947deafd749129b4b0d0cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7871664775388886785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_47_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a761bc6587f9369ac8c6055f1607860.jpg","text":"TemporaryFile(/tmp/multipartBody1986990271550238662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_47_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1b11dec6284e8fe97062d27486a5b94.jpg","text":"TemporaryFile(/tmp/multipartBody4253112112649949854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527583913,"filename":"image_30112025_17_47_05_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082551","file1":"1397082550","file0":"1397082549","file4":"1397082554","file5":"1397082558","file3":"1397082552"},"map_files_photo_id_array":[{"photo_id":"1397082558","filename":"file5"},{"photo_id":"1397082551","filename":"file2"},{"photo_id":"1397082554","filename":"file4"},{"photo_id":"1397082550","filename":"file1"},{"photo_id":"1397082549","filename":"file0"},{"photo_id":"1397082552","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082558":["hashtag1","hashtag2"]},{"1397082552":["hashtag1","hashtag2"]},{"1397082549":["hashtag1","hashtag2"]},{"1397082554":["hashtag1","hashtag2"]},{"1397082551":["hashtag1","hashtag2"]},{"1397082550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082558, 1397082552, 1397082549, 1397082554, 1397082551, 1397082550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83522367477417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:32:42.778478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/26/image_31102025_13_26_12_2839.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_15_2632.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_18_3566.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_21_2806.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_24_2783.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_26_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/13/26/image_31102025_13_26_12_2839.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_15_2632.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_18_3566.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_21_2806.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_24_2783.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_26_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":["1397082570","1397082567","1397082569","1397082566","1397082571","1397082568"],"photo_ids_order":["1397082566","1397082567","1397082568","1397082569","1397082570","1397082571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9201ada7e4ca8ffabd37622494d8f2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1039029068662208271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_24_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/30/5cceff2123c61964aacfe41a2fccbb89.jpg","text":"TemporaryFile(/tmp/multipartBody1775477951814948579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_15_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/30/420804bdc63a7c851284c2f7da9a0258.jpg","text":"TemporaryFile(/tmp/multipartBody4950719589359886543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_21_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/30/218f222f236a8a6d55c62f6eb50f5acd.jpg","text":"TemporaryFile(/tmp/multipartBody9094161242304662852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_12_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/30/8d5beac6a0a7667d73edcb46c7c45803.jpg","text":"TemporaryFile(/tmp/multipartBody8663541818653154093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_26_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/30/d5687bdfaaeb4ca6ffed95a2f07dabd4.jpg","text":"TemporaryFile(/tmp/multipartBody9190529548652024645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527623653,"filename":"image_31102025_13_26_18_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082568","file1":"1397082567","file0":"1397082566","file4":"1397082570","file5":"1397082571","file3":"1397082569"},"map_files_photo_id_array":[{"photo_id":"1397082571","filename":"file5"},{"photo_id":"1397082568","filename":"file2"},{"photo_id":"1397082570","filename":"file4"},{"photo_id":"1397082567","filename":"file1"},{"photo_id":"1397082566","filename":"file0"},{"photo_id":"1397082569","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082570":["hashtag1","hashtag2"]},{"1397082567":["hashtag1","hashtag2"]},{"1397082569":["hashtag1","hashtag2"]},{"1397082566":["hashtag1","hashtag2"]},{"1397082571":["hashtag1","hashtag2"]},{"1397082568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082570, 1397082567, 1397082569, 1397082566, 1397082571, 1397082568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41014528274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:33:21.974066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_55_9805.jpg', '/home/pi/Desktop/images/30112025/17/47/image_30112025_17_48_04_9613.jpg', '/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_14_10027.jpg', '/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_25_10556.jpg', '/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_35_9804.jpg', '/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_47_55_9805.jpg
/home/pi/Desktop/images/30112025/17/47/image_30112025_17_48_04_9613.jpg
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_14_10027.jpg
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_25_10556.jpg
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_35_9804.jpg
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082582","1397082573","1397082584","1397082577","1397082586","1397082580"],"photo_ids_order":["1397082573","1397082577","1397082580","1397082582","1397082584","1397082586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3acd7a5e2665b338431173204661718.jpg","text":"TemporaryFile(/tmp/multipartBody8485560430750905009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_48_25_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba52b78f7189e842766ba6d7fd9089c3.jpg","text":"TemporaryFile(/tmp/multipartBody8380466056483215187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_47_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/101bbb31b222ff7406009d330102c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6712438974885819802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_48_35_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/908f6f24b1c3462d02e2f74a7c5c23f1.jpg","text":"TemporaryFile(/tmp/multipartBody289488565304555835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_48_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a381d9ead56296c6bc2e7a96a90bb1ef.jpg","text":"TemporaryFile(/tmp/multipartBody7320331307133777280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_48_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de96944157db5119c70eade08b40a8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1310756384715406254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527662647,"filename":"image_30112025_17_48_14_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082580","file1":"1397082577","file0":"1397082573","file4":"1397082584","file5":"1397082586","file3":"1397082582"},"map_files_photo_id_array":[{"photo_id":"1397082586","filename":"file5"},{"photo_id":"1397082580","filename":"file2"},{"photo_id":"1397082584","filename":"file4"},{"photo_id":"1397082577","filename":"file1"},{"photo_id":"1397082573","filename":"file0"},{"photo_id":"1397082582","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082582":["hashtag1","hashtag2"]},{"1397082573":["hashtag1","hashtag2"]},{"1397082584":["hashtag1","hashtag2"]},{"1397082577":["hashtag1","hashtag2"]},{"1397082586":["hashtag1","hashtag2"]},{"1397082580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082582, 1397082573, 1397082584, 1397082577, 1397082586, 1397082580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30928993225098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:34:02.795177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_54_9582.jpg', '/home/pi/Desktop/images/30112025/17/48/image_30112025_17_49_05_10675.jpg', '/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_15_9872.jpg', '/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_35_10565.jpg', '/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_45_9754.jpg', '/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_48_54_9582.jpg
/home/pi/Desktop/images/30112025/17/48/image_30112025_17_49_05_10675.jpg
/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_15_9872.jpg
/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_35_10565.jpg
/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_45_9754.jpg
/home/pi/Desktop/images/30112025/17/49/image_30112025_17_49_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082591","1397082590","1397082593","1397082596","1397082589","1397082588"],"photo_ids_order":["1397082588","1397082589","1397082590","1397082591","1397082593","1397082596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/369fb89b74fcdbff0edcc1cde903856a.jpg","text":"TemporaryFile(/tmp/multipartBody1791551129814699455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_49_35_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d74e9a17ffbe134691744fb013e3d927.jpg","text":"TemporaryFile(/tmp/multipartBody4692614964715192663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_49_15_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d0c91672e669a9fc221c0923fa8570.jpg","text":"TemporaryFile(/tmp/multipartBody4808824176506300481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_49_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8336bf38885eeb7be4027608d049e294.jpg","text":"TemporaryFile(/tmp/multipartBody1479142699229082770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_49_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1bae7452a835815d311d9ecc3923d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4929167309539175000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_49_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2aaaa27bcb84bd44c88f99fc194a3cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8300519637003936572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527703540,"filename":"image_30112025_17_48_54_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082590","file1":"1397082589","file0":"1397082588","file4":"1397082593","file5":"1397082596","file3":"1397082591"},"map_files_photo_id_array":[{"photo_id":"1397082596","filename":"file5"},{"photo_id":"1397082590","filename":"file2"},{"photo_id":"1397082593","filename":"file4"},{"photo_id":"1397082589","filename":"file1"},{"photo_id":"1397082588","filename":"file0"},{"photo_id":"1397082591","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082591":["hashtag1","hashtag2"]},{"1397082590":["hashtag1","hashtag2"]},{"1397082593":["hashtag1","hashtag2"]},{"1397082596":["hashtag1","hashtag2"]},{"1397082589":["hashtag1","hashtag2"]},{"1397082588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082591, 1397082590, 1397082593, 1397082596, 1397082589, 1397082588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08258676528931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:34:42.114349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/26/image_31102025_13_26_30_3650.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_33_2650.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_36_3552.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_39_2682.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_42_2795.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_45_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_30_3650.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_33_2650.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_36_3552.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_39_2682.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_42_2795.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_45_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":["1397082607","1397082609","1397082611","1397082605","1397082608","1397082610"],"photo_ids_order":["1397082605","1397082607","1397082608","1397082609","1397082610","1397082611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e787c874c8fbac8877b722c2a7695b7.jpg","text":"TemporaryFile(/tmp/multipartBody5800911047444584402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_33_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/30/4d68b1c3d8c49a5eb0b3f05f3dbd8529.jpg","text":"TemporaryFile(/tmp/multipartBody7001007121599500793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_39_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/30/694bed22232c5dca81649b41e35570f5.jpg","text":"TemporaryFile(/tmp/multipartBody6993077386708576698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_45_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/30/0b3eb1fe94f1fd11dde07f11bf67c300.jpg","text":"TemporaryFile(/tmp/multipartBody3368833768152382015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_30_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cca86ac493b87260467345947cb7878.jpg","text":"TemporaryFile(/tmp/multipartBody587202074095230856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_36_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/30/43f00c0731fa393df6d4f6e39dd59133.jpg","text":"TemporaryFile(/tmp/multipartBody8924303652316741632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527742988,"filename":"image_31102025_13_26_42_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082608","file1":"1397082607","file0":"1397082605","file4":"1397082610","file5":"1397082611","file3":"1397082609"},"map_files_photo_id_array":[{"photo_id":"1397082611","filename":"file5"},{"photo_id":"1397082608","filename":"file2"},{"photo_id":"1397082610","filename":"file4"},{"photo_id":"1397082607","filename":"file1"},{"photo_id":"1397082605","filename":"file0"},{"photo_id":"1397082609","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082607":["hashtag1","hashtag2"]},{"1397082609":["hashtag1","hashtag2"]},{"1397082611":["hashtag1","hashtag2"]},{"1397082605":["hashtag1","hashtag2"]},{"1397082608":["hashtag1","hashtag2"]},{"1397082610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082607, 1397082609, 1397082611, 1397082605, 1397082608, 1397082610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4496431350708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:35:22.289048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_14_10037.jpg', '/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_24_10621.jpg', '/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_34_9725.jpg', '/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_44_10567.jpg', '/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_54_9587.jpg', '/home/pi/Desktop/images/30112025/17/51/image_30112025_17_52_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_14_10037.jpg
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_24_10621.jpg
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_34_9725.jpg
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_44_10567.jpg
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_51_54_9587.jpg
/home/pi/Desktop/images/30112025/17/51/image_30112025_17_52_04_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082627","1397082623","1397082617","1397082620","1397082614","1397082625"],"photo_ids_order":["1397082614","1397082617","1397082620","1397082623","1397082625","1397082627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/419ad6a8375714a1597ad8202115aa35.jpg","text":"TemporaryFile(/tmp/multipartBody2448746036775360022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_52_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0af453795a3df82f7b5012dba096f6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1818191237430611040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_51_44_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a3680f07cf0abb295b826c0efa30b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4566167371212272792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_51_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5f8233aedf726c7394552f5ed62b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody2183090946705853890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_51_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4b4adce1de830e133d4e08f9dcf89f1.jpg","text":"TemporaryFile(/tmp/multipartBody3507901520416681404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_51_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/30fd9ccf777b5b3c0c0b2e3a7ab5f098.jpg","text":"TemporaryFile(/tmp/multipartBody1811393538902336939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527783004,"filename":"image_30112025_17_51_54_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082620","file1":"1397082617","file0":"1397082614","file4":"1397082625","file5":"1397082627","file3":"1397082623"},"map_files_photo_id_array":[{"photo_id":"1397082627","filename":"file5"},{"photo_id":"1397082620","filename":"file2"},{"photo_id":"1397082625","filename":"file4"},{"photo_id":"1397082617","filename":"file1"},{"photo_id":"1397082614","filename":"file0"},{"photo_id":"1397082623","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082627":["hashtag1","hashtag2"]},{"1397082623":["hashtag1","hashtag2"]},{"1397082617":["hashtag1","hashtag2"]},{"1397082620":["hashtag1","hashtag2"]},{"1397082614":["hashtag1","hashtag2"]},{"1397082625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082627, 1397082623, 1397082617, 1397082620, 1397082614, 1397082625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46175479888916 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 --only_old 1
2025-11-30 19:36:13.351465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_24_2787.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_28_3646.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_30_2646.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_33_2656.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_37_3721.jpg', '/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_39_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_24_2787.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_28_3646.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_30_2646.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_33_2656.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_37_3721.jpg
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_39_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082633","1397082636","1397082629","1397082640","1397082628","1397082643"],"photo_ids_order":["1397082628","1397082629","1397082633","1397082636","1397082640","1397082643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cfc800f13a9cbc21ff31837fb77793d.jpg","text":"TemporaryFile(/tmp/multipartBody4660345437127409021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_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/30/8ff47cb5fb8bbaaf17a4f2813fc8d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4002262892254534758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_33_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbc06de717c17dc52e6348952a222d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8859097155690605217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_28_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/30/c770d273d91ca6974ddfb235ca5d3f32.jpg","text":"TemporaryFile(/tmp/multipartBody322755190217079030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_37_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/30/7732ffe530399cd9b7c1935dbfbad803.jpg","text":"TemporaryFile(/tmp/multipartBody4584700910079298792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_24_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/30/eb3f305329fae47b1b19d35c0a4d00d9.jpg","text":"TemporaryFile(/tmp/multipartBody3414302061701330203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527835060,"filename":"image_25112025_20_44_39_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082633","file1":"1397082629","file0":"1397082628","file4":"1397082640","file5":"1397082643","file3":"1397082636"},"map_files_photo_id_array":[{"photo_id":"1397082643","filename":"file5"},{"photo_id":"1397082633","filename":"file2"},{"photo_id":"1397082640","filename":"file4"},{"photo_id":"1397082629","filename":"file1"},{"photo_id":"1397082628","filename":"file0"},{"photo_id":"1397082636","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082633":["hashtag1","hashtag2"]},{"1397082636":["hashtag1","hashtag2"]},{"1397082629":["hashtag1","hashtag2"]},{"1397082640":["hashtag1","hashtag2"]},{"1397082628":["hashtag1","hashtag2"]},{"1397082643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082633, 1397082636, 1397082629, 1397082640, 1397082628, 1397082643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70445489883423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:37:02.574721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_14_10611.jpg', '/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_24_9661.jpg', '/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_34_9594.jpg', '/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_44_10714.jpg', '/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_54_9791.jpg', '/home/pi/Desktop/images/30112025/17/52/image_30112025_17_53_04_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_14_10611.jpg
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_24_9661.jpg
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_34_9594.jpg
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_44_10714.jpg
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_52_54_9791.jpg
/home/pi/Desktop/images/30112025/17/52/image_30112025_17_53_04_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082651","1397082648","1397082653","1397082650","1397082655","1397082649"],"photo_ids_order":["1397082648","1397082649","1397082650","1397082651","1397082653","1397082655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6c84db572c625fa58d280265c377c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5201007790526655379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_52_44_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c289bd27212df275d5b9e4af3986d4a6.jpg","text":"TemporaryFile(/tmp/multipartBody8238570722877683638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_52_14_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/234c0d217f1f46e8a8da84f8a29aaba8.jpg","text":"TemporaryFile(/tmp/multipartBody9137172075959448024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_52_54_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11d70bd79cf5077b055f8c49455a8ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5447606934057619770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_52_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e07925c14911a935711dd9d84ef379a.jpg","text":"TemporaryFile(/tmp/multipartBody7449115099884350313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_53_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7039e367d298805c8036cf1c42fc9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2007492365049770728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527883274,"filename":"image_30112025_17_52_24_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082650","file1":"1397082649","file0":"1397082648","file4":"1397082653","file5":"1397082655","file3":"1397082651"},"map_files_photo_id_array":[{"photo_id":"1397082655","filename":"file5"},{"photo_id":"1397082650","filename":"file2"},{"photo_id":"1397082653","filename":"file4"},{"photo_id":"1397082649","filename":"file1"},{"photo_id":"1397082648","filename":"file0"},{"photo_id":"1397082651","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082651":["hashtag1","hashtag2"]},{"1397082648":["hashtag1","hashtag2"]},{"1397082653":["hashtag1","hashtag2"]},{"1397082650":["hashtag1","hashtag2"]},{"1397082655":["hashtag1","hashtag2"]},{"1397082649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082651, 1397082648, 1397082653, 1397082650, 1397082655, 1397082649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566529989242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:37:41.905439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/26/image_31102025_13_26_48_3691.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_51_2611.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_53_2657.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_57_3689.jpg', '/home/pi/Desktop/images/31102025/13/26/image_31102025_13_27_00_2645.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_03_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_48_3691.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_51_2611.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_53_2657.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_26_57_3689.jpg
/home/pi/Desktop/images/31102025/13/26/image_31102025_13_27_00_2645.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_03_2863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082669","1397082672","1397082671","1397082674","1397082665","1397082667"],"photo_ids_order":["1397082665","1397082667","1397082669","1397082671","1397082672","1397082674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a74b80aed58a55f9c929e49deb9dc81.jpg","text":"TemporaryFile(/tmp/multipartBody1244704243443531118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_26_53_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37b86418fd650823e9299deb0fb91bd0.jpg","text":"TemporaryFile(/tmp/multipartBody8825070671259733030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_27_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/30/7209cf70cf358515c1073f770f4ce552.jpg","text":"TemporaryFile(/tmp/multipartBody7279111953720782143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_26_57_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/30/fb7f8b759c6aa56acaab0af52c2491f5.jpg","text":"TemporaryFile(/tmp/multipartBody4479961828677159921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_27_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/30/5ea8ba98ba8f76fe9a570072f62a35fd.jpg","text":"TemporaryFile(/tmp/multipartBody8352185221696893510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_26_48_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/30/340b2a5b9934080d5d1687c8ede37e88.jpg","text":"TemporaryFile(/tmp/multipartBody4625686397743128467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527922785,"filename":"image_31102025_13_26_51_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082669","file1":"1397082667","file0":"1397082665","file4":"1397082672","file5":"1397082674","file3":"1397082671"},"map_files_photo_id_array":[{"photo_id":"1397082674","filename":"file5"},{"photo_id":"1397082669","filename":"file2"},{"photo_id":"1397082672","filename":"file4"},{"photo_id":"1397082667","filename":"file1"},{"photo_id":"1397082665","filename":"file0"},{"photo_id":"1397082671","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082669":["hashtag1","hashtag2"]},{"1397082672":["hashtag1","hashtag2"]},{"1397082671":["hashtag1","hashtag2"]},{"1397082674":["hashtag1","hashtag2"]},{"1397082665":["hashtag1","hashtag2"]},{"1397082667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082669, 1397082672, 1397082671, 1397082674, 1397082665, 1397082667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341474294662476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:38:22.109063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_14_9737.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_24_10796.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_34_9705.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_44_9609.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_54_10271.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_54_04_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_14_9737.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_24_10796.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_34_9705.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_44_9609.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_54_10271.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_54_04_9624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5810811519622803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:38:32.146339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_46_3690.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_01_15935.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_03_1668.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_05_1655.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_06_1620.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_08_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/44/image_25112025_20_44_46_3690.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_01_15935.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_03_1668.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_05_1655.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_06_1620.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_08_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082690","1397082684","1397082692","1397082694","1397082693","1397082687"],"photo_ids_order":["1397082684","1397082687","1397082690","1397082692","1397082693","1397082694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/753bb82899e5819f41f4980ad9eeb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody193762330565388875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_45_03_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/30/b78ff5df6c1a0cacc92edcc2544231de.jpg","text":"TemporaryFile(/tmp/multipartBody3200611241165393456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_44_46_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/30/c0e3545a545a5a47fbc49dd5cb388b50.jpg","text":"TemporaryFile(/tmp/multipartBody2766073744380556605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_45_05_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a25870efb01423b4db597c664ba67691.jpg","text":"TemporaryFile(/tmp/multipartBody3445077392822135724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_45_08_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/30/9726f3961deb4f0d2cf7889224ee1ff8.jpg","text":"TemporaryFile(/tmp/multipartBody438955096674571474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_45_06_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/30/875889a34a050b7ae37c3fc43004e3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1788778449774187901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764527974178,"filename":"image_25112025_20_45_01_15935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082690","file1":"1397082687","file0":"1397082684","file4":"1397082693","file5":"1397082694","file3":"1397082692"},"map_files_photo_id_array":[{"photo_id":"1397082694","filename":"file5"},{"photo_id":"1397082690","filename":"file2"},{"photo_id":"1397082693","filename":"file4"},{"photo_id":"1397082687","filename":"file1"},{"photo_id":"1397082684","filename":"file0"},{"photo_id":"1397082692","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082690":["hashtag1","hashtag2"]},{"1397082684":["hashtag1","hashtag2"]},{"1397082692":["hashtag1","hashtag2"]},{"1397082694":["hashtag1","hashtag2"]},{"1397082693":["hashtag1","hashtag2"]},{"1397082687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082690, 1397082684, 1397082692, 1397082694, 1397082693, 1397082687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.413031816482544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:39:12.184167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_10_1777.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_11_1658.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_13_1733.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_15_1612.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_16_1651.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_18_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_10_1777.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_11_1658.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_13_1733.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_15_1612.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_16_1651.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_18_1614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082699","1397082705","1397082702","1397082707","1397082697","1397082709"],"photo_ids_order":["1397082697","1397082699","1397082702","1397082705","1397082707","1397082709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b160a2da592551a791c50e3babe9780a.jpg","text":"TemporaryFile(/tmp/multipartBody4422051354938593776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_11_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/30/1f556a4eae03029a20a59e1bd4748ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2666235735200818275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_15_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/30/c68512adba4405c840dc4a12f75aa8df.jpg","text":"TemporaryFile(/tmp/multipartBody14546589264717302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_13_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/30/158cca7627009141c1a2a16cea96923f.jpg","text":"TemporaryFile(/tmp/multipartBody8897815344394983086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_16_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/30/20555bb3ba26ae3d85202c030a20c130.jpg","text":"TemporaryFile(/tmp/multipartBody3248002283604437307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_10_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/30/c0dee32665c9946bbc1c3a4b07a677ea.jpg","text":"TemporaryFile(/tmp/multipartBody5424937599559351719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528014571,"filename":"image_25112025_20_45_18_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082702","file1":"1397082699","file0":"1397082697","file4":"1397082707","file5":"1397082709","file3":"1397082705"},"map_files_photo_id_array":[{"photo_id":"1397082709","filename":"file5"},{"photo_id":"1397082702","filename":"file2"},{"photo_id":"1397082707","filename":"file4"},{"photo_id":"1397082699","filename":"file1"},{"photo_id":"1397082697","filename":"file0"},{"photo_id":"1397082705","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082699":["hashtag1","hashtag2"]},{"1397082705":["hashtag1","hashtag2"]},{"1397082702":["hashtag1","hashtag2"]},{"1397082707":["hashtag1","hashtag2"]},{"1397082697":["hashtag1","hashtag2"]},{"1397082709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082699, 1397082705, 1397082702, 1397082707, 1397082697, 1397082709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.790926456451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:40:02.726072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_14_9737.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_24_10796.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_34_9705.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_44_9609.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_54_10271.jpg', '/home/pi/Desktop/images/30112025/17/53/image_30112025_17_54_04_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_14_9737.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_24_10796.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_34_9705.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_44_9609.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_53_54_10271.jpg
/home/pi/Desktop/images/30112025/17/53/image_30112025_17_54_04_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082711","1397082710","1397082713","1397082712","1397082715","1397082718"],"photo_ids_order":["1397082710","1397082711","1397082712","1397082713","1397082715","1397082718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e375e023c5bd53d4fed77359a20777e.jpg","text":"TemporaryFile(/tmp/multipartBody7554405450960480535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_53_24_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b491754cc724d6bf5c59691d7da8da96.jpg","text":"TemporaryFile(/tmp/multipartBody7658035022060759273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_53_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11eb3047fdce1e2686e40a5121e9d901.jpg","text":"TemporaryFile(/tmp/multipartBody1301968165054648644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_53_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3415e7652c4306a2feeeb8741c69315.jpg","text":"TemporaryFile(/tmp/multipartBody3670783784438266023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_53_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5ae1e3a9a27f1dde1e6eba86fb077f9.jpg","text":"TemporaryFile(/tmp/multipartBody5342673739536083132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_53_54_10271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8e916d1858743bc272e758013ed17b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5862463380732309294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528063427,"filename":"image_30112025_17_54_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082712","file1":"1397082711","file0":"1397082710","file4":"1397082715","file5":"1397082718","file3":"1397082713"},"map_files_photo_id_array":[{"photo_id":"1397082718","filename":"file5"},{"photo_id":"1397082712","filename":"file2"},{"photo_id":"1397082715","filename":"file4"},{"photo_id":"1397082711","filename":"file1"},{"photo_id":"1397082710","filename":"file0"},{"photo_id":"1397082713","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082711":["hashtag1","hashtag2"]},{"1397082710":["hashtag1","hashtag2"]},{"1397082713":["hashtag1","hashtag2"]},{"1397082712":["hashtag1","hashtag2"]},{"1397082715":["hashtag1","hashtag2"]},{"1397082718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082711, 1397082710, 1397082713, 1397082712, 1397082715, 1397082718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18724322319031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:40:42.387981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/27/image_31102025_13_27_05_2699.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_09_3749.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_12_2752.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_14_2547.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_18_3656.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_21_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_05_2699.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_09_3749.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_12_2752.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_14_2547.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_18_3656.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_21_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":["1397082732","1397082726","1397082729","1397082728","1397082731","1397082730"],"photo_ids_order":["1397082726","1397082728","1397082729","1397082730","1397082731","1397082732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09e16365a0dff3b5de882ebe4b83819e.jpg","text":"TemporaryFile(/tmp/multipartBody4710291748132679223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_21_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/30/5c8b2fab5558f3fa8224348c084499c5.jpg","text":"TemporaryFile(/tmp/multipartBody6158385355697208026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_05_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09a28f2b4758b4cd738390e713c12595.jpg","text":"TemporaryFile(/tmp/multipartBody4602853603760794841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_12_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/30/caa10ef2a58383ff00536ffed8e9a38a.jpg","text":"TemporaryFile(/tmp/multipartBody5926951643311411438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_09_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/30/d22b26b1fff4edcb4156ce3c908539d3.jpg","text":"TemporaryFile(/tmp/multipartBody2860724942834247301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_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/30/056b79bce8414963ee7edda48452ecdf.jpg","text":"TemporaryFile(/tmp/multipartBody2474217696150696941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528103307,"filename":"image_31102025_13_27_14_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082729","file1":"1397082728","file0":"1397082726","file4":"1397082731","file5":"1397082732","file3":"1397082730"},"map_files_photo_id_array":[{"photo_id":"1397082732","filename":"file5"},{"photo_id":"1397082729","filename":"file2"},{"photo_id":"1397082731","filename":"file4"},{"photo_id":"1397082728","filename":"file1"},{"photo_id":"1397082726","filename":"file0"},{"photo_id":"1397082730","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082732":["hashtag1","hashtag2"]},{"1397082726":["hashtag1","hashtag2"]},{"1397082729":["hashtag1","hashtag2"]},{"1397082728":["hashtag1","hashtag2"]},{"1397082731":["hashtag1","hashtag2"]},{"1397082730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082732, 1397082726, 1397082729, 1397082728, 1397082731, 1397082730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09140872955322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:41:22.526914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_14_10767.jpg', '/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_24_9586.jpg', '/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_34_10517.jpg', '/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_44_9622.jpg', '/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_54_9592.jpg', '/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_14_10767.jpg
/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_24_9586.jpg
/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_34_10517.jpg
/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_44_9622.jpg
/home/pi/Desktop/images/30112025/17/54/image_30112025_17_54_54_9592.jpg
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_14_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082744","1397082735","1397082751","1397082745","1397082739","1397082742"],"photo_ids_order":["1397082735","1397082739","1397082742","1397082744","1397082745","1397082751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f27ef8626c99ea748128177a4b8fa31c.jpg","text":"TemporaryFile(/tmp/multipartBody9028205013294582782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_54_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/658f4063cf4d1d172a6851ff273048cc.jpg","text":"TemporaryFile(/tmp/multipartBody7177192325051384450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_54_14_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45354f555b8212b4a45049301861c969.jpg","text":"TemporaryFile(/tmp/multipartBody7336927486034837473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_55_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7882ba7bee5e4953b729810eebfb0c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4664232126356502748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_54_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d835659790a1e467a07566c4802c7cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2897369077553490092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_54_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c46b95ccaa3bf79fe9dd2a7602849fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8185576868400848584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528143214,"filename":"image_30112025_17_54_34_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082742","file1":"1397082739","file0":"1397082735","file4":"1397082745","file5":"1397082751","file3":"1397082744"},"map_files_photo_id_array":[{"photo_id":"1397082751","filename":"file5"},{"photo_id":"1397082742","filename":"file2"},{"photo_id":"1397082745","filename":"file4"},{"photo_id":"1397082739","filename":"file1"},{"photo_id":"1397082735","filename":"file0"},{"photo_id":"1397082744","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082744":["hashtag1","hashtag2"]},{"1397082735":["hashtag1","hashtag2"]},{"1397082751":["hashtag1","hashtag2"]},{"1397082745":["hashtag1","hashtag2"]},{"1397082739":["hashtag1","hashtag2"]},{"1397082742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082744, 1397082735, 1397082751, 1397082745, 1397082739, 1397082742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12003254890442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:42:03.165071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_25_10761.jpg', '/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_34_9765.jpg', '/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_44_9533.jpg', '/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_55_10851.jpg', '/home/pi/Desktop/images/30112025/17/55/image_30112025_17_56_05_9686.jpg', '/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_14_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_25_10761.jpg
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_34_9765.jpg
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_44_9533.jpg
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_55_55_10851.jpg
/home/pi/Desktop/images/30112025/17/55/image_30112025_17_56_05_9686.jpg
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_14_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082756","1397082753","1397082761","1397082755","1397082758","1397082754"],"photo_ids_order":["1397082753","1397082754","1397082755","1397082756","1397082758","1397082761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5507034de4e7c43edbea74b02f846f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6788462436125171354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_55_55_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60fac2a92695e5ddb94816f859800720.jpg","text":"TemporaryFile(/tmp/multipartBody32179656421144962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_55_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbc30b0a82c32d869158cf32c831a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3972730574776119103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_56_14_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c07c160dcc0bfef4e8f324fc1e9d9be1.jpg","text":"TemporaryFile(/tmp/multipartBody149365958940545024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_55_44_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41fb20918e40ad604fabd0e7e1c0021c.jpg","text":"TemporaryFile(/tmp/multipartBody4381169421853437063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_56_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fa42a212c497c254d36d6557a157350.jpg","text":"TemporaryFile(/tmp/multipartBody5712849963970190469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528183898,"filename":"image_30112025_17_55_34_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082755","file1":"1397082754","file0":"1397082753","file4":"1397082758","file5":"1397082761","file3":"1397082756"},"map_files_photo_id_array":[{"photo_id":"1397082761","filename":"file5"},{"photo_id":"1397082755","filename":"file2"},{"photo_id":"1397082758","filename":"file4"},{"photo_id":"1397082754","filename":"file1"},{"photo_id":"1397082753","filename":"file0"},{"photo_id":"1397082756","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082756":["hashtag1","hashtag2"]},{"1397082753":["hashtag1","hashtag2"]},{"1397082761":["hashtag1","hashtag2"]},{"1397082755":["hashtag1","hashtag2"]},{"1397082758":["hashtag1","hashtag2"]},{"1397082754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082756, 1397082753, 1397082761, 1397082755, 1397082758, 1397082754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78864669799805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:42:42.708915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/27/image_31102025_13_27_23_2614.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_27_3715.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_30_2884.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_36_3764.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_39_2906.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_42_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_23_2614.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_27_3715.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_30_2884.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_36_3764.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_39_2906.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_42_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082774","1397082768","1397082771","1397082770","1397082773","1397082772"],"photo_ids_order":["1397082768","1397082770","1397082771","1397082772","1397082773","1397082774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0b9e5813c3a7b4b1d03dbd256438313.jpg","text":"TemporaryFile(/tmp/multipartBody3584593936030900905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_42_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dc55c7c490f6b81307e46a95b03cdbd.jpg","text":"TemporaryFile(/tmp/multipartBody3443283728834247608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_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/30/78ad80198e67cbb80bfadbfc50f14aab.jpg","text":"TemporaryFile(/tmp/multipartBody3028406306377013289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_30_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/30/7854d2b0ad8101de4624c5c1bc6c593d.jpg","text":"TemporaryFile(/tmp/multipartBody4288434578266697219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_27_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/30/47fe893c38bc1734e55b6a2383dc0669.jpg","text":"TemporaryFile(/tmp/multipartBody7852794900708228101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_39_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/30/5dce6904875f892635b4ec34142fae5f.jpg","text":"TemporaryFile(/tmp/multipartBody7583428081008262781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528223614,"filename":"image_31102025_13_27_36_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082771","file1":"1397082770","file0":"1397082768","file4":"1397082773","file5":"1397082774","file3":"1397082772"},"map_files_photo_id_array":[{"photo_id":"1397082774","filename":"file5"},{"photo_id":"1397082771","filename":"file2"},{"photo_id":"1397082773","filename":"file4"},{"photo_id":"1397082770","filename":"file1"},{"photo_id":"1397082768","filename":"file0"},{"photo_id":"1397082772","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082774":["hashtag1","hashtag2"]},{"1397082768":["hashtag1","hashtag2"]},{"1397082771":["hashtag1","hashtag2"]},{"1397082770":["hashtag1","hashtag2"]},{"1397082773":["hashtag1","hashtag2"]},{"1397082772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082774, 1397082768, 1397082771, 1397082770, 1397082773, 1397082772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9559760093689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:43:21.931020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_24_9597.jpg', '/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_35_10821.jpg', '/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_44_9694.jpg', '/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_54_9642.jpg', '/home/pi/Desktop/images/30112025/17/56/image_30112025_17_57_05_10647.jpg', '/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_15_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_24_9597.jpg
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_35_10821.jpg
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_44_9694.jpg
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_56_54_9642.jpg
/home/pi/Desktop/images/30112025/17/56/image_30112025_17_57_05_10647.jpg
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_15_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082780","1397082783","1397082785","1397082776","1397082790","1397082787"],"photo_ids_order":["1397082776","1397082780","1397082783","1397082785","1397082787","1397082790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08f93b45b55493fb74041585659ebfa4.jpg","text":"TemporaryFile(/tmp/multipartBody5017375570871873570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_56_35_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f619eb971a6747d1e2bef309cad53e2.jpg","text":"TemporaryFile(/tmp/multipartBody8439004851466001468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_56_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e98eb9a7339c9bab260f8e93de322ad.jpg","text":"TemporaryFile(/tmp/multipartBody58257928626891020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_56_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f37caa12221230b6d55418b6ce4e039e.jpg","text":"TemporaryFile(/tmp/multipartBody3758361160647014553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_56_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1194f05ed3ddb093979dee2ae722f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2367507453892419972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_57_15_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8993d69a553a9a6f0821dabbda22c657.jpg","text":"TemporaryFile(/tmp/multipartBody2270909539218389435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528262604,"filename":"image_30112025_17_57_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082783","file1":"1397082780","file0":"1397082776","file4":"1397082787","file5":"1397082790","file3":"1397082785"},"map_files_photo_id_array":[{"photo_id":"1397082790","filename":"file5"},{"photo_id":"1397082783","filename":"file2"},{"photo_id":"1397082787","filename":"file4"},{"photo_id":"1397082780","filename":"file1"},{"photo_id":"1397082776","filename":"file0"},{"photo_id":"1397082785","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082780":["hashtag1","hashtag2"]},{"1397082783":["hashtag1","hashtag2"]},{"1397082785":["hashtag1","hashtag2"]},{"1397082776":["hashtag1","hashtag2"]},{"1397082790":["hashtag1","hashtag2"]},{"1397082787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082780, 1397082783, 1397082785, 1397082776, 1397082790, 1397082787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70074200630188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:44:02.637859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_24_9472.jpg', '/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_34_9836.jpg', '/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_45_10768.jpg', '/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_54_9668.jpg', '/home/pi/Desktop/images/30112025/17/57/image_30112025_17_58_04_9640.jpg', '/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_15_10904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_24_9472.jpg
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_34_9836.jpg
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_45_10768.jpg
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_57_54_9668.jpg
/home/pi/Desktop/images/30112025/17/57/image_30112025_17_58_04_9640.jpg
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_15_10904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082795","1397082801","1397082793","1397082796","1397082798","1397082792"],"photo_ids_order":["1397082792","1397082793","1397082795","1397082796","1397082798","1397082801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39daab2c775dce02d5a5beac26008afa.jpg","text":"TemporaryFile(/tmp/multipartBody7688607060069190939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_57_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f7417b720d64f3148ae589c6ae86193.jpg","text":"TemporaryFile(/tmp/multipartBody7526805708513792150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_58_15_10904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c54940b979e37e56b2a87c648ccefbef.jpg","text":"TemporaryFile(/tmp/multipartBody2942382389997168626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_57_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3495d65f1acf96af33e91a1272c49e15.jpg","text":"TemporaryFile(/tmp/multipartBody5293433491493763535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_57_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4f96722b154935db110170d11a9a822.jpg","text":"TemporaryFile(/tmp/multipartBody8435716782028022974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_58_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f61b21067ccc1d8d2bdaa56c571d4a56.jpg","text":"TemporaryFile(/tmp/multipartBody8842647156231944675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528303336,"filename":"image_30112025_17_57_24_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082795","file1":"1397082793","file0":"1397082792","file4":"1397082798","file5":"1397082801","file3":"1397082796"},"map_files_photo_id_array":[{"photo_id":"1397082801","filename":"file5"},{"photo_id":"1397082795","filename":"file2"},{"photo_id":"1397082798","filename":"file4"},{"photo_id":"1397082793","filename":"file1"},{"photo_id":"1397082792","filename":"file0"},{"photo_id":"1397082796","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082795":["hashtag1","hashtag2"]},{"1397082801":["hashtag1","hashtag2"]},{"1397082793":["hashtag1","hashtag2"]},{"1397082796":["hashtag1","hashtag2"]},{"1397082798":["hashtag1","hashtag2"]},{"1397082792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082795, 1397082801, 1397082793, 1397082796, 1397082798, 1397082792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78554844856262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:44:42.017805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/27/image_31102025_13_27_45_2818.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_48_3736.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_51_2802.jpg', '/home/pi/Desktop/images/31102025/13/27/image_31102025_13_28_00_2672.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_03_3668.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_06_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_45_2818.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_48_3736.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_27_51_2802.jpg
/home/pi/Desktop/images/31102025/13/27/image_31102025_13_28_00_2672.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_03_3668.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_06_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082810","1397082834","1397082833","1397082832","1397082835","1397082823"],"photo_ids_order":["1397082810","1397082823","1397082832","1397082833","1397082834","1397082835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ddfdb60becb5a8f5cca4733879041a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4554119135023093055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_27_45_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/30/7e817a7169fb0b553f60f923c04a5e14.jpg","text":"TemporaryFile(/tmp/multipartBody546712765147339354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_28_03_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/30/d7ef24d84d6e65679a13d2c73feebae7.jpg","text":"TemporaryFile(/tmp/multipartBody628864863802973443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_28_00_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/30/d7f947bddc05bdb53842c9a4cb99238d.jpg","text":"TemporaryFile(/tmp/multipartBody5225012997612902492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_27_51_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/30/9cecbe9a7c4a08172b0ce8f66d01eb94.jpg","text":"TemporaryFile(/tmp/multipartBody3677340153616396880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_28_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/30/1ef7cca41b471f457c060c1bd50f5510.jpg","text":"TemporaryFile(/tmp/multipartBody2126320261858676676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528342985,"filename":"image_31102025_13_27_48_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082832","file1":"1397082823","file0":"1397082810","file4":"1397082834","file5":"1397082835","file3":"1397082833"},"map_files_photo_id_array":[{"photo_id":"1397082835","filename":"file5"},{"photo_id":"1397082832","filename":"file2"},{"photo_id":"1397082834","filename":"file4"},{"photo_id":"1397082823","filename":"file1"},{"photo_id":"1397082810","filename":"file0"},{"photo_id":"1397082833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082810":["hashtag1","hashtag2"]},{"1397082834":["hashtag1","hashtag2"]},{"1397082833":["hashtag1","hashtag2"]},{"1397082832":["hashtag1","hashtag2"]},{"1397082835":["hashtag1","hashtag2"]},{"1397082823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082810, 1397082834, 1397082833, 1397082832, 1397082835, 1397082823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.771155834198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:45:22.220997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_25_9776.jpg', '/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_34_9561.jpg', '/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_44_9913.jpg', '/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_54_9795.jpg', '/home/pi/Desktop/images/30112025/17/58/image_30112025_17_59_05_10745.jpg', '/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_14_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_25_9776.jpg
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_34_9561.jpg
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_44_9913.jpg
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_58_54_9795.jpg
/home/pi/Desktop/images/30112025/17/58/image_30112025_17_59_05_10745.jpg
/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_14_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082840","1397082837","1397082851","1397082845","1397082853","1397082847"],"photo_ids_order":["1397082837","1397082840","1397082845","1397082847","1397082851","1397082853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b78bf50d9b350d46adabbf5812396d09.jpg","text":"TemporaryFile(/tmp/multipartBody7336793095736958127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_58_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a7969e0fdfbdbf363f3c703e470e040.jpg","text":"TemporaryFile(/tmp/multipartBody4838169850140784891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_58_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96063141df76c798a54deadce2ffa352.jpg","text":"TemporaryFile(/tmp/multipartBody3820782552574823620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_59_05_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/735155f30d04cedaa365e85f575e1ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3181559460213056778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_58_44_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d19df6e68bff06d7019548a31e4bbbf2.jpg","text":"TemporaryFile(/tmp/multipartBody1995676779108588329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_59_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3d0f9345eec75160afccea11ac17f95.jpg","text":"TemporaryFile(/tmp/multipartBody5874138363269162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528382899,"filename":"image_30112025_17_58_54_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082845","file1":"1397082840","file0":"1397082837","file4":"1397082851","file5":"1397082853","file3":"1397082847"},"map_files_photo_id_array":[{"photo_id":"1397082853","filename":"file5"},{"photo_id":"1397082845","filename":"file2"},{"photo_id":"1397082851","filename":"file4"},{"photo_id":"1397082840","filename":"file1"},{"photo_id":"1397082837","filename":"file0"},{"photo_id":"1397082847","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082840":["hashtag1","hashtag2"]},{"1397082837":["hashtag1","hashtag2"]},{"1397082851":["hashtag1","hashtag2"]},{"1397082845":["hashtag1","hashtag2"]},{"1397082853":["hashtag1","hashtag2"]},{"1397082847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082840, 1397082837, 1397082851, 1397082845, 1397082853, 1397082847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42714548110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:46:02.755322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_24_9711.jpg', '/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_34_10346.jpg', '/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_44_9780.jpg', '/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_55_10648.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_14_10055.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_25_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_24_9711.jpg
/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_34_10346.jpg
/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_44_9780.jpg
/home/pi/Desktop/images/30112025/17/59/image_30112025_17_59_55_10648.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_14_10055.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_25_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082855","1397082858","1397082860","1397082857","1397082862","1397082856"],"photo_ids_order":["1397082855","1397082856","1397082857","1397082858","1397082860","1397082862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb5725952a705057fe5751a18924060f.jpg","text":"TemporaryFile(/tmp/multipartBody6894911559562286489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_17_59_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9251f765afdbdb7aa9618ccf90957cd.jpg","text":"TemporaryFile(/tmp/multipartBody2354923674679538527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_17_59_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2ad1cdc33a6930e66a1f55c71166870.jpg","text":"TemporaryFile(/tmp/multipartBody4611183823244496862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_18_00_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cfb8e06d3d5abad1cb1ed6d086ae2da.jpg","text":"TemporaryFile(/tmp/multipartBody6478708796267232316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_17_59_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c5e23e7645caddbe95862af6e4c166c.jpg","text":"TemporaryFile(/tmp/multipartBody193048291693789194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_18_00_25_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7817dc0fade997319acbebf330c57dce.jpg","text":"TemporaryFile(/tmp/multipartBody7787305254969564843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528423464,"filename":"image_30112025_17_59_34_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082857","file1":"1397082856","file0":"1397082855","file4":"1397082860","file5":"1397082862","file3":"1397082858"},"map_files_photo_id_array":[{"photo_id":"1397082862","filename":"file5"},{"photo_id":"1397082857","filename":"file2"},{"photo_id":"1397082860","filename":"file4"},{"photo_id":"1397082856","filename":"file1"},{"photo_id":"1397082855","filename":"file0"},{"photo_id":"1397082858","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082855":["hashtag1","hashtag2"]},{"1397082858":["hashtag1","hashtag2"]},{"1397082860":["hashtag1","hashtag2"]},{"1397082857":["hashtag1","hashtag2"]},{"1397082862":["hashtag1","hashtag2"]},{"1397082856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082855, 1397082858, 1397082860, 1397082857, 1397082862, 1397082856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58120274543762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:46:42.394612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/28/image_31102025_13_28_09_2818.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_11_2706.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_15_3754.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_18_2670.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_20_2649.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_24_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_09_2818.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_11_2706.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_15_3754.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_18_2670.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_20_2649.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_24_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082876","1397082870","1397082878","1397082880","1397082874","1397082879"],"photo_ids_order":["1397082870","1397082874","1397082876","1397082878","1397082879","1397082880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82bfc8abd32544300740298848e6ba76.jpg","text":"TemporaryFile(/tmp/multipartBody6977307322659446655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_15_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/30/aae535883ee376152ad021d97283918a.jpg","text":"TemporaryFile(/tmp/multipartBody8902727625023987255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_09_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0094f871822a960d49b4047035d44b86.jpg","text":"TemporaryFile(/tmp/multipartBody2897374500564411871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_18_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/30/7e3a4e3a66a8a40b1640361f8fc5437d.jpg","text":"TemporaryFile(/tmp/multipartBody190423267729288890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_24_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/30/c3adc20b96177042dfff29eed6de372f.jpg","text":"TemporaryFile(/tmp/multipartBody6506712429287122913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_11_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/30/7761125142e2a79d3b06c837bb1f5b98.jpg","text":"TemporaryFile(/tmp/multipartBody2424032638741727853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528463286,"filename":"image_31102025_13_28_20_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082876","file1":"1397082874","file0":"1397082870","file4":"1397082879","file5":"1397082880","file3":"1397082878"},"map_files_photo_id_array":[{"photo_id":"1397082880","filename":"file5"},{"photo_id":"1397082876","filename":"file2"},{"photo_id":"1397082879","filename":"file4"},{"photo_id":"1397082874","filename":"file1"},{"photo_id":"1397082870","filename":"file0"},{"photo_id":"1397082878","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082876":["hashtag1","hashtag2"]},{"1397082870":["hashtag1","hashtag2"]},{"1397082878":["hashtag1","hashtag2"]},{"1397082880":["hashtag1","hashtag2"]},{"1397082874":["hashtag1","hashtag2"]},{"1397082879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082876, 1397082870, 1397082878, 1397082880, 1397082874, 1397082879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53972363471985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:47:22.583989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_34_9414.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_45_10694.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_54_9300.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_01_05_10560.jpg', '/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_15_10112.jpg', '/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_25_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_34_9414.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_45_10694.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_54_9300.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_01_05_10560.jpg
/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_15_10112.jpg
/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_25_9923.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6141905784606934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:47:32.620638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_21_2708.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_24_3599.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_27_2613.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_30_2631.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_33_3743.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_38_4422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_21_2708.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_24_3599.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_27_2613.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_30_2631.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_33_3743.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_38_4422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082904","1397082903","1397082902","1397082892","1397082895","1397082901"],"photo_ids_order":["1397082892","1397082895","1397082901","1397082902","1397082903","1397082904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1239ff307becf5953c573fbe12c7be42.jpg","text":"TemporaryFile(/tmp/multipartBody3597889957817095003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_38_4422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfec3bbf54cd3b43d839a1c7a5785301.jpg","text":"TemporaryFile(/tmp/multipartBody1663708019883666064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_33_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b232dcd035bc8d4a3b5ecb41c69cc57d.jpg","text":"TemporaryFile(/tmp/multipartBody4961066593689826652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_30_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc0178b259b80b9f1386ba1e621a1c57.jpg","text":"TemporaryFile(/tmp/multipartBody4843630842138648979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_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/30/27c6a398d027cd0edd2d40e88f3c3182.jpg","text":"TemporaryFile(/tmp/multipartBody8066338396742851651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_24_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/30/b70540986263998588890de341a529af.jpg","text":"TemporaryFile(/tmp/multipartBody892639938273683914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528518551,"filename":"image_25112025_20_45_27_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082901","file1":"1397082895","file0":"1397082892","file4":"1397082903","file5":"1397082904","file3":"1397082902"},"map_files_photo_id_array":[{"photo_id":"1397082904","filename":"file5"},{"photo_id":"1397082901","filename":"file2"},{"photo_id":"1397082903","filename":"file4"},{"photo_id":"1397082895","filename":"file1"},{"photo_id":"1397082892","filename":"file0"},{"photo_id":"1397082902","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082904":["hashtag1","hashtag2"]},{"1397082903":["hashtag1","hashtag2"]},{"1397082902":["hashtag1","hashtag2"]},{"1397082892":["hashtag1","hashtag2"]},{"1397082895":["hashtag1","hashtag2"]},{"1397082901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082904, 1397082903, 1397082902, 1397082892, 1397082895, 1397082901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36576724052429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:48:22.719828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_34_9414.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_45_10694.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_54_9300.jpg', '/home/pi/Desktop/images/30112025/18/00/image_30112025_18_01_05_10560.jpg', '/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_15_10112.jpg', '/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_25_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_34_9414.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_45_10694.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_00_54_9300.jpg
/home/pi/Desktop/images/30112025/18/00/image_30112025_18_01_05_10560.jpg
/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_15_10112.jpg
/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_25_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082921","1397082924","1397082918","1397082912","1397082915","1397082909"],"photo_ids_order":["1397082909","1397082912","1397082915","1397082918","1397082921","1397082924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ae0502d37ce96edbdd9398601493061.jpg","text":"TemporaryFile(/tmp/multipartBody7744317928823881693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_01_15_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39bde2cf26aa1638b7cdf7bd78638305.jpg","text":"TemporaryFile(/tmp/multipartBody1449156760551785123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_01_25_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/029b7672933cd74d41ecc3ea4519e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4916929885650451863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_01_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf0b6ea3fa8677f2e065416feb95e581.jpg","text":"TemporaryFile(/tmp/multipartBody1155006600127727789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_00_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b6ba199de0eddef0f5eae34e98dc15c.jpg","text":"TemporaryFile(/tmp/multipartBody1461725562397827824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_00_54_9300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c953c1400e61a077d67b4e09aec0bc5f.jpg","text":"TemporaryFile(/tmp/multipartBody8236524587847296292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528563373,"filename":"image_30112025_18_00_34_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082915","file1":"1397082912","file0":"1397082909","file4":"1397082921","file5":"1397082924","file3":"1397082918"},"map_files_photo_id_array":[{"photo_id":"1397082924","filename":"file5"},{"photo_id":"1397082915","filename":"file2"},{"photo_id":"1397082921","filename":"file4"},{"photo_id":"1397082912","filename":"file1"},{"photo_id":"1397082909","filename":"file0"},{"photo_id":"1397082918","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082921":["hashtag1","hashtag2"]},{"1397082924":["hashtag1","hashtag2"]},{"1397082918":["hashtag1","hashtag2"]},{"1397082912":["hashtag1","hashtag2"]},{"1397082915":["hashtag1","hashtag2"]},{"1397082909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082921, 1397082924, 1397082918, 1397082912, 1397082915, 1397082909)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.00643801689148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:49:11.999195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_42_3974.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_43_1678.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_48_1663.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_51_3694.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_54_2677.jpg', '/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_57_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_42_3974.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_43_1678.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_48_1663.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_51_3694.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_54_2677.jpg
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_45_57_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082930","1397082927","1397082937","1397082925","1397082940","1397082934"],"photo_ids_order":["1397082925","1397082927","1397082930","1397082934","1397082937","1397082940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f29f42f235ef32c9c6fe5c1886b337bb.jpg","text":"TemporaryFile(/tmp/multipartBody5567902049388248823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_48_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31ac926824e6b60c73182afff9fd18c5.jpg","text":"TemporaryFile(/tmp/multipartBody9024958397507891218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_43_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/30/9533cff3753ed33e4e1a371403fec847.jpg","text":"TemporaryFile(/tmp/multipartBody1596978873822692057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_54_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bf11c1dcefaf4c6211e5b206bf22b99.jpg","text":"TemporaryFile(/tmp/multipartBody8053916223227258419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_42_3974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96111a5a479efbff1fa8ce2715f1fc5d.jpg","text":"TemporaryFile(/tmp/multipartBody8643540194349652621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_57_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/30/5195f9b92d593f29fb87cc14250c56f3.jpg","text":"TemporaryFile(/tmp/multipartBody4696543823569163645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528616367,"filename":"image_25112025_20_45_51_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082930","file1":"1397082927","file0":"1397082925","file4":"1397082937","file5":"1397082940","file3":"1397082934"},"map_files_photo_id_array":[{"photo_id":"1397082940","filename":"file5"},{"photo_id":"1397082930","filename":"file2"},{"photo_id":"1397082937","filename":"file4"},{"photo_id":"1397082927","filename":"file1"},{"photo_id":"1397082925","filename":"file0"},{"photo_id":"1397082934","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397082930":["hashtag1","hashtag2"]},{"1397082927":["hashtag1","hashtag2"]},{"1397082937":["hashtag1","hashtag2"]},{"1397082925":["hashtag1","hashtag2"]},{"1397082940":["hashtag1","hashtag2"]},{"1397082934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397082930, 1397082927, 1397082937, 1397082925, 1397082940, 1397082934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88835644721985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:50:04.326589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_45_10675.jpg', '/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_24_9075.jpg', '/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_34_10131.jpg', '/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_45_10674.jpg', '/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_55_10012.jpg', '/home/pi/Desktop/images/30112025/18/02/image_30112025_18_03_05_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/01/image_30112025_18_01_45_10675.jpg
/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_24_9075.jpg
/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_34_10131.jpg
/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_45_10674.jpg
/home/pi/Desktop/images/30112025/18/02/image_30112025_18_02_55_10012.jpg
/home/pi/Desktop/images/30112025/18/02/image_30112025_18_03_05_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082951","1397082954","1397082948","1397082945","1397082944","1397082946"],"photo_ids_order":["1397082944","1397082945","1397082946","1397082948","1397082951","1397082954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e244acf1a05261dd210e0b50bddc580.jpg","text":"TemporaryFile(/tmp/multipartBody6605045956744306468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_02_55_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e4899606b6c00a0bd50b033af0d149d.jpg","text":"TemporaryFile(/tmp/multipartBody6817223089213953394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_03_05_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18956227fe1f47ee0ca0ca91ef4f1c22.jpg","text":"TemporaryFile(/tmp/multipartBody1707758835143437450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_02_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98ba53853a4362581c0daa11dce36232.jpg","text":"TemporaryFile(/tmp/multipartBody8065796269737368587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_02_24_9075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e31375ea6a34eaa5369c9959a215716d.jpg","text":"TemporaryFile(/tmp/multipartBody4942537684514155549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_01_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9af71e620528510cdf92043696946418.jpg","text":"TemporaryFile(/tmp/multipartBody7102870492701304201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528667576,"filename":"image_30112025_18_02_34_10131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082946","file1":"1397082945","file0":"1397082944","file4":"1397082951","file5":"1397082954","file3":"1397082948"},"map_files_photo_id_array":[{"photo_id":"1397082954","filename":"file5"},{"photo_id":"1397082946","filename":"file2"},{"photo_id":"1397082951","filename":"file4"},{"photo_id":"1397082945","filename":"file1"},{"photo_id":"1397082944","filename":"file0"},{"photo_id":"1397082948","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082951":["hashtag1","hashtag2"]},{"1397082954":["hashtag1","hashtag2"]},{"1397082948":["hashtag1","hashtag2"]},{"1397082945":["hashtag1","hashtag2"]},{"1397082944":["hashtag1","hashtag2"]},{"1397082946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082951, 1397082954, 1397082948, 1397082945, 1397082944, 1397082946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67121458053589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:50:44.004143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/28/image_31102025_13_28_27_2740.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_30_2795.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_32_2682.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_36_3666.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_39_2831.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_42_2939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_27_2740.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_30_2795.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_32_2682.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_36_3666.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_39_2831.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_42_2939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082972","1397082975","1397082974","1397082973","1397082976","1397082961"],"photo_ids_order":["1397082961","1397082972","1397082973","1397082974","1397082975","1397082976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40255361ea1b61cef8268a67b39a746f.jpg","text":"TemporaryFile(/tmp/multipartBody2613530565067446697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_30_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/30/f0c9080c5d9508b51f11c9a4bf56f4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2494814434389802703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_39_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/30/408e24a55aed8b326ea8aca846af1a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7054645147300212901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_36_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/30/6cf8219b87d7a851ff228b18b529b167.jpg","text":"TemporaryFile(/tmp/multipartBody8204727116122279312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/091e75bb2965d7f2eb0717ba3a40bed1.jpg","text":"TemporaryFile(/tmp/multipartBody6182631362661790142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_42_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/30/fa26328f2632a12a6bdf7cd576b69e68.jpg","text":"TemporaryFile(/tmp/multipartBody8456445437773046473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528704935,"filename":"image_31102025_13_28_27_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082973","file1":"1397082972","file0":"1397082961","file4":"1397082975","file5":"1397082976","file3":"1397082974"},"map_files_photo_id_array":[{"photo_id":"1397082976","filename":"file5"},{"photo_id":"1397082973","filename":"file2"},{"photo_id":"1397082975","filename":"file4"},{"photo_id":"1397082972","filename":"file1"},{"photo_id":"1397082961","filename":"file0"},{"photo_id":"1397082974","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397082972":["hashtag1","hashtag2"]},{"1397082975":["hashtag1","hashtag2"]},{"1397082974":["hashtag1","hashtag2"]},{"1397082973":["hashtag1","hashtag2"]},{"1397082976":["hashtag1","hashtag2"]},{"1397082961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397082972, 1397082975, 1397082974, 1397082973, 1397082976, 1397082961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94032526016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:51:25.354067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_14_9467.jpg', '/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_25_10659.jpg', '/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_44_9538.jpg', '/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_55_10722.jpg', '/home/pi/Desktop/images/30112025/18/03/image_30112025_18_04_05_9618.jpg', '/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_14_9467.jpg
/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_25_10659.jpg
/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_44_9538.jpg
/home/pi/Desktop/images/30112025/18/03/image_30112025_18_03_55_10722.jpg
/home/pi/Desktop/images/30112025/18/03/image_30112025_18_04_05_9618.jpg
/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_14_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397082987","1397082989","1397082980","1397082983","1397082992","1397082994"],"photo_ids_order":["1397082980","1397082983","1397082987","1397082989","1397082992","1397082994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a74aa0a3e4becde4727e88752f8fb3e.jpg","text":"TemporaryFile(/tmp/multipartBody5433035853815571719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_03_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b2f8cdc0dc8d759bd28dfdacfca63a7.jpg","text":"TemporaryFile(/tmp/multipartBody2943137484906589942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_03_55_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b17d9e15a5604f05f01df73ccd2a49d.jpg","text":"TemporaryFile(/tmp/multipartBody2602251565498020471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_03_14_9467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16d12a3463beb3e1b0d1d99e1985fab5.jpg","text":"TemporaryFile(/tmp/multipartBody3341251370385411051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_03_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfe3fcff0ca61628f1a09ea3970f02a3.jpg","text":"TemporaryFile(/tmp/multipartBody3416200174409398683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_04_05_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ca1d87cc623d4a34a415a1fa278de27.jpg","text":"TemporaryFile(/tmp/multipartBody1927190785669491708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528746035,"filename":"image_30112025_18_04_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082987","file1":"1397082983","file0":"1397082980","file4":"1397082992","file5":"1397082994","file3":"1397082989"},"map_files_photo_id_array":[{"photo_id":"1397082994","filename":"file5"},{"photo_id":"1397082987","filename":"file2"},{"photo_id":"1397082992","filename":"file4"},{"photo_id":"1397082983","filename":"file1"},{"photo_id":"1397082980","filename":"file0"},{"photo_id":"1397082989","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397082987":["hashtag1","hashtag2"]},{"1397082989":["hashtag1","hashtag2"]},{"1397082980":["hashtag1","hashtag2"]},{"1397082983":["hashtag1","hashtag2"]},{"1397082992":["hashtag1","hashtag2"]},{"1397082994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397082987, 1397082989, 1397082980, 1397082983, 1397082992, 1397082994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50084614753723 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 --only_old 1
2025-11-30 19:52:12.302465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/45/image_25112025_20_46_00_3755.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_03_2644.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_06_2812.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_12_2648.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_15_2880.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_17_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/45/image_25112025_20_46_00_3755.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_03_2644.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_06_2812.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_12_2648.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_15_2880.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_17_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083002","1397083005","1397083008","1397082995","1397082996","1397082999"],"photo_ids_order":["1397082995","1397082996","1397082999","1397083002","1397083005","1397083008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/549c635927243cec46cd88a800891930.jpg","text":"TemporaryFile(/tmp/multipartBody8538765756492333960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_12_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d89763ac05bf45e216fbe6c9da6263b2.jpg","text":"TemporaryFile(/tmp/multipartBody8193720140848206212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_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/30/4c107f425910e62fbc53cc2d00f588fd.jpg","text":"TemporaryFile(/tmp/multipartBody2336465131698239407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_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/30/046f90dac641618b7c4940eea0b40a32.jpg","text":"TemporaryFile(/tmp/multipartBody8546114975779954709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_00_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/30/23b50ba7c5b5f0edf2196abfec90eb91.jpg","text":"TemporaryFile(/tmp/multipartBody3874923486427639231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_03_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/30/b669bd8272f01af5e7b779c50bb2da1f.jpg","text":"TemporaryFile(/tmp/multipartBody5535512681955827714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528793984,"filename":"image_25112025_20_46_06_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397082999","file1":"1397082996","file0":"1397082995","file4":"1397083005","file5":"1397083008","file3":"1397083002"},"map_files_photo_id_array":[{"photo_id":"1397083008","filename":"file5"},{"photo_id":"1397082999","filename":"file2"},{"photo_id":"1397083005","filename":"file4"},{"photo_id":"1397082996","filename":"file1"},{"photo_id":"1397082995","filename":"file0"},{"photo_id":"1397083002","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397083002":["hashtag1","hashtag2"]},{"1397083005":["hashtag1","hashtag2"]},{"1397083008":["hashtag1","hashtag2"]},{"1397082995":["hashtag1","hashtag2"]},{"1397082996":["hashtag1","hashtag2"]},{"1397082999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397083002, 1397083005, 1397083008, 1397082995, 1397082996, 1397082999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20826029777527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:53:03.236545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_25_10638.jpg', '/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_55_9505.jpg', '/home/pi/Desktop/images/30112025/18/04/image_30112025_18_05_04_9612.jpg', '/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_15_10751.jpg', '/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_25_9876.jpg', '/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_25_10638.jpg
/home/pi/Desktop/images/30112025/18/04/image_30112025_18_04_55_9505.jpg
/home/pi/Desktop/images/30112025/18/04/image_30112025_18_05_04_9612.jpg
/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_15_10751.jpg
/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_25_9876.jpg
/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083014","1397083013","1397083016","1397083018","1397083021","1397083015"],"photo_ids_order":["1397083013","1397083014","1397083015","1397083016","1397083018","1397083021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/844d403169f03395a61f92fef37a4513.jpg","text":"TemporaryFile(/tmp/multipartBody4280235837668179164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_04_55_9505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d12f3be9332ea55718da2cb171a47cd.jpg","text":"TemporaryFile(/tmp/multipartBody4802669879334009471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_04_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eba7e2e0ea449b8ebb8386eff82882bb.jpg","text":"TemporaryFile(/tmp/multipartBody213544057110390619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_05_15_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9ad2a199cc815ef0f686dedc381f68c.jpg","text":"TemporaryFile(/tmp/multipartBody6187738460406362785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_05_25_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd9e98658fc48a406081ab10642842e9.jpg","text":"TemporaryFile(/tmp/multipartBody7054509591691716274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_05_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97f0a331e78c214775f1ac36aeeb5956.jpg","text":"TemporaryFile(/tmp/multipartBody8151305524758100073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528843950,"filename":"image_30112025_18_05_04_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083015","file1":"1397083014","file0":"1397083013","file4":"1397083018","file5":"1397083021","file3":"1397083016"},"map_files_photo_id_array":[{"photo_id":"1397083021","filename":"file5"},{"photo_id":"1397083015","filename":"file2"},{"photo_id":"1397083018","filename":"file4"},{"photo_id":"1397083014","filename":"file1"},{"photo_id":"1397083013","filename":"file0"},{"photo_id":"1397083016","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397083014":["hashtag1","hashtag2"]},{"1397083013":["hashtag1","hashtag2"]},{"1397083016":["hashtag1","hashtag2"]},{"1397083018":["hashtag1","hashtag2"]},{"1397083021":["hashtag1","hashtag2"]},{"1397083015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397083014, 1397083013, 1397083016, 1397083018, 1397083021, 1397083015)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.28624367713928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:54:02.500642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_45_10626.jpg', '/home/pi/Desktop/images/30112025/18/05/image_30112025_18_06_04_9638.jpg', '/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_15_10652.jpg', '/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_25_9672.jpg', '/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_34_9661.jpg', '/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_45_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/05/image_30112025_18_05_45_10626.jpg
/home/pi/Desktop/images/30112025/18/05/image_30112025_18_06_04_9638.jpg
/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_15_10652.jpg
/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_25_9672.jpg
/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_34_9661.jpg
/home/pi/Desktop/images/30112025/18/06/image_30112025_18_06_45_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083035","1397083043","1397083034","1397083037","1397083036","1397083039"],"photo_ids_order":["1397083034","1397083035","1397083036","1397083037","1397083039","1397083043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/487131915eeef25af57c24280b2d0124.jpg","text":"TemporaryFile(/tmp/multipartBody9102499185527842398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_06_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a986874842766a8c8d8e515903868294.jpg","text":"TemporaryFile(/tmp/multipartBody2184640363447728985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_06_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d19a58257632e7757527e0b851a11fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4056628351143665829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_05_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb34c9ee5fed632addb2fa0596a1f65f.jpg","text":"TemporaryFile(/tmp/multipartBody5414810728576153323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_06_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6563c56edd4f8b75854f57b5ed043da.jpg","text":"TemporaryFile(/tmp/multipartBody4226203176537323860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_06_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d07413553544dca64d5cadf20866d14.jpg","text":"TemporaryFile(/tmp/multipartBody5678805200048018461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528903278,"filename":"image_30112025_18_06_34_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083036","file1":"1397083035","file0":"1397083034","file4":"1397083039","file5":"1397083043","file3":"1397083037"},"map_files_photo_id_array":[{"photo_id":"1397083043","filename":"file5"},{"photo_id":"1397083036","filename":"file2"},{"photo_id":"1397083039","filename":"file4"},{"photo_id":"1397083035","filename":"file1"},{"photo_id":"1397083034","filename":"file0"},{"photo_id":"1397083037","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397083035":["hashtag1","hashtag2"]},{"1397083043":["hashtag1","hashtag2"]},{"1397083034":["hashtag1","hashtag2"]},{"1397083037":["hashtag1","hashtag2"]},{"1397083036":["hashtag1","hashtag2"]},{"1397083039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397083035, 1397083043, 1397083034, 1397083037, 1397083036, 1397083039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23956632614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:54:42.025660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/28/image_31102025_13_28_47_2745.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_51_3665.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_54_2772.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_57_2800.jpg', '/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_59_2764.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_03_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/13/28/image_31102025_13_28_47_2745.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_51_3665.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_54_2772.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_57_2800.jpg
/home/pi/Desktop/images/31102025/13/28/image_31102025_13_28_59_2764.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_03_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":["1397083056","1397083055","1397083054","1397083057","1397083051","1397083053"],"photo_ids_order":["1397083051","1397083053","1397083054","1397083055","1397083056","1397083057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c893b532a1d721247c51df71cb2863f9.jpg","text":"TemporaryFile(/tmp/multipartBody2788522101315028705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_28_59_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/30/e71dbccbeb0d28b37d25dfe625332eea.jpg","text":"TemporaryFile(/tmp/multipartBody952232578968303318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_28_57_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/30/a35f295e5c93b215fbd743f2714e74fb.jpg","text":"TemporaryFile(/tmp/multipartBody6896253642812137569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_28_54_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f243a691607f3af840e0ec505e354a56.jpg","text":"TemporaryFile(/tmp/multipartBody7253759139404751141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_29_03_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/30/144e43b04c6772213bd07b08f3a0d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8194102250368331495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_28_47_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/30/10f143cd0d15de2207077b8ce2fdcfda.jpg","text":"TemporaryFile(/tmp/multipartBody1232177907266089214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528942914,"filename":"image_31102025_13_28_51_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083054","file1":"1397083053","file0":"1397083051","file4":"1397083056","file5":"1397083057","file3":"1397083055"},"map_files_photo_id_array":[{"photo_id":"1397083057","filename":"file5"},{"photo_id":"1397083054","filename":"file2"},{"photo_id":"1397083056","filename":"file4"},{"photo_id":"1397083053","filename":"file1"},{"photo_id":"1397083051","filename":"file0"},{"photo_id":"1397083055","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397083056":["hashtag1","hashtag2"]},{"1397083055":["hashtag1","hashtag2"]},{"1397083054":["hashtag1","hashtag2"]},{"1397083057":["hashtag1","hashtag2"]},{"1397083051":["hashtag1","hashtag2"]},{"1397083053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397083056, 1397083055, 1397083054, 1397083057, 1397083051, 1397083053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33277368545532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:55:22.163580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/06/image_30112025_18_07_04_9730.jpg', '/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_14_9827.jpg', '/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_25_10598.jpg', '/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_35_9760.jpg', '/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_44_9573.jpg', '/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_55_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/06/image_30112025_18_07_04_9730.jpg
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_14_9827.jpg
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_25_10598.jpg
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_35_9760.jpg
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_44_9573.jpg
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_07_55_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083070","1397083073","1397083060","1397083063","1397083066","1397083068"],"photo_ids_order":["1397083060","1397083063","1397083066","1397083068","1397083070","1397083073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcc772ab071e663170b5e9e780b5fa35.jpg","text":"TemporaryFile(/tmp/multipartBody317185837144803266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1838fe7110b60d519afb4b8dc63c934d.jpg","text":"TemporaryFile(/tmp/multipartBody5223091603225271301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_55_10385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee84a33c8a991a36e3dbbf0e39d7c5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2401373854299656532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffb180e90f63d17f28f2895658e7da47.jpg","text":"TemporaryFile(/tmp/multipartBody4228938622051123926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08c50aa6fbc17250ff8a0023eb005a72.jpg","text":"TemporaryFile(/tmp/multipartBody6230264650998281696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71cf11374e5120ff851e3d95f99a862f.jpg","text":"TemporaryFile(/tmp/multipartBody5213203490273549181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764528982835,"filename":"image_30112025_18_07_35_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083066","file1":"1397083063","file0":"1397083060","file4":"1397083070","file5":"1397083073","file3":"1397083068"},"map_files_photo_id_array":[{"photo_id":"1397083073","filename":"file5"},{"photo_id":"1397083066","filename":"file2"},{"photo_id":"1397083070","filename":"file4"},{"photo_id":"1397083063","filename":"file1"},{"photo_id":"1397083060","filename":"file0"},{"photo_id":"1397083068","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397083070":["hashtag1","hashtag2"]},{"1397083073":["hashtag1","hashtag2"]},{"1397083060":["hashtag1","hashtag2"]},{"1397083063":["hashtag1","hashtag2"]},{"1397083066":["hashtag1","hashtag2"]},{"1397083068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397083070, 1397083073, 1397083060, 1397083063, 1397083066, 1397083068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433791637420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:56:03.037978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/07/image_30112025_18_08_04_9646.jpg', '/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_15_10658.jpg', '/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_25_9692.jpg', '/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_35_10591.jpg', '/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_45_9597.jpg', '/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/07/image_30112025_18_08_04_9646.jpg
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_15_10658.jpg
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_25_9692.jpg
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_35_10591.jpg
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_45_9597.jpg
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_08_55_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083076","1397083085","1397083079","1397083081","1397083078","1397083083"],"photo_ids_order":["1397083076","1397083078","1397083079","1397083081","1397083083","1397083085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cf1882b3bc3b3f12fc624941e9d28c9.jpg","text":"TemporaryFile(/tmp/multipartBody8912140500069391614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2054d8fb955511af97d73dbfcbdbcb12.jpg","text":"TemporaryFile(/tmp/multipartBody7103402115974037542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cb88787c6a51e32ae48b91a0fc003ef2.jpg","text":"TemporaryFile(/tmp/multipartBody56216794067354373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_25_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71db81ede71b1bb793e59b92f7c11187.jpg","text":"TemporaryFile(/tmp/multipartBody4185798736260434327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd9f162009e366780ffa4f171d4c1b32.jpg","text":"TemporaryFile(/tmp/multipartBody8867616971909740541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5a279ff08ce239898e7bc20d93b0535.jpg","text":"TemporaryFile(/tmp/multipartBody4141264425657983018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529025631,"filename":"image_30112025_18_08_45_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083079","file1":"1397083078","file0":"1397083076","file4":"1397083083","file5":"1397083085","file3":"1397083081"},"map_files_photo_id_array":[{"photo_id":"1397083085","filename":"file5"},{"photo_id":"1397083079","filename":"file2"},{"photo_id":"1397083083","filename":"file4"},{"photo_id":"1397083078","filename":"file1"},{"photo_id":"1397083076","filename":"file0"},{"photo_id":"1397083081","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397083076":["hashtag1","hashtag2"]},{"1397083085":["hashtag1","hashtag2"]},{"1397083079":["hashtag1","hashtag2"]},{"1397083081":["hashtag1","hashtag2"]},{"1397083078":["hashtag1","hashtag2"]},{"1397083083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397083076, 1397083085, 1397083079, 1397083081, 1397083078, 1397083083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20901346206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:56:42.652412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/29/image_31102025_13_29_05_2614.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_08_2773.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_17_2556.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_20_2716.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_24_3560.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_26_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_05_2614.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_08_2773.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_17_2556.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_20_2716.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_24_3560.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_26_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083091","1397083099","1397083093","1397083096","1397083095","1397083098"],"photo_ids_order":["1397083091","1397083093","1397083095","1397083096","1397083098","1397083099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/474d7ecbe16461d2f53f8d3eb24bbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody5293760329902979159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_05_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/30/aaef27d738effade9039e4adabb12aa9.jpg","text":"TemporaryFile(/tmp/multipartBody1480278319542319095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_26_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/30/79101bcd92bf6d5aea04a0e24d606df2.jpg","text":"TemporaryFile(/tmp/multipartBody3398260904730296604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_08_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a96d35f3c2a437520c9e2c7278f9588.jpg","text":"TemporaryFile(/tmp/multipartBody540472874349590985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_20_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/30/0afa2e52d05df87056edf0893e64acf7.jpg","text":"TemporaryFile(/tmp/multipartBody2758544230195954925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_17_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/30/2d52143a3c058409fa2bb56f7fb103cb.jpg","text":"TemporaryFile(/tmp/multipartBody3276188285559525974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529063498,"filename":"image_31102025_13_29_24_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083095","file1":"1397083093","file0":"1397083091","file4":"1397083098","file5":"1397083099","file3":"1397083096"},"map_files_photo_id_array":[{"photo_id":"1397083099","filename":"file5"},{"photo_id":"1397083095","filename":"file2"},{"photo_id":"1397083098","filename":"file4"},{"photo_id":"1397083093","filename":"file1"},{"photo_id":"1397083091","filename":"file0"},{"photo_id":"1397083096","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397083091":["hashtag1","hashtag2"]},{"1397083099":["hashtag1","hashtag2"]},{"1397083093":["hashtag1","hashtag2"]},{"1397083096":["hashtag1","hashtag2"]},{"1397083095":["hashtag1","hashtag2"]},{"1397083098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397083091, 1397083099, 1397083093, 1397083096, 1397083095, 1397083098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13529992103577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 19:57:21.898359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 19:57:32.649056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_24_2503.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_27_3599.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_30_2589.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_33_2755.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_36_3587.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_42_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_24_2503.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_27_3599.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_30_2589.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_33_2755.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_36_3587.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_42_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.7667968273162842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 19:57:41.946355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/29/image_31102025_13_29_29_2716.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_33_3554.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_42_3570.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_51_2670.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_53_2594.jpg', '/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_56_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/13/29/image_31102025_13_29_29_2716.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_33_3554.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_42_3570.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_51_2670.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_53_2594.jpg
/home/pi/Desktop/images/31102025/13/29/image_31102025_13_29_56_2752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083119","1397083112","1397083121","1397083115","1397083117","1397083120"],"photo_ids_order":["1397083112","1397083115","1397083117","1397083119","1397083120","1397083121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8bf6c295dff83ce1e11158cd8380543.jpg","text":"TemporaryFile(/tmp/multipartBody1537853737905354800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_51_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ef506ada3fa1b200c290352b483d890.jpg","text":"TemporaryFile(/tmp/multipartBody8529969587864950599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_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/30/263c5d0ea1fb113f8a7f7ba28aaf1454.jpg","text":"TemporaryFile(/tmp/multipartBody2355486155316059192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_56_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/30/16a9cf99747f7e561d62351f1933ccde.jpg","text":"TemporaryFile(/tmp/multipartBody4111279469102109661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_33_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/30/9a0985469f08ca8a96ccc3dfce7b855f.jpg","text":"TemporaryFile(/tmp/multipartBody3091109182855213825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_42_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/30/a534ee1af4ea494b764f625c48a81a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7605276816728559533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529123529,"filename":"image_31102025_13_29_53_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083117","file1":"1397083115","file0":"1397083112","file4":"1397083120","file5":"1397083121","file3":"1397083119"},"map_files_photo_id_array":[{"photo_id":"1397083121","filename":"file5"},{"photo_id":"1397083117","filename":"file2"},{"photo_id":"1397083120","filename":"file4"},{"photo_id":"1397083115","filename":"file1"},{"photo_id":"1397083112","filename":"file0"},{"photo_id":"1397083119","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397083119":["hashtag1","hashtag2"]},{"1397083112":["hashtag1","hashtag2"]},{"1397083121":["hashtag1","hashtag2"]},{"1397083115":["hashtag1","hashtag2"]},{"1397083117":["hashtag1","hashtag2"]},{"1397083120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397083119, 1397083112, 1397083121, 1397083115, 1397083117, 1397083120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25708746910095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 19:59:03.155087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/08/image_30112025_18_09_05_10563.jpg', '/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_15_9681.jpg', '/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_25_9854.jpg', '/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_34_9694.jpg', '/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_45_10686.jpg', '/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/08/image_30112025_18_09_05_10563.jpg
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_15_9681.jpg
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_25_9854.jpg
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_34_9694.jpg
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_45_10686.jpg
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_09_55_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397083448","1397083403","1397083328","1397083492","1397083552","1397083365"],"photo_ids_order":["1397083328","1397083365","1397083403","1397083448","1397083492","1397083552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff2e83d3648b6792b84caf9bf5ab0d55.jpg","text":"TemporaryFile(/tmp/multipartBody8519148898192637229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a59adab1064b1cb236f6eb1a09360a88.jpg","text":"TemporaryFile(/tmp/multipartBody574354110703299680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_25_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf69d88599e2c482fe5d96406738654d.jpg","text":"TemporaryFile(/tmp/multipartBody5957399574286403191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_05_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e994c7dc97a028027b993559d50a6f50.jpg","text":"TemporaryFile(/tmp/multipartBody2569859498351020001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffab5de0fcc41fb5af842bfecbed60cf.jpg","text":"TemporaryFile(/tmp/multipartBody1134760884620736992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a4d64d8597a87bec73598fa02511651.jpg","text":"TemporaryFile(/tmp/multipartBody8149604464108682170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529206407,"filename":"image_30112025_18_09_15_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397083403","file1":"1397083365","file0":"1397083328","file4":"1397083492","file5":"1397083552","file3":"1397083448"},"map_files_photo_id_array":[{"photo_id":"1397083552","filename":"file5"},{"photo_id":"1397083403","filename":"file2"},{"photo_id":"1397083492","filename":"file4"},{"photo_id":"1397083365","filename":"file1"},{"photo_id":"1397083328","filename":"file0"},{"photo_id":"1397083448","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397083448":["hashtag1","hashtag2"]},{"1397083403":["hashtag1","hashtag2"]},{"1397083328":["hashtag1","hashtag2"]},{"1397083492":["hashtag1","hashtag2"]},{"1397083552":["hashtag1","hashtag2"]},{"1397083365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397083448, 1397083403, 1397083328, 1397083492, 1397083552, 1397083365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28070402145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:00:02.959588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/09/image_30112025_18_10_05_10613.jpg', '/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_15_9623.jpg', '/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_25_9724.jpg', '/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_35_10553.jpg', '/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_45_9677.jpg', '/home/pi/Desktop/images/30112025/18/10/image_30112025_18_11_05_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/09/image_30112025_18_10_05_10613.jpg
/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_15_9623.jpg
/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_25_9724.jpg
/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_35_10553.jpg
/home/pi/Desktop/images/30112025/18/10/image_30112025_18_10_45_9677.jpg
/home/pi/Desktop/images/30112025/18/10/image_30112025_18_11_05_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397084651","1397084420","1397084860","1397084542","1397084308","1397084763"],"photo_ids_order":["1397084308","1397084420","1397084542","1397084651","1397084763","1397084860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f67946bd455f6fc0cde0377abbb5a020.jpg","text":"TemporaryFile(/tmp/multipartBody2242480969436215963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_10_35_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4c1d5364af0f09bcb7c1d129377c499.jpg","text":"TemporaryFile(/tmp/multipartBody4004299250902784886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_10_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/947615e499172b26e254a31dcd9f3e52.jpg","text":"TemporaryFile(/tmp/multipartBody1979717704543320649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_11_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf84833b59a29a009103023da21d9b88.jpg","text":"TemporaryFile(/tmp/multipartBody7096160796363382382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_10_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cc79be3f09e496435414fa21c228a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8618660319083578810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_10_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9411694a69b6f6c20c881c80c8c3590a.jpg","text":"TemporaryFile(/tmp/multipartBody339114922132265532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529266300,"filename":"image_30112025_18_10_45_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397084542","file1":"1397084420","file0":"1397084308","file4":"1397084763","file5":"1397084860","file3":"1397084651"},"map_files_photo_id_array":[{"photo_id":"1397084860","filename":"file5"},{"photo_id":"1397084542","filename":"file2"},{"photo_id":"1397084763","filename":"file4"},{"photo_id":"1397084420","filename":"file1"},{"photo_id":"1397084308","filename":"file0"},{"photo_id":"1397084651","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397084651":["hashtag1","hashtag2"]},{"1397084420":["hashtag1","hashtag2"]},{"1397084860":["hashtag1","hashtag2"]},{"1397084542":["hashtag1","hashtag2"]},{"1397084308":["hashtag1","hashtag2"]},{"1397084763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397084651, 1397084420, 1397084860, 1397084542, 1397084308, 1397084763)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.216881275177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:01:03.289199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_15_9611.jpg', '/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_24_9674.jpg', '/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_35_10681.jpg', '/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_45_9904.jpg', '/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_55_9723.jpg', '/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_15_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_15_9611.jpg
/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_24_9674.jpg
/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_35_10681.jpg
/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_45_9904.jpg
/home/pi/Desktop/images/30112025/18/11/image_30112025_18_11_55_9723.jpg
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_15_10800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397085650","1397085799","1397085730","1397085867","1397085882","1397085936"],"photo_ids_order":["1397085650","1397085730","1397085799","1397085867","1397085882","1397085936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df425fa2b6ab256de6226c49d24237ee.jpg","text":"TemporaryFile(/tmp/multipartBody3057014856975590345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_11_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bc24d4a735b0539103efc4b569671a41.jpg","text":"TemporaryFile(/tmp/multipartBody8317322715034890974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_11_35_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/30/acee2f49e9adba8e15e740b05abbd92a.jpg","text":"TemporaryFile(/tmp/multipartBody8830667884131903559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_11_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65d07eaa6ea15820642263961eaa6fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5736145985940880657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_11_45_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2cdb04c92a38b38cc7cc7f0898eaf69.jpg","text":"TemporaryFile(/tmp/multipartBody886686998343177953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_11_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/532c8d9f52566850f6c0a7162fc5c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7491318313980895760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529326504,"filename":"image_30112025_18_12_15_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397085799","file1":"1397085730","file0":"1397085650","file4":"1397085882","file5":"1397085936","file3":"1397085867"},"map_files_photo_id_array":[{"photo_id":"1397085936","filename":"file5"},{"photo_id":"1397085799","filename":"file2"},{"photo_id":"1397085882","filename":"file4"},{"photo_id":"1397085730","filename":"file1"},{"photo_id":"1397085650","filename":"file0"},{"photo_id":"1397085867","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397085650":["hashtag1","hashtag2"]},{"1397085799":["hashtag1","hashtag2"]},{"1397085730":["hashtag1","hashtag2"]},{"1397085867":["hashtag1","hashtag2"]},{"1397085882":["hashtag1","hashtag2"]},{"1397085936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397085650, 1397085799, 1397085730, 1397085867, 1397085882, 1397085936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.364540815353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:02:02.517393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_25_9758.jpg', '/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_35_9746.jpg', '/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_44_9652.jpg', '/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_55_10543.jpg', '/home/pi/Desktop/images/30112025/18/12/image_30112025_18_13_05_9636.jpg', '/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_15_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_25_9758.jpg
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_35_9746.jpg
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_44_9652.jpg
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_12_55_10543.jpg
/home/pi/Desktop/images/30112025/18/12/image_30112025_18_13_05_9636.jpg
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_15_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397086390","1397086444","1397086324","1397086713","1397086631","1397086544"],"photo_ids_order":["1397086324","1397086390","1397086444","1397086544","1397086631","1397086713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f9ab7d4c465b24b43dd440a8d0faad1.jpg","text":"TemporaryFile(/tmp/multipartBody4949669244298093541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_12_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65d819fac58a7b843084a7033c6e9a46.jpg","text":"TemporaryFile(/tmp/multipartBody7631774756012132066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_12_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e43d5460bb4ce297287e2e4b7286451a.jpg","text":"TemporaryFile(/tmp/multipartBody8452276530455075711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_12_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71375a739ab3bff5eb7bc881d0a0b065.jpg","text":"TemporaryFile(/tmp/multipartBody894271398620883209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_13_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33d91462eac6a71782ea40159bd6b08f.jpg","text":"TemporaryFile(/tmp/multipartBody1030291889726290159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_13_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66d977ace54302e4491f79aaf32489b1.jpg","text":"TemporaryFile(/tmp/multipartBody623676374017557096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529383212,"filename":"image_30112025_18_12_55_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397086444","file1":"1397086390","file0":"1397086324","file4":"1397086631","file5":"1397086713","file3":"1397086544"},"map_files_photo_id_array":[{"photo_id":"1397086713","filename":"file5"},{"photo_id":"1397086444","filename":"file2"},{"photo_id":"1397086631","filename":"file4"},{"photo_id":"1397086390","filename":"file1"},{"photo_id":"1397086324","filename":"file0"},{"photo_id":"1397086544","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397086390":["hashtag1","hashtag2"]},{"1397086444":["hashtag1","hashtag2"]},{"1397086324":["hashtag1","hashtag2"]},{"1397086713":["hashtag1","hashtag2"]},{"1397086631":["hashtag1","hashtag2"]},{"1397086544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397086390, 1397086444, 1397086324, 1397086713, 1397086631, 1397086544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51829171180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:02:42.132433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/31/image_31102025_13_31_07_3013.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_10_3638.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_13_2771.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_17_3555.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_20_2834.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_23_3000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_07_3013.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_10_3638.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_13_2771.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_17_3555.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_20_2834.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_23_3000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397087163","1397087046","1397087007","1397086967","1397087219","1397087089"],"photo_ids_order":["1397086967","1397087007","1397087046","1397087089","1397087163","1397087219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/480b6ff24fceffad130443b23971b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody291590933232599699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_20_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/30/cb45bdc85895a19f8884d8b7056697c7.jpg","text":"TemporaryFile(/tmp/multipartBody3203186565180821711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_13_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5c4a3f8823b8f2912b4835325882efd.jpg","text":"TemporaryFile(/tmp/multipartBody4725125635006085326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_10_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/30/50ab29f13a72191ba4f025877324fabc.jpg","text":"TemporaryFile(/tmp/multipartBody5417266838840193906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_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/30/2d10471bc643df65ecdf4cd1a93a2ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6003960727690918543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_23_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5498f774a21f155afce87604cfe0523b.jpg","text":"TemporaryFile(/tmp/multipartBody4281025457756070017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529422989,"filename":"image_31102025_13_31_17_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397087046","file1":"1397087007","file0":"1397086967","file4":"1397087163","file5":"1397087219","file3":"1397087089"},"map_files_photo_id_array":[{"photo_id":"1397087219","filename":"file5"},{"photo_id":"1397087046","filename":"file2"},{"photo_id":"1397087163","filename":"file4"},{"photo_id":"1397087007","filename":"file1"},{"photo_id":"1397086967","filename":"file0"},{"photo_id":"1397087089","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397087163":["hashtag1","hashtag2"]},{"1397087046":["hashtag1","hashtag2"]},{"1397087007":["hashtag1","hashtag2"]},{"1397086967":["hashtag1","hashtag2"]},{"1397087219":["hashtag1","hashtag2"]},{"1397087089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397087163, 1397087046, 1397087007, 1397086967, 1397087219, 1397087089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80972909927368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:03:22.330039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_25_9793.jpg', '/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_35_9716.jpg', '/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_44_9623.jpg', '/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_55_10683.jpg', '/home/pi/Desktop/images/30112025/18/13/image_30112025_18_14_05_9643.jpg', '/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_15_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_25_9793.jpg
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_35_9716.jpg
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_44_9623.jpg
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_13_55_10683.jpg
/home/pi/Desktop/images/30112025/18/13/image_30112025_18_14_05_9643.jpg
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_15_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397087500","1397087742","1397088050","1397087907","1397087616","1397087377"],"photo_ids_order":["1397087377","1397087500","1397087616","1397087742","1397087907","1397088050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86354f0791c2cb21680ab5ff1b18fb33.jpg","text":"TemporaryFile(/tmp/multipartBody8216430482548367270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_13_35_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4935376414302445904f0b37c37eef68.jpg","text":"TemporaryFile(/tmp/multipartBody913345474297230489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_13_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5b819fb8557022687a4014340cb603aa.jpg","text":"TemporaryFile(/tmp/multipartBody4909263126439404391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_14_15_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d9228dc9a0e7980bf56f97ccb2a3a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4493311400214639468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_14_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ab7c34074cc94631d618d4cb74f8d81.jpg","text":"TemporaryFile(/tmp/multipartBody1235504668885311581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_13_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bef92f47a7f76077a89abdf02fec59fc.jpg","text":"TemporaryFile(/tmp/multipartBody582583025682689691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529462991,"filename":"image_30112025_18_13_25_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397087616","file1":"1397087500","file0":"1397087377","file4":"1397087907","file5":"1397088050","file3":"1397087742"},"map_files_photo_id_array":[{"photo_id":"1397088050","filename":"file5"},{"photo_id":"1397087616","filename":"file2"},{"photo_id":"1397087907","filename":"file4"},{"photo_id":"1397087500","filename":"file1"},{"photo_id":"1397087377","filename":"file0"},{"photo_id":"1397087742","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397087500":["hashtag1","hashtag2"]},{"1397087742":["hashtag1","hashtag2"]},{"1397088050":["hashtag1","hashtag2"]},{"1397087907":["hashtag1","hashtag2"]},{"1397087616":["hashtag1","hashtag2"]},{"1397087377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397087500, 1397087742, 1397088050, 1397087907, 1397087616, 1397087377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0606644153595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:04:03.142569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_25_9637.jpg', '/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_34_9602.jpg', '/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_45_10638.jpg', '/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_55_9598.jpg', '/home/pi/Desktop/images/30112025/18/14/image_30112025_18_15_04_9698.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_15_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_25_9637.jpg
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_34_9602.jpg
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_45_10638.jpg
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_14_55_9598.jpg
/home/pi/Desktop/images/30112025/18/14/image_30112025_18_15_04_9698.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_15_10788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088257","1397088311","1397088248","1397088155","1397088317","1397088136"],"photo_ids_order":["1397088136","1397088155","1397088248","1397088257","1397088311","1397088317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d81f96c76823b899f7955eac5926b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody5115758240100173211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_14_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea2d43db1d733a51f7642f158ae9df67.jpg","text":"TemporaryFile(/tmp/multipartBody6703655294822428195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_15_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aa74b0656ede202b55170f394276c28.jpg","text":"TemporaryFile(/tmp/multipartBody2775766837944057601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_14_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d81da7c6d74b033b77924e1977be3be7.jpg","text":"TemporaryFile(/tmp/multipartBody7963372639772080461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_14_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8da7e935b1d0b7764ad285ebd3e4788.jpg","text":"TemporaryFile(/tmp/multipartBody8690950708002149694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_15_15_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04e8191868b4a0164f2018d36d83f395.jpg","text":"TemporaryFile(/tmp/multipartBody1982519682800930500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529503843,"filename":"image_30112025_18_14_25_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088248","file1":"1397088155","file0":"1397088136","file4":"1397088311","file5":"1397088317","file3":"1397088257"},"map_files_photo_id_array":[{"photo_id":"1397088317","filename":"file5"},{"photo_id":"1397088248","filename":"file2"},{"photo_id":"1397088311","filename":"file4"},{"photo_id":"1397088155","filename":"file1"},{"photo_id":"1397088136","filename":"file0"},{"photo_id":"1397088257","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088257":["hashtag1","hashtag2"]},{"1397088311":["hashtag1","hashtag2"]},{"1397088248":["hashtag1","hashtag2"]},{"1397088155":["hashtag1","hashtag2"]},{"1397088317":["hashtag1","hashtag2"]},{"1397088136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088257, 1397088311, 1397088248, 1397088155, 1397088317, 1397088136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40455365180969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:04:42.578204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/31/image_31102025_13_31_25_2965.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_28_2722.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_31_2629.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_34_3610.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_37_2599.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_40_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_25_2965.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_28_2722.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_31_2629.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_34_3610.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_37_2599.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_40_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088372","1397088366","1397088368","1397088362","1397088371","1397088370"],"photo_ids_order":["1397088362","1397088366","1397088368","1397088370","1397088371","1397088372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53024f75dc459d9427799a3edb7b402c.jpg","text":"TemporaryFile(/tmp/multipartBody1805361242096144112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_40_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a56249a986d4544d7a33f065a0a109c.jpg","text":"TemporaryFile(/tmp/multipartBody2137579902918979594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_28_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/897e06638f213a6dfb011f3d998676f9.jpg","text":"TemporaryFile(/tmp/multipartBody69542243427948845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_31_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aff0e6728fbeb3e40d0eb337104709e7.jpg","text":"TemporaryFile(/tmp/multipartBody6863410567732720037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_25_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/30/ecf02615d169fab5334fbdb10a34e260.jpg","text":"TemporaryFile(/tmp/multipartBody403948321252532778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_37_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/30/6c3cfbdf4606ed9ca333683cc622cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody4175448660078154926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529543432,"filename":"image_31102025_13_31_34_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088368","file1":"1397088366","file0":"1397088362","file4":"1397088371","file5":"1397088372","file3":"1397088370"},"map_files_photo_id_array":[{"photo_id":"1397088372","filename":"file5"},{"photo_id":"1397088368","filename":"file2"},{"photo_id":"1397088371","filename":"file4"},{"photo_id":"1397088366","filename":"file1"},{"photo_id":"1397088362","filename":"file0"},{"photo_id":"1397088370","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088372":["hashtag1","hashtag2"]},{"1397088366":["hashtag1","hashtag2"]},{"1397088368":["hashtag1","hashtag2"]},{"1397088362":["hashtag1","hashtag2"]},{"1397088371":["hashtag1","hashtag2"]},{"1397088370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088372, 1397088366, 1397088368, 1397088362, 1397088371, 1397088370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35150361061096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:05:22.731490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_25_9756.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_35_9770.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_44_9627.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_55_10604.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_16_05_9701.jpg', '/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_25_9756.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_35_9770.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_44_9627.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_55_10604.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_16_05_9701.jpg
/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_14_9773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.583073616027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:05:35.125591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_24_2503.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_27_3599.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_30_2589.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_33_2755.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_36_3587.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_42_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_24_2503.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_27_3599.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_30_2589.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_33_2755.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_36_3587.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_42_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088384","1397088395","1397088394","1397088388","1397088393","1397088396"],"photo_ids_order":["1397088384","1397088388","1397088393","1397088394","1397088395","1397088396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df915383632d6f2879b4d0b99c63b14b.jpg","text":"TemporaryFile(/tmp/multipartBody5923406981802590990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_24_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/301a1c27d65d168d4e1aec8076d509d8.jpg","text":"TemporaryFile(/tmp/multipartBody2395080338399308754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_36_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/30/fdaed1fcb67926bd8f7067b60464cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7663494689694797790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_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/30/6765a5bace57cb5f7fa19e86bec39967.jpg","text":"TemporaryFile(/tmp/multipartBody8847285400324542410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_27_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/30/0d6beaf9bac2d9d959579bc143122690.jpg","text":"TemporaryFile(/tmp/multipartBody649968986250610375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_30_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4b18df9a61b82358edc90452d9e7be6.jpg","text":"TemporaryFile(/tmp/multipartBody4157607000709603941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529596933,"filename":"image_25112025_20_46_42_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088393","file1":"1397088388","file0":"1397088384","file4":"1397088395","file5":"1397088396","file3":"1397088394"},"map_files_photo_id_array":[{"photo_id":"1397088396","filename":"file5"},{"photo_id":"1397088393","filename":"file2"},{"photo_id":"1397088395","filename":"file4"},{"photo_id":"1397088388","filename":"file1"},{"photo_id":"1397088384","filename":"file0"},{"photo_id":"1397088394","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397088384":["hashtag1","hashtag2"]},{"1397088395":["hashtag1","hashtag2"]},{"1397088394":["hashtag1","hashtag2"]},{"1397088388":["hashtag1","hashtag2"]},{"1397088393":["hashtag1","hashtag2"]},{"1397088396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397088384, 1397088395, 1397088394, 1397088388, 1397088393, 1397088396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60499429702759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:06:22.016364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_25_9756.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_35_9770.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_44_9627.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_55_10604.jpg', '/home/pi/Desktop/images/30112025/18/15/image_30112025_18_16_05_9701.jpg', '/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_25_9756.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_35_9770.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_44_9627.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_15_55_10604.jpg
/home/pi/Desktop/images/30112025/18/15/image_30112025_18_16_05_9701.jpg
/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_14_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088411","1397088414","1397088408","1397088398","1397088402","1397088405"],"photo_ids_order":["1397088398","1397088402","1397088405","1397088408","1397088411","1397088414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15d5ff98a77babaefe7309eb22a78a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7073597914155116608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_16_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0765ffbc22985c2579fa6b0724764088.jpg","text":"TemporaryFile(/tmp/multipartBody1093496777821126589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_16_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62f15d18ec4a6163840646642cd4b0c7.jpg","text":"TemporaryFile(/tmp/multipartBody125546255947957689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_15_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7e0d6b563ccce965729a497d81b28dd.jpg","text":"TemporaryFile(/tmp/multipartBody5524999683197911218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_15_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcf1ead140a2e08875a965de4e4e3aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2493418915289368085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_15_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ead3526b609fd77a659b57832d4061e3.jpg","text":"TemporaryFile(/tmp/multipartBody2506113533798631835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529642765,"filename":"image_30112025_18_15_44_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088405","file1":"1397088402","file0":"1397088398","file4":"1397088411","file5":"1397088414","file3":"1397088408"},"map_files_photo_id_array":[{"photo_id":"1397088414","filename":"file5"},{"photo_id":"1397088405","filename":"file2"},{"photo_id":"1397088411","filename":"file4"},{"photo_id":"1397088402","filename":"file1"},{"photo_id":"1397088398","filename":"file0"},{"photo_id":"1397088408","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088411":["hashtag1","hashtag2"]},{"1397088414":["hashtag1","hashtag2"]},{"1397088408":["hashtag1","hashtag2"]},{"1397088398":["hashtag1","hashtag2"]},{"1397088402":["hashtag1","hashtag2"]},{"1397088405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088411, 1397088414, 1397088408, 1397088398, 1397088402, 1397088405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56375980377197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:07:03.029384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_35_9743.jpg', '/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_55_10598.jpg', '/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_15_10649.jpg', '/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_25_9625.jpg', '/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_35_9700.jpg', '/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_35_9743.jpg
/home/pi/Desktop/images/30112025/18/16/image_30112025_18_16_55_10598.jpg
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_15_10649.jpg
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_25_9625.jpg
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_35_9700.jpg
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_44_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088417","1397088419","1397088416","1397088421","1397088424","1397088418"],"photo_ids_order":["1397088416","1397088417","1397088418","1397088419","1397088421","1397088424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77a4a2dd980c914b6515a762a2441b4b.jpg","text":"TemporaryFile(/tmp/multipartBody2757282957489853112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_16_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d02fc8d62b160ac6dee577b73815443.jpg","text":"TemporaryFile(/tmp/multipartBody7570337299799861583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_17_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6956b583266dc75c92a5fd181f06a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4090179379586788505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_16_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3821e92483c6a5e4994631398e984c7.jpg","text":"TemporaryFile(/tmp/multipartBody5891328738350477183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_17_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8e53675d9cab455a1c77336fd4af90b.jpg","text":"TemporaryFile(/tmp/multipartBody2748472361082543113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_17_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc3b1fb4529b7d82ad42d87cd7d03111.jpg","text":"TemporaryFile(/tmp/multipartBody9048040634706121927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529683770,"filename":"image_30112025_18_17_15_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088418","file1":"1397088417","file0":"1397088416","file4":"1397088421","file5":"1397088424","file3":"1397088419"},"map_files_photo_id_array":[{"photo_id":"1397088424","filename":"file5"},{"photo_id":"1397088418","filename":"file2"},{"photo_id":"1397088421","filename":"file4"},{"photo_id":"1397088417","filename":"file1"},{"photo_id":"1397088416","filename":"file0"},{"photo_id":"1397088419","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088417":["hashtag1","hashtag2"]},{"1397088419":["hashtag1","hashtag2"]},{"1397088416":["hashtag1","hashtag2"]},{"1397088421":["hashtag1","hashtag2"]},{"1397088424":["hashtag1","hashtag2"]},{"1397088418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088417, 1397088419, 1397088416, 1397088421, 1397088424, 1397088418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50305533409119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:07:42.166019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/31/image_31102025_13_31_43_3663.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_46_2653.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_49_2903.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_58_2576.jpg', '/home/pi/Desktop/images/31102025/13/31/image_31102025_13_32_01_3668.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_07_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_43_3663.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_46_2653.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_49_2903.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_31_58_2576.jpg
/home/pi/Desktop/images/31102025/13/31/image_31102025_13_32_01_3668.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_07_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":["1397088438","1397088432","1397088435","1397088437","1397088434","1397088436"],"photo_ids_order":["1397088432","1397088434","1397088435","1397088436","1397088437","1397088438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3181a3435414f9c2480c1b11d67d13d.jpg","text":"TemporaryFile(/tmp/multipartBody631075119188823833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_32_07_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e81658bbb3a592f0eb0050d7f6decc27.jpg","text":"TemporaryFile(/tmp/multipartBody3899698906105951599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_31_43_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/30/dc910c5f602d909311a30c75c0b1fc98.jpg","text":"TemporaryFile(/tmp/multipartBody2370144495961515127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_31_49_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/30/08a7fcfc805cf4179a920591e935a50b.jpg","text":"TemporaryFile(/tmp/multipartBody1681442131064092683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_32_01_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/30/18fd8993e53b1012278e434083945649.jpg","text":"TemporaryFile(/tmp/multipartBody1200475563860283469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_31_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/30/9acf324c2dc214c7ca10f4370da8f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6907210610612448173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529723033,"filename":"image_31102025_13_31_58_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088435","file1":"1397088434","file0":"1397088432","file4":"1397088437","file5":"1397088438","file3":"1397088436"},"map_files_photo_id_array":[{"photo_id":"1397088438","filename":"file5"},{"photo_id":"1397088435","filename":"file2"},{"photo_id":"1397088437","filename":"file4"},{"photo_id":"1397088434","filename":"file1"},{"photo_id":"1397088432","filename":"file0"},{"photo_id":"1397088436","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088438":["hashtag1","hashtag2"]},{"1397088432":["hashtag1","hashtag2"]},{"1397088435":["hashtag1","hashtag2"]},{"1397088437":["hashtag1","hashtag2"]},{"1397088434":["hashtag1","hashtag2"]},{"1397088436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088438, 1397088432, 1397088435, 1397088437, 1397088434, 1397088436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49408483505249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:08:22.350451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_55_10703.jpg', '/home/pi/Desktop/images/30112025/18/17/image_30112025_18_18_05_9690.jpg', '/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_14_9709.jpg', '/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_25_10842.jpg', '/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_35_9673.jpg', '/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_17_55_10703.jpg
/home/pi/Desktop/images/30112025/18/17/image_30112025_18_18_05_9690.jpg
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_14_9709.jpg
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_25_10842.jpg
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_35_9673.jpg
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_44_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088450","1397088441","1397088452","1397088446","1397088445","1397088448"],"photo_ids_order":["1397088441","1397088445","1397088446","1397088448","1397088450","1397088452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f857f7450209c8c454e7e5f5d71a7782.jpg","text":"TemporaryFile(/tmp/multipartBody1802741234524739528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_18_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/caede326c66fb39a9f5b19a23803e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5154364136090265203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_17_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f47baa5e7c1e1c0c1a398b27f6387c47.jpg","text":"TemporaryFile(/tmp/multipartBody5770422246645107349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_18_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e55c8029a321b83177750e193e500ac.jpg","text":"TemporaryFile(/tmp/multipartBody144370206656837198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_18_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ef35d392b8915a8d4d0708da48c5e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4930650832332426861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_18_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b3042a950de71d754d08d56a5d18e34.jpg","text":"TemporaryFile(/tmp/multipartBody6164598210101564377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529763035,"filename":"image_30112025_18_18_25_10842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088446","file1":"1397088445","file0":"1397088441","file4":"1397088450","file5":"1397088452","file3":"1397088448"},"map_files_photo_id_array":[{"photo_id":"1397088452","filename":"file5"},{"photo_id":"1397088446","filename":"file2"},{"photo_id":"1397088450","filename":"file4"},{"photo_id":"1397088445","filename":"file1"},{"photo_id":"1397088441","filename":"file0"},{"photo_id":"1397088448","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088450":["hashtag1","hashtag2"]},{"1397088441":["hashtag1","hashtag2"]},{"1397088452":["hashtag1","hashtag2"]},{"1397088446":["hashtag1","hashtag2"]},{"1397088445":["hashtag1","hashtag2"]},{"1397088448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088450, 1397088441, 1397088452, 1397088446, 1397088445, 1397088448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07518815994263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:09:03.271522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_54_9840.jpg', '/home/pi/Desktop/images/30112025/18/18/image_30112025_18_19_05_10575.jpg', '/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_15_9810.jpg', '/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_24_9698.jpg', '/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_35_10558.jpg', '/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_45_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_18_54_9840.jpg
/home/pi/Desktop/images/30112025/18/18/image_30112025_18_19_05_10575.jpg
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_15_9810.jpg
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_24_9698.jpg
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_35_10558.jpg
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_45_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088462","1397088456","1397088459","1397088455","1397088454","1397088457"],"photo_ids_order":["1397088454","1397088455","1397088456","1397088457","1397088459","1397088462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fe2bc9c1071c0089adf887bc1fe0fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1400071527966342549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_19_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3fa283d58b06d38b9b5484123376df4.jpg","text":"TemporaryFile(/tmp/multipartBody1105976467278036113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_19_15_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67c9d96635513c6fe31c1b6fd67139a5.jpg","text":"TemporaryFile(/tmp/multipartBody7351609862119693957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_19_35_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/34e3a604c85c1eb79858c6288323d908.jpg","text":"TemporaryFile(/tmp/multipartBody7759406096319699540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_19_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce8e36d32a5807f536204210fd71a038.jpg","text":"TemporaryFile(/tmp/multipartBody1836692913203232999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_18_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee8ba89a26143c00eb71f6cf18d3b231.jpg","text":"TemporaryFile(/tmp/multipartBody8556580462555090304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529804021,"filename":"image_30112025_18_19_24_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088456","file1":"1397088455","file0":"1397088454","file4":"1397088459","file5":"1397088462","file3":"1397088457"},"map_files_photo_id_array":[{"photo_id":"1397088462","filename":"file5"},{"photo_id":"1397088456","filename":"file2"},{"photo_id":"1397088459","filename":"file4"},{"photo_id":"1397088455","filename":"file1"},{"photo_id":"1397088454","filename":"file0"},{"photo_id":"1397088457","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088462":["hashtag1","hashtag2"]},{"1397088456":["hashtag1","hashtag2"]},{"1397088459":["hashtag1","hashtag2"]},{"1397088455":["hashtag1","hashtag2"]},{"1397088454":["hashtag1","hashtag2"]},{"1397088457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088462, 1397088456, 1397088459, 1397088455, 1397088454, 1397088457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3335018157959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:09:42.566955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/32/image_31102025_13_32_11_3745.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_13_2544.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_16_2660.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_19_3660.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_22_2593.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_28_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/13/32/image_31102025_13_32_11_3745.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_13_2544.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_16_2660.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_19_3660.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_22_2593.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_28_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088473","1397088476","1397088472","1397088475","1397088469","1397088474"],"photo_ids_order":["1397088469","1397088472","1397088473","1397088474","1397088475","1397088476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6263a322c791d5db0df36f689e45016e.jpg","text":"TemporaryFile(/tmp/multipartBody1190480608462819342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_16_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/30/421edb0e06b36f39b96d68f23333cc0e.jpg","text":"TemporaryFile(/tmp/multipartBody1290414366982356576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_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/30/55aaaba23188d903bc882c6868d1cf97.jpg","text":"TemporaryFile(/tmp/multipartBody1004372979251468201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_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/30/3748ff9b7061b49c88cf667081b512bc.jpg","text":"TemporaryFile(/tmp/multipartBody5912492481943412946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_22_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/30/1fbf892c928a3eb870b7d8e04e68ec67.jpg","text":"TemporaryFile(/tmp/multipartBody4499390051203398551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_11_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/30/0b4f584e57847dd438eaf79def4eb835.jpg","text":"TemporaryFile(/tmp/multipartBody667276979064109015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529843456,"filename":"image_31102025_13_32_19_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088473","file1":"1397088472","file0":"1397088469","file4":"1397088475","file5":"1397088476","file3":"1397088474"},"map_files_photo_id_array":[{"photo_id":"1397088476","filename":"file5"},{"photo_id":"1397088473","filename":"file2"},{"photo_id":"1397088475","filename":"file4"},{"photo_id":"1397088472","filename":"file1"},{"photo_id":"1397088469","filename":"file0"},{"photo_id":"1397088474","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088473":["hashtag1","hashtag2"]},{"1397088476":["hashtag1","hashtag2"]},{"1397088472":["hashtag1","hashtag2"]},{"1397088475":["hashtag1","hashtag2"]},{"1397088469":["hashtag1","hashtag2"]},{"1397088474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088473, 1397088476, 1397088472, 1397088475, 1397088469, 1397088474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30442142486572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:10:22.743360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_54_9622.jpg', '/home/pi/Desktop/images/30112025/18/19/image_30112025_18_20_05_10601.jpg', '/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_15_10114.jpg', '/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_25_9727.jpg', '/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_35_10436.jpg', '/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_45_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_19_54_9622.jpg
/home/pi/Desktop/images/30112025/18/19/image_30112025_18_20_05_10601.jpg
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_15_10114.jpg
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_25_9727.jpg
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_35_10436.jpg
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_45_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088491","1397088485","1397088479","1397088488","1397088482","1397088495"],"photo_ids_order":["1397088479","1397088482","1397088485","1397088488","1397088491","1397088495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/faf7c71a9cb7b95ad38645da138dfef7.jpg","text":"TemporaryFile(/tmp/multipartBody6816095450025280918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_20_35_10436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d163ede6585eaa699a528d3a978bce0.jpg","text":"TemporaryFile(/tmp/multipartBody7277137736209623316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_20_15_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f25f99276c7154644ea4a7f867a9e44c.jpg","text":"TemporaryFile(/tmp/multipartBody3908973975235144289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_19_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b6510206992b7518d9d172ad4a24ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2897100741469550686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_20_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bda1f037ac4dba7b9dbec8eeede1f41e.jpg","text":"TemporaryFile(/tmp/multipartBody8682995469079149952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_20_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b408dd7b8cff71f00ea173adaca5196.jpg","text":"TemporaryFile(/tmp/multipartBody7208828449965933715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529883418,"filename":"image_30112025_18_20_45_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088485","file1":"1397088482","file0":"1397088479","file4":"1397088491","file5":"1397088495","file3":"1397088488"},"map_files_photo_id_array":[{"photo_id":"1397088495","filename":"file5"},{"photo_id":"1397088485","filename":"file2"},{"photo_id":"1397088491","filename":"file4"},{"photo_id":"1397088482","filename":"file1"},{"photo_id":"1397088479","filename":"file0"},{"photo_id":"1397088488","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088491":["hashtag1","hashtag2"]},{"1397088485":["hashtag1","hashtag2"]},{"1397088479":["hashtag1","hashtag2"]},{"1397088488":["hashtag1","hashtag2"]},{"1397088482":["hashtag1","hashtag2"]},{"1397088495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088491, 1397088485, 1397088479, 1397088488, 1397088482, 1397088495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32689023017883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:11:02.577478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_55_9728.jpg', '/home/pi/Desktop/images/30112025/18/20/image_30112025_18_21_04_9785.jpg', '/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_15_10610.jpg', '/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_25_9744.jpg', '/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_35_10169.jpg', '/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_45_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_20_55_9728.jpg
/home/pi/Desktop/images/30112025/18/20/image_30112025_18_21_04_9785.jpg
/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_15_10610.jpg
/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_25_9744.jpg
/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_35_10169.jpg
/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_45_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088510","1397088507","1397088501","1397088504","1397088503","1397088505"],"photo_ids_order":["1397088501","1397088503","1397088504","1397088505","1397088507","1397088510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a80746f3ae1536dbc9b3428dd769ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody1234012645184672590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_21_45_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/404d898f7c2d00421df80c27ca3ac3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5393727185956736195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_21_35_10169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83bfde3ad32bc5e7ab7a9e0504ae5eae.jpg","text":"TemporaryFile(/tmp/multipartBody678677362749946179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_20_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/901459b04851b7ad95648d99a3f41852.jpg","text":"TemporaryFile(/tmp/multipartBody6377784613979542104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_21_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76f9791e265c995b27bbbd566ac9c5d1.jpg","text":"TemporaryFile(/tmp/multipartBody107576692312450048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_21_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d90aa023d590fe9b600aeb6f6062a072.jpg","text":"TemporaryFile(/tmp/multipartBody2699793254544629179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529923337,"filename":"image_30112025_18_21_25_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088504","file1":"1397088503","file0":"1397088501","file4":"1397088507","file5":"1397088510","file3":"1397088505"},"map_files_photo_id_array":[{"photo_id":"1397088510","filename":"file5"},{"photo_id":"1397088504","filename":"file2"},{"photo_id":"1397088507","filename":"file4"},{"photo_id":"1397088503","filename":"file1"},{"photo_id":"1397088501","filename":"file0"},{"photo_id":"1397088505","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088510":["hashtag1","hashtag2"]},{"1397088507":["hashtag1","hashtag2"]},{"1397088501":["hashtag1","hashtag2"]},{"1397088504":["hashtag1","hashtag2"]},{"1397088503":["hashtag1","hashtag2"]},{"1397088505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088510, 1397088507, 1397088501, 1397088504, 1397088503, 1397088505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28683876991272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:11:41.996692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/32/image_31102025_13_32_34_3624.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_37_2694.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_40_2685.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_43_3652.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_46_2825.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_49_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_34_3624.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_37_2694.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_40_2685.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_43_3652.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_46_2825.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_49_2785.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8476955890655518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:12:02.649615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_54_9698.jpg', '/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_14_9295.jpg', '/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_24_9847.jpg', '/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_35_10704.jpg', '/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_44_9555.jpg', '/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_55_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/21/image_30112025_18_21_54_9698.jpg
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_14_9295.jpg
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_24_9847.jpg
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_35_10704.jpg
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_44_9555.jpg
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_22_55_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088543","1397088537","1397088540","1397088536","1397088535","1397088538"],"photo_ids_order":["1397088535","1397088536","1397088537","1397088538","1397088540","1397088543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76cbddec8ccf8d76159638ae716ce461.jpg","text":"TemporaryFile(/tmp/multipartBody8272114686230427606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_22_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c112adacbfd8fcc408a52ee41c4f977.jpg","text":"TemporaryFile(/tmp/multipartBody8192813537758601648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_22_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58d7762fd7693f9e038adb38b1e2a8b8.jpg","text":"TemporaryFile(/tmp/multipartBody8265354988855995941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_22_44_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28fcd4511a066318a51bfb9ef43d7ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5520853598706943049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_22_14_9295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eaa4b08bf8f99697d64ebef4e7bc006c.jpg","text":"TemporaryFile(/tmp/multipartBody7708984279166741446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_21_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2807479e6c23eacba36eae3e84095643.jpg","text":"TemporaryFile(/tmp/multipartBody8715469111139870165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764529983351,"filename":"image_30112025_18_22_35_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088537","file1":"1397088536","file0":"1397088535","file4":"1397088540","file5":"1397088543","file3":"1397088538"},"map_files_photo_id_array":[{"photo_id":"1397088543","filename":"file5"},{"photo_id":"1397088537","filename":"file2"},{"photo_id":"1397088540","filename":"file4"},{"photo_id":"1397088536","filename":"file1"},{"photo_id":"1397088535","filename":"file0"},{"photo_id":"1397088538","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088543":["hashtag1","hashtag2"]},{"1397088537":["hashtag1","hashtag2"]},{"1397088540":["hashtag1","hashtag2"]},{"1397088536":["hashtag1","hashtag2"]},{"1397088535":["hashtag1","hashtag2"]},{"1397088538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088543, 1397088537, 1397088540, 1397088536, 1397088535, 1397088538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46675205230713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:12:42.151939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/32/image_31102025_13_32_34_3624.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_37_2694.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_40_2685.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_43_3652.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_46_2825.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_49_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_34_3624.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_37_2694.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_40_2685.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_43_3652.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_46_2825.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_49_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":["1397088555","1397088552","1397088551","1397088554","1397088557","1397088550"],"photo_ids_order":["1397088550","1397088551","1397088552","1397088554","1397088555","1397088557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/511dd731936148bf2315aa7590d4002f.jpg","text":"TemporaryFile(/tmp/multipartBody5397885744228539618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_46_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/30/8b4a806df9cb213f0a32cbde79762b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1862099600572460464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_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/30/d1ff6ccb33c45aa6e0afe65970d1e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7193482691997788735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_37_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/30/e9ca7e0ab89762543bb18daa45b0141f.jpg","text":"TemporaryFile(/tmp/multipartBody7129913479536370333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_43_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/30/70a754dd77cbd9140bcdb917fd44abdb.jpg","text":"TemporaryFile(/tmp/multipartBody1720450891348512315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_49_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/30/70818d031b57ab6e7a514060dbc352cd.jpg","text":"TemporaryFile(/tmp/multipartBody3799706806746679067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530022914,"filename":"image_31102025_13_32_34_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088552","file1":"1397088551","file0":"1397088550","file4":"1397088555","file5":"1397088557","file3":"1397088554"},"map_files_photo_id_array":[{"photo_id":"1397088557","filename":"file5"},{"photo_id":"1397088552","filename":"file2"},{"photo_id":"1397088555","filename":"file4"},{"photo_id":"1397088551","filename":"file1"},{"photo_id":"1397088550","filename":"file0"},{"photo_id":"1397088554","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088555":["hashtag1","hashtag2"]},{"1397088552":["hashtag1","hashtag2"]},{"1397088551":["hashtag1","hashtag2"]},{"1397088554":["hashtag1","hashtag2"]},{"1397088557":["hashtag1","hashtag2"]},{"1397088550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088555, 1397088552, 1397088551, 1397088554, 1397088557, 1397088550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.405603885650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:13:22.324215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/22/image_30112025_18_23_05_9936.jpg', '/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_15_10046.jpg', '/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_25_9719.jpg', '/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_35_9777.jpg', '/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_45_10500.jpg', '/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/22/image_30112025_18_23_05_9936.jpg
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_15_10046.jpg
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_25_9719.jpg
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_35_9777.jpg
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_45_10500.jpg
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_23_55_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088561","1397088570","1397088564","1397088567","1397088572","1397088575"],"photo_ids_order":["1397088561","1397088564","1397088567","1397088570","1397088572","1397088575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9807f649b0e46463d76d1dc91ed1b65.jpg","text":"TemporaryFile(/tmp/multipartBody3429177298297207804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_05_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f06e463a497e16e1177597939649b402.jpg","text":"TemporaryFile(/tmp/multipartBody1869488603206270475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ec034565b2c626e8a92c8a9516c4eee.jpg","text":"TemporaryFile(/tmp/multipartBody6822567137046522323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_15_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cb75cf5b8a399a11206032bfd82a409.jpg","text":"TemporaryFile(/tmp/multipartBody4232822017765441294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7fb5f4f13d57e1e79d7b009f74d37ab.jpg","text":"TemporaryFile(/tmp/multipartBody282388239991954150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_45_10500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c61e6650486055b80811cc956bdbc70.jpg","text":"TemporaryFile(/tmp/multipartBody2142007870696402973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530063016,"filename":"image_30112025_18_23_55_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088567","file1":"1397088564","file0":"1397088561","file4":"1397088572","file5":"1397088575","file3":"1397088570"},"map_files_photo_id_array":[{"photo_id":"1397088575","filename":"file5"},{"photo_id":"1397088567","filename":"file2"},{"photo_id":"1397088572","filename":"file4"},{"photo_id":"1397088564","filename":"file1"},{"photo_id":"1397088561","filename":"file0"},{"photo_id":"1397088570","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088561":["hashtag1","hashtag2"]},{"1397088570":["hashtag1","hashtag2"]},{"1397088564":["hashtag1","hashtag2"]},{"1397088567":["hashtag1","hashtag2"]},{"1397088572":["hashtag1","hashtag2"]},{"1397088575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088561, 1397088570, 1397088564, 1397088567, 1397088572, 1397088575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12371373176575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:14:03.216945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/23/image_30112025_18_24_04_9560.jpg', '/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_15_10727.jpg', '/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_24_9279.jpg', '/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_35_10702.jpg', '/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_54_9619.jpg', '/home/pi/Desktop/images/30112025/18/24/image_30112025_18_25_05_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/23/image_30112025_18_24_04_9560.jpg
/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_15_10727.jpg
/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_24_9279.jpg
/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_35_10702.jpg
/home/pi/Desktop/images/30112025/18/24/image_30112025_18_24_54_9619.jpg
/home/pi/Desktop/images/30112025/18/24/image_30112025_18_25_05_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088582","1397088576","1397088585","1397088579","1397088578","1397088580"],"photo_ids_order":["1397088576","1397088578","1397088579","1397088580","1397088582","1397088585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b575d80acdfb7f24872ee787e073693.jpg","text":"TemporaryFile(/tmp/multipartBody3294925343302438619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_24_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/826d10a5b51e5394459d3b060b980003.jpg","text":"TemporaryFile(/tmp/multipartBody6764882687654987349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_24_04_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67eace837a40e486e931f02a6cc9a230.jpg","text":"TemporaryFile(/tmp/multipartBody7491292564200345943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_25_05_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05a0b5cba2055be650f5c16ceb825c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6922539339969418914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_24_24_9279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9af86dccb093b04d2dbac4d6145e90c.jpg","text":"TemporaryFile(/tmp/multipartBody5018195763399065876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_24_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7593fa68cd73439c7ed7177d7a17856b.jpg","text":"TemporaryFile(/tmp/multipartBody6184593646011314530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530103923,"filename":"image_30112025_18_24_35_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088579","file1":"1397088578","file0":"1397088576","file4":"1397088582","file5":"1397088585","file3":"1397088580"},"map_files_photo_id_array":[{"photo_id":"1397088585","filename":"file5"},{"photo_id":"1397088579","filename":"file2"},{"photo_id":"1397088582","filename":"file4"},{"photo_id":"1397088578","filename":"file1"},{"photo_id":"1397088576","filename":"file0"},{"photo_id":"1397088580","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088582":["hashtag1","hashtag2"]},{"1397088576":["hashtag1","hashtag2"]},{"1397088585":["hashtag1","hashtag2"]},{"1397088579":["hashtag1","hashtag2"]},{"1397088578":["hashtag1","hashtag2"]},{"1397088580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088582, 1397088576, 1397088585, 1397088579, 1397088578, 1397088580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.979177474975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:14:42.526627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/32/image_31102025_13_32_52_2705.jpg', '/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_58_2746.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_01_2844.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_04_2885.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_07_2771.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_10_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_52_2705.jpg
/home/pi/Desktop/images/31102025/13/32/image_31102025_13_32_58_2746.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_01_2844.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_04_2885.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_07_2771.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_10_3794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088618","1397088596","1397088620","1397088617","1397088595","1397088616"],"photo_ids_order":["1397088595","1397088596","1397088616","1397088617","1397088618","1397088620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7830cbd3c6777240ca85a8b20bb04ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5593345499410042186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_33_07_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/30/adbd7ad167e01a95edfe72a8441f3293.jpg","text":"TemporaryFile(/tmp/multipartBody7091079572802748039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_32_58_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/30/56031ee640b7b3f464a8a4fb2d2f0a05.jpg","text":"TemporaryFile(/tmp/multipartBody1137918774198811227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_33_10_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/30/2d00288d74dc4d914f406329314e8ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8850045665082455401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_33_04_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/30/eb9f61dae6d4440384bc2b95104351e1.jpg","text":"TemporaryFile(/tmp/multipartBody6623120950856506262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_32_52_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/30/36f497c7e3fdd0e315aeeaf6f7f44106.jpg","text":"TemporaryFile(/tmp/multipartBody6837180127067326337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530143430,"filename":"image_31102025_13_33_01_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088616","file1":"1397088596","file0":"1397088595","file4":"1397088618","file5":"1397088620","file3":"1397088617"},"map_files_photo_id_array":[{"photo_id":"1397088620","filename":"file5"},{"photo_id":"1397088616","filename":"file2"},{"photo_id":"1397088618","filename":"file4"},{"photo_id":"1397088596","filename":"file1"},{"photo_id":"1397088595","filename":"file0"},{"photo_id":"1397088617","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088618":["hashtag1","hashtag2"]},{"1397088596":["hashtag1","hashtag2"]},{"1397088620":["hashtag1","hashtag2"]},{"1397088617":["hashtag1","hashtag2"]},{"1397088595":["hashtag1","hashtag2"]},{"1397088616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088618, 1397088596, 1397088620, 1397088617, 1397088595, 1397088616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68432426452637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:15:22.730856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_15_9864.jpg', '/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_24_9571.jpg', '/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_35_10709.jpg', '/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_45_9783.jpg', '/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_55_9799.jpg', '/home/pi/Desktop/images/30112025/18/25/image_30112025_18_26_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_15_9864.jpg
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_24_9571.jpg
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_35_10709.jpg
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_45_9783.jpg
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_25_55_9799.jpg
/home/pi/Desktop/images/30112025/18/25/image_30112025_18_26_04_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088636","1397088630","1397088624","1397088633","1397088627","1397088638"],"photo_ids_order":["1397088624","1397088627","1397088630","1397088633","1397088636","1397088638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f09ff41b33f03d2c78495f05046e68e.jpg","text":"TemporaryFile(/tmp/multipartBody8995681516193458191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_25_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/980dfcfd632a364e34112cee9aafa59a.jpg","text":"TemporaryFile(/tmp/multipartBody1236980331585169591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_25_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/47069fde0484ac64ecaf2c1ce17c3da0.jpg","text":"TemporaryFile(/tmp/multipartBody3762815668367387066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_25_15_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9feba150f22210b3219ada44664e69a1.jpg","text":"TemporaryFile(/tmp/multipartBody2445229723922426223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_25_45_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa77a09bc32edef114b36b7059066a29.jpg","text":"TemporaryFile(/tmp/multipartBody7515077743124136318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_25_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32ffc3d0641773b2f45d13919c4384c5.jpg","text":"TemporaryFile(/tmp/multipartBody3540833232073441558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530183435,"filename":"image_30112025_18_26_04_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088630","file1":"1397088627","file0":"1397088624","file4":"1397088636","file5":"1397088638","file3":"1397088633"},"map_files_photo_id_array":[{"photo_id":"1397088638","filename":"file5"},{"photo_id":"1397088630","filename":"file2"},{"photo_id":"1397088636","filename":"file4"},{"photo_id":"1397088627","filename":"file1"},{"photo_id":"1397088624","filename":"file0"},{"photo_id":"1397088633","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088636":["hashtag1","hashtag2"]},{"1397088630":["hashtag1","hashtag2"]},{"1397088624":["hashtag1","hashtag2"]},{"1397088633":["hashtag1","hashtag2"]},{"1397088627":["hashtag1","hashtag2"]},{"1397088638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088636, 1397088630, 1397088624, 1397088633, 1397088627, 1397088638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20571517944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:16:03.214228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_15_10854.jpg', '/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_25_9717.jpg', '/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_45_10656.jpg', '/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_55_9626.jpg', '/home/pi/Desktop/images/30112025/18/26/image_30112025_18_27_04_9651.jpg', '/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_15_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_15_10854.jpg
/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_25_9717.jpg
/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_45_10656.jpg
/home/pi/Desktop/images/30112025/18/26/image_30112025_18_26_55_9626.jpg
/home/pi/Desktop/images/30112025/18/26/image_30112025_18_27_04_9651.jpg
/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_15_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088642","1397088639","1397088647","1397088641","1397088644","1397088640"],"photo_ids_order":["1397088639","1397088640","1397088641","1397088642","1397088644","1397088647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3a8c543e8f236a0fd8053b592cc362e.jpg","text":"TemporaryFile(/tmp/multipartBody8910481946246642845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_26_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7c7e2ec8e4a54517f53eadc74a76c64.jpg","text":"TemporaryFile(/tmp/multipartBody3408611640621668706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_26_15_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5113ca13e8f858d524dce8535aedba41.jpg","text":"TemporaryFile(/tmp/multipartBody189567775085487792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_27_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb6c0910c9f20af0c6898eddd654b34e.jpg","text":"TemporaryFile(/tmp/multipartBody6104326090538271331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_26_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a761339ce49f5f75152c1a0d82c6282b.jpg","text":"TemporaryFile(/tmp/multipartBody4144582492654293216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_27_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3f2df57f65c1a0719e3da7ce44c1887.jpg","text":"TemporaryFile(/tmp/multipartBody2772574232594949584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530223896,"filename":"image_30112025_18_26_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088641","file1":"1397088640","file0":"1397088639","file4":"1397088644","file5":"1397088647","file3":"1397088642"},"map_files_photo_id_array":[{"photo_id":"1397088647","filename":"file5"},{"photo_id":"1397088641","filename":"file2"},{"photo_id":"1397088644","filename":"file4"},{"photo_id":"1397088640","filename":"file1"},{"photo_id":"1397088639","filename":"file0"},{"photo_id":"1397088642","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088642":["hashtag1","hashtag2"]},{"1397088639":["hashtag1","hashtag2"]},{"1397088647":["hashtag1","hashtag2"]},{"1397088641":["hashtag1","hashtag2"]},{"1397088644":["hashtag1","hashtag2"]},{"1397088640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088642, 1397088639, 1397088647, 1397088641, 1397088644, 1397088640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.334441900253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:16:42.861301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/33/image_31102025_13_33_13_2573.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_16_2658.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_19_2904.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_22_3705.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_25_2699.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_28_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/13/33/image_31102025_13_33_13_2573.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_16_2658.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_19_2904.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_22_3705.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_25_2699.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_28_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":["1397088660","1397088663","1397088657","1397088659","1397088662","1397088661"],"photo_ids_order":["1397088657","1397088659","1397088660","1397088661","1397088662","1397088663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00306d053f0a24f8126cc05d9af8c086.jpg","text":"TemporaryFile(/tmp/multipartBody4921762406572171428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_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/30/05cc88187642965f336ecfc502cb53a0.jpg","text":"TemporaryFile(/tmp/multipartBody5505954225763772416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_28_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/30/d9245c34815146c7d66091eb3a7e8946.jpg","text":"TemporaryFile(/tmp/multipartBody2431671745783944097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_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/30/485a263e16ad4fe9ca42b2d65370657c.jpg","text":"TemporaryFile(/tmp/multipartBody158294975249757525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_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/30/10a82e330754fbd497c3e53490fb22f6.jpg","text":"TemporaryFile(/tmp/multipartBody9048457361816929694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_25_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/705ed02b8465c82edaf02e930f9fdfc4.jpg","text":"TemporaryFile(/tmp/multipartBody1084015637137342394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530263750,"filename":"image_31102025_13_33_22_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088660","file1":"1397088659","file0":"1397088657","file4":"1397088662","file5":"1397088663","file3":"1397088661"},"map_files_photo_id_array":[{"photo_id":"1397088663","filename":"file5"},{"photo_id":"1397088660","filename":"file2"},{"photo_id":"1397088662","filename":"file4"},{"photo_id":"1397088659","filename":"file1"},{"photo_id":"1397088657","filename":"file0"},{"photo_id":"1397088661","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397088660":["hashtag1","hashtag2"]},{"1397088663":["hashtag1","hashtag2"]},{"1397088657":["hashtag1","hashtag2"]},{"1397088659":["hashtag1","hashtag2"]},{"1397088662":["hashtag1","hashtag2"]},{"1397088661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397088660, 1397088663, 1397088657, 1397088659, 1397088662, 1397088661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47160458564758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:17:22.160041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_35_9634.jpg', '/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_44_9711.jpg', '/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_55_10618.jpg', '/home/pi/Desktop/images/30112025/18/27/image_30112025_18_28_05_9820.jpg', '/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_24_9842.jpg', '/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_35_10908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_35_9634.jpg
/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_44_9711.jpg
/home/pi/Desktop/images/30112025/18/27/image_30112025_18_27_55_10618.jpg
/home/pi/Desktop/images/30112025/18/27/image_30112025_18_28_05_9820.jpg
/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_24_9842.jpg
/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_35_10908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088675","1397088677","1397088680","1397088670","1397088673","1397088666"],"photo_ids_order":["1397088666","1397088670","1397088673","1397088675","1397088677","1397088680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ab0932902bec1d6f72ea0880ca5f508d.jpg","text":"TemporaryFile(/tmp/multipartBody2457555221385897005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_28_05_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/990ca5216508ecf93dd081ced2327232.jpg","text":"TemporaryFile(/tmp/multipartBody2737670405711350277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_28_24_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02150b41e3358c1bc04a6137fb1fd687.jpg","text":"TemporaryFile(/tmp/multipartBody3541154800462132300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_28_35_10908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cefbe4d0f39d0b746d065aa776ef6e0.jpg","text":"TemporaryFile(/tmp/multipartBody5886231835553367798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_27_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17ca255b8b7904eb3e6e38a94e85fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody6500176985864322567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_27_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3edf51007fb4b0e43ac94d0d96c9f468.jpg","text":"TemporaryFile(/tmp/multipartBody3096883375041701761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530302870,"filename":"image_30112025_18_27_35_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088673","file1":"1397088670","file0":"1397088666","file4":"1397088677","file5":"1397088680","file3":"1397088675"},"map_files_photo_id_array":[{"photo_id":"1397088680","filename":"file5"},{"photo_id":"1397088673","filename":"file2"},{"photo_id":"1397088677","filename":"file4"},{"photo_id":"1397088670","filename":"file1"},{"photo_id":"1397088666","filename":"file0"},{"photo_id":"1397088675","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088675":["hashtag1","hashtag2"]},{"1397088677":["hashtag1","hashtag2"]},{"1397088680":["hashtag1","hashtag2"]},{"1397088670":["hashtag1","hashtag2"]},{"1397088673":["hashtag1","hashtag2"]},{"1397088666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088675, 1397088677, 1397088680, 1397088670, 1397088673, 1397088666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76751708984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:18:02.596472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_45_9632.jpg', '/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_54_9548.jpg', '/home/pi/Desktop/images/30112025/18/28/image_30112025_18_29_05_10558.jpg', '/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_24_9701.jpg', '/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_35_10835.jpg', '/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_45_9632.jpg
/home/pi/Desktop/images/30112025/18/28/image_30112025_18_28_54_9548.jpg
/home/pi/Desktop/images/30112025/18/28/image_30112025_18_29_05_10558.jpg
/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_24_9701.jpg
/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_35_10835.jpg
/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_45_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397088683","1397088769","1397088682","1397088838","1397088684","1397088703"],"photo_ids_order":["1397088682","1397088683","1397088684","1397088703","1397088769","1397088838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0adbe88c5fbae16a785e4ee9f1acfc16.jpg","text":"TemporaryFile(/tmp/multipartBody7669901191968921320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_28_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/693976b72b955a589725fecc9d6f5600.jpg","text":"TemporaryFile(/tmp/multipartBody5745041178625400177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_29_35_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f77f82cc2fdb1b356e5a955dec112f98.jpg","text":"TemporaryFile(/tmp/multipartBody943884149812576555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_28_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b677cfefe215e18ee2dea101e8b72ed.jpg","text":"TemporaryFile(/tmp/multipartBody4382898326502009113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_29_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f284cd0b401d0625f31f11b26fdcd24a.jpg","text":"TemporaryFile(/tmp/multipartBody2073830076684285131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_29_05_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e446b0d3fa662a4f8c5f4e7a2328b077.jpg","text":"TemporaryFile(/tmp/multipartBody1943655502310643819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530343291,"filename":"image_30112025_18_29_24_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397088684","file1":"1397088683","file0":"1397088682","file4":"1397088769","file5":"1397088838","file3":"1397088703"},"map_files_photo_id_array":[{"photo_id":"1397088838","filename":"file5"},{"photo_id":"1397088684","filename":"file2"},{"photo_id":"1397088769","filename":"file4"},{"photo_id":"1397088683","filename":"file1"},{"photo_id":"1397088682","filename":"file0"},{"photo_id":"1397088703","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397088683":["hashtag1","hashtag2"]},{"1397088769":["hashtag1","hashtag2"]},{"1397088682":["hashtag1","hashtag2"]},{"1397088838":["hashtag1","hashtag2"]},{"1397088684":["hashtag1","hashtag2"]},{"1397088703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397088683, 1397088769, 1397088682, 1397088838, 1397088684, 1397088703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98569202423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:18:42.164693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/33/image_31102025_13_33_31_3800.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_34_2804.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_37_2855.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_40_2575.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_43_3640.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_46_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/13/33/image_31102025_13_33_31_3800.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_34_2804.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_37_2855.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_40_2575.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_43_3640.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_46_2826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397089200","1397089271","1397089345","1397089420","1397089126","1397089494"],"photo_ids_order":["1397089126","1397089200","1397089271","1397089345","1397089420","1397089494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39cb65d60d5cfcfa6cbc54fb335ed7d2.jpg","text":"TemporaryFile(/tmp/multipartBody4895731266633326352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_34_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/30/8ce18f2b9efa2bdefb7d1ce89018d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody6954029131517166224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_37_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/30/98214b1b937e5c9bf07c4411981c3ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8116892744001040998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_40_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/30/03c1d764f2bd91fbb2fa01cde6795f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4001079051954195488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_43_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/30/a7574c279ae0df8a224492e5b718ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody1088903993043989366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_31_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/30/eaa39e6bb1ec171e4afa1fde3835b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7794032623922050823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530383036,"filename":"image_31102025_13_33_46_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397089271","file1":"1397089200","file0":"1397089126","file4":"1397089420","file5":"1397089494","file3":"1397089345"},"map_files_photo_id_array":[{"photo_id":"1397089494","filename":"file5"},{"photo_id":"1397089271","filename":"file2"},{"photo_id":"1397089420","filename":"file4"},{"photo_id":"1397089200","filename":"file1"},{"photo_id":"1397089126","filename":"file0"},{"photo_id":"1397089345","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397089200":["hashtag1","hashtag2"]},{"1397089271":["hashtag1","hashtag2"]},{"1397089345":["hashtag1","hashtag2"]},{"1397089420":["hashtag1","hashtag2"]},{"1397089126":["hashtag1","hashtag2"]},{"1397089494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397089200, 1397089271, 1397089345, 1397089420, 1397089126, 1397089494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.301772356033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:19:22.393596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_54_9571.jpg', '/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_15_10054.jpg', '/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_35_9821.jpg', '/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_45_9628.jpg', '/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_56_10682.jpg', '/home/pi/Desktop/images/30112025/18/30/image_30112025_18_31_05_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/29/image_30112025_18_29_54_9571.jpg
/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_15_10054.jpg
/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_35_9821.jpg
/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_45_9628.jpg
/home/pi/Desktop/images/30112025/18/30/image_30112025_18_30_56_10682.jpg
/home/pi/Desktop/images/30112025/18/30/image_30112025_18_31_05_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397089892","1397089895","1397089874","1397089776","1397089890","1397089839"],"photo_ids_order":["1397089776","1397089839","1397089874","1397089890","1397089892","1397089895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4efb9c0157ebd85453abab5299e66a89.jpg","text":"TemporaryFile(/tmp/multipartBody5455307161865194229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_30_56_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d0b00afa0d4b61170706d88e9cf6aa9.jpg","text":"TemporaryFile(/tmp/multipartBody8149430672148916818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_31_05_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb1902776568dbec87ddc14fd881d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3940760783825948425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_30_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/788ec86dd3a4e7ef1ff27389a8bf27f8.jpg","text":"TemporaryFile(/tmp/multipartBody901595148691021553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_29_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9129d2a4c4fd211f14b28f76dc976daa.jpg","text":"TemporaryFile(/tmp/multipartBody6676184236584951601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_30_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b44d7791191338ee3df8b7cf762d534.jpg","text":"TemporaryFile(/tmp/multipartBody7729025065389150965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530423103,"filename":"image_30112025_18_30_15_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397089874","file1":"1397089839","file0":"1397089776","file4":"1397089892","file5":"1397089895","file3":"1397089890"},"map_files_photo_id_array":[{"photo_id":"1397089895","filename":"file5"},{"photo_id":"1397089874","filename":"file2"},{"photo_id":"1397089892","filename":"file4"},{"photo_id":"1397089839","filename":"file1"},{"photo_id":"1397089776","filename":"file0"},{"photo_id":"1397089890","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397089892":["hashtag1","hashtag2"]},{"1397089895":["hashtag1","hashtag2"]},{"1397089874":["hashtag1","hashtag2"]},{"1397089776":["hashtag1","hashtag2"]},{"1397089890":["hashtag1","hashtag2"]},{"1397089839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397089892, 1397089895, 1397089874, 1397089776, 1397089890, 1397089839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12461280822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:20:02.951368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_15_9571.jpg', '/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_26_10689.jpg', '/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_45_9645.jpg', '/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_55_10613.jpg', '/home/pi/Desktop/images/30112025/18/31/image_30112025_18_32_05_9909.jpg', '/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_15_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_15_9571.jpg
/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_26_10689.jpg
/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_45_9645.jpg
/home/pi/Desktop/images/30112025/18/31/image_30112025_18_31_55_10613.jpg
/home/pi/Desktop/images/30112025/18/31/image_30112025_18_32_05_9909.jpg
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_15_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090076","1397090040","1397090013","1397090042","1397090003","1397090005"],"photo_ids_order":["1397090003","1397090005","1397090013","1397090040","1397090042","1397090076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2678a32bd46cb403bcb3a7f95164c00a.jpg","text":"TemporaryFile(/tmp/multipartBody2085427900144902860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_32_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bda162b0b1ad96f0f83c93b41bad1023.jpg","text":"TemporaryFile(/tmp/multipartBody6168479946946448627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_31_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1abac71a1ba4f2a43e67cc57697fe21c.jpg","text":"TemporaryFile(/tmp/multipartBody7428767893690684263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_31_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1150637e62b4b4992afef9e11a113c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5011850891576192003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_32_05_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54669fdb08f3049b12edfcd1e2d11ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7684283649726586057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_31_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78bc93c8f09c982fd006775c50ec277e.jpg","text":"TemporaryFile(/tmp/multipartBody4880780930073228408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530463625,"filename":"image_30112025_18_31_26_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090013","file1":"1397090005","file0":"1397090003","file4":"1397090042","file5":"1397090076","file3":"1397090040"},"map_files_photo_id_array":[{"photo_id":"1397090076","filename":"file5"},{"photo_id":"1397090013","filename":"file2"},{"photo_id":"1397090042","filename":"file4"},{"photo_id":"1397090005","filename":"file1"},{"photo_id":"1397090003","filename":"file0"},{"photo_id":"1397090040","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090076":["hashtag1","hashtag2"]},{"1397090040":["hashtag1","hashtag2"]},{"1397090013":["hashtag1","hashtag2"]},{"1397090042":["hashtag1","hashtag2"]},{"1397090003":["hashtag1","hashtag2"]},{"1397090005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090076, 1397090040, 1397090013, 1397090042, 1397090003, 1397090005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75646758079529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:20:42.553570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/33/image_31102025_13_33_49_2567.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_52_3710.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_55_2683.jpg', '/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_58_2767.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_01_2796.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_04_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_49_2567.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_52_3710.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_55_2683.jpg
/home/pi/Desktop/images/31102025/13/33/image_31102025_13_33_58_2767.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_01_2796.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_04_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090334","1397090331","1397090249","1397090284","1397090332","1397090320"],"photo_ids_order":["1397090249","1397090284","1397090320","1397090331","1397090332","1397090334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/96f7b38035d1c66743e43ada341be3a0.jpg","text":"TemporaryFile(/tmp/multipartBody2186862356058133961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_34_04_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ebf5d6c4162bbdde6a10ce084b06eed.jpg","text":"TemporaryFile(/tmp/multipartBody485757041746167255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_33_58_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e59cf25b6fee4d2fa08d88f497a4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5967162719046562036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_33_49_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f335adf81b689658700cf0611f78a552.jpg","text":"TemporaryFile(/tmp/multipartBody297816162383159732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_33_52_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/30/e3d406878f0747f744a3403ae481344d.jpg","text":"TemporaryFile(/tmp/multipartBody3278616867066475633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_34_01_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/30/903ce222368dd73d499c8c84920989b5.jpg","text":"TemporaryFile(/tmp/multipartBody7373249401764926634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530503424,"filename":"image_31102025_13_33_55_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090320","file1":"1397090284","file0":"1397090249","file4":"1397090332","file5":"1397090334","file3":"1397090331"},"map_files_photo_id_array":[{"photo_id":"1397090334","filename":"file5"},{"photo_id":"1397090320","filename":"file2"},{"photo_id":"1397090332","filename":"file4"},{"photo_id":"1397090284","filename":"file1"},{"photo_id":"1397090249","filename":"file0"},{"photo_id":"1397090331","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090334":["hashtag1","hashtag2"]},{"1397090331":["hashtag1","hashtag2"]},{"1397090249":["hashtag1","hashtag2"]},{"1397090284":["hashtag1","hashtag2"]},{"1397090332":["hashtag1","hashtag2"]},{"1397090320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090334, 1397090331, 1397090249, 1397090284, 1397090332, 1397090320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25652480125427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:21:22.701169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_25_9732.jpg', '/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_35_10654.jpg', '/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_45_9662.jpg', '/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_55_9639.jpg', '/home/pi/Desktop/images/30112025/18/32/image_30112025_18_33_06_10800.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_15_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_25_9732.jpg
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_35_10654.jpg
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_45_9662.jpg
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_32_55_9639.jpg
/home/pi/Desktop/images/30112025/18/32/image_30112025_18_33_06_10800.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_15_9576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090480","1397090427","1397090406","1397090402","1397090464","1397090404"],"photo_ids_order":["1397090402","1397090404","1397090406","1397090427","1397090464","1397090480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9341a9ab557419b539bf0c48fd96d051.jpg","text":"TemporaryFile(/tmp/multipartBody7639110426407349245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_33_15_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d67c815d975268e08c0cd49d377872ae.jpg","text":"TemporaryFile(/tmp/multipartBody9020009612492536263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_32_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9658a9b9cffac7c58089a9b6b91bf249.jpg","text":"TemporaryFile(/tmp/multipartBody6651683513584782624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_32_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1eecb5698edd775ede813491af1f54e6.jpg","text":"TemporaryFile(/tmp/multipartBody9191538559198694464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_32_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58f86921942dc8dfc9b1ba0e7749dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody4373777981986123044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_33_06_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41c7cf7cf8cf307677a23b42e0fa19d8.jpg","text":"TemporaryFile(/tmp/multipartBody6289780744974405274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530543376,"filename":"image_30112025_18_32_35_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090406","file1":"1397090404","file0":"1397090402","file4":"1397090464","file5":"1397090480","file3":"1397090427"},"map_files_photo_id_array":[{"photo_id":"1397090480","filename":"file5"},{"photo_id":"1397090406","filename":"file2"},{"photo_id":"1397090464","filename":"file4"},{"photo_id":"1397090404","filename":"file1"},{"photo_id":"1397090402","filename":"file0"},{"photo_id":"1397090427","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090480":["hashtag1","hashtag2"]},{"1397090427":["hashtag1","hashtag2"]},{"1397090406":["hashtag1","hashtag2"]},{"1397090402":["hashtag1","hashtag2"]},{"1397090464":["hashtag1","hashtag2"]},{"1397090404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090480, 1397090427, 1397090406, 1397090402, 1397090464, 1397090404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.957212686538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:22:02.276488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_25_9671.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_36_10771.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_45_9626.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_55_9705.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_34_06_10719.jpg', '/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_15_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_25_9671.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_36_10771.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_45_9626.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_55_9705.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_34_06_10719.jpg
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_15_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5811543464660645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:22:11.824442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_45_3604.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_48_2541.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_50_2496.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_54_3683.jpg', '/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_57_3187.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_02_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_45_3604.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_48_2541.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_50_2496.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_54_3683.jpg
/home/pi/Desktop/images/25112025/20/46/image_25112025_20_46_57_3187.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_02_2631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090487","1397090492","1397090489","1397090501","1397090496","1397090499"],"photo_ids_order":["1397090487","1397090489","1397090492","1397090496","1397090499","1397090501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/769d7d01a26fd9b893f17bb8cc998e39.jpg","text":"TemporaryFile(/tmp/multipartBody3389406392848924346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_46_45_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/30/6e9d2357016d6b48153a457a8a8cb063.jpg","text":"TemporaryFile(/tmp/multipartBody4240192070896152160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_46_50_2496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2858b0bfefe19fc2bb0af92275e0929.jpg","text":"TemporaryFile(/tmp/multipartBody4124804405665581701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_46_48_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/30/0b0f34f7195b4732622bfdb331585cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5647474434362660325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_47_02_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/30/6c31502e185690b1175f984b1814f04b.jpg","text":"TemporaryFile(/tmp/multipartBody6522205533576603307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_46_54_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/30/cb4a42098913e712f23924f09bbd0658.jpg","text":"TemporaryFile(/tmp/multipartBody6354316244346867964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530593486,"filename":"image_25112025_20_46_57_3187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090492","file1":"1397090489","file0":"1397090487","file4":"1397090499","file5":"1397090501","file3":"1397090496"},"map_files_photo_id_array":[{"photo_id":"1397090501","filename":"file5"},{"photo_id":"1397090492","filename":"file2"},{"photo_id":"1397090499","filename":"file4"},{"photo_id":"1397090489","filename":"file1"},{"photo_id":"1397090487","filename":"file0"},{"photo_id":"1397090496","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397090487":["hashtag1","hashtag2"]},{"1397090492":["hashtag1","hashtag2"]},{"1397090489":["hashtag1","hashtag2"]},{"1397090501":["hashtag1","hashtag2"]},{"1397090496":["hashtag1","hashtag2"]},{"1397090499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397090487, 1397090492, 1397090489, 1397090501, 1397090496, 1397090499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05149579048157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:23:03.061249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_25_9671.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_36_10771.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_45_9626.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_55_9705.jpg', '/home/pi/Desktop/images/30112025/18/33/image_30112025_18_34_06_10719.jpg', '/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_15_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_25_9671.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_36_10771.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_45_9626.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_33_55_9705.jpg
/home/pi/Desktop/images/30112025/18/33/image_30112025_18_34_06_10719.jpg
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_15_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090514","1397090508","1397090511","1397090507","1397090506","1397090509"],"photo_ids_order":["1397090506","1397090507","1397090508","1397090509","1397090511","1397090514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b5c305fd07692b51c01097c6645d08d.jpg","text":"TemporaryFile(/tmp/multipartBody6707839255395141652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_34_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ffd4398d5ff1408d2d246838a198eaee.jpg","text":"TemporaryFile(/tmp/multipartBody8903219094280788603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_33_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d61367155e85aa40c758e30f84c973ce.jpg","text":"TemporaryFile(/tmp/multipartBody3732458863700400338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_34_06_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ecb1d17b1658eadf9d0d9a3a0c8e485c.jpg","text":"TemporaryFile(/tmp/multipartBody6791929903433108748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_33_36_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91a32be3a4d3693b79787fa16dbcb72e.jpg","text":"TemporaryFile(/tmp/multipartBody2458802530835919232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_33_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/547fd0425d4366e686dd022a404abb3e.jpg","text":"TemporaryFile(/tmp/multipartBody2856314188556881528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530643743,"filename":"image_30112025_18_33_55_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090508","file1":"1397090507","file0":"1397090506","file4":"1397090511","file5":"1397090514","file3":"1397090509"},"map_files_photo_id_array":[{"photo_id":"1397090514","filename":"file5"},{"photo_id":"1397090508","filename":"file2"},{"photo_id":"1397090511","filename":"file4"},{"photo_id":"1397090507","filename":"file1"},{"photo_id":"1397090506","filename":"file0"},{"photo_id":"1397090509","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090514":["hashtag1","hashtag2"]},{"1397090508":["hashtag1","hashtag2"]},{"1397090511":["hashtag1","hashtag2"]},{"1397090507":["hashtag1","hashtag2"]},{"1397090506":["hashtag1","hashtag2"]},{"1397090509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090514, 1397090508, 1397090511, 1397090507, 1397090506, 1397090509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34619736671448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:23:42.137539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/34/image_31102025_13_34_07_2791.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_10_2549.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_13_3668.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_16_2681.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_19_2660.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_22_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_07_2791.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_10_2549.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_13_3668.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_16_2681.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_19_2660.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_22_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090544","1397090523","1397090543","1397090525","1397090542","1397090545"],"photo_ids_order":["1397090523","1397090525","1397090542","1397090543","1397090544","1397090545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f2ccc5b83cfaf2c25d369a0fdc7100b.jpg","text":"TemporaryFile(/tmp/multipartBody5163746334096075801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_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/30/7cff26ac1d09b926b9fa52d255258088.jpg","text":"TemporaryFile(/tmp/multipartBody3781030903549563434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_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/30/3fb14a759da3488ea7d82ce1fc2d529a.jpg","text":"TemporaryFile(/tmp/multipartBody8690175817078481626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_16_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/30/5e0f18ffe464e5884636484723b8068d.jpg","text":"TemporaryFile(/tmp/multipartBody4204734433957275157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_10_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/30/ba7134c7dbdc6e470dc8e317bb168dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2561559388839118673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_13_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/30/b36007065941f8e9c371246f099bce31.jpg","text":"TemporaryFile(/tmp/multipartBody3323781097591338296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530683018,"filename":"image_31102025_13_34_22_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090542","file1":"1397090525","file0":"1397090523","file4":"1397090544","file5":"1397090545","file3":"1397090543"},"map_files_photo_id_array":[{"photo_id":"1397090545","filename":"file5"},{"photo_id":"1397090542","filename":"file2"},{"photo_id":"1397090544","filename":"file4"},{"photo_id":"1397090525","filename":"file1"},{"photo_id":"1397090523","filename":"file0"},{"photo_id":"1397090543","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090544":["hashtag1","hashtag2"]},{"1397090523":["hashtag1","hashtag2"]},{"1397090543":["hashtag1","hashtag2"]},{"1397090525":["hashtag1","hashtag2"]},{"1397090542":["hashtag1","hashtag2"]},{"1397090545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090544, 1397090523, 1397090543, 1397090525, 1397090542, 1397090545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63350820541382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:24:22.258749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_25_9821.jpg', '/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_35_9739.jpg', '/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_46_10560.jpg', '/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_55_9742.jpg', '/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_16_10698.jpg', '/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_25_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_25_9821.jpg
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_35_9739.jpg
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_46_10560.jpg
/home/pi/Desktop/images/30112025/18/34/image_30112025_18_34_55_9742.jpg
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_16_10698.jpg
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_25_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090559","1397090550","1397090553","1397090547","1397090556","1397090562"],"photo_ids_order":["1397090547","1397090550","1397090553","1397090556","1397090559","1397090562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/030695b597dbc056f642ee8448df5eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2343726371111628244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_35_16_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/074666069139a068a95c3fad235bc560.jpg","text":"TemporaryFile(/tmp/multipartBody3075777522859619773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_34_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24728c172b98f14baa3a649c83ae9ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1913449294604070374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_34_46_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef1707e9de43879205599ac56486b1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4510157643475857360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_34_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8b5302baf4bd4af9e7131598818bfe3.jpg","text":"TemporaryFile(/tmp/multipartBody4409429884497954307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_34_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a068492fe6d8c9b2594875cda23d37c.jpg","text":"TemporaryFile(/tmp/multipartBody4831061440629384819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530722931,"filename":"image_30112025_18_35_25_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090553","file1":"1397090550","file0":"1397090547","file4":"1397090559","file5":"1397090562","file3":"1397090556"},"map_files_photo_id_array":[{"photo_id":"1397090562","filename":"file5"},{"photo_id":"1397090553","filename":"file2"},{"photo_id":"1397090559","filename":"file4"},{"photo_id":"1397090550","filename":"file1"},{"photo_id":"1397090547","filename":"file0"},{"photo_id":"1397090556","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090559":["hashtag1","hashtag2"]},{"1397090550":["hashtag1","hashtag2"]},{"1397090553":["hashtag1","hashtag2"]},{"1397090547":["hashtag1","hashtag2"]},{"1397090556":["hashtag1","hashtag2"]},{"1397090562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090559, 1397090550, 1397090553, 1397090547, 1397090556, 1397090562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.633310317993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:25:03.220675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_35_9726.jpg', '/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_53_17479.jpg', '/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_57_4242.jpg', '/home/pi/Desktop/images/30112025/18/35/image_30112025_18_36_05_8666.jpg', '/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_15_9834.jpg', '/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_26_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_35_9726.jpg
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_53_17479.jpg
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_35_57_4242.jpg
/home/pi/Desktop/images/30112025/18/35/image_30112025_18_36_05_8666.jpg
/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_15_9834.jpg
/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_26_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090565","1397090573","1397090564","1397090567","1397090566","1397090569"],"photo_ids_order":["1397090564","1397090565","1397090566","1397090567","1397090569","1397090573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cb5b7ad768129bd7f2dabd42051bd4a.jpg","text":"TemporaryFile(/tmp/multipartBody5425033843584259805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_35_53_17479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bf32e6306efe3dfcd9fb0d26db862d3.jpg","text":"TemporaryFile(/tmp/multipartBody5741882575249426868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_36_26_10374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1c95f42a8ff74a09678efbd73e922e0.jpg","text":"TemporaryFile(/tmp/multipartBody1629009693278246923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_35_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/66f31c56a6494d22724f099530aa5fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7510103834567702344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_36_05_8666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48221c4946c2768d03429a5fb9129f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5618711982009935442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_35_57_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/30/b3b9f636b0fcdf2a55c6117a68bf244e.jpg","text":"TemporaryFile(/tmp/multipartBody3587379622784157981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530763974,"filename":"image_30112025_18_36_15_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090566","file1":"1397090565","file0":"1397090564","file4":"1397090569","file5":"1397090573","file3":"1397090567"},"map_files_photo_id_array":[{"photo_id":"1397090573","filename":"file5"},{"photo_id":"1397090566","filename":"file2"},{"photo_id":"1397090569","filename":"file4"},{"photo_id":"1397090565","filename":"file1"},{"photo_id":"1397090564","filename":"file0"},{"photo_id":"1397090567","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090565":["hashtag1","hashtag2"]},{"1397090573":["hashtag1","hashtag2"]},{"1397090564":["hashtag1","hashtag2"]},{"1397090567":["hashtag1","hashtag2"]},{"1397090566":["hashtag1","hashtag2"]},{"1397090569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090565, 1397090573, 1397090564, 1397090567, 1397090566, 1397090569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50740194320679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:25:42.544282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/34/image_31102025_13_34_25_2574.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_27_2602.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_31_3797.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_34_2712.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_40_3627.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_43_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/13/34/image_31102025_13_34_25_2574.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_27_2602.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_31_3797.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_34_2712.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_40_3627.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_43_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":["1397090582","1397090579","1397090584","1397090581","1397090580","1397090583"],"photo_ids_order":["1397090579","1397090580","1397090581","1397090582","1397090583","1397090584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce39335ce1ef03315199a4909b214900.jpg","text":"TemporaryFile(/tmp/multipartBody7178922288115821310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_34_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e859d41358b571be728e5444d81f40af.jpg","text":"TemporaryFile(/tmp/multipartBody2356621479011289958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_25_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/30/ccd55887c2b9d12883c7cc5452d48650.jpg","text":"TemporaryFile(/tmp/multipartBody8561114164216078081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_43_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a919caabd4adb96e9c8729a32fbf06ad.jpg","text":"TemporaryFile(/tmp/multipartBody5786638068924915802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_31_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/30/6b2794d570dbf161fc7318b861b02a6a.jpg","text":"TemporaryFile(/tmp/multipartBody357392350424340255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_27_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e3aacb523fc5be9bc7485ea09f0f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody4874163030930889089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530803421,"filename":"image_31102025_13_34_40_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090581","file1":"1397090580","file0":"1397090579","file4":"1397090583","file5":"1397090584","file3":"1397090582"},"map_files_photo_id_array":[{"photo_id":"1397090584","filename":"file5"},{"photo_id":"1397090581","filename":"file2"},{"photo_id":"1397090583","filename":"file4"},{"photo_id":"1397090580","filename":"file1"},{"photo_id":"1397090579","filename":"file0"},{"photo_id":"1397090582","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090582":["hashtag1","hashtag2"]},{"1397090579":["hashtag1","hashtag2"]},{"1397090584":["hashtag1","hashtag2"]},{"1397090581":["hashtag1","hashtag2"]},{"1397090580":["hashtag1","hashtag2"]},{"1397090583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090582, 1397090579, 1397090584, 1397090581, 1397090580, 1397090583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84496593475342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:26:22.698131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_35_9591.jpg', '/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_58_13341.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_05_6625.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_15_9840.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_25_10659.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_36_10117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_35_9591.jpg
/home/pi/Desktop/images/30112025/18/36/image_30112025_18_36_58_13341.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_05_6625.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_15_9840.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_25_10659.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_36_10117.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090591","1397090594","1397090588","1397090597","1397090599","1397090602"],"photo_ids_order":["1397090588","1397090591","1397090594","1397090597","1397090599","1397090602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1759a3d184430e4400e0aed9f01e87e4.jpg","text":"TemporaryFile(/tmp/multipartBody6924925789746322405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_36_58_13341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a74fce5b842f8e39c4293233cdb694c.jpg","text":"TemporaryFile(/tmp/multipartBody4658525929076145797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_37_05_6625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/695136548c800a108e0dc9958b90fe36.jpg","text":"TemporaryFile(/tmp/multipartBody6595430654948541478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_36_35_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1e6914b2e96af3d433539fe62b1e4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1661568107327502523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_37_15_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eaf802416811e3f02c6eea5140a8af76.jpg","text":"TemporaryFile(/tmp/multipartBody5282139443467554204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_37_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/079cc9e0d3506bcf8b71f99987dd02ff.jpg","text":"TemporaryFile(/tmp/multipartBody2714244325031038949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530843363,"filename":"image_30112025_18_37_36_10117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090594","file1":"1397090591","file0":"1397090588","file4":"1397090599","file5":"1397090602","file3":"1397090597"},"map_files_photo_id_array":[{"photo_id":"1397090602","filename":"file5"},{"photo_id":"1397090594","filename":"file2"},{"photo_id":"1397090599","filename":"file4"},{"photo_id":"1397090591","filename":"file1"},{"photo_id":"1397090588","filename":"file0"},{"photo_id":"1397090597","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090591":["hashtag1","hashtag2"]},{"1397090594":["hashtag1","hashtag2"]},{"1397090588":["hashtag1","hashtag2"]},{"1397090597":["hashtag1","hashtag2"]},{"1397090599":["hashtag1","hashtag2"]},{"1397090602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090591, 1397090594, 1397090588, 1397090597, 1397090599, 1397090602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66979956626892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:27:02.564868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_46_9996.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_55_9808.jpg', '/home/pi/Desktop/images/30112025/18/37/image_30112025_18_38_05_9597.jpg', '/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_15_9670.jpg', '/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_25_10640.jpg', '/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_35_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_46_9996.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_37_55_9808.jpg
/home/pi/Desktop/images/30112025/18/37/image_30112025_18_38_05_9597.jpg
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_15_9670.jpg
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_25_10640.jpg
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_35_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090625","1397090628","1397090622","1397090621","1397090620","1397090623"],"photo_ids_order":["1397090620","1397090621","1397090622","1397090623","1397090625","1397090628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a426564a0f5d351fbf35506b58a9464.jpg","text":"TemporaryFile(/tmp/multipartBody4180653368600196460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_38_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff37433b9c0772952ab4b23dde5686cc.jpg","text":"TemporaryFile(/tmp/multipartBody7025382550655652376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_38_35_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/530b8423a13a2ec4d73c2738b00cb550.jpg","text":"TemporaryFile(/tmp/multipartBody2832029525857068766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_38_05_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/90bdf92c5e57bf1cfca5b6b605fbe591.jpg","text":"TemporaryFile(/tmp/multipartBody1080159943579661880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_37_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68f1d3b621a69b5363194c9787d37172.jpg","text":"TemporaryFile(/tmp/multipartBody6492381910497652228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_37_46_9996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/450b806b0e31f4baf6f1749dd3c9e148.jpg","text":"TemporaryFile(/tmp/multipartBody4830333624657325210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530883291,"filename":"image_30112025_18_38_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090622","file1":"1397090621","file0":"1397090620","file4":"1397090625","file5":"1397090628","file3":"1397090623"},"map_files_photo_id_array":[{"photo_id":"1397090628","filename":"file5"},{"photo_id":"1397090622","filename":"file2"},{"photo_id":"1397090625","filename":"file4"},{"photo_id":"1397090621","filename":"file1"},{"photo_id":"1397090620","filename":"file0"},{"photo_id":"1397090623","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090625":["hashtag1","hashtag2"]},{"1397090628":["hashtag1","hashtag2"]},{"1397090622":["hashtag1","hashtag2"]},{"1397090621":["hashtag1","hashtag2"]},{"1397090620":["hashtag1","hashtag2"]},{"1397090623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090625, 1397090628, 1397090622, 1397090621, 1397090620, 1397090623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.4848792552948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:28:02.422170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_46_10635.jpg', '/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_55_9758.jpg', '/home/pi/Desktop/images/30112025/18/38/image_30112025_18_39_05_9714.jpg', '/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_26_9890.jpg', '/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_37_11333.jpg', '/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_46_8685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_46_10635.jpg
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_38_55_9758.jpg
/home/pi/Desktop/images/30112025/18/38/image_30112025_18_39_05_9714.jpg
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_26_9890.jpg
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_37_11333.jpg
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_46_8685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090643","1397090646","1397090640","1397090639","1397090641","1397090638"],"photo_ids_order":["1397090638","1397090639","1397090640","1397090641","1397090643","1397090646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c902da21edc05f267f9f11403d5ab3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8420757202209268180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_39_37_11333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5b2621d1e71c05b9b95267ac614ada5.jpg","text":"TemporaryFile(/tmp/multipartBody6482341323486767952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_39_46_8685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3a3ba58b55f7b441e897a20a87b5a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8111085882234076060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_39_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7a86c58f632d9702593acbc9215d5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4679497319503208723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_38_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2447e437b1ee60dbe500e261cab0bd5a.jpg","text":"TemporaryFile(/tmp/multipartBody9068510993069219790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_39_26_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf8b3d2d596e6b34d1f5aec763ce3326.jpg","text":"TemporaryFile(/tmp/multipartBody4699397808850954149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530943099,"filename":"image_30112025_18_38_46_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090640","file1":"1397090639","file0":"1397090638","file4":"1397090643","file5":"1397090646","file3":"1397090641"},"map_files_photo_id_array":[{"photo_id":"1397090646","filename":"file5"},{"photo_id":"1397090640","filename":"file2"},{"photo_id":"1397090643","filename":"file4"},{"photo_id":"1397090639","filename":"file1"},{"photo_id":"1397090638","filename":"file0"},{"photo_id":"1397090641","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090643":["hashtag1","hashtag2"]},{"1397090646":["hashtag1","hashtag2"]},{"1397090640":["hashtag1","hashtag2"]},{"1397090639":["hashtag1","hashtag2"]},{"1397090641":["hashtag1","hashtag2"]},{"1397090638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090643, 1397090646, 1397090640, 1397090639, 1397090641, 1397090638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.011725425720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:28:42.055863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/34/image_31102025_13_34_45_2617.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_49_3673.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_52_2767.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_54_2571.jpg', '/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_58_3794.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_01_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/13/34/image_31102025_13_34_45_2617.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_49_3673.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_52_2767.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_54_2571.jpg
/home/pi/Desktop/images/31102025/13/34/image_31102025_13_34_58_3794.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_01_2706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090664","1397090658","1397090655","1397090663","1397090662","1397090661"],"photo_ids_order":["1397090655","1397090658","1397090661","1397090662","1397090663","1397090664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7ffc9c968f0d38639c38d10ef859c91.jpg","text":"TemporaryFile(/tmp/multipartBody2799620984025761329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_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/30/806f1b88e774b30c5083d4542c566c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8041198767127214504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_34_49_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/30/128118c328636c78eb9b28ef5c8afd2d.jpg","text":"TemporaryFile(/tmp/multipartBody3595810599344581217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_34_45_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/30/8e9c4a83ac4517b13f9fcdf0332a7247.jpg","text":"TemporaryFile(/tmp/multipartBody4363539724554092892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_34_58_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/30/dec1c92db476148b18b84d4872b17f1d.jpg","text":"TemporaryFile(/tmp/multipartBody6400976673840940951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_34_54_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/30/6901da9a157b79c90558d53a0ba44360.jpg","text":"TemporaryFile(/tmp/multipartBody5447754908169718252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764530982929,"filename":"image_31102025_13_34_52_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090661","file1":"1397090658","file0":"1397090655","file4":"1397090663","file5":"1397090664","file3":"1397090662"},"map_files_photo_id_array":[{"photo_id":"1397090664","filename":"file5"},{"photo_id":"1397090661","filename":"file2"},{"photo_id":"1397090663","filename":"file4"},{"photo_id":"1397090658","filename":"file1"},{"photo_id":"1397090655","filename":"file0"},{"photo_id":"1397090662","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090664":["hashtag1","hashtag2"]},{"1397090658":["hashtag1","hashtag2"]},{"1397090655":["hashtag1","hashtag2"]},{"1397090663":["hashtag1","hashtag2"]},{"1397090662":["hashtag1","hashtag2"]},{"1397090661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090664, 1397090658, 1397090655, 1397090663, 1397090662, 1397090661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.777365922927856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:29:22.201038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_55_9757.jpg', '/home/pi/Desktop/images/30112025/18/39/image_30112025_18_40_05_9589.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_15_10615.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_25_9759.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_35_9744.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_46_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_55_9757.jpg
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_40_05_9589.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_15_10615.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_25_9759.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_35_9744.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_46_10657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5774374008178711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:29:32.218892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_06_3655.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_11_2640.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_15_3637.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_18_2689.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_24_3667.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_27_3281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_06_3655.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_11_2640.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_15_3637.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_18_2689.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_24_3667.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_27_3281.jpg
 val : 1 : upload photos 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":["1397090685","1397090681","1397090705","1397090677","1397090692","1397090704"],"photo_ids_order":["1397090677","1397090681","1397090685","1397090692","1397090704","1397090705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fb53aba2f4bf23007006d691ae6db99a.jpg","text":"TemporaryFile(/tmp/multipartBody2378184210708812167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_15_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/30/bb605982271e2b313fff03d8afcff831.jpg","text":"TemporaryFile(/tmp/multipartBody7609420726220866860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_11_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/30/0595e758f52c1e06f72421967ec1dc81.jpg","text":"TemporaryFile(/tmp/multipartBody2268137993010751544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_27_3281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cd6d3ec9de9ec9960f1b328d760ed65.jpg","text":"TemporaryFile(/tmp/multipartBody9123109781468926964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_06_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/30/c77206297ad708c48e2ff8311df060fb.jpg","text":"TemporaryFile(/tmp/multipartBody6626814019882129418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_18_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/30/ee4539a9d66dc8888f4540adce2263d1.jpg","text":"TemporaryFile(/tmp/multipartBody3691603077815271227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531034184,"filename":"image_25112025_20_47_24_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090685","file1":"1397090681","file0":"1397090677","file4":"1397090704","file5":"1397090705","file3":"1397090692"},"map_files_photo_id_array":[{"photo_id":"1397090705","filename":"file5"},{"photo_id":"1397090685","filename":"file2"},{"photo_id":"1397090704","filename":"file4"},{"photo_id":"1397090681","filename":"file1"},{"photo_id":"1397090677","filename":"file0"},{"photo_id":"1397090692","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397090685":["hashtag1","hashtag2"]},{"1397090681":["hashtag1","hashtag2"]},{"1397090705":["hashtag1","hashtag2"]},{"1397090677":["hashtag1","hashtag2"]},{"1397090692":["hashtag1","hashtag2"]},{"1397090704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397090685, 1397090681, 1397090705, 1397090677, 1397090692, 1397090704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.56379532814026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:30:42.464764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/35/image_31102025_13_35_04_2790.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_06_2692.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_09_2867.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_13_3680.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_18_2692.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_22_3510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_04_2790.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_06_2692.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_09_2867.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_13_3680.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_18_2692.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_22_3510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090721","1397090718","1397090717","1397090720","1397090719","1397090713"],"photo_ids_order":["1397090713","1397090717","1397090718","1397090719","1397090720","1397090721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f056815285c6f69fde39a5e95ba85b7e.jpg","text":"TemporaryFile(/tmp/multipartBody882995323368822942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_22_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d178ef94091b0a5bb80024317e3c1202.jpg","text":"TemporaryFile(/tmp/multipartBody611107086937118431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_09_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81f2c29fa2d215a2efb2265e845f0d96.jpg","text":"TemporaryFile(/tmp/multipartBody831897694035215167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_06_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/30/4d39785027b40756f245cabf267296b8.jpg","text":"TemporaryFile(/tmp/multipartBody3416518192853688740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_18_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/30/52fd8183b2658e37e9ff564cc5a9908e.jpg","text":"TemporaryFile(/tmp/multipartBody6876880636507524178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_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/30/7408baf4043c494bf68818f58a35857b.jpg","text":"TemporaryFile(/tmp/multipartBody33723237080194497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531103341,"filename":"image_31102025_13_35_04_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090718","file1":"1397090717","file0":"1397090713","file4":"1397090720","file5":"1397090721","file3":"1397090719"},"map_files_photo_id_array":[{"photo_id":"1397090721","filename":"file5"},{"photo_id":"1397090718","filename":"file2"},{"photo_id":"1397090720","filename":"file4"},{"photo_id":"1397090717","filename":"file1"},{"photo_id":"1397090713","filename":"file0"},{"photo_id":"1397090719","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090721":["hashtag1","hashtag2"]},{"1397090718":["hashtag1","hashtag2"]},{"1397090717":["hashtag1","hashtag2"]},{"1397090720":["hashtag1","hashtag2"]},{"1397090719":["hashtag1","hashtag2"]},{"1397090713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090721, 1397090718, 1397090717, 1397090720, 1397090719, 1397090713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.746081829071045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:31:22.685789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_55_9757.jpg', '/home/pi/Desktop/images/30112025/18/39/image_30112025_18_40_05_9589.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_15_10615.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_25_9759.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_35_9744.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_46_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_39_55_9757.jpg
/home/pi/Desktop/images/30112025/18/39/image_30112025_18_40_05_9589.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_15_10615.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_25_9759.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_35_9744.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_46_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090730","1397090733","1397090735","1397090732","1397090728","1397090725"],"photo_ids_order":["1397090725","1397090728","1397090730","1397090732","1397090733","1397090735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e997e0c01cae64bcbc91bfe0b6937e2f.jpg","text":"TemporaryFile(/tmp/multipartBody940780231092839439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_40_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/664e98e3cb1cb94492918a24d2d9d05b.jpg","text":"TemporaryFile(/tmp/multipartBody8505559812991894718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_40_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5929a3dc7847d55e3edf3edd7d603865.jpg","text":"TemporaryFile(/tmp/multipartBody8028302675220779341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_40_46_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c24d5c08b4a7a7e78f47adf8dc503d14.jpg","text":"TemporaryFile(/tmp/multipartBody6897346399973494359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_40_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1a3979f293aea3ca233e0d0c42da35d.jpg","text":"TemporaryFile(/tmp/multipartBody935745121732370096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_40_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e1a9b3a52da4904bf9507704b68046d.jpg","text":"TemporaryFile(/tmp/multipartBody8390426464413159560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531143412,"filename":"image_30112025_18_39_55_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090730","file1":"1397090728","file0":"1397090725","file4":"1397090733","file5":"1397090735","file3":"1397090732"},"map_files_photo_id_array":[{"photo_id":"1397090735","filename":"file5"},{"photo_id":"1397090730","filename":"file2"},{"photo_id":"1397090733","filename":"file4"},{"photo_id":"1397090728","filename":"file1"},{"photo_id":"1397090725","filename":"file0"},{"photo_id":"1397090732","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090730":["hashtag1","hashtag2"]},{"1397090733":["hashtag1","hashtag2"]},{"1397090735":["hashtag1","hashtag2"]},{"1397090732":["hashtag1","hashtag2"]},{"1397090728":["hashtag1","hashtag2"]},{"1397090725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090730, 1397090733, 1397090735, 1397090732, 1397090728, 1397090725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31248712539673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:32:03.322157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_55_9733.jpg', '/home/pi/Desktop/images/30112025/18/40/image_30112025_18_41_05_9776.jpg', '/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_15_9726.jpg', '/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_25_10384.jpg', '/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_35_9606.jpg', '/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_45_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_40_55_9733.jpg
/home/pi/Desktop/images/30112025/18/40/image_30112025_18_41_05_9776.jpg
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_15_9726.jpg
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_25_10384.jpg
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_35_9606.jpg
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_45_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090745","1397090739","1397090736","1397090741","1397090738","1397090737"],"photo_ids_order":["1397090736","1397090737","1397090738","1397090739","1397090741","1397090745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/505cdcdfb4163bca7f157bc4e998b35b.jpg","text":"TemporaryFile(/tmp/multipartBody9173676689759509326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_41_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ceebbf865da62d3ad32fcbac573a2276.jpg","text":"TemporaryFile(/tmp/multipartBody9134445913727786066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_41_25_10384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7100079846cb771a2534b0685a753a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6801261188062749807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_40_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/119563e173ff7fd723b66c733c8a3f18.jpg","text":"TemporaryFile(/tmp/multipartBody4894247664650751357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_41_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfffe94daed59d31ae00ec0a6d972406.jpg","text":"TemporaryFile(/tmp/multipartBody587102973242777249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_41_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/316a54d00e432448caee3a3f8bbd2574.jpg","text":"TemporaryFile(/tmp/multipartBody2127303671493849532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531184032,"filename":"image_30112025_18_41_05_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090738","file1":"1397090737","file0":"1397090736","file4":"1397090741","file5":"1397090745","file3":"1397090739"},"map_files_photo_id_array":[{"photo_id":"1397090745","filename":"file5"},{"photo_id":"1397090738","filename":"file2"},{"photo_id":"1397090741","filename":"file4"},{"photo_id":"1397090737","filename":"file1"},{"photo_id":"1397090736","filename":"file0"},{"photo_id":"1397090739","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090745":["hashtag1","hashtag2"]},{"1397090739":["hashtag1","hashtag2"]},{"1397090736":["hashtag1","hashtag2"]},{"1397090741":["hashtag1","hashtag2"]},{"1397090738":["hashtag1","hashtag2"]},{"1397090737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090745, 1397090739, 1397090736, 1397090741, 1397090738, 1397090737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.113757610321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:32:42.841109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/35/image_31102025_13_35_30_2683.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_34_3772.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_37_2686.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_39_2714.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_43_3599.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_46_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_30_2683.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_34_3772.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_37_2686.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_39_2714.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_43_3599.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_46_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397090766","1397090768","1397090753","1397090765","1397090764","1397090767"],"photo_ids_order":["1397090753","1397090764","1397090765","1397090766","1397090767","1397090768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53f050c35ff84a9139acc09b96524e97.jpg","text":"TemporaryFile(/tmp/multipartBody5556982083649771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_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/30/29c5e8ea6a8b4dd30c9d0942a7bcb019.jpg","text":"TemporaryFile(/tmp/multipartBody4546113552318701691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_46_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/30/b32a0ac4ba46942f12df074314cb90ba.jpg","text":"TemporaryFile(/tmp/multipartBody2666578816993296544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_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/30/792c4d1e51833020c47248ba40e3292a.jpg","text":"TemporaryFile(/tmp/multipartBody2086491123755240956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_37_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/30/bbe8834e8222c8d19d86f95868c12961.jpg","text":"TemporaryFile(/tmp/multipartBody347718177488032297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_34_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/025c63f1fb431a1d680e01a76ea41261.jpg","text":"TemporaryFile(/tmp/multipartBody7523879919609304176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531223705,"filename":"image_31102025_13_35_43_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090765","file1":"1397090764","file0":"1397090753","file4":"1397090767","file5":"1397090768","file3":"1397090766"},"map_files_photo_id_array":[{"photo_id":"1397090768","filename":"file5"},{"photo_id":"1397090765","filename":"file2"},{"photo_id":"1397090767","filename":"file4"},{"photo_id":"1397090764","filename":"file1"},{"photo_id":"1397090753","filename":"file0"},{"photo_id":"1397090766","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090766":["hashtag1","hashtag2"]},{"1397090768":["hashtag1","hashtag2"]},{"1397090753":["hashtag1","hashtag2"]},{"1397090765":["hashtag1","hashtag2"]},{"1397090764":["hashtag1","hashtag2"]},{"1397090767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090766, 1397090768, 1397090753, 1397090765, 1397090764, 1397090767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6751229763031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:33:32.090675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_30_2669.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_36_3518.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_39_2541.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_41_2676.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_45_3655.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_48_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_30_2669.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_36_3518.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_39_2541.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_41_2676.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_45_3655.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_48_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090784","1397090778","1397090780","1397090783","1397090776","1397090785"],"photo_ids_order":["1397090776","1397090778","1397090780","1397090783","1397090784","1397090785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/07083fdd62b35feedf1035a39f11d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody820340290842410775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_45_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/30/9e1af59c452015633a3ce9bd0554e22b.jpg","text":"TemporaryFile(/tmp/multipartBody1662552984577035023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_36_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2305b2b0a9f2a51554e59cffbffe8143.jpg","text":"TemporaryFile(/tmp/multipartBody4062224876631343890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_39_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af35941b1ff5c05bd49a0d7923838697.jpg","text":"TemporaryFile(/tmp/multipartBody1567095055601943695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_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/30/2ea79a8a9aaf7e48464cccdb7b451094.jpg","text":"TemporaryFile(/tmp/multipartBody607444277681182106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_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/30/24652cef62f098ada48c508e0ac7e909.jpg","text":"TemporaryFile(/tmp/multipartBody4738137939526280699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531274025,"filename":"image_25112025_20_47_48_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090780","file1":"1397090778","file0":"1397090776","file4":"1397090784","file5":"1397090785","file3":"1397090783"},"map_files_photo_id_array":[{"photo_id":"1397090785","filename":"file5"},{"photo_id":"1397090780","filename":"file2"},{"photo_id":"1397090784","filename":"file4"},{"photo_id":"1397090778","filename":"file1"},{"photo_id":"1397090776","filename":"file0"},{"photo_id":"1397090783","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397090784":["hashtag1","hashtag2"]},{"1397090778":["hashtag1","hashtag2"]},{"1397090780":["hashtag1","hashtag2"]},{"1397090783":["hashtag1","hashtag2"]},{"1397090776":["hashtag1","hashtag2"]},{"1397090785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397090784, 1397090778, 1397090780, 1397090783, 1397090776, 1397090785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.775580406188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:34:12.184673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_51_3611.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_54_2614.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_56_2568.jpg', '/home/pi/Desktop/images/25112025/20/47/image_25112025_20_48_00_3738.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_03_2482.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_05_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_51_3611.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_54_2614.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_47_56_2568.jpg
/home/pi/Desktop/images/25112025/20/47/image_25112025_20_48_00_3738.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_03_2482.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_05_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090786","1397090794","1397090797","1397090791","1397090788","1397090800"],"photo_ids_order":["1397090786","1397090788","1397090791","1397090794","1397090797","1397090800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/124d2efc56394ddf5adb89b6d1628ae0.jpg","text":"TemporaryFile(/tmp/multipartBody578461957776170482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_47_51_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5c3ad8b56e4a8ab769bf6a2681bb667.jpg","text":"TemporaryFile(/tmp/multipartBody5152019416197332814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_48_00_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d3d926719f6e3d6aade58ff71158512.jpg","text":"TemporaryFile(/tmp/multipartBody4682705792732479995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_48_03_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/194440523d6cdca434005d8a9092485d.jpg","text":"TemporaryFile(/tmp/multipartBody3421497549009026661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_47_56_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a3aa312c52883442a00b705ef94b611.jpg","text":"TemporaryFile(/tmp/multipartBody8587141943342977249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_47_54_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cffd0ad52bcb693edf93c09729f1ec1.jpg","text":"TemporaryFile(/tmp/multipartBody391404744460337933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531313980,"filename":"image_25112025_20_48_05_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090791","file1":"1397090788","file0":"1397090786","file4":"1397090797","file5":"1397090800","file3":"1397090794"},"map_files_photo_id_array":[{"photo_id":"1397090800","filename":"file5"},{"photo_id":"1397090791","filename":"file2"},{"photo_id":"1397090797","filename":"file4"},{"photo_id":"1397090788","filename":"file1"},{"photo_id":"1397090786","filename":"file0"},{"photo_id":"1397090794","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397090786":["hashtag1","hashtag2"]},{"1397090794":["hashtag1","hashtag2"]},{"1397090797":["hashtag1","hashtag2"]},{"1397090791":["hashtag1","hashtag2"]},{"1397090788":["hashtag1","hashtag2"]},{"1397090800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397090786, 1397090794, 1397090797, 1397090791, 1397090788, 1397090800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04611110687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:35:03.154685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_55_9792.jpg', '/home/pi/Desktop/images/30112025/18/41/image_30112025_18_42_05_9686.jpg', '/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_16_10698.jpg', '/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_25_9582.jpg', '/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_35_9777.jpg', '/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_46_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_41_55_9792.jpg
/home/pi/Desktop/images/30112025/18/41/image_30112025_18_42_05_9686.jpg
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_16_10698.jpg
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_25_9582.jpg
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_35_9777.jpg
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_46_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090805","1397090808","1397090810","1397090813","1397090807","1397090806"],"photo_ids_order":["1397090805","1397090806","1397090807","1397090808","1397090810","1397090813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8cbf53d2f7cb2285cf2e57276f74271.jpg","text":"TemporaryFile(/tmp/multipartBody5170886665064553035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_41_55_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6c6fe43257a5d4d918c18ae3311e2ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8002438516208167927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_42_25_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68cd9d8cc7ca7f3acaaeb10b1657551d.jpg","text":"TemporaryFile(/tmp/multipartBody8579066250295195744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_42_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4b08595aa485967eebbea09138ed812.jpg","text":"TemporaryFile(/tmp/multipartBody6737681181349044634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_42_46_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a27ef93e4b3bb4e0e4cad419a471fd5d.jpg","text":"TemporaryFile(/tmp/multipartBody7421777221714849269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_42_16_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe502a6c308ae13a82cb567c912bc8fd.jpg","text":"TemporaryFile(/tmp/multipartBody4101313498058496429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531363847,"filename":"image_30112025_18_42_05_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090807","file1":"1397090806","file0":"1397090805","file4":"1397090810","file5":"1397090813","file3":"1397090808"},"map_files_photo_id_array":[{"photo_id":"1397090813","filename":"file5"},{"photo_id":"1397090807","filename":"file2"},{"photo_id":"1397090810","filename":"file4"},{"photo_id":"1397090806","filename":"file1"},{"photo_id":"1397090805","filename":"file0"},{"photo_id":"1397090808","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090805":["hashtag1","hashtag2"]},{"1397090808":["hashtag1","hashtag2"]},{"1397090810":["hashtag1","hashtag2"]},{"1397090813":["hashtag1","hashtag2"]},{"1397090807":["hashtag1","hashtag2"]},{"1397090806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090805, 1397090808, 1397090810, 1397090813, 1397090807, 1397090806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57121968269348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:35:42.445839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/35/image_31102025_13_35_48_2685.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_52_3697.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_55_2611.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_57_2724.jpg', '/home/pi/Desktop/images/31102025/13/35/image_31102025_13_36_01_3613.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_04_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_48_2685.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_52_3697.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_55_2611.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_35_57_2724.jpg
/home/pi/Desktop/images/31102025/13/35/image_31102025_13_36_01_3613.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_04_2828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090835","1397090834","1397090828","1397090837","1397090822","1397090836"],"photo_ids_order":["1397090822","1397090828","1397090834","1397090835","1397090836","1397090837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f586b457f4011b8874b7f880a78ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody3838815905755737427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_35_57_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4bb4821c46b8eb1ebb415f2d9faa42a.jpg","text":"TemporaryFile(/tmp/multipartBody2323814396387147355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_35_55_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/30/6ddf5eae5c5d788628207e87c6f3a037.jpg","text":"TemporaryFile(/tmp/multipartBody5303251121388287237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_35_52_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0dfe19bf4b9167569ac56c830437e75.jpg","text":"TemporaryFile(/tmp/multipartBody2620011514934138747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_36_04_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e6c9a6e8188736df006da7af06761a5.jpg","text":"TemporaryFile(/tmp/multipartBody1534971160812716064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_35_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/30/ed9f486611efaef5d47e2b1e7d152562.jpg","text":"TemporaryFile(/tmp/multipartBody7854523454725933575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531403395,"filename":"image_31102025_13_36_01_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090834","file1":"1397090828","file0":"1397090822","file4":"1397090836","file5":"1397090837","file3":"1397090835"},"map_files_photo_id_array":[{"photo_id":"1397090837","filename":"file5"},{"photo_id":"1397090834","filename":"file2"},{"photo_id":"1397090836","filename":"file4"},{"photo_id":"1397090828","filename":"file1"},{"photo_id":"1397090822","filename":"file0"},{"photo_id":"1397090835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090835":["hashtag1","hashtag2"]},{"1397090834":["hashtag1","hashtag2"]},{"1397090828":["hashtag1","hashtag2"]},{"1397090837":["hashtag1","hashtag2"]},{"1397090822":["hashtag1","hashtag2"]},{"1397090836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090835, 1397090834, 1397090828, 1397090837, 1397090822, 1397090836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.046558141708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:36:22.607404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_55_9618.jpg', '/home/pi/Desktop/images/30112025/18/42/image_30112025_18_43_05_9631.jpg', '/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_16_10596.jpg', '/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_31_15409.jpg', '/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_35_4557.jpg', '/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_45_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_42_55_9618.jpg
/home/pi/Desktop/images/30112025/18/42/image_30112025_18_43_05_9631.jpg
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_16_10596.jpg
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_31_15409.jpg
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_35_4557.jpg
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_45_9915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090856","1397090850","1397090853","1397090846","1397090840","1397090843"],"photo_ids_order":["1397090840","1397090843","1397090846","1397090850","1397090853","1397090856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f73c4de699703ba0b1d4765793385ece.jpg","text":"TemporaryFile(/tmp/multipartBody3293192278774161091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_43_45_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a372e0aa32b09bc3e407e5a3aae0516.jpg","text":"TemporaryFile(/tmp/multipartBody2682265344623110648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_43_31_15409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03656de419ef85e81fa3d90fecc91084.jpg","text":"TemporaryFile(/tmp/multipartBody7622980992918121066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_43_35_4557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/184c7b0d34656424e034494c518a9031.jpg","text":"TemporaryFile(/tmp/multipartBody6233187901002132453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_43_16_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c862d72880cbaf0c2998bd782b947873.jpg","text":"TemporaryFile(/tmp/multipartBody4488151128595957625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_42_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aafb7057e8a07d24acb6d2f6294fc24.jpg","text":"TemporaryFile(/tmp/multipartBody8983832553100953744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531443316,"filename":"image_30112025_18_43_05_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090846","file1":"1397090843","file0":"1397090840","file4":"1397090853","file5":"1397090856","file3":"1397090850"},"map_files_photo_id_array":[{"photo_id":"1397090856","filename":"file5"},{"photo_id":"1397090846","filename":"file2"},{"photo_id":"1397090853","filename":"file4"},{"photo_id":"1397090843","filename":"file1"},{"photo_id":"1397090840","filename":"file0"},{"photo_id":"1397090850","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090856":["hashtag1","hashtag2"]},{"1397090850":["hashtag1","hashtag2"]},{"1397090853":["hashtag1","hashtag2"]},{"1397090846":["hashtag1","hashtag2"]},{"1397090840":["hashtag1","hashtag2"]},{"1397090843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090856, 1397090850, 1397090853, 1397090846, 1397090840, 1397090843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64441418647766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:37:03.486761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_55_9746.jpg', '/home/pi/Desktop/images/30112025/18/43/image_30112025_18_44_05_9609.jpg', '/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_15_10646.jpg', '/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_25_9739.jpg', '/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_35_9568.jpg', '/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_45_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_43_55_9746.jpg
/home/pi/Desktop/images/30112025/18/43/image_30112025_18_44_05_9609.jpg
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_15_10646.jpg
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_25_9739.jpg
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_35_9568.jpg
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_45_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090862","1397090865","1397090861","1397090863","1397090869","1397090860"],"photo_ids_order":["1397090860","1397090861","1397090862","1397090863","1397090865","1397090869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8f9271a8998c690e017abaf073f30d1.jpg","text":"TemporaryFile(/tmp/multipartBody145453756124983529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_44_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e7902176a2bf18b917172333e8fa9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5221347661159502328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_44_35_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3354a96094f73d39dc18d1154357187.jpg","text":"TemporaryFile(/tmp/multipartBody5690717115963153654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_44_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b41b1547d57388f2493e449607a49d44.jpg","text":"TemporaryFile(/tmp/multipartBody4814347074746185977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_44_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/965ea0bc462bdff3dfe744c6c0b7aa0c.jpg","text":"TemporaryFile(/tmp/multipartBody1012802968570826676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_44_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ec642b80177ca145bef860751ab72313.jpg","text":"TemporaryFile(/tmp/multipartBody697665123000507576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531484184,"filename":"image_30112025_18_43_55_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090862","file1":"1397090861","file0":"1397090860","file4":"1397090865","file5":"1397090869","file3":"1397090863"},"map_files_photo_id_array":[{"photo_id":"1397090869","filename":"file5"},{"photo_id":"1397090862","filename":"file2"},{"photo_id":"1397090865","filename":"file4"},{"photo_id":"1397090861","filename":"file1"},{"photo_id":"1397090860","filename":"file0"},{"photo_id":"1397090863","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090862":["hashtag1","hashtag2"]},{"1397090865":["hashtag1","hashtag2"]},{"1397090861":["hashtag1","hashtag2"]},{"1397090863":["hashtag1","hashtag2"]},{"1397090869":["hashtag1","hashtag2"]},{"1397090860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090862, 1397090865, 1397090861, 1397090863, 1397090869, 1397090860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14682459831238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:37:42.808891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/36/image_31102025_13_36_06_2695.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_10_3717.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_13_2513.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_18_2728.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_22_3669.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_24_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_06_2695.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_10_3717.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_13_2513.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_18_2728.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_22_3669.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_24_2595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090883","1397090879","1397090876","1397090881","1397090878","1397090880"],"photo_ids_order":["1397090876","1397090878","1397090879","1397090880","1397090881","1397090883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67fd7a8b3ad4ad4154a5f9c49fb301f5.jpg","text":"TemporaryFile(/tmp/multipartBody1955589484013484534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_24_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/30/931911487fae74f2dd5a46016a491c62.jpg","text":"TemporaryFile(/tmp/multipartBody5436431804238647812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_13_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7135d4689fb9e1b3d780cee3f5114957.jpg","text":"TemporaryFile(/tmp/multipartBody2115894776248287671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_06_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d2a10072da18d44ba23222368e7cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1460343756415811534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_22_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7be7bb33adb8bb01f0925874d3f59a1.jpg","text":"TemporaryFile(/tmp/multipartBody6308468118639603712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_10_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b11a8be242bd15eb94bd885af266e995.jpg","text":"TemporaryFile(/tmp/multipartBody1093763517661631335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531523694,"filename":"image_31102025_13_36_18_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090879","file1":"1397090878","file0":"1397090876","file4":"1397090881","file5":"1397090883","file3":"1397090880"},"map_files_photo_id_array":[{"photo_id":"1397090883","filename":"file5"},{"photo_id":"1397090879","filename":"file2"},{"photo_id":"1397090881","filename":"file4"},{"photo_id":"1397090878","filename":"file1"},{"photo_id":"1397090876","filename":"file0"},{"photo_id":"1397090880","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090883":["hashtag1","hashtag2"]},{"1397090879":["hashtag1","hashtag2"]},{"1397090876":["hashtag1","hashtag2"]},{"1397090881":["hashtag1","hashtag2"]},{"1397090878":["hashtag1","hashtag2"]},{"1397090880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090883, 1397090879, 1397090876, 1397090881, 1397090878, 1397090880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18116474151611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:38:22.012216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_55_9709.jpg', '/home/pi/Desktop/images/30112025/18/44/image_30112025_18_45_05_9684.jpg', '/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_16_10680.jpg', '/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_25_9688.jpg', '/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_35_9804.jpg', '/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_46_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_44_55_9709.jpg
/home/pi/Desktop/images/30112025/18/44/image_30112025_18_45_05_9684.jpg
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_16_10680.jpg
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_25_9688.jpg
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_35_9804.jpg
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_46_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090898","1397090891","1397090893","1397090886","1397090895","1397090889"],"photo_ids_order":["1397090886","1397090889","1397090891","1397090893","1397090895","1397090898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1718719f810e268a1a6ae834338ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody4737702722201067160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_45_46_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b42be6666f1f1b1db1b347099bd1b03d.jpg","text":"TemporaryFile(/tmp/multipartBody1794428831499142131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_45_16_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfe826ee9ef297945ea03028cfb5282d.jpg","text":"TemporaryFile(/tmp/multipartBody1339862776475154316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_45_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76945d1009d281fa2e9a1dafc23708cc.jpg","text":"TemporaryFile(/tmp/multipartBody5653357721752599816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_44_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/594f50d11e4e76a3b4e2bb89981ce34c.jpg","text":"TemporaryFile(/tmp/multipartBody5438225303954269669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_45_35_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a29f91d7f9deb91256ff7bf0b3073a2b.jpg","text":"TemporaryFile(/tmp/multipartBody122831068365950199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531562683,"filename":"image_30112025_18_45_05_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090891","file1":"1397090889","file0":"1397090886","file4":"1397090895","file5":"1397090898","file3":"1397090893"},"map_files_photo_id_array":[{"photo_id":"1397090898","filename":"file5"},{"photo_id":"1397090891","filename":"file2"},{"photo_id":"1397090895","filename":"file4"},{"photo_id":"1397090889","filename":"file1"},{"photo_id":"1397090886","filename":"file0"},{"photo_id":"1397090893","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090898":["hashtag1","hashtag2"]},{"1397090891":["hashtag1","hashtag2"]},{"1397090893":["hashtag1","hashtag2"]},{"1397090886":["hashtag1","hashtag2"]},{"1397090895":["hashtag1","hashtag2"]},{"1397090889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090898, 1397090891, 1397090893, 1397090886, 1397090895, 1397090889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86828398704529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:39:03.011260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_55_9594.jpg', '/home/pi/Desktop/images/30112025/18/45/image_30112025_18_46_05_9578.jpg', '/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_16_10686.jpg', '/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_25_9640.jpg', '/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_35_9630.jpg', '/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_45_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_45_55_9594.jpg
/home/pi/Desktop/images/30112025/18/45/image_30112025_18_46_05_9578.jpg
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_16_10686.jpg
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_25_9640.jpg
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_35_9630.jpg
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_45_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090910","1397090913","1397090915","1397090918","1397090912","1397090911"],"photo_ids_order":["1397090910","1397090911","1397090912","1397090913","1397090915","1397090918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c6abff69637de32669bcf983088a747b.jpg","text":"TemporaryFile(/tmp/multipartBody5395763275874310617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_45_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9329e9772679c660c467da16350ba30.jpg","text":"TemporaryFile(/tmp/multipartBody4237349574733574592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_46_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e971ea337201df30b74956b6e0620c2.jpg","text":"TemporaryFile(/tmp/multipartBody8473434947934930123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_46_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37ef8803de37060b064a914adbbc3862.jpg","text":"TemporaryFile(/tmp/multipartBody3112898163676990622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_46_45_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fda40a9e42dfa679b0188369198121d2.jpg","text":"TemporaryFile(/tmp/multipartBody511344177678792079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_46_16_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/847b961b912fd43401108240169a9a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7112856232192143749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531603774,"filename":"image_30112025_18_46_05_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090912","file1":"1397090911","file0":"1397090910","file4":"1397090915","file5":"1397090918","file3":"1397090913"},"map_files_photo_id_array":[{"photo_id":"1397090918","filename":"file5"},{"photo_id":"1397090912","filename":"file2"},{"photo_id":"1397090915","filename":"file4"},{"photo_id":"1397090911","filename":"file1"},{"photo_id":"1397090910","filename":"file0"},{"photo_id":"1397090913","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090910":["hashtag1","hashtag2"]},{"1397090913":["hashtag1","hashtag2"]},{"1397090915":["hashtag1","hashtag2"]},{"1397090918":["hashtag1","hashtag2"]},{"1397090912":["hashtag1","hashtag2"]},{"1397090911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090910, 1397090913, 1397090915, 1397090918, 1397090912, 1397090911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63425135612488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:39:42.147737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/36/image_31102025_13_36_28_3623.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_31_2710.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_34_2918.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_36_2754.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_40_3681.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_43_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_28_3623.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_31_2710.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_34_2918.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_36_2754.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_40_3681.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_43_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090931","1397090928","1397090927","1397090930","1397090926","1397090929"],"photo_ids_order":["1397090926","1397090927","1397090928","1397090929","1397090930","1397090931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e6c3fc1cdf9a6126c57ba0a00941884.jpg","text":"TemporaryFile(/tmp/multipartBody2453492712099771604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_43_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/30/c9304c83ab4fcd0d6e47ea495e5d8eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4742872712692018337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_34_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/30/e01aee9d98751d6feddc5ef7f83401c7.jpg","text":"TemporaryFile(/tmp/multipartBody9125238192066315520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_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/30/4c3f35da7afcea83fbaa7996a0334ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2425025117281318809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_40_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/30/e4645786a6204a2df6dea547504f2a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7576862772229929950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_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/30/9e4d0d4509a4c5ed31f5064cfd0e4d76.jpg","text":"TemporaryFile(/tmp/multipartBody4364251545417848771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531643029,"filename":"image_31102025_13_36_36_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090928","file1":"1397090927","file0":"1397090926","file4":"1397090930","file5":"1397090931","file3":"1397090929"},"map_files_photo_id_array":[{"photo_id":"1397090931","filename":"file5"},{"photo_id":"1397090928","filename":"file2"},{"photo_id":"1397090930","filename":"file4"},{"photo_id":"1397090927","filename":"file1"},{"photo_id":"1397090926","filename":"file0"},{"photo_id":"1397090929","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090931":["hashtag1","hashtag2"]},{"1397090928":["hashtag1","hashtag2"]},{"1397090927":["hashtag1","hashtag2"]},{"1397090930":["hashtag1","hashtag2"]},{"1397090926":["hashtag1","hashtag2"]},{"1397090929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090931, 1397090928, 1397090927, 1397090930, 1397090926, 1397090929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1033501625061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:40:22.239265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_55_9863.jpg', '/home/pi/Desktop/images/30112025/18/46/image_30112025_18_47_05_9792.jpg', '/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_15_9767.jpg', '/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_26_10823.jpg', '/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_35_9728.jpg', '/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_45_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_46_55_9863.jpg
/home/pi/Desktop/images/30112025/18/46/image_30112025_18_47_05_9792.jpg
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_15_9767.jpg
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_26_10823.jpg
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_35_9728.jpg
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_45_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090946","1397090934","1397090948","1397090944","1397090938","1397090941"],"photo_ids_order":["1397090934","1397090938","1397090941","1397090944","1397090946","1397090948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95055de7c8409fca4cc7f658fd495cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1487543156040333341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_47_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/625d8477c6810b1bd06d20d38ad34378.jpg","text":"TemporaryFile(/tmp/multipartBody76369155051119470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_46_55_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41becf6105dc994f4463b3ee4233d60e.jpg","text":"TemporaryFile(/tmp/multipartBody6196017419647961945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_47_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59a2c3550a1c6ef7f2b2a13d2712d60a.jpg","text":"TemporaryFile(/tmp/multipartBody3384055576504548102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_47_26_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7c841e55b497cfb7b84c9441ade8ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3859640116263246077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_47_05_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2834ca1de0327b9ab825ecbbc63dfdaf.jpg","text":"TemporaryFile(/tmp/multipartBody4522290937760693295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531682883,"filename":"image_30112025_18_47_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090941","file1":"1397090938","file0":"1397090934","file4":"1397090946","file5":"1397090948","file3":"1397090944"},"map_files_photo_id_array":[{"photo_id":"1397090948","filename":"file5"},{"photo_id":"1397090941","filename":"file2"},{"photo_id":"1397090946","filename":"file4"},{"photo_id":"1397090938","filename":"file1"},{"photo_id":"1397090934","filename":"file0"},{"photo_id":"1397090944","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090946":["hashtag1","hashtag2"]},{"1397090934":["hashtag1","hashtag2"]},{"1397090948":["hashtag1","hashtag2"]},{"1397090944":["hashtag1","hashtag2"]},{"1397090938":["hashtag1","hashtag2"]},{"1397090941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090946, 1397090934, 1397090948, 1397090944, 1397090938, 1397090941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.886552810668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:41:03.013949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_56_10631.jpg', '/home/pi/Desktop/images/30112025/18/47/image_30112025_18_48_05_9893.jpg', '/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_15_9685.jpg', '/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_25_10289.jpg', '/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_35_9559.jpg', '/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_45_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_47_56_10631.jpg
/home/pi/Desktop/images/30112025/18/47/image_30112025_18_48_05_9893.jpg
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_15_9685.jpg
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_25_10289.jpg
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_35_9559.jpg
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_45_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090955","1397090958","1397090952","1397090951","1397090950","1397090953"],"photo_ids_order":["1397090950","1397090951","1397090952","1397090953","1397090955","1397090958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e8454550d4828fc5d0c832d206a9150.jpg","text":"TemporaryFile(/tmp/multipartBody3973895177506318069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_48_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8c32c19f3726857868d359b958963dd.jpg","text":"TemporaryFile(/tmp/multipartBody4739460228629382465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_48_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f982e53ddea269220f017607381dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody7238974708901570151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_48_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a290d8a09d54c577a30fa4e923b5a3b.jpg","text":"TemporaryFile(/tmp/multipartBody4824789455767592151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_48_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dbc2ef354838fc06f26ba115b2f7f65c.jpg","text":"TemporaryFile(/tmp/multipartBody5916691370249880068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_47_56_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2af29fd7abd467aed0e62471f5980572.jpg","text":"TemporaryFile(/tmp/multipartBody6413772838615264044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531724347,"filename":"image_30112025_18_48_25_10289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090952","file1":"1397090951","file0":"1397090950","file4":"1397090955","file5":"1397090958","file3":"1397090953"},"map_files_photo_id_array":[{"photo_id":"1397090958","filename":"file5"},{"photo_id":"1397090952","filename":"file2"},{"photo_id":"1397090955","filename":"file4"},{"photo_id":"1397090951","filename":"file1"},{"photo_id":"1397090950","filename":"file0"},{"photo_id":"1397090953","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397090955":["hashtag1","hashtag2"]},{"1397090958":["hashtag1","hashtag2"]},{"1397090952":["hashtag1","hashtag2"]},{"1397090951":["hashtag1","hashtag2"]},{"1397090950":["hashtag1","hashtag2"]},{"1397090953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397090955, 1397090958, 1397090952, 1397090951, 1397090950, 1397090953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03238868713379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:41:42.457888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/36/image_31102025_13_36_45_2716.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_48_2701.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_52_3844.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_55_2627.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_57_2553.jpg', '/home/pi/Desktop/images/31102025/13/36/image_31102025_13_37_01_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_45_2716.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_48_2701.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_52_3844.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_55_2627.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_36_57_2553.jpg
/home/pi/Desktop/images/31102025/13/36/image_31102025_13_37_01_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397090982","1397090981","1397090984","1397090975","1397090983","1397090968"],"photo_ids_order":["1397090968","1397090975","1397090981","1397090982","1397090983","1397090984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a29fee67706f2f1d1f270852c3326e8.jpg","text":"TemporaryFile(/tmp/multipartBody8054102950402078026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_36_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/30/dd0bb02cec2621e376ec097caffacc23.jpg","text":"TemporaryFile(/tmp/multipartBody8605989958434083566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_36_52_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/30/6e53328bf77fcab437cadd423cbf6ce2.jpg","text":"TemporaryFile(/tmp/multipartBody9143637141854043501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_37_01_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8bcd66efc914871ff1aef6ba66c98ad.jpg","text":"TemporaryFile(/tmp/multipartBody6803095992242949507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_36_48_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72a2bf252b9509586eec6085da27e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1504407112999013428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_36_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/30/e1a8ee7f5238708e0427739e8cf29aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5646186944008507718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531763331,"filename":"image_31102025_13_36_45_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090981","file1":"1397090975","file0":"1397090968","file4":"1397090983","file5":"1397090984","file3":"1397090982"},"map_files_photo_id_array":[{"photo_id":"1397090984","filename":"file5"},{"photo_id":"1397090981","filename":"file2"},{"photo_id":"1397090983","filename":"file4"},{"photo_id":"1397090975","filename":"file1"},{"photo_id":"1397090968","filename":"file0"},{"photo_id":"1397090982","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397090982":["hashtag1","hashtag2"]},{"1397090981":["hashtag1","hashtag2"]},{"1397090984":["hashtag1","hashtag2"]},{"1397090975":["hashtag1","hashtag2"]},{"1397090983":["hashtag1","hashtag2"]},{"1397090968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397090982, 1397090981, 1397090984, 1397090975, 1397090983, 1397090968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91096353530884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:42:22.680045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_55_10622.jpg', '/home/pi/Desktop/images/30112025/18/48/image_30112025_18_49_05_9579.jpg', '/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_15_9730.jpg', '/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_25_10560.jpg', '/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_35_9965.jpg', '/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_56_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_48_55_10622.jpg
/home/pi/Desktop/images/30112025/18/48/image_30112025_18_49_05_9579.jpg
/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_15_9730.jpg
/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_25_10560.jpg
/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_35_9965.jpg
/home/pi/Desktop/images/30112025/18/49/image_30112025_18_49_56_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091000","1397090990","1397090987","1397091002","1397090997","1397090994"],"photo_ids_order":["1397090987","1397090990","1397090994","1397090997","1397091000","1397091002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0937c01a66dec40b9964057babe7f09.jpg","text":"TemporaryFile(/tmp/multipartBody1236777370668452477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_49_35_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f91bd0e127e4249539b88ad037937fb.jpg","text":"TemporaryFile(/tmp/multipartBody3170058110361773850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_49_05_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/013f7d15decbda946677fcd6a473889d.jpg","text":"TemporaryFile(/tmp/multipartBody1685304267335877386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_48_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/154dda8e465afb13947a824af5b216e1.jpg","text":"TemporaryFile(/tmp/multipartBody2540867695925703904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_49_56_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83eecfa7d9d907c56262b834d6310a02.jpg","text":"TemporaryFile(/tmp/multipartBody4817832757957867555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_49_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0089688f6c875b90e80c62ce7a221686.jpg","text":"TemporaryFile(/tmp/multipartBody5291566321860801565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531803321,"filename":"image_30112025_18_49_15_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397090994","file1":"1397090990","file0":"1397090987","file4":"1397091000","file5":"1397091002","file3":"1397090997"},"map_files_photo_id_array":[{"photo_id":"1397091002","filename":"file5"},{"photo_id":"1397090994","filename":"file2"},{"photo_id":"1397091000","filename":"file4"},{"photo_id":"1397090990","filename":"file1"},{"photo_id":"1397090987","filename":"file0"},{"photo_id":"1397090997","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091000":["hashtag1","hashtag2"]},{"1397090990":["hashtag1","hashtag2"]},{"1397090987":["hashtag1","hashtag2"]},{"1397091002":["hashtag1","hashtag2"]},{"1397090997":["hashtag1","hashtag2"]},{"1397090994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091000, 1397090990, 1397090987, 1397091002, 1397090997, 1397090994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.327452182769775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:43:02.716051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_26_10665.jpg', '/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_35_9551.jpg', '/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_45_9838.jpg', '/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_55_9693.jpg', '/home/pi/Desktop/images/30112025/18/50/image_30112025_18_51_05_10593.jpg', '/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_26_10665.jpg
/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_35_9551.jpg
/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_45_9838.jpg
/home/pi/Desktop/images/30112025/18/50/image_30112025_18_50_55_9693.jpg
/home/pi/Desktop/images/30112025/18/50/image_30112025_18_51_05_10593.jpg
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_15_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091012","1397091006","1397091009","1397091005","1397091007","1397091004"],"photo_ids_order":["1397091004","1397091005","1397091006","1397091007","1397091009","1397091012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba7acc852b93af4538515618d499d3e1.jpg","text":"TemporaryFile(/tmp/multipartBody1586839223942552429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_51_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8eaafc9f496d1581cf223f39de27fb94.jpg","text":"TemporaryFile(/tmp/multipartBody5793856379448235303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_50_45_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7056bbd17f615f7b9eaf1b31f6bfd780.jpg","text":"TemporaryFile(/tmp/multipartBody745387366150990803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_51_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/618171e4962f070e5668f84dcaf4b930.jpg","text":"TemporaryFile(/tmp/multipartBody6721174847153866311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_50_35_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5869651e9aa398af1479b57bd1363b59.jpg","text":"TemporaryFile(/tmp/multipartBody7068833645047366817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_50_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fa5eaa1c2d10c44184e26a4ebc096cb.jpg","text":"TemporaryFile(/tmp/multipartBody6978187465556948540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531843507,"filename":"image_30112025_18_50_26_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091006","file1":"1397091005","file0":"1397091004","file4":"1397091009","file5":"1397091012","file3":"1397091007"},"map_files_photo_id_array":[{"photo_id":"1397091012","filename":"file5"},{"photo_id":"1397091006","filename":"file2"},{"photo_id":"1397091009","filename":"file4"},{"photo_id":"1397091005","filename":"file1"},{"photo_id":"1397091004","filename":"file0"},{"photo_id":"1397091007","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091012":["hashtag1","hashtag2"]},{"1397091006":["hashtag1","hashtag2"]},{"1397091009":["hashtag1","hashtag2"]},{"1397091005":["hashtag1","hashtag2"]},{"1397091007":["hashtag1","hashtag2"]},{"1397091004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091012, 1397091006, 1397091009, 1397091005, 1397091007, 1397091004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.772557497024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:43:42.082090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/37/image_31102025_13_37_03_2627.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_06_2627.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_10_3581.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_12_2618.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_19_2695.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_21_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/13/37/image_31102025_13_37_03_2627.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_06_2627.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_10_3581.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_12_2618.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_19_2695.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_21_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":["1397091024","1397091020","1397091023","1397091019","1397091022","1397091021"],"photo_ids_order":["1397091019","1397091020","1397091021","1397091022","1397091023","1397091024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5071a1e08fc02c88c02356b1a57bf8c3.jpg","text":"TemporaryFile(/tmp/multipartBody8994862654938051586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_21_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/30/7495f4eb5621a9c2b100589d002f905f.jpg","text":"TemporaryFile(/tmp/multipartBody178738667876842083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_06_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/30/62e836db820c476aac0f8403c956dd38.jpg","text":"TemporaryFile(/tmp/multipartBody4437513284072845002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_19_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/30/b822714d93be770035753a1ff923baaf.jpg","text":"TemporaryFile(/tmp/multipartBody5528551330196139700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_03_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/30/571deb77f4d1c1d6d88528c6afbee8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3276584562433708277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_12_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/30/0b6ee1976db80ff699c29f64334739ee.jpg","text":"TemporaryFile(/tmp/multipartBody4094915430577315353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531882995,"filename":"image_31102025_13_37_10_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091021","file1":"1397091020","file0":"1397091019","file4":"1397091023","file5":"1397091024","file3":"1397091022"},"map_files_photo_id_array":[{"photo_id":"1397091024","filename":"file5"},{"photo_id":"1397091021","filename":"file2"},{"photo_id":"1397091023","filename":"file4"},{"photo_id":"1397091020","filename":"file1"},{"photo_id":"1397091019","filename":"file0"},{"photo_id":"1397091022","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397091024":["hashtag1","hashtag2"]},{"1397091020":["hashtag1","hashtag2"]},{"1397091023":["hashtag1","hashtag2"]},{"1397091019":["hashtag1","hashtag2"]},{"1397091022":["hashtag1","hashtag2"]},{"1397091021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397091024, 1397091020, 1397091023, 1397091019, 1397091022, 1397091021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68885922431946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:44:22.302547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_26_10568.jpg', '/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_35_9796.jpg', '/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_45_9731.jpg', '/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_55_9742.jpg', '/home/pi/Desktop/images/30112025/18/51/image_30112025_18_52_05_10359.jpg', '/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_15_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_26_10568.jpg
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_35_9796.jpg
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_45_9731.jpg
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_51_55_9742.jpg
/home/pi/Desktop/images/30112025/18/51/image_30112025_18_52_05_10359.jpg
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_15_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091039","1397091030","1397091044","1397091037","1397091034","1397091028"],"photo_ids_order":["1397091028","1397091030","1397091034","1397091037","1397091039","1397091044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82c1ee01c8f285363b2d998971d3a89f.jpg","text":"TemporaryFile(/tmp/multipartBody6579216624836397043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_52_05_10359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8f846cab175c24ecb9604145bf650d2.jpg","text":"TemporaryFile(/tmp/multipartBody5604411220853621221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_51_35_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fb815bcb607ce38766d82e5a39f68d2.jpg","text":"TemporaryFile(/tmp/multipartBody3227281142836750643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_52_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c86b4121bab6fd32a9f5353bf0b09bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5175146169703473271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_51_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afdaa7c3c6e6ed3e3d4cf9bd363afbb8.jpg","text":"TemporaryFile(/tmp/multipartBody5522979509869957315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_51_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af75729a7665b0f6609aef4776132d50.jpg","text":"TemporaryFile(/tmp/multipartBody1368417400329729395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531923044,"filename":"image_30112025_18_51_26_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091034","file1":"1397091030","file0":"1397091028","file4":"1397091039","file5":"1397091044","file3":"1397091037"},"map_files_photo_id_array":[{"photo_id":"1397091044","filename":"file5"},{"photo_id":"1397091034","filename":"file2"},{"photo_id":"1397091039","filename":"file4"},{"photo_id":"1397091030","filename":"file1"},{"photo_id":"1397091028","filename":"file0"},{"photo_id":"1397091037","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091039":["hashtag1","hashtag2"]},{"1397091030":["hashtag1","hashtag2"]},{"1397091044":["hashtag1","hashtag2"]},{"1397091037":["hashtag1","hashtag2"]},{"1397091034":["hashtag1","hashtag2"]},{"1397091028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091039, 1397091030, 1397091044, 1397091037, 1397091034, 1397091028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362730264663696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:45:03.120671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_26_10661.jpg', '/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_35_9676.jpg', '/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_45_9692.jpg', '/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_55_10168.jpg', '/home/pi/Desktop/images/30112025/18/52/image_30112025_18_53_05_9642.jpg', '/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_15_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_26_10661.jpg
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_35_9676.jpg
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_45_9692.jpg
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_52_55_10168.jpg
/home/pi/Desktop/images/30112025/18/52/image_30112025_18_53_05_9642.jpg
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_15_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091051","1397091050","1397091053","1397091055","1397091058","1397091052"],"photo_ids_order":["1397091050","1397091051","1397091052","1397091053","1397091055","1397091058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5621f24d05241a94b5a1314f33a7c4cf.jpg","text":"TemporaryFile(/tmp/multipartBody7580075435304202023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_52_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f0bc208aabeacc9accbfc06e896c725.jpg","text":"TemporaryFile(/tmp/multipartBody6668793598736377644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_52_26_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42916034e52bf0d4acaf4fbdfc374c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5802508226840091180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_52_55_10168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d2cdcf008f15843561798c84d6a040e9.jpg","text":"TemporaryFile(/tmp/multipartBody5149002331317537164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_53_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89e69267f1d7a30d69e945f48ab8721d.jpg","text":"TemporaryFile(/tmp/multipartBody4540963521494700316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_53_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09af73b0fcadfba46086db9c80256da9.jpg","text":"TemporaryFile(/tmp/multipartBody7998540374017270473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764531963842,"filename":"image_30112025_18_52_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091052","file1":"1397091051","file0":"1397091050","file4":"1397091055","file5":"1397091058","file3":"1397091053"},"map_files_photo_id_array":[{"photo_id":"1397091058","filename":"file5"},{"photo_id":"1397091052","filename":"file2"},{"photo_id":"1397091055","filename":"file4"},{"photo_id":"1397091051","filename":"file1"},{"photo_id":"1397091050","filename":"file0"},{"photo_id":"1397091053","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091051":["hashtag1","hashtag2"]},{"1397091050":["hashtag1","hashtag2"]},{"1397091053":["hashtag1","hashtag2"]},{"1397091055":["hashtag1","hashtag2"]},{"1397091058":["hashtag1","hashtag2"]},{"1397091052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091051, 1397091050, 1397091053, 1397091055, 1397091058, 1397091052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27535438537598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:45:42.547397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/37/image_31102025_13_37_25_3620.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_28_2794.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_30_2627.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_34_3595.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_37_2713.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_39_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_25_3620.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_28_2794.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_30_2627.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_34_3595.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_37_2713.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_39_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091065","1397091068","1397091070","1397091064","1397091067","1397091066"],"photo_ids_order":["1397091064","1397091065","1397091066","1397091067","1397091068","1397091070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50ad9494630bc7ff4c47565962d3c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2343444965024564544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_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/30/270a983b10f72d46c6f1c7fb56b2d193.jpg","text":"TemporaryFile(/tmp/multipartBody3495486316105580734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_37_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/30/21829abdf1b363e5b8c4ee2a16451948.jpg","text":"TemporaryFile(/tmp/multipartBody1596396511995404124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_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/30/d135962dd24b318fc36ff3a99430cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody2672735540942025066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_25_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/30/967ee949542b74c6d7704f5b1a1eb32d.jpg","text":"TemporaryFile(/tmp/multipartBody8535790628805170491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_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/30/092d18f23c9106e1767559b7d5ea1dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8166647833672189522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532003479,"filename":"image_31102025_13_37_30_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091066","file1":"1397091065","file0":"1397091064","file4":"1397091068","file5":"1397091070","file3":"1397091067"},"map_files_photo_id_array":[{"photo_id":"1397091070","filename":"file5"},{"photo_id":"1397091066","filename":"file2"},{"photo_id":"1397091068","filename":"file4"},{"photo_id":"1397091065","filename":"file1"},{"photo_id":"1397091064","filename":"file0"},{"photo_id":"1397091067","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397091065":["hashtag1","hashtag2"]},{"1397091068":["hashtag1","hashtag2"]},{"1397091070":["hashtag1","hashtag2"]},{"1397091064":["hashtag1","hashtag2"]},{"1397091067":["hashtag1","hashtag2"]},{"1397091066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397091065, 1397091068, 1397091070, 1397091064, 1397091067, 1397091066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74757122993469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:46:22.704594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_25_9632.jpg', '/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_36_10602.jpg', '/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_45_9615.jpg', '/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_55_9650.jpg', '/home/pi/Desktop/images/30112025/18/53/image_30112025_18_54_06_10782.jpg', '/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_25_9632.jpg
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_36_10602.jpg
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_45_9615.jpg
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_53_55_9650.jpg
/home/pi/Desktop/images/30112025/18/53/image_30112025_18_54_06_10782.jpg
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_15_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091080","1397091083","1397091077","1397091074","1397091085","1397091087"],"photo_ids_order":["1397091074","1397091077","1397091080","1397091083","1397091085","1397091087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/525e995cc576e3046eaa85f302205e60.jpg","text":"TemporaryFile(/tmp/multipartBody8785205321177190331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_53_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f92de381de31ff8204eec1f7d880a35.jpg","text":"TemporaryFile(/tmp/multipartBody1441315595742443123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_53_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8e5f8aba2961ed6fb69fa0754e08bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4798705900037382360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_53_36_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94fd2e7fee7712cf83b66ca1fc9c7403.jpg","text":"TemporaryFile(/tmp/multipartBody1550165533107266293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_53_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0eb6706df6fbe325f67ae9df0ef0df11.jpg","text":"TemporaryFile(/tmp/multipartBody5976887733996856101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_54_06_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53ff85925ae684b89839ff3b36c47e68.jpg","text":"TemporaryFile(/tmp/multipartBody8608543473769107413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532043379,"filename":"image_30112025_18_54_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091080","file1":"1397091077","file0":"1397091074","file4":"1397091085","file5":"1397091087","file3":"1397091083"},"map_files_photo_id_array":[{"photo_id":"1397091087","filename":"file5"},{"photo_id":"1397091080","filename":"file2"},{"photo_id":"1397091085","filename":"file4"},{"photo_id":"1397091077","filename":"file1"},{"photo_id":"1397091074","filename":"file0"},{"photo_id":"1397091083","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091080":["hashtag1","hashtag2"]},{"1397091083":["hashtag1","hashtag2"]},{"1397091077":["hashtag1","hashtag2"]},{"1397091074":["hashtag1","hashtag2"]},{"1397091085":["hashtag1","hashtag2"]},{"1397091087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091080, 1397091083, 1397091077, 1397091074, 1397091085, 1397091087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38851070404053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:47:02.679660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_25_9682.jpg', '/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_36_10613.jpg', '/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_45_9701.jpg', '/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_55_9729.jpg', '/home/pi/Desktop/images/30112025/18/54/image_30112025_18_55_06_10597.jpg', '/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_15_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_25_9682.jpg
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_36_10613.jpg
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_45_9701.jpg
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_54_55_9729.jpg
/home/pi/Desktop/images/30112025/18/54/image_30112025_18_55_06_10597.jpg
/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_15_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091095","1397091089","1397091098","1397091092","1397091091","1397091093"],"photo_ids_order":["1397091089","1397091091","1397091092","1397091093","1397091095","1397091098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41761e33743278987a4ef9d1e246c910.jpg","text":"TemporaryFile(/tmp/multipartBody5274721853787406610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_55_06_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88a46b64ea78fbeb4f0d1951e29383fe.jpg","text":"TemporaryFile(/tmp/multipartBody2273080204257617631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_54_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00fae9918cf32c35e0f00e45661627e9.jpg","text":"TemporaryFile(/tmp/multipartBody4977388785308576491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_55_15_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/afb8f51e2d9cb0f146f4c33980374d89.jpg","text":"TemporaryFile(/tmp/multipartBody7627395857139375409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_54_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f552c0769fa5671505913aa87c6da74a.jpg","text":"TemporaryFile(/tmp/multipartBody8278611799602556303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_54_36_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9536523d85433f69bb17cd6f1725653.jpg","text":"TemporaryFile(/tmp/multipartBody3468837301542410708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532083444,"filename":"image_30112025_18_54_55_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091092","file1":"1397091091","file0":"1397091089","file4":"1397091095","file5":"1397091098","file3":"1397091093"},"map_files_photo_id_array":[{"photo_id":"1397091098","filename":"file5"},{"photo_id":"1397091092","filename":"file2"},{"photo_id":"1397091095","filename":"file4"},{"photo_id":"1397091091","filename":"file1"},{"photo_id":"1397091089","filename":"file0"},{"photo_id":"1397091093","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091095":["hashtag1","hashtag2"]},{"1397091089":["hashtag1","hashtag2"]},{"1397091098":["hashtag1","hashtag2"]},{"1397091092":["hashtag1","hashtag2"]},{"1397091091":["hashtag1","hashtag2"]},{"1397091093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091095, 1397091089, 1397091098, 1397091092, 1397091091, 1397091093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313443422317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:47:42.013255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/37/image_31102025_13_37_43_3694.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_46_2725.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_52_3601.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_55_2677.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_57_2668.jpg', '/home/pi/Desktop/images/31102025/13/37/image_31102025_13_38_01_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_43_3694.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_46_2725.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_52_3601.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_55_2677.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_37_57_2668.jpg
/home/pi/Desktop/images/31102025/13/37/image_31102025_13_38_01_3787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091111","1397091105","1397091108","1397091110","1397091112","1397091109"],"photo_ids_order":["1397091105","1397091108","1397091109","1397091110","1397091111","1397091112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9074f5c9618e48cd714d588c497cdc9c.jpg","text":"TemporaryFile(/tmp/multipartBody4236248029961735493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_37_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/30/b3d18d6dc03ad9b3d9f391fb77253a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2268295613227941553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_37_43_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/30/5dd3f56bfd7513e63c2b12c5d967f51a.jpg","text":"TemporaryFile(/tmp/multipartBody8557188109918704825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_37_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eadde15f7169375e2890591ab98c0893.jpg","text":"TemporaryFile(/tmp/multipartBody7762165451850336104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_37_55_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8aed6fd5e21753cb21efb3580f5fab8.jpg","text":"TemporaryFile(/tmp/multipartBody8816943999615823586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_38_01_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/30/5ecf465c15828321889382791fcdc825.jpg","text":"TemporaryFile(/tmp/multipartBody2122029177227487456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532122950,"filename":"image_31102025_13_37_52_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091109","file1":"1397091108","file0":"1397091105","file4":"1397091111","file5":"1397091112","file3":"1397091110"},"map_files_photo_id_array":[{"photo_id":"1397091112","filename":"file5"},{"photo_id":"1397091109","filename":"file2"},{"photo_id":"1397091111","filename":"file4"},{"photo_id":"1397091108","filename":"file1"},{"photo_id":"1397091105","filename":"file0"},{"photo_id":"1397091110","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397091111":["hashtag1","hashtag2"]},{"1397091105":["hashtag1","hashtag2"]},{"1397091108":["hashtag1","hashtag2"]},{"1397091110":["hashtag1","hashtag2"]},{"1397091112":["hashtag1","hashtag2"]},{"1397091109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397091111, 1397091105, 1397091108, 1397091110, 1397091112, 1397091109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66968655586243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:48:22.214912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_25_9683.jpg', '/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_35_10219.jpg', '/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_55_7768.jpg', '/home/pi/Desktop/images/30112025/18/55/image_30112025_18_56_05_9714.jpg', '/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_15_9810.jpg', '/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_35_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_25_9683.jpg
/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_35_10219.jpg
/home/pi/Desktop/images/30112025/18/55/image_30112025_18_55_55_7768.jpg
/home/pi/Desktop/images/30112025/18/55/image_30112025_18_56_05_9714.jpg
/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_15_9810.jpg
/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_35_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091125","1397091122","1397091119","1397091130","1397091127","1397091115"],"photo_ids_order":["1397091115","1397091119","1397091122","1397091125","1397091127","1397091130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cab6205f23ec3f994aea22997a2f790.jpg","text":"TemporaryFile(/tmp/multipartBody3634987319937205102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_56_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/560b8f9a72a1d522b872145c4921381b.jpg","text":"TemporaryFile(/tmp/multipartBody1361014211423782228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_55_55_7768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/923b03c7c42f16772e4f727a850bf068.jpg","text":"TemporaryFile(/tmp/multipartBody7938829440818249704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_55_35_10219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6893dbd8a648d3b15eab6c124387b32.jpg","text":"TemporaryFile(/tmp/multipartBody2962485036966075997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_56_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a48686c68cb8c57d2f2cbfe860b1fb7e.jpg","text":"TemporaryFile(/tmp/multipartBody1315137378163976443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_56_15_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e82958bbf5481824e127e2f81ea17656.jpg","text":"TemporaryFile(/tmp/multipartBody6393086599703507688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532162896,"filename":"image_30112025_18_55_25_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091122","file1":"1397091119","file0":"1397091115","file4":"1397091127","file5":"1397091130","file3":"1397091125"},"map_files_photo_id_array":[{"photo_id":"1397091130","filename":"file5"},{"photo_id":"1397091122","filename":"file2"},{"photo_id":"1397091127","filename":"file4"},{"photo_id":"1397091119","filename":"file1"},{"photo_id":"1397091115","filename":"file0"},{"photo_id":"1397091125","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091125":["hashtag1","hashtag2"]},{"1397091122":["hashtag1","hashtag2"]},{"1397091119":["hashtag1","hashtag2"]},{"1397091130":["hashtag1","hashtag2"]},{"1397091127":["hashtag1","hashtag2"]},{"1397091115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091125, 1397091122, 1397091119, 1397091130, 1397091127, 1397091115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94343829154968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:49:03.030123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_45_9565.jpg', '/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_55_10658.jpg', '/home/pi/Desktop/images/30112025/18/56/image_30112025_18_57_05_9785.jpg', '/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_15_9597.jpg', '/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_25_10645.jpg', '/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_35_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_45_9565.jpg
/home/pi/Desktop/images/30112025/18/56/image_30112025_18_56_55_10658.jpg
/home/pi/Desktop/images/30112025/18/56/image_30112025_18_57_05_9785.jpg
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_15_9597.jpg
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_25_10645.jpg
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_35_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091132","1397091134","1397091137","1397091133","1397091141","1397091135"],"photo_ids_order":["1397091132","1397091133","1397091134","1397091135","1397091137","1397091141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09d2aab42c1c5801c152e860bffb6994.jpg","text":"TemporaryFile(/tmp/multipartBody5760634006136303453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_56_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/38835ddd645e34c5267de6980eb17aed.jpg","text":"TemporaryFile(/tmp/multipartBody6003716609969869814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_57_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be61a29d6669b5d22f47dd5e4c64c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody5653632632186021450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_57_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cba532164eb4573047f6c726167c435.jpg","text":"TemporaryFile(/tmp/multipartBody4742751739399282517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_56_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6587ca0e913d09eb06f1c3ffb676c0e9.jpg","text":"TemporaryFile(/tmp/multipartBody3954588917794956323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_57_35_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01b36bc5ccd85c8c388f0401118257d8.jpg","text":"TemporaryFile(/tmp/multipartBody1872035626552335424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532203878,"filename":"image_30112025_18_57_15_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091134","file1":"1397091133","file0":"1397091132","file4":"1397091137","file5":"1397091141","file3":"1397091135"},"map_files_photo_id_array":[{"photo_id":"1397091141","filename":"file5"},{"photo_id":"1397091134","filename":"file2"},{"photo_id":"1397091137","filename":"file4"},{"photo_id":"1397091133","filename":"file1"},{"photo_id":"1397091132","filename":"file0"},{"photo_id":"1397091135","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091132":["hashtag1","hashtag2"]},{"1397091134":["hashtag1","hashtag2"]},{"1397091137":["hashtag1","hashtag2"]},{"1397091133":["hashtag1","hashtag2"]},{"1397091141":["hashtag1","hashtag2"]},{"1397091135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091132, 1397091134, 1397091137, 1397091133, 1397091141, 1397091135)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.01332426071167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:50:04.721150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_45_9635.jpg', '/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_56_10687.jpg', '/home/pi/Desktop/images/30112025/18/57/image_30112025_18_58_05_9605.jpg', '/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_15_9666.jpg', '/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_26_10660.jpg', '/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_45_9635.jpg
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_57_56_10687.jpg
/home/pi/Desktop/images/30112025/18/57/image_30112025_18_58_05_9605.jpg
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_15_9666.jpg
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_26_10660.jpg
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_35_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091150","1397091161","1397091159","1397091153","1397091147","1397091156"],"photo_ids_order":["1397091147","1397091150","1397091153","1397091156","1397091159","1397091161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e42f39146542e2c018e1d66ddc7a9a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5601711248752623281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_57_56_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5943d263c2f260a4237fa1361c10786a.jpg","text":"TemporaryFile(/tmp/multipartBody3575462364426683511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_58_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15182aa795bd4909f4110003ad39d789.jpg","text":"TemporaryFile(/tmp/multipartBody6796942416796859838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_58_26_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c5fe54a6b97ff01974d7debd63fca5d.jpg","text":"TemporaryFile(/tmp/multipartBody7299493533242062781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_58_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65c2caf9fc297472947f1f0355b9a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody4195154921620172983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_57_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/95969e9a1a0ce50a0e6db37c0b8ee69d.jpg","text":"TemporaryFile(/tmp/multipartBody6842460678188571137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532279505,"filename":"image_30112025_18_58_15_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091153","file1":"1397091150","file0":"1397091147","file4":"1397091159","file5":"1397091161","file3":"1397091156"},"map_files_photo_id_array":[{"photo_id":"1397091161","filename":"file5"},{"photo_id":"1397091153","filename":"file2"},{"photo_id":"1397091159","filename":"file4"},{"photo_id":"1397091150","filename":"file1"},{"photo_id":"1397091147","filename":"file0"},{"photo_id":"1397091156","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091150":["hashtag1","hashtag2"]},{"1397091161":["hashtag1","hashtag2"]},{"1397091159":["hashtag1","hashtag2"]},{"1397091153":["hashtag1","hashtag2"]},{"1397091147":["hashtag1","hashtag2"]},{"1397091156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091150, 1397091161, 1397091159, 1397091153, 1397091147, 1397091156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.96998953819275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:51:03.248639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_45_9830.jpg', '/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_56_10601.jpg', '/home/pi/Desktop/images/30112025/18/58/image_30112025_18_59_05_9592.jpg', '/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_15_9637.jpg', '/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_26_10658.jpg', '/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_35_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_45_9830.jpg
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_58_56_10601.jpg
/home/pi/Desktop/images/30112025/18/58/image_30112025_18_59_05_9592.jpg
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_15_9637.jpg
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_26_10658.jpg
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_35_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091170","1397091173","1397091167","1397091166","1397091165","1397091168"],"photo_ids_order":["1397091165","1397091166","1397091167","1397091168","1397091170","1397091173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8c601ba03dbfe959639723d6847d90d.jpg","text":"TemporaryFile(/tmp/multipartBody318814359835495564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_59_26_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ab94a0e0d8c0492713542b862c4b3f4.jpg","text":"TemporaryFile(/tmp/multipartBody1801591754637161311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_59_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98a0475c967a2c2ddce1ab4efe22b383.jpg","text":"TemporaryFile(/tmp/multipartBody491790198425069887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_59_05_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a2e8f5d036fa4d2e195cee8e130dd08.jpg","text":"TemporaryFile(/tmp/multipartBody3557515868266748667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_58_56_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c89b7e6c92aba0deb811c98e7bc24af.jpg","text":"TemporaryFile(/tmp/multipartBody809880668115894891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_58_45_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/990dbb542ecc2870fb62f4fccb04edaa.jpg","text":"TemporaryFile(/tmp/multipartBody1355173386324314874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532323967,"filename":"image_30112025_18_59_15_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091167","file1":"1397091166","file0":"1397091165","file4":"1397091170","file5":"1397091173","file3":"1397091168"},"map_files_photo_id_array":[{"photo_id":"1397091173","filename":"file5"},{"photo_id":"1397091167","filename":"file2"},{"photo_id":"1397091170","filename":"file4"},{"photo_id":"1397091166","filename":"file1"},{"photo_id":"1397091165","filename":"file0"},{"photo_id":"1397091168","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091170":["hashtag1","hashtag2"]},{"1397091173":["hashtag1","hashtag2"]},{"1397091167":["hashtag1","hashtag2"]},{"1397091166":["hashtag1","hashtag2"]},{"1397091165":["hashtag1","hashtag2"]},{"1397091168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091170, 1397091173, 1397091167, 1397091166, 1397091165, 1397091168)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.60773968696594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:52:07.867303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_45_9729.jpg', '/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_56_10659.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_15_10057.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_26_10677.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_35_9683.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_45_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_45_9729.jpg
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_56_10659.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_15_10057.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_26_10677.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_35_9683.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_45_9693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6603312492370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:52:17.478578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_09_3638.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_14_2541.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_18_3703.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_21_2582.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_39_17965.jpg', '/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_45_6013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_09_3638.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_14_2541.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_18_3703.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_21_2582.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_39_17965.jpg
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_45_6013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091194","1397091197","1397091191","1397091200","1397091187","1397091183"],"photo_ids_order":["1397091183","1397091187","1397091191","1397091194","1397091197","1397091200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad42919dba4c0bd6fc7a072a41b0d41a.jpg","text":"TemporaryFile(/tmp/multipartBody2569808451807388867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_21_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/30/571ad617f76725dedd3df385378ee7bb.jpg","text":"TemporaryFile(/tmp/multipartBody7803951475818376868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_39_17965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc40d466e6c4180feac640422691ebf7.jpg","text":"TemporaryFile(/tmp/multipartBody5906858891435637331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_18_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/30/010c8d5a1bc502d3517facf7e0aaae61.jpg","text":"TemporaryFile(/tmp/multipartBody4341021935897248806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_45_6013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0676b37fb3f37859f840f9bc589c846.jpg","text":"TemporaryFile(/tmp/multipartBody8869463839755717389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_14_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a118477b1f548301206e576e334679d.jpg","text":"TemporaryFile(/tmp/multipartBody4150052692930568431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532399104,"filename":"image_25112025_20_48_09_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091191","file1":"1397091187","file0":"1397091183","file4":"1397091197","file5":"1397091200","file3":"1397091194"},"map_files_photo_id_array":[{"photo_id":"1397091200","filename":"file5"},{"photo_id":"1397091191","filename":"file2"},{"photo_id":"1397091197","filename":"file4"},{"photo_id":"1397091187","filename":"file1"},{"photo_id":"1397091183","filename":"file0"},{"photo_id":"1397091194","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397091194":["hashtag1","hashtag2"]},{"1397091197":["hashtag1","hashtag2"]},{"1397091191":["hashtag1","hashtag2"]},{"1397091200":["hashtag1","hashtag2"]},{"1397091187":["hashtag1","hashtag2"]},{"1397091183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397091194, 1397091197, 1397091191, 1397091200, 1397091187, 1397091183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33099961280823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:53:03.417112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_45_9729.jpg', '/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_56_10659.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_15_10057.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_26_10677.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_35_9683.jpg', '/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_45_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_45_9729.jpg
/home/pi/Desktop/images/30112025/18/59/image_30112025_18_59_56_10659.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_15_10057.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_26_10677.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_35_9683.jpg
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_00_45_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091204","1397091213","1397091206","1397091209","1397091203","1397091205"],"photo_ids_order":["1397091203","1397091204","1397091205","1397091206","1397091209","1397091213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5228359d8ecefe75a62af6b18fc06bed.jpg","text":"TemporaryFile(/tmp/multipartBody4445702863651387263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_18_59_56_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/648fe8be6c29140e7dd7f82af24ef0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4391867238847250109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_19_00_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88e86a38bf01c2a94d4c9be007ca3374.jpg","text":"TemporaryFile(/tmp/multipartBody5180159190083353524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_19_00_26_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ee645836422f03e13d1bbf15d7025f4.jpg","text":"TemporaryFile(/tmp/multipartBody3936986445092551672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_19_00_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cf81bae1fe761c22e2f9b0b46a659cc.jpg","text":"TemporaryFile(/tmp/multipartBody4837600932075548727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_18_59_45_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b16411ec26d43651079bbf24dacabcc1.jpg","text":"TemporaryFile(/tmp/multipartBody1816398139071477240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532444215,"filename":"image_30112025_19_00_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091205","file1":"1397091204","file0":"1397091203","file4":"1397091209","file5":"1397091213","file3":"1397091206"},"map_files_photo_id_array":[{"photo_id":"1397091213","filename":"file5"},{"photo_id":"1397091205","filename":"file2"},{"photo_id":"1397091209","filename":"file4"},{"photo_id":"1397091204","filename":"file1"},{"photo_id":"1397091203","filename":"file0"},{"photo_id":"1397091206","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091204":["hashtag1","hashtag2"]},{"1397091213":["hashtag1","hashtag2"]},{"1397091206":["hashtag1","hashtag2"]},{"1397091209":["hashtag1","hashtag2"]},{"1397091203":["hashtag1","hashtag2"]},{"1397091205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091204, 1397091213, 1397091206, 1397091209, 1397091203, 1397091205)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.88987970352173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:54:02.635993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/00/image_30112025_19_01_05_9591.jpg', '/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_26_10667.jpg', '/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_35_9613.jpg', '/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_45_9688.jpg', '/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_56_10722.jpg', '/home/pi/Desktop/images/30112025/19/01/image_30112025_19_02_05_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/00/image_30112025_19_01_05_9591.jpg
/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_26_10667.jpg
/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_35_9613.jpg
/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_45_9688.jpg
/home/pi/Desktop/images/30112025/19/01/image_30112025_19_01_56_10722.jpg
/home/pi/Desktop/images/30112025/19/01/image_30112025_19_02_05_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091231","1397091225","1397091224","1397091227","1397091226","1397091229"],"photo_ids_order":["1397091224","1397091225","1397091226","1397091227","1397091229","1397091231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c3215f8e9eb2c7fce3e98d68cc7a7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8584445802221107396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_02_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a102c08499aa2be051beb638b9c942f9.jpg","text":"TemporaryFile(/tmp/multipartBody5665885487968741209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_01_26_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b46ae7440f783b9598ec365783a9420d.jpg","text":"TemporaryFile(/tmp/multipartBody9133025965652466365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_01_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b96cfd77fffbdd03bd423e38377ec454.jpg","text":"TemporaryFile(/tmp/multipartBody6952055478621877027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_01_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cbb910ea2ee0f2feb91ecd82255cc73.jpg","text":"TemporaryFile(/tmp/multipartBody6765004770893921989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_01_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d77ee86f930b559b5d5fcf3d8f256f78.jpg","text":"TemporaryFile(/tmp/multipartBody3265460782933920287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532503419,"filename":"image_30112025_19_01_56_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091226","file1":"1397091225","file0":"1397091224","file4":"1397091229","file5":"1397091231","file3":"1397091227"},"map_files_photo_id_array":[{"photo_id":"1397091231","filename":"file5"},{"photo_id":"1397091226","filename":"file2"},{"photo_id":"1397091229","filename":"file4"},{"photo_id":"1397091225","filename":"file1"},{"photo_id":"1397091224","filename":"file0"},{"photo_id":"1397091227","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091231":["hashtag1","hashtag2"]},{"1397091225":["hashtag1","hashtag2"]},{"1397091224":["hashtag1","hashtag2"]},{"1397091227":["hashtag1","hashtag2"]},{"1397091226":["hashtag1","hashtag2"]},{"1397091229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091231, 1397091225, 1397091224, 1397091227, 1397091226, 1397091229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39290452003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:54:41.899510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/38/image_31102025_13_38_04_2864.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_07_2760.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_12_2709.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_16_3693.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_19_2636.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_28_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_04_2864.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_07_2760.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_12_2709.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_16_3693.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_19_2636.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_28_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091239","1397091241","1397091250","1397091244","1397091247","1397091249"],"photo_ids_order":["1397091239","1397091241","1397091244","1397091247","1397091249","1397091250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b71f3a892a72976e867d97f6598e8ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2057385384464239989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_04_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/30/e12b5d1ec13bb6682b992cad906d0758.jpg","text":"TemporaryFile(/tmp/multipartBody8067305189005982289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_07_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/30/036239ec5da14706647a323a32bd85a6.jpg","text":"TemporaryFile(/tmp/multipartBody5078865155854370149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_28_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/30/517d471e08e176177f9409ca35e941bf.jpg","text":"TemporaryFile(/tmp/multipartBody3550837957280896555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_12_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/30/f13b4802260bc1c78c005cd0a972abf5.jpg","text":"TemporaryFile(/tmp/multipartBody870161553224010932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_16_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/30/19d5e5deae044006ee89adf4ce64a65d.jpg","text":"TemporaryFile(/tmp/multipartBody8151224846893046696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532542803,"filename":"image_31102025_13_38_19_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091244","file1":"1397091241","file0":"1397091239","file4":"1397091249","file5":"1397091250","file3":"1397091247"},"map_files_photo_id_array":[{"photo_id":"1397091250","filename":"file5"},{"photo_id":"1397091244","filename":"file2"},{"photo_id":"1397091249","filename":"file4"},{"photo_id":"1397091241","filename":"file1"},{"photo_id":"1397091239","filename":"file0"},{"photo_id":"1397091247","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397091239":["hashtag1","hashtag2"]},{"1397091241":["hashtag1","hashtag2"]},{"1397091250":["hashtag1","hashtag2"]},{"1397091244":["hashtag1","hashtag2"]},{"1397091247":["hashtag1","hashtag2"]},{"1397091249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397091239, 1397091241, 1397091250, 1397091244, 1397091247, 1397091249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50639867782593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 20:55:22.168781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_15_9654.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_26_10793.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_35_9595.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_45_9644.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_55_10610.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_03_05_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_15_9654.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_26_10793.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_35_9595.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_45_9644.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_55_10610.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_03_05_9538.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5849745273590088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:55:32.278673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_50_5870.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_02_5729.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_04_1782.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_05_1624.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_07_1570.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_09_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/48/image_25112025_20_48_50_5870.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_02_5729.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_04_1782.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_05_1624.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_07_1570.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_09_1755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091269","1397091260","1397091263","1397091266","1397091268","1397091267"],"photo_ids_order":["1397091260","1397091263","1397091266","1397091267","1397091268","1397091269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cabb6e2666668b792209287f00ba554e.jpg","text":"TemporaryFile(/tmp/multipartBody1244200686818736566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_49_09_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/30/f85e9db68e9eb80af38450f2a5fb46c2.jpg","text":"TemporaryFile(/tmp/multipartBody6247987253446821263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_48_50_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/30/3d8fe410804f30dee65ff4c9ad90b644.jpg","text":"TemporaryFile(/tmp/multipartBody4220416540214459165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_49_02_5729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7bbd3d8cbb69db5103229c7cb4420717.jpg","text":"TemporaryFile(/tmp/multipartBody8260932890791498602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_49_04_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/30/8b0c1b1d88579f3645825738bd78b2d2.jpg","text":"TemporaryFile(/tmp/multipartBody5309522262609889438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_49_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/30/8827a4e5da59760c088c98711ad78503.jpg","text":"TemporaryFile(/tmp/multipartBody575029629174613641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532594194,"filename":"image_25112025_20_49_05_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091266","file1":"1397091263","file0":"1397091260","file4":"1397091268","file5":"1397091269","file3":"1397091267"},"map_files_photo_id_array":[{"photo_id":"1397091269","filename":"file5"},{"photo_id":"1397091266","filename":"file2"},{"photo_id":"1397091268","filename":"file4"},{"photo_id":"1397091263","filename":"file1"},{"photo_id":"1397091260","filename":"file0"},{"photo_id":"1397091267","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397091269":["hashtag1","hashtag2"]},{"1397091260":["hashtag1","hashtag2"]},{"1397091263":["hashtag1","hashtag2"]},{"1397091266":["hashtag1","hashtag2"]},{"1397091268":["hashtag1","hashtag2"]},{"1397091267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397091269, 1397091260, 1397091263, 1397091266, 1397091268, 1397091267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13601016998291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 20:56:12.320505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_10_1694.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_17_1703.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_20_1488.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_22_1779.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_44_1638.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_46_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_10_1694.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_17_1703.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_20_1488.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_22_1779.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_44_1638.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_46_1649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091271","1397091282","1397091276","1397091285","1397091279","1397091273"],"photo_ids_order":["1397091271","1397091273","1397091276","1397091279","1397091282","1397091285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d0833452fbea7682170e96069205a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3709091832412023342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_10_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/30/b15cca6225a6d4d92afd0f0e5b47b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody6772282513972153762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_44_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/30/a6ff11fc417676e247f1b0951344ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody1599919865405069804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_20_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb8a7a256afc0587b516e4f01ee0d9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8891748800614191395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_46_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/30/d388e2c620ae0daa15ee772dde37061b.jpg","text":"TemporaryFile(/tmp/multipartBody6009444776961608957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_22_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/30/9e5ccf1722b9ee49e667b229ba03a4ce.jpg","text":"TemporaryFile(/tmp/multipartBody7819150691687912384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532634124,"filename":"image_25112025_20_49_17_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091276","file1":"1397091273","file0":"1397091271","file4":"1397091282","file5":"1397091285","file3":"1397091279"},"map_files_photo_id_array":[{"photo_id":"1397091285","filename":"file5"},{"photo_id":"1397091276","filename":"file2"},{"photo_id":"1397091282","filename":"file4"},{"photo_id":"1397091273","filename":"file1"},{"photo_id":"1397091271","filename":"file0"},{"photo_id":"1397091279","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397091271":["hashtag1","hashtag2"]},{"1397091282":["hashtag1","hashtag2"]},{"1397091276":["hashtag1","hashtag2"]},{"1397091285":["hashtag1","hashtag2"]},{"1397091279":["hashtag1","hashtag2"]},{"1397091273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397091271, 1397091282, 1397091276, 1397091285, 1397091279, 1397091273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66346979141235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:57:03.269582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_15_9654.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_26_10793.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_35_9595.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_45_9644.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_55_10610.jpg', '/home/pi/Desktop/images/30112025/19/02/image_30112025_19_03_05_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_15_9654.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_26_10793.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_35_9595.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_45_9644.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_02_55_10610.jpg
/home/pi/Desktop/images/30112025/19/02/image_30112025_19_03_05_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091287","1397091298","1397091292","1397091289","1397091294","1397091291"],"photo_ids_order":["1397091287","1397091289","1397091291","1397091292","1397091294","1397091298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/713a3edea0390657554ec68221bb88c1.jpg","text":"TemporaryFile(/tmp/multipartBody4324335290353865387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_02_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e165f7d25ab0034c3e001f2354f5db44.jpg","text":"TemporaryFile(/tmp/multipartBody3901086504658409346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_03_05_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/632c84b496e3d9e4d429a3822ddb1e70.jpg","text":"TemporaryFile(/tmp/multipartBody1092001859821753499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_02_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16e0bed4dd1baca09198fea9a7d8ffe3.jpg","text":"TemporaryFile(/tmp/multipartBody7755114866317215511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_02_26_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52f14b5cf76919d5e018bb907fa4a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody6846388119989726814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_02_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2998298c054190da1bc6febee8de20d1.jpg","text":"TemporaryFile(/tmp/multipartBody2318337417329295142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532684024,"filename":"image_30112025_19_02_35_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091291","file1":"1397091289","file0":"1397091287","file4":"1397091294","file5":"1397091298","file3":"1397091292"},"map_files_photo_id_array":[{"photo_id":"1397091298","filename":"file5"},{"photo_id":"1397091291","filename":"file2"},{"photo_id":"1397091294","filename":"file4"},{"photo_id":"1397091289","filename":"file1"},{"photo_id":"1397091287","filename":"file0"},{"photo_id":"1397091292","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091287":["hashtag1","hashtag2"]},{"1397091298":["hashtag1","hashtag2"]},{"1397091292":["hashtag1","hashtag2"]},{"1397091289":["hashtag1","hashtag2"]},{"1397091294":["hashtag1","hashtag2"]},{"1397091291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091287, 1397091298, 1397091292, 1397091289, 1397091294, 1397091291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438265323638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:57:42.705262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/38/image_31102025_13_38_31_2704.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_33_2671.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_36_2808.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_40_3724.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_42_2563.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_45_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_31_2704.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_33_2671.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_36_2808.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_40_3724.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_42_2563.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_45_2693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7791500091552734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 20:59:02.768475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_16_10667.jpg', '/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_25_9652.jpg', '/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_35_9827.jpg', '/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_45_9667.jpg', '/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_55_10569.jpg', '/home/pi/Desktop/images/30112025/19/03/image_30112025_19_04_05_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_16_10667.jpg
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_25_9652.jpg
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_35_9827.jpg
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_45_9667.jpg
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_03_55_10569.jpg
/home/pi/Desktop/images/30112025/19/03/image_30112025_19_04_05_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397091776","1397091779","1397091806","1397091769","1397091771","1397091774"],"photo_ids_order":["1397091769","1397091771","1397091774","1397091776","1397091779","1397091806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0bdac64755ad88604be8956818b36aed.jpg","text":"TemporaryFile(/tmp/multipartBody8929271200991654155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_03_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae270841160ba6071ba1c0304179708d.jpg","text":"TemporaryFile(/tmp/multipartBody665009839891458155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_03_55_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f7c6619306d7e1ea82e685cf7dc7e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5530568350717370402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_04_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/65838af48145cea9bb155a8ba5012743.jpg","text":"TemporaryFile(/tmp/multipartBody4642175826446422445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_03_16_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4439d1cf1f5cba4b07533089c780de0c.jpg","text":"TemporaryFile(/tmp/multipartBody342704063504032957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_03_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f61f027e88effe826c03d1dd76078c75.jpg","text":"TemporaryFile(/tmp/multipartBody1317632281551596217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532803511,"filename":"image_30112025_19_03_35_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091774","file1":"1397091771","file0":"1397091769","file4":"1397091779","file5":"1397091806","file3":"1397091776"},"map_files_photo_id_array":[{"photo_id":"1397091806","filename":"file5"},{"photo_id":"1397091774","filename":"file2"},{"photo_id":"1397091779","filename":"file4"},{"photo_id":"1397091771","filename":"file1"},{"photo_id":"1397091769","filename":"file0"},{"photo_id":"1397091776","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397091776":["hashtag1","hashtag2"]},{"1397091779":["hashtag1","hashtag2"]},{"1397091806":["hashtag1","hashtag2"]},{"1397091769":["hashtag1","hashtag2"]},{"1397091771":["hashtag1","hashtag2"]},{"1397091774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397091776, 1397091779, 1397091806, 1397091769, 1397091771, 1397091774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11692261695862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 20:59:42.122348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/38/image_31102025_13_38_31_2704.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_33_2671.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_36_2808.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_40_3724.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_42_2563.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_45_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_31_2704.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_33_2671.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_36_2808.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_40_3724.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_42_2563.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_45_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":["1397092022","1397091994","1397092024","1397091949","1397092050","1397091981"],"photo_ids_order":["1397091949","1397091981","1397091994","1397092022","1397092024","1397092050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/003f86490b1834caceb58e17c8cb503b.jpg","text":"TemporaryFile(/tmp/multipartBody1850281726172851337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_40_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/30/fd7e8df851dbf1247acc15faa559a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8217395486341294458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_36_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/30/b56929ea7e7e5349dcf93c662817baf4.jpg","text":"TemporaryFile(/tmp/multipartBody2850187911335225941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_42_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/30/4de85baf49cfbf83f9e1742483604e31.jpg","text":"TemporaryFile(/tmp/multipartBody1064365952494772504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_31_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5d0c19c54dc2020d80ec75a110cbdb1.jpg","text":"TemporaryFile(/tmp/multipartBody772769322547001197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_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/30/a237dc8727498b39e7b7e69501d8511f.jpg","text":"TemporaryFile(/tmp/multipartBody6868316601478516206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532842864,"filename":"image_31102025_13_38_33_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397091994","file1":"1397091981","file0":"1397091949","file4":"1397092024","file5":"1397092050","file3":"1397092022"},"map_files_photo_id_array":[{"photo_id":"1397092050","filename":"file5"},{"photo_id":"1397091994","filename":"file2"},{"photo_id":"1397092024","filename":"file4"},{"photo_id":"1397091981","filename":"file1"},{"photo_id":"1397091949","filename":"file0"},{"photo_id":"1397092022","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397092022":["hashtag1","hashtag2"]},{"1397091994":["hashtag1","hashtag2"]},{"1397092024":["hashtag1","hashtag2"]},{"1397091949":["hashtag1","hashtag2"]},{"1397092050":["hashtag1","hashtag2"]},{"1397091981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397092022, 1397091994, 1397092024, 1397091949, 1397092050, 1397091981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.938024282455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:00:22.224667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_25_9550.jpg', '/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_35_9567.jpg', '/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_46_10680.jpg', '/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_55_9542.jpg', '/home/pi/Desktop/images/30112025/19/04/image_30112025_19_05_06_10676.jpg', '/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_15_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_25_9550.jpg
/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_35_9567.jpg
/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_46_10680.jpg
/home/pi/Desktop/images/30112025/19/04/image_30112025_19_04_55_9542.jpg
/home/pi/Desktop/images/30112025/19/04/image_30112025_19_05_06_10676.jpg
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_15_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397092340","1397092226","1397092192","1397092300","1397092263","1397092382"],"photo_ids_order":["1397092192","1397092226","1397092263","1397092300","1397092340","1397092382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83f4bce152b1e97ca5d03b73f356f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody1459523839745680650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_05_06_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e346291d3cb4f19d73be9312923060a7.jpg","text":"TemporaryFile(/tmp/multipartBody8794745678515555927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_04_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88780ce6d9896b0c1190f52d108af2da.jpg","text":"TemporaryFile(/tmp/multipartBody5154126429399683607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_04_25_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd40b8817d59ed7fde4a100987306305.jpg","text":"TemporaryFile(/tmp/multipartBody8068064096371954466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_04_55_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81dfcf52052739fec5349526207a8e31.jpg","text":"TemporaryFile(/tmp/multipartBody524444655087080896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_04_46_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d0f82ee0539227995208993a75f8f62.jpg","text":"TemporaryFile(/tmp/multipartBody8650143756632889728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532882901,"filename":"image_30112025_19_05_15_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397092263","file1":"1397092226","file0":"1397092192","file4":"1397092340","file5":"1397092382","file3":"1397092300"},"map_files_photo_id_array":[{"photo_id":"1397092382","filename":"file5"},{"photo_id":"1397092263","filename":"file2"},{"photo_id":"1397092340","filename":"file4"},{"photo_id":"1397092226","filename":"file1"},{"photo_id":"1397092192","filename":"file0"},{"photo_id":"1397092300","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397092340":["hashtag1","hashtag2"]},{"1397092226":["hashtag1","hashtag2"]},{"1397092192":["hashtag1","hashtag2"]},{"1397092300":["hashtag1","hashtag2"]},{"1397092263":["hashtag1","hashtag2"]},{"1397092382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397092340, 1397092226, 1397092192, 1397092300, 1397092263, 1397092382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66764211654663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:01:03.037050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_25_9649.jpg', '/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_35_9777.jpg', '/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_46_10622.jpg', '/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_55_9827.jpg', '/home/pi/Desktop/images/30112025/19/05/image_30112025_19_06_05_9677.jpg', '/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_16_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_25_9649.jpg
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_35_9777.jpg
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_46_10622.jpg
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_05_55_9827.jpg
/home/pi/Desktop/images/30112025/19/05/image_30112025_19_06_05_9677.jpg
/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_16_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397092736","1397092693","1397092579","1397092540","1397092615","1397092656"],"photo_ids_order":["1397092540","1397092579","1397092615","1397092656","1397092693","1397092736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/16849813d7e2d3c81fd0775b1b3e32f2.jpg","text":"TemporaryFile(/tmp/multipartBody4703710127261036076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_06_16_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a7d71e7210ae51ecf3c7ea7281b9969.jpg","text":"TemporaryFile(/tmp/multipartBody3100779714036632470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_06_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/623ece107776dc4ad2a894e95ae6b5f4.jpg","text":"TemporaryFile(/tmp/multipartBody4986348877290783320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_05_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/beefbb383b812d24b50c15ea5ddab9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8859409458021565118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_05_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fe2d43a3b16979177cf637512922e9b7.jpg","text":"TemporaryFile(/tmp/multipartBody728243082566226864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_05_46_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83a5d570b01548b2c636dc81844158f0.jpg","text":"TemporaryFile(/tmp/multipartBody4287273089752138998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532923840,"filename":"image_30112025_19_05_55_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397092615","file1":"1397092579","file0":"1397092540","file4":"1397092693","file5":"1397092736","file3":"1397092656"},"map_files_photo_id_array":[{"photo_id":"1397092736","filename":"file5"},{"photo_id":"1397092615","filename":"file2"},{"photo_id":"1397092693","filename":"file4"},{"photo_id":"1397092579","filename":"file1"},{"photo_id":"1397092540","filename":"file0"},{"photo_id":"1397092656","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397092736":["hashtag1","hashtag2"]},{"1397092693":["hashtag1","hashtag2"]},{"1397092579":["hashtag1","hashtag2"]},{"1397092540":["hashtag1","hashtag2"]},{"1397092615":["hashtag1","hashtag2"]},{"1397092656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397092736, 1397092693, 1397092579, 1397092540, 1397092615, 1397092656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07471179962158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:01:42.506893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/38/image_31102025_13_38_49_3621.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_51_2677.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_54_2637.jpg', '/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_58_3813.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_03_2783.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_06_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_49_3621.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_51_2677.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_54_2637.jpg
/home/pi/Desktop/images/31102025/13/38/image_31102025_13_38_58_3813.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_03_2783.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_06_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397092904","1397092879","1397092903","1397092906","1397092902","1397092905"],"photo_ids_order":["1397092879","1397092902","1397092903","1397092904","1397092905","1397092906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad48cd4503ef181446a6de9c8e4a53b5.jpg","text":"TemporaryFile(/tmp/multipartBody1013240897980033366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_38_58_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/30/49d79db67c93b4a247b18fde24d02068.jpg","text":"TemporaryFile(/tmp/multipartBody4477756706946521856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_38_49_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/30/7893fd97a3aef8963d6683166a8ce486.jpg","text":"TemporaryFile(/tmp/multipartBody2410123464745516006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_38_54_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aec2bc423a6574630e6831be9807f8a3.jpg","text":"TemporaryFile(/tmp/multipartBody2216161232808444306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_39_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/30/d60fdc355d694786029ae68d2e11e209.jpg","text":"TemporaryFile(/tmp/multipartBody102680026812289723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_38_51_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68818e68380ff88cb73296740d8afe08.jpg","text":"TemporaryFile(/tmp/multipartBody7496412527173725426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764532963406,"filename":"image_31102025_13_39_03_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397092903","file1":"1397092902","file0":"1397092879","file4":"1397092905","file5":"1397092906","file3":"1397092904"},"map_files_photo_id_array":[{"photo_id":"1397092906","filename":"file5"},{"photo_id":"1397092903","filename":"file2"},{"photo_id":"1397092905","filename":"file4"},{"photo_id":"1397092902","filename":"file1"},{"photo_id":"1397092879","filename":"file0"},{"photo_id":"1397092904","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397092904":["hashtag1","hashtag2"]},{"1397092879":["hashtag1","hashtag2"]},{"1397092903":["hashtag1","hashtag2"]},{"1397092906":["hashtag1","hashtag2"]},{"1397092902":["hashtag1","hashtag2"]},{"1397092905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397092904, 1397092879, 1397092903, 1397092906, 1397092902, 1397092905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.864450454711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:02:22.669320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_25_9669.jpg', '/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_35_9570.jpg', '/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_46_10692.jpg', '/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_55_9661.jpg', '/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_16_10896.jpg', '/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_25_9669.jpg
/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_35_9570.jpg
/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_46_10692.jpg
/home/pi/Desktop/images/30112025/19/06/image_30112025_19_06_55_9661.jpg
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_16_10896.jpg
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_25_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093025","1397092938","1397093078","1397093081","1397092985","1397093063"],"photo_ids_order":["1397092938","1397092985","1397093025","1397093063","1397093078","1397093081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/54d0d2343906d9d77eceb0d938ec2d53.jpg","text":"TemporaryFile(/tmp/multipartBody8029481662347130326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_06_46_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fed664860fa67004ce39abb180182e1.jpg","text":"TemporaryFile(/tmp/multipartBody3892499828087228124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_06_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9eec6dc08b4cbbf715c85e1c8eb12418.jpg","text":"TemporaryFile(/tmp/multipartBody3262926660179696262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_07_16_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f336d4913375a9e666e7344762867322.jpg","text":"TemporaryFile(/tmp/multipartBody6111337581666143108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_07_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25c0f3a1b1e8a17f774a52ff6abb9012.jpg","text":"TemporaryFile(/tmp/multipartBody3729671989583674559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_06_35_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48305442c57d824a9c1ecb1a20ce3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8762901171037978504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533003353,"filename":"image_30112025_19_06_55_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093025","file1":"1397092985","file0":"1397092938","file4":"1397093078","file5":"1397093081","file3":"1397093063"},"map_files_photo_id_array":[{"photo_id":"1397093081","filename":"file5"},{"photo_id":"1397093025","filename":"file2"},{"photo_id":"1397093078","filename":"file4"},{"photo_id":"1397092985","filename":"file1"},{"photo_id":"1397092938","filename":"file0"},{"photo_id":"1397093063","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093025":["hashtag1","hashtag2"]},{"1397092938":["hashtag1","hashtag2"]},{"1397093078":["hashtag1","hashtag2"]},{"1397093081":["hashtag1","hashtag2"]},{"1397092985":["hashtag1","hashtag2"]},{"1397093063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093025, 1397092938, 1397093078, 1397093081, 1397092985, 1397093063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86387753486633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:03:02.314120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_35_9875.jpg', '/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_45_9617.jpg', '/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_56_10606.jpg', '/home/pi/Desktop/images/30112025/19/07/image_30112025_19_08_05_9863.jpg', '/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_15_9771.jpg', '/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_25_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_35_9875.jpg
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_45_9617.jpg
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_07_56_10606.jpg
/home/pi/Desktop/images/30112025/19/07/image_30112025_19_08_05_9863.jpg
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_15_9771.jpg
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_25_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093161","1397093155","1397093154","1397093157","1397093153","1397093147"],"photo_ids_order":["1397093147","1397093153","1397093154","1397093155","1397093157","1397093161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5ba864dd24474fa4fa1b0c55434f51c.jpg","text":"TemporaryFile(/tmp/multipartBody4139090253181556499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_08_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1dcb51207bf5e82ebee31d107ed5b63.jpg","text":"TemporaryFile(/tmp/multipartBody1550528978673527540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_08_05_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1fc18b73355e8979fdfa266ae33edfd6.jpg","text":"TemporaryFile(/tmp/multipartBody1463872759344717924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_07_56_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f2a9c7ea88572bfc1ac1d45f71cf923.jpg","text":"TemporaryFile(/tmp/multipartBody7672295091871567740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_08_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a436a8c52e0a433ea2bf313642dc9fff.jpg","text":"TemporaryFile(/tmp/multipartBody2545337953267284044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_07_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12a228e112854e4468380239527f62ec.jpg","text":"TemporaryFile(/tmp/multipartBody7981539545527102127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533043056,"filename":"image_30112025_19_07_35_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093154","file1":"1397093153","file0":"1397093147","file4":"1397093157","file5":"1397093161","file3":"1397093155"},"map_files_photo_id_array":[{"photo_id":"1397093161","filename":"file5"},{"photo_id":"1397093154","filename":"file2"},{"photo_id":"1397093157","filename":"file4"},{"photo_id":"1397093153","filename":"file1"},{"photo_id":"1397093147","filename":"file0"},{"photo_id":"1397093155","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093161":["hashtag1","hashtag2"]},{"1397093155":["hashtag1","hashtag2"]},{"1397093154":["hashtag1","hashtag2"]},{"1397093157":["hashtag1","hashtag2"]},{"1397093153":["hashtag1","hashtag2"]},{"1397093147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093161, 1397093155, 1397093154, 1397093157, 1397093153, 1397093147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58469247817993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:03:41.789267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/39/image_31102025_13_39_10_3762.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_15_2695.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_18_2751.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_22_3713.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_31_3752.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_40_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_10_3762.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_15_2695.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_18_2751.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_22_3713.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_31_3752.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_40_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093176","1397093173","1397093172","1397093175","1397093174","1397093168"],"photo_ids_order":["1397093168","1397093172","1397093173","1397093174","1397093175","1397093176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cde4bd1355f819ada9f732488c72bb4.jpg","text":"TemporaryFile(/tmp/multipartBody8338663535746403506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_40_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/30/8a16f1edce575e64d57d447ed7327029.jpg","text":"TemporaryFile(/tmp/multipartBody8864987691395125733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_18_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/30/9257eb9ad097cd54233fb9b1caca0a35.jpg","text":"TemporaryFile(/tmp/multipartBody8620546451449250386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_15_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/30/74daffdf1318e797b65b5ca927c48267.jpg","text":"TemporaryFile(/tmp/multipartBody1131169102140823803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_31_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/30/be5c2993eec581d921d3ee42552f2d85.jpg","text":"TemporaryFile(/tmp/multipartBody2812700404437811067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_22_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/30/a73e1cc4c41095d98076b30865bb646e.jpg","text":"TemporaryFile(/tmp/multipartBody4447375291341741765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533082721,"filename":"image_31102025_13_39_10_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093173","file1":"1397093172","file0":"1397093168","file4":"1397093175","file5":"1397093176","file3":"1397093174"},"map_files_photo_id_array":[{"photo_id":"1397093176","filename":"file5"},{"photo_id":"1397093173","filename":"file2"},{"photo_id":"1397093175","filename":"file4"},{"photo_id":"1397093172","filename":"file1"},{"photo_id":"1397093168","filename":"file0"},{"photo_id":"1397093174","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093176":["hashtag1","hashtag2"]},{"1397093173":["hashtag1","hashtag2"]},{"1397093172":["hashtag1","hashtag2"]},{"1397093175":["hashtag1","hashtag2"]},{"1397093174":["hashtag1","hashtag2"]},{"1397093168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093176, 1397093173, 1397093172, 1397093175, 1397093174, 1397093168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16116547584534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:04:21.987992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_36_10718.jpg', '/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_45_9619.jpg', '/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_55_9587.jpg', '/home/pi/Desktop/images/30112025/19/08/image_30112025_19_09_06_10625.jpg', '/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_15_9718.jpg', '/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_25_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_36_10718.jpg
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_45_9619.jpg
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_08_55_9587.jpg
/home/pi/Desktop/images/30112025/19/08/image_30112025_19_09_06_10625.jpg
/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_15_9718.jpg
/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_25_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093194","1397093188","1397093182","1397093191","1397093185","1397093178"],"photo_ids_order":["1397093178","1397093182","1397093185","1397093188","1397093191","1397093194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/22f30dc5c6b85279bff120ea309f65a5.jpg","text":"TemporaryFile(/tmp/multipartBody6804907393820649128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_09_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a4addcdf3634c05ff9569c51c780fbc.jpg","text":"TemporaryFile(/tmp/multipartBody663315782705695107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_09_06_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/08c4cb711454cefdcca39685c8126360.jpg","text":"TemporaryFile(/tmp/multipartBody5765345715324925060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_08_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dae0271c0de0ea292614ca4639fa341a.jpg","text":"TemporaryFile(/tmp/multipartBody6091547754156977794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_09_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ddc979ad274870deaa28c118076d59d.jpg","text":"TemporaryFile(/tmp/multipartBody7896122870706255796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_08_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9dd6b3980c5d18b75497e9c52369d323.jpg","text":"TemporaryFile(/tmp/multipartBody1227351441984427316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533122673,"filename":"image_30112025_19_08_36_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093185","file1":"1397093182","file0":"1397093178","file4":"1397093191","file5":"1397093194","file3":"1397093188"},"map_files_photo_id_array":[{"photo_id":"1397093194","filename":"file5"},{"photo_id":"1397093185","filename":"file2"},{"photo_id":"1397093191","filename":"file4"},{"photo_id":"1397093182","filename":"file1"},{"photo_id":"1397093178","filename":"file0"},{"photo_id":"1397093188","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093194":["hashtag1","hashtag2"]},{"1397093188":["hashtag1","hashtag2"]},{"1397093182":["hashtag1","hashtag2"]},{"1397093191":["hashtag1","hashtag2"]},{"1397093185":["hashtag1","hashtag2"]},{"1397093178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093194, 1397093188, 1397093182, 1397093191, 1397093185, 1397093178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49466371536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:05:02.769229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_45_9754.jpg', '/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_55_9723.jpg', '/home/pi/Desktop/images/30112025/19/09/image_30112025_19_10_06_10750.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_15_9682.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_25_9782.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_35_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_45_9754.jpg
/home/pi/Desktop/images/30112025/19/09/image_30112025_19_09_55_9723.jpg
/home/pi/Desktop/images/30112025/19/09/image_30112025_19_10_06_10750.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_15_9682.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_25_9782.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_35_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093197","1397093200","1397093203","1397093196","1397093195","1397093198"],"photo_ids_order":["1397093195","1397093196","1397093197","1397093198","1397093200","1397093203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f2f856f0b2dc3b17958f3c0d2b33a22.jpg","text":"TemporaryFile(/tmp/multipartBody6116648978256832776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_10_06_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/235d15e5385053f48b7d15d2b1a16aa9.jpg","text":"TemporaryFile(/tmp/multipartBody8841167196388171523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_10_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0cc49955596e0dab158912bffa067391.jpg","text":"TemporaryFile(/tmp/multipartBody2222674971181310309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_10_35_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a5cd5c2fa595891bd20fbab140b984b.jpg","text":"TemporaryFile(/tmp/multipartBody5347102283105466681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_09_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3492491f47c4771a70904828ad00b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1446260577496004540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_09_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e88e25d1bfb2b59b933248e3b941f258.jpg","text":"TemporaryFile(/tmp/multipartBody2864798009983984427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533163524,"filename":"image_30112025_19_10_15_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093197","file1":"1397093196","file0":"1397093195","file4":"1397093200","file5":"1397093203","file3":"1397093198"},"map_files_photo_id_array":[{"photo_id":"1397093203","filename":"file5"},{"photo_id":"1397093197","filename":"file2"},{"photo_id":"1397093200","filename":"file4"},{"photo_id":"1397093196","filename":"file1"},{"photo_id":"1397093195","filename":"file0"},{"photo_id":"1397093198","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093197":["hashtag1","hashtag2"]},{"1397093200":["hashtag1","hashtag2"]},{"1397093203":["hashtag1","hashtag2"]},{"1397093196":["hashtag1","hashtag2"]},{"1397093195":["hashtag1","hashtag2"]},{"1397093198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093197, 1397093200, 1397093203, 1397093196, 1397093195, 1397093198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87982106208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:05:42.143177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/39/image_31102025_13_39_43_2767.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_45_2766.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_52_3650.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_54_2859.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_57_2672.jpg', '/home/pi/Desktop/images/31102025/13/39/image_31102025_13_40_00_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/13/39/image_31102025_13_39_43_2767.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_45_2766.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_52_3650.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_54_2859.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_39_57_2672.jpg
/home/pi/Desktop/images/31102025/13/39/image_31102025_13_40_00_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":["1397093216","1397093212","1397093215","1397093218","1397093217","1397093214"],"photo_ids_order":["1397093212","1397093214","1397093215","1397093216","1397093217","1397093218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a739829b9cd35c037b48ccc71614305f.jpg","text":"TemporaryFile(/tmp/multipartBody4702262274860009172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_39_54_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd877082444123ccd1e6efa8eae846f2.jpg","text":"TemporaryFile(/tmp/multipartBody3663815903126363631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_39_43_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/30/f27a9c55f42dbd8f1ecbbad0bba09cef.jpg","text":"TemporaryFile(/tmp/multipartBody2266065445057915544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_39_52_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/586867ef89f89f4408a1b4ba2a2b931c.jpg","text":"TemporaryFile(/tmp/multipartBody2195549367017470200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_40_00_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/30/7c61d7d885ab6d77806dd3f1d4d3e25a.jpg","text":"TemporaryFile(/tmp/multipartBody1810628736993149188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_39_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/30/2271a6869d587451efb322d1703da067.jpg","text":"TemporaryFile(/tmp/multipartBody88719774410534263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533203094,"filename":"image_31102025_13_39_45_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093215","file1":"1397093214","file0":"1397093212","file4":"1397093217","file5":"1397093218","file3":"1397093216"},"map_files_photo_id_array":[{"photo_id":"1397093218","filename":"file5"},{"photo_id":"1397093215","filename":"file2"},{"photo_id":"1397093217","filename":"file4"},{"photo_id":"1397093214","filename":"file1"},{"photo_id":"1397093212","filename":"file0"},{"photo_id":"1397093216","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093216":["hashtag1","hashtag2"]},{"1397093212":["hashtag1","hashtag2"]},{"1397093215":["hashtag1","hashtag2"]},{"1397093218":["hashtag1","hashtag2"]},{"1397093217":["hashtag1","hashtag2"]},{"1397093214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093216, 1397093212, 1397093215, 1397093218, 1397093217, 1397093214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73301982879639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:06:22.332765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_46_10688.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_56_9763.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_11_05_9542.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_16_10716.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_25_9698.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_35_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_46_10688.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_56_9763.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_11_05_9542.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_16_10716.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_25_9698.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_35_9604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5799224376678467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:06:32.397058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_48_1522.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_51_3943.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_57_4275.jpg', '/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_59_1703.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_01_1589.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_02_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_48_1522.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_51_3943.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_57_4275.jpg
/home/pi/Desktop/images/25112025/20/49/image_25112025_20_49_59_1703.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_01_1589.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_02_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093239","1397093230","1397093233","1397093236","1397093238","1397093240"],"photo_ids_order":["1397093230","1397093233","1397093236","1397093238","1397093239","1397093240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f42f6826eb6ee8b58aa9796940b0afb5.jpg","text":"TemporaryFile(/tmp/multipartBody6905253106902179242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_50_01_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/30/2e15fb0132a3ba32f4f9766a6bc7da37.jpg","text":"TemporaryFile(/tmp/multipartBody6573635786874552403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_49_48_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/30/403f06c3ba39c4b21be5cfc71c5205a0.jpg","text":"TemporaryFile(/tmp/multipartBody5474742665060935238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_49_51_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/30/d1d585103c8d73b74140fa49f0af08eb.jpg","text":"TemporaryFile(/tmp/multipartBody8956727186692257660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_49_57_4275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44456b01348ded91dc2642b142b7cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody5424672428526772661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_49_59_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/30/9d925532c53a6f500d5b4a9a6bc3d794.jpg","text":"TemporaryFile(/tmp/multipartBody8538821484858577654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533254330,"filename":"image_25112025_20_50_02_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093236","file1":"1397093233","file0":"1397093230","file4":"1397093239","file5":"1397093240","file3":"1397093238"},"map_files_photo_id_array":[{"photo_id":"1397093240","filename":"file5"},{"photo_id":"1397093236","filename":"file2"},{"photo_id":"1397093239","filename":"file4"},{"photo_id":"1397093233","filename":"file1"},{"photo_id":"1397093230","filename":"file0"},{"photo_id":"1397093238","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093239":["hashtag1","hashtag2"]},{"1397093230":["hashtag1","hashtag2"]},{"1397093233":["hashtag1","hashtag2"]},{"1397093236":["hashtag1","hashtag2"]},{"1397093238":["hashtag1","hashtag2"]},{"1397093240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093239, 1397093230, 1397093233, 1397093236, 1397093238, 1397093240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48927664756775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:07:12.449742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_04_1561.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_07_1771.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_09_1725.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_10_1501.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_12_1543.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_18_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_04_1561.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_07_1771.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_09_1725.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_10_1501.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_12_1543.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_18_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093243","1397093254","1397093241","1397093252","1397093246","1397093249"],"photo_ids_order":["1397093241","1397093243","1397093246","1397093249","1397093252","1397093254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7629310b9335266bb00f35c41d592c66.jpg","text":"TemporaryFile(/tmp/multipartBody4642178247561097240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_07_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/30/46853373d0dfb6c7f15b306022bf6a28.jpg","text":"TemporaryFile(/tmp/multipartBody7978973863120210286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_18_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/30/76a6bfddfef6940b6858fa5d3c10c3db.jpg","text":"TemporaryFile(/tmp/multipartBody2428654552419991788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_04_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/30/02b7702222b2cfbae83ad7c829efa39c.jpg","text":"TemporaryFile(/tmp/multipartBody7640951541334150521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_12_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/30/178ca01288472e3636cc576d3672b688.jpg","text":"TemporaryFile(/tmp/multipartBody3902804386543640972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_09_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/30/1524d884b6746b1fe1c49679ab02b4f1.jpg","text":"TemporaryFile(/tmp/multipartBody547602209066562158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533294347,"filename":"image_25112025_20_50_10_1501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093246","file1":"1397093243","file0":"1397093241","file4":"1397093252","file5":"1397093254","file3":"1397093249"},"map_files_photo_id_array":[{"photo_id":"1397093254","filename":"file5"},{"photo_id":"1397093246","filename":"file2"},{"photo_id":"1397093252","filename":"file4"},{"photo_id":"1397093243","filename":"file1"},{"photo_id":"1397093241","filename":"file0"},{"photo_id":"1397093249","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093243":["hashtag1","hashtag2"]},{"1397093254":["hashtag1","hashtag2"]},{"1397093241":["hashtag1","hashtag2"]},{"1397093252":["hashtag1","hashtag2"]},{"1397093246":["hashtag1","hashtag2"]},{"1397093249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093243, 1397093254, 1397093241, 1397093252, 1397093246, 1397093249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.723910093307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:08:03.176266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_46_10688.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_56_9763.jpg', '/home/pi/Desktop/images/30112025/19/10/image_30112025_19_11_05_9542.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_16_10716.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_25_9698.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_35_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_46_10688.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_10_56_9763.jpg
/home/pi/Desktop/images/30112025/19/10/image_30112025_19_11_05_9542.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_16_10716.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_25_9698.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_35_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093260","1397093268","1397093262","1397093259","1397093264","1397093261"],"photo_ids_order":["1397093259","1397093260","1397093261","1397093262","1397093264","1397093268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1456a6e37f14bd6e65144c9970247b0.jpg","text":"TemporaryFile(/tmp/multipartBody6589530768004518990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_10_56_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4c7ddd309769f81fd15c314a5fe6e962.jpg","text":"TemporaryFile(/tmp/multipartBody7305379916950253557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_11_35_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8abf2eed0475a9b4ba8ac771ed77d5fc.jpg","text":"TemporaryFile(/tmp/multipartBody7148068721291385875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_11_16_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0735bd44d9478b69f16823dce9443cad.jpg","text":"TemporaryFile(/tmp/multipartBody2453826401960387801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_10_46_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0b3c89d5979f7dd3f85733dacf33ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6085947657356137484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_11_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17a4c0c8a0e40c54b758daf5f9357451.jpg","text":"TemporaryFile(/tmp/multipartBody8176864404389723197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533343909,"filename":"image_30112025_19_11_05_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093261","file1":"1397093260","file0":"1397093259","file4":"1397093264","file5":"1397093268","file3":"1397093262"},"map_files_photo_id_array":[{"photo_id":"1397093268","filename":"file5"},{"photo_id":"1397093261","filename":"file2"},{"photo_id":"1397093264","filename":"file4"},{"photo_id":"1397093260","filename":"file1"},{"photo_id":"1397093259","filename":"file0"},{"photo_id":"1397093262","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093260":["hashtag1","hashtag2"]},{"1397093268":["hashtag1","hashtag2"]},{"1397093262":["hashtag1","hashtag2"]},{"1397093259":["hashtag1","hashtag2"]},{"1397093264":["hashtag1","hashtag2"]},{"1397093261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093260, 1397093268, 1397093262, 1397093259, 1397093264, 1397093261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.166433811187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:08:42.613332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/40/image_31102025_13_40_04_3737.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_06_2659.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_13_3696.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_15_2735.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_18_2681.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_22_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_04_3737.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_06_2659.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_13_3696.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_15_2735.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_18_2681.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_22_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093275","1397093278","1397093274","1397093277","1397093276","1397093279"],"photo_ids_order":["1397093274","1397093275","1397093276","1397093277","1397093278","1397093279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/790bc09a9cc96b8dc0089a9953d7a825.jpg","text":"TemporaryFile(/tmp/multipartBody805038076083194708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_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/30/77f6c861db5e3396d19e8b999c2d3d15.jpg","text":"TemporaryFile(/tmp/multipartBody5938605530341162227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_18_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/30/49eb387e06c6225f2ea68cb0686f9123.jpg","text":"TemporaryFile(/tmp/multipartBody3370004033520416971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_04_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/30/f611442e365ac8d53cf5c0e007bd70dd.jpg","text":"TemporaryFile(/tmp/multipartBody6656932201042082676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_15_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/30/7680d1bec231175bb7823e66cfc83be4.jpg","text":"TemporaryFile(/tmp/multipartBody8546669078124252591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_13_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/30/01d167c3268d310ed7d2ad1483574e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4994879334101621153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533383499,"filename":"image_31102025_13_40_22_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093276","file1":"1397093275","file0":"1397093274","file4":"1397093278","file5":"1397093279","file3":"1397093277"},"map_files_photo_id_array":[{"photo_id":"1397093279","filename":"file5"},{"photo_id":"1397093276","filename":"file2"},{"photo_id":"1397093278","filename":"file4"},{"photo_id":"1397093275","filename":"file1"},{"photo_id":"1397093274","filename":"file0"},{"photo_id":"1397093277","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093275":["hashtag1","hashtag2"]},{"1397093278":["hashtag1","hashtag2"]},{"1397093274":["hashtag1","hashtag2"]},{"1397093277":["hashtag1","hashtag2"]},{"1397093276":["hashtag1","hashtag2"]},{"1397093279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093275, 1397093278, 1397093274, 1397093277, 1397093276, 1397093279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07918381690979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:09:27.638256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_45_9905.jpg', '/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_56_10757.jpg', '/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_15_9700.jpg', '/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_26_10741.jpg', '/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_35_9760.jpg', '/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_45_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_45_9905.jpg
/home/pi/Desktop/images/30112025/19/11/image_30112025_19_11_56_10757.jpg
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_15_9700.jpg
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_26_10741.jpg
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_35_9760.jpg
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_45_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093298","1397093294","1397093297","1397093291","1397093285","1397093288"],"photo_ids_order":["1397093285","1397093288","1397093291","1397093294","1397093297","1397093298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7560581a69795f6909ce514d7b43b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2429536743112304801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_12_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cde65420daca52cc7cb499175b1537d.jpg","text":"TemporaryFile(/tmp/multipartBody2012760959695925943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_12_26_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e8f7ef7e4606d4f8c28d00e1f2779494.jpg","text":"TemporaryFile(/tmp/multipartBody4502097557978657674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_12_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aecbc2c61113256c0553110a168a4f42.jpg","text":"TemporaryFile(/tmp/multipartBody1415374103108389489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_12_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4ffe5d73f2feba4a721bff730bc3f154.jpg","text":"TemporaryFile(/tmp/multipartBody8151005025161123236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_11_45_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88b0545489e85c74f64607016746aedb.jpg","text":"TemporaryFile(/tmp/multipartBody4707860306552883583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533428287,"filename":"image_30112025_19_11_56_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093291","file1":"1397093288","file0":"1397093285","file4":"1397093297","file5":"1397093298","file3":"1397093294"},"map_files_photo_id_array":[{"photo_id":"1397093298","filename":"file5"},{"photo_id":"1397093291","filename":"file2"},{"photo_id":"1397093297","filename":"file4"},{"photo_id":"1397093288","filename":"file1"},{"photo_id":"1397093285","filename":"file0"},{"photo_id":"1397093294","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093298":["hashtag1","hashtag2"]},{"1397093294":["hashtag1","hashtag2"]},{"1397093297":["hashtag1","hashtag2"]},{"1397093291":["hashtag1","hashtag2"]},{"1397093285":["hashtag1","hashtag2"]},{"1397093288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093298, 1397093294, 1397093297, 1397093291, 1397093285, 1397093288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.657459020614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:10:14.793917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_21_2931.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_27_3739.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_29_2562.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_32_2691.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_36_3591.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_38_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_21_2931.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_27_3739.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_29_2562.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_32_2691.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_36_3591.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_38_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093299","1397093301","1397093310","1397093304","1397093313","1397093307"],"photo_ids_order":["1397093299","1397093301","1397093304","1397093307","1397093310","1397093313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/421cc53e42c9caab6a12f51da15ab0f9.jpg","text":"TemporaryFile(/tmp/multipartBody5218704635819838141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_21_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/30/7f448c6ad10b07d6edc3a62556c2dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody3146423563913808769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_27_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f859c6ccd2da88151f6c2f86ba43b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody1530032070963435675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_36_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/30/43b2b3d0496fc73df06003ef1c14fce3.jpg","text":"TemporaryFile(/tmp/multipartBody6706728418698865911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_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/30/a2b74f9f78c89329276ef46274129b65.jpg","text":"TemporaryFile(/tmp/multipartBody8313580964112476689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_38_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db94e3e9d27fb20cce686ec0cb7f5f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1319572195175133632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533476723,"filename":"image_25112025_20_50_32_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093304","file1":"1397093301","file0":"1397093299","file4":"1397093310","file5":"1397093313","file3":"1397093307"},"map_files_photo_id_array":[{"photo_id":"1397093313","filename":"file5"},{"photo_id":"1397093304","filename":"file2"},{"photo_id":"1397093310","filename":"file4"},{"photo_id":"1397093301","filename":"file1"},{"photo_id":"1397093299","filename":"file0"},{"photo_id":"1397093307","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093299":["hashtag1","hashtag2"]},{"1397093301":["hashtag1","hashtag2"]},{"1397093310":["hashtag1","hashtag2"]},{"1397093304":["hashtag1","hashtag2"]},{"1397093313":["hashtag1","hashtag2"]},{"1397093307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093299, 1397093301, 1397093310, 1397093304, 1397093313, 1397093307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.269569635391235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:11:03.092192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:11:12.373021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_42_4006.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_45_2617.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_54_9124.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_56_1580.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_57_1626.jpg', '/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_59_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_42_4006.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_45_2617.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_54_9124.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_56_1580.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_57_1626.jpg
/home/pi/Desktop/images/25112025/20/50/image_25112025_20_50_59_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093321","1397093324","1397093318","1397093328","1397093316","1397093327"],"photo_ids_order":["1397093316","1397093318","1397093321","1397093324","1397093327","1397093328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/611080e07568f113456520023cc6fc1a.jpg","text":"TemporaryFile(/tmp/multipartBody5073815568854694216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_54_9124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/942a2f99bcd22adc03227d033b4ae880.jpg","text":"TemporaryFile(/tmp/multipartBody4649877167207897207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_56_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/30/15c2117c3031869e959774fc45573dde.jpg","text":"TemporaryFile(/tmp/multipartBody6167439176796021614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_45_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/30/2347b731ab9f3d4fb6cd4563f181f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8943547233206829552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_59_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6953657da08b6e6696cf78c9014ab98.jpg","text":"TemporaryFile(/tmp/multipartBody3949573706250253088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_42_4006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63b350d0e71c2d2e0a4891511d716029.jpg","text":"TemporaryFile(/tmp/multipartBody7356019676757782213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533533978,"filename":"image_25112025_20_50_57_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093321","file1":"1397093318","file0":"1397093316","file4":"1397093327","file5":"1397093328","file3":"1397093324"},"map_files_photo_id_array":[{"photo_id":"1397093328","filename":"file5"},{"photo_id":"1397093321","filename":"file2"},{"photo_id":"1397093327","filename":"file4"},{"photo_id":"1397093318","filename":"file1"},{"photo_id":"1397093316","filename":"file0"},{"photo_id":"1397093324","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093321":["hashtag1","hashtag2"]},{"1397093324":["hashtag1","hashtag2"]},{"1397093318":["hashtag1","hashtag2"]},{"1397093328":["hashtag1","hashtag2"]},{"1397093316":["hashtag1","hashtag2"]},{"1397093327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093321, 1397093324, 1397093318, 1397093328, 1397093316, 1397093327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10162806510925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:12:03.034008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_55_9926.jpg', '/home/pi/Desktop/images/30112025/19/12/image_30112025_19_13_06_10640.jpg', '/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_15_9643.jpg', '/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_25_9831.jpg', '/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_45_9711.jpg', '/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_55_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_12_55_9926.jpg
/home/pi/Desktop/images/30112025/19/12/image_30112025_19_13_06_10640.jpg
/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_15_9643.jpg
/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_25_9831.jpg
/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_45_9711.jpg
/home/pi/Desktop/images/30112025/19/13/image_30112025_19_13_55_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093332","1397093340","1397093334","1397093337","1397093331","1397093330"],"photo_ids_order":["1397093330","1397093331","1397093332","1397093334","1397093337","1397093340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14add351ac71a09ef0ff13272d5d5014.jpg","text":"TemporaryFile(/tmp/multipartBody6602789573146959342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_13_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/779937de075ca1df99081197b5a46d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6216839005338104224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_13_55_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e12892dc4d5c62687ceaf9c776a5c33d.jpg","text":"TemporaryFile(/tmp/multipartBody2703405889214824171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_13_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c0590af2e9644a93e7b0b36ad8c7f7af.jpg","text":"TemporaryFile(/tmp/multipartBody1638210691599159890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_13_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ed5b3c703d46fcb3ce10ffe37ad897f.jpg","text":"TemporaryFile(/tmp/multipartBody5215540077642783182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_13_06_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3151b42353d75e0de9a7c002418bcac4.jpg","text":"TemporaryFile(/tmp/multipartBody497898754902510792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533586384,"filename":"image_30112025_19_12_55_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093332","file1":"1397093331","file0":"1397093330","file4":"1397093337","file5":"1397093340","file3":"1397093334"},"map_files_photo_id_array":[{"photo_id":"1397093340","filename":"file5"},{"photo_id":"1397093332","filename":"file2"},{"photo_id":"1397093337","filename":"file4"},{"photo_id":"1397093331","filename":"file1"},{"photo_id":"1397093330","filename":"file0"},{"photo_id":"1397093334","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093332":["hashtag1","hashtag2"]},{"1397093340":["hashtag1","hashtag2"]},{"1397093334":["hashtag1","hashtag2"]},{"1397093337":["hashtag1","hashtag2"]},{"1397093331":["hashtag1","hashtag2"]},{"1397093330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093332, 1397093340, 1397093334, 1397093337, 1397093331, 1397093330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.785362005233765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:12:42.533746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/40/image_31102025_13_40_27_2562.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_31_3588.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_36_2694.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_40_3646.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_48_2820.jpg', '/home/pi/Desktop/images/31102025/13/40/image_31102025_13_41_01_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_27_2562.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_31_3588.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_36_2694.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_40_3646.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_40_48_2820.jpg
/home/pi/Desktop/images/31102025/13/40/image_31102025_13_41_01_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093350","1397093347","1397093346","1397093349","1397093351","1397093348"],"photo_ids_order":["1397093346","1397093347","1397093348","1397093349","1397093350","1397093351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2497787804477ab73176d48bf18ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody3787050337777320038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_40_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/30/79d313254f8efe3923de40086dc154ca.jpg","text":"TemporaryFile(/tmp/multipartBody3953015083349323925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_40_31_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/30/8e5b5b63b6394c1fda8f3f27518ea2cf.jpg","text":"TemporaryFile(/tmp/multipartBody6806116808005271740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_40_27_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/30/a8f128caa6c2bc1f54ab4a4bb2687166.jpg","text":"TemporaryFile(/tmp/multipartBody7350632882221771021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_40_40_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ae55349e093976f9351d7d16d6968b6.jpg","text":"TemporaryFile(/tmp/multipartBody1700790768945691224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_41_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/30/f079d475ae139a011e53f296775ddbbc.jpg","text":"TemporaryFile(/tmp/multipartBody7854877126621303765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533623380,"filename":"image_31102025_13_40_36_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093348","file1":"1397093347","file0":"1397093346","file4":"1397093350","file5":"1397093351","file3":"1397093349"},"map_files_photo_id_array":[{"photo_id":"1397093351","filename":"file5"},{"photo_id":"1397093348","filename":"file2"},{"photo_id":"1397093350","filename":"file4"},{"photo_id":"1397093347","filename":"file1"},{"photo_id":"1397093346","filename":"file0"},{"photo_id":"1397093349","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093350":["hashtag1","hashtag2"]},{"1397093347":["hashtag1","hashtag2"]},{"1397093346":["hashtag1","hashtag2"]},{"1397093349":["hashtag1","hashtag2"]},{"1397093351":["hashtag1","hashtag2"]},{"1397093348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093350, 1397093347, 1397093346, 1397093349, 1397093351, 1397093348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.253095865249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:13:28.731879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/13/image_30112025_19_14_06_10703.jpg', '/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_15_9761.jpg', '/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_25_9833.jpg', '/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_35_9672.jpg', '/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_46_10643.jpg', '/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/13/image_30112025_19_14_06_10703.jpg
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_15_9761.jpg
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_25_9833.jpg
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_35_9672.jpg
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_46_10643.jpg
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_55_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093370","1397093369","1397093363","1397093357","1397093366","1397093360"],"photo_ids_order":["1397093357","1397093360","1397093363","1397093366","1397093369","1397093370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a7a998ffb13f09f7739ac9f300d450f.jpg","text":"TemporaryFile(/tmp/multipartBody392849262609243417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5bd0e80ae000f73b67f50f308fd8392.jpg","text":"TemporaryFile(/tmp/multipartBody8594435499392620650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_46_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d527a953ab77ae4f90c1cdc649c1dae2.jpg","text":"TemporaryFile(/tmp/multipartBody3913283122385629437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_25_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63c0fc6c5bfd0d04f5ccf354ce3bc77c.jpg","text":"TemporaryFile(/tmp/multipartBody7017300405630896546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_06_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/412736bf89281a9c34127f4153296a86.jpg","text":"TemporaryFile(/tmp/multipartBody5302841589983751435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aabcd349989438be319f001bdcd321c.jpg","text":"TemporaryFile(/tmp/multipartBody9057265542029560149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533669366,"filename":"image_30112025_19_14_15_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093363","file1":"1397093360","file0":"1397093357","file4":"1397093369","file5":"1397093370","file3":"1397093366"},"map_files_photo_id_array":[{"photo_id":"1397093370","filename":"file5"},{"photo_id":"1397093363","filename":"file2"},{"photo_id":"1397093369","filename":"file4"},{"photo_id":"1397093360","filename":"file1"},{"photo_id":"1397093357","filename":"file0"},{"photo_id":"1397093366","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093370":["hashtag1","hashtag2"]},{"1397093369":["hashtag1","hashtag2"]},{"1397093363":["hashtag1","hashtag2"]},{"1397093357":["hashtag1","hashtag2"]},{"1397093366":["hashtag1","hashtag2"]},{"1397093360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093370, 1397093369, 1397093363, 1397093357, 1397093366, 1397093360)","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 = 1397093363 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30112025/19/14/image_30112025_19_14_25_9833.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.48152279853821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:14:32.795748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_05_5738.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_06_1573.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_08_1605.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_10_1662.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_11_1742.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_15_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_05_5738.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_06_1573.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_08_1605.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_10_1662.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_11_1742.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_15_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093386","1397093389","1397093380","1397093383","1397093388","1397093390"],"photo_ids_order":["1397093380","1397093383","1397093386","1397093388","1397093389","1397093390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db343ee317976cbb1f7832b90e0ad5bc.jpg","text":"TemporaryFile(/tmp/multipartBody161420777331284667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_08_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/30/1e14fefbb87c11e397ad0b78ccfbd7c3.jpg","text":"TemporaryFile(/tmp/multipartBody5623566860190046427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_11_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/30/c69a80cc0dfee1e576f68d7ca8c822af.jpg","text":"TemporaryFile(/tmp/multipartBody6417011832053681763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_05_5738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3191c0bdf1d66f37d7712e5ebcc12397.jpg","text":"TemporaryFile(/tmp/multipartBody7386670569285313684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_06_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/30/540fb140e641cd431754c49748953e86.jpg","text":"TemporaryFile(/tmp/multipartBody5292624938042997177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_10_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e18620f1c1522ba0126e3227766a8ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7774126697511980529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533734617,"filename":"image_25112025_20_51_15_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093386","file1":"1397093383","file0":"1397093380","file4":"1397093389","file5":"1397093390","file3":"1397093388"},"map_files_photo_id_array":[{"photo_id":"1397093390","filename":"file5"},{"photo_id":"1397093386","filename":"file2"},{"photo_id":"1397093389","filename":"file4"},{"photo_id":"1397093383","filename":"file1"},{"photo_id":"1397093380","filename":"file0"},{"photo_id":"1397093388","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093386":["hashtag1","hashtag2"]},{"1397093389":["hashtag1","hashtag2"]},{"1397093380":["hashtag1","hashtag2"]},{"1397093383":["hashtag1","hashtag2"]},{"1397093388":["hashtag1","hashtag2"]},{"1397093390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093386, 1397093389, 1397093380, 1397093383, 1397093388, 1397093390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4767746925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:15:12.033999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_18_2699.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_20_2738.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_27_3819.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_30_2854.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_32_2603.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_35_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_18_2699.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_20_2738.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_27_3819.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_30_2854.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_32_2603.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_35_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":["1397093402","1397093392","1397093405","1397093391","1397093396","1397093399"],"photo_ids_order":["1397093391","1397093392","1397093396","1397093399","1397093402","1397093405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/167c91716170ad13dece0acbd07408a3.jpg","text":"TemporaryFile(/tmp/multipartBody3341833522886826718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_32_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad8d89ca3287ef9e415768123c84b183.jpg","text":"TemporaryFile(/tmp/multipartBody8416551112084743567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_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/30/c039de87bcece060fac8e8c6b7fc2e76.jpg","text":"TemporaryFile(/tmp/multipartBody1247248718270341913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_35_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84c06232782dfbdd1cc965af58f936ed.jpg","text":"TemporaryFile(/tmp/multipartBody4187068098348121862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_18_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e45bc94a0449dbe6f98fcf86ff73e82.jpg","text":"TemporaryFile(/tmp/multipartBody826498729983229650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_27_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/30/8b9c7ce8b9d22f09012152ed287c94b1.jpg","text":"TemporaryFile(/tmp/multipartBody7336655627954089424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533773958,"filename":"image_25112025_20_51_30_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093396","file1":"1397093392","file0":"1397093391","file4":"1397093402","file5":"1397093405","file3":"1397093399"},"map_files_photo_id_array":[{"photo_id":"1397093405","filename":"file5"},{"photo_id":"1397093396","filename":"file2"},{"photo_id":"1397093402","filename":"file4"},{"photo_id":"1397093392","filename":"file1"},{"photo_id":"1397093391","filename":"file0"},{"photo_id":"1397093399","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093402":["hashtag1","hashtag2"]},{"1397093392":["hashtag1","hashtag2"]},{"1397093405":["hashtag1","hashtag2"]},{"1397093391":["hashtag1","hashtag2"]},{"1397093396":["hashtag1","hashtag2"]},{"1397093399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093402, 1397093392, 1397093405, 1397093391, 1397093396, 1397093399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78480505943298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:16:02.603602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/14/image_30112025_19_15_06_10665.jpg', '/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_15_9712.jpg', '/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_36_10551.jpg', '/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_45_9760.jpg', '/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_55_9754.jpg', '/home/pi/Desktop/images/30112025/19/15/image_30112025_19_16_05_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/14/image_30112025_19_15_06_10665.jpg
/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_15_9712.jpg
/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_36_10551.jpg
/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_45_9760.jpg
/home/pi/Desktop/images/30112025/19/15/image_30112025_19_15_55_9754.jpg
/home/pi/Desktop/images/30112025/19/15/image_30112025_19_16_05_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093408","1397093413","1397093407","1397093409","1397093406","1397093411"],"photo_ids_order":["1397093406","1397093407","1397093408","1397093409","1397093411","1397093413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efe2de73acd175cc071af3f2fc2fb4ee.jpg","text":"TemporaryFile(/tmp/multipartBody608508179856955086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_15_36_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b75a7536da0ce6b1535c1fa605547b29.jpg","text":"TemporaryFile(/tmp/multipartBody3490439659291790981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_16_05_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/faba0a244f38d49774a469182e73b77b.jpg","text":"TemporaryFile(/tmp/multipartBody6884901941451353937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_15_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4249acb35a95ab70dbbcacd2786791bb.jpg","text":"TemporaryFile(/tmp/multipartBody7912748251278291004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_15_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44e86c6bcdc7b3b2016df30f6ee740d4.jpg","text":"TemporaryFile(/tmp/multipartBody3572568824514873456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_15_06_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6835a25aee7a127b813c57bf819f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody7873217838924534187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533823353,"filename":"image_30112025_19_15_55_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093408","file1":"1397093407","file0":"1397093406","file4":"1397093411","file5":"1397093413","file3":"1397093409"},"map_files_photo_id_array":[{"photo_id":"1397093413","filename":"file5"},{"photo_id":"1397093408","filename":"file2"},{"photo_id":"1397093411","filename":"file4"},{"photo_id":"1397093407","filename":"file1"},{"photo_id":"1397093406","filename":"file0"},{"photo_id":"1397093409","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093408":["hashtag1","hashtag2"]},{"1397093413":["hashtag1","hashtag2"]},{"1397093407":["hashtag1","hashtag2"]},{"1397093409":["hashtag1","hashtag2"]},{"1397093406":["hashtag1","hashtag2"]},{"1397093411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093408, 1397093413, 1397093407, 1397093409, 1397093406, 1397093411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31468677520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:16:42.251397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/41/image_31102025_13_41_06_2746.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_09_2771.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_13_3672.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_15_2658.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_30_2876.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_34_3892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_06_2746.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_09_2771.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_13_3672.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_15_2658.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_30_2876.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_34_3892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093429","1397093431","1397093425","1397093427","1397093421","1397093424"],"photo_ids_order":["1397093421","1397093424","1397093425","1397093427","1397093429","1397093431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cc7fccb096a8fe212e7482cfead6f02.jpg","text":"TemporaryFile(/tmp/multipartBody4639537556433927458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_30_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/30/1f0a25d0f5edd3c7fa97e52873bfe5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1308834601059838153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_34_3892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c8c77e5eec056293c19187431b204ea.jpg","text":"TemporaryFile(/tmp/multipartBody5143701927674612684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_13_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6102eb6484ca500963bcd2a0f67c21f6.jpg","text":"TemporaryFile(/tmp/multipartBody6784921971510184725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_15_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daffca930810343de067117485205b39.jpg","text":"TemporaryFile(/tmp/multipartBody7612620762933967075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_06_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/30/8cc36eec07680daf114b133e53583c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4816393460891339746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533863217,"filename":"image_31102025_13_41_09_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093425","file1":"1397093424","file0":"1397093421","file4":"1397093429","file5":"1397093431","file3":"1397093427"},"map_files_photo_id_array":[{"photo_id":"1397093431","filename":"file5"},{"photo_id":"1397093425","filename":"file2"},{"photo_id":"1397093429","filename":"file4"},{"photo_id":"1397093424","filename":"file1"},{"photo_id":"1397093421","filename":"file0"},{"photo_id":"1397093427","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093429":["hashtag1","hashtag2"]},{"1397093431":["hashtag1","hashtag2"]},{"1397093425":["hashtag1","hashtag2"]},{"1397093427":["hashtag1","hashtag2"]},{"1397093421":["hashtag1","hashtag2"]},{"1397093424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093429, 1397093431, 1397093425, 1397093427, 1397093421, 1397093424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56389546394348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:17:22.386271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_16_10958.jpg', '/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_45_9759.jpg', '/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_56_10839.jpg', '/home/pi/Desktop/images/30112025/19/16/image_30112025_19_17_06_9879.jpg', '/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_15_9776.jpg', '/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_25_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_16_10958.jpg
/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_45_9759.jpg
/home/pi/Desktop/images/30112025/19/16/image_30112025_19_16_56_10839.jpg
/home/pi/Desktop/images/30112025/19/16/image_30112025_19_17_06_9879.jpg
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_15_9776.jpg
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_25_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093440","1397093434","1397093437","1397093448","1397093442","1397093444"],"photo_ids_order":["1397093434","1397093437","1397093440","1397093442","1397093444","1397093448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0e34775a53fcbf76d19fc804f3461edf.jpg","text":"TemporaryFile(/tmp/multipartBody3733722319974383998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_16_56_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd51edc98baee75c29256019b2f1fc42.jpg","text":"TemporaryFile(/tmp/multipartBody830285043761201012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_16_16_10958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf363be7426960f053c4f34d5462fb90.jpg","text":"TemporaryFile(/tmp/multipartBody3608596471559376291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_16_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aa33838699a01a7f297cb18a010d823.jpg","text":"TemporaryFile(/tmp/multipartBody7828194292180255505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_17_25_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56ce6d25acfb3181d46b28dede21f003.jpg","text":"TemporaryFile(/tmp/multipartBody7192852719678178732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_17_06_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acccac372713fcdc02b14addddea34db.jpg","text":"TemporaryFile(/tmp/multipartBody4196045866994823382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533903072,"filename":"image_30112025_19_17_15_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093440","file1":"1397093437","file0":"1397093434","file4":"1397093444","file5":"1397093448","file3":"1397093442"},"map_files_photo_id_array":[{"photo_id":"1397093448","filename":"file5"},{"photo_id":"1397093440","filename":"file2"},{"photo_id":"1397093444","filename":"file4"},{"photo_id":"1397093437","filename":"file1"},{"photo_id":"1397093434","filename":"file0"},{"photo_id":"1397093442","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093440":["hashtag1","hashtag2"]},{"1397093434":["hashtag1","hashtag2"]},{"1397093437":["hashtag1","hashtag2"]},{"1397093448":["hashtag1","hashtag2"]},{"1397093442":["hashtag1","hashtag2"]},{"1397093444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093440, 1397093434, 1397093437, 1397093448, 1397093442, 1397093444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.788127422332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:18:03.083136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_35_9670.jpg', '/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_45_10597.jpg', '/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_55_9772.jpg', '/home/pi/Desktop/images/30112025/19/17/image_30112025_19_18_05_9649.jpg', '/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_16_10626.jpg', '/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_25_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_35_9670.jpg
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_45_10597.jpg
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_17_55_9772.jpg
/home/pi/Desktop/images/30112025/19/17/image_30112025_19_18_05_9649.jpg
/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_16_10626.jpg
/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_25_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093455","1397093457","1397093462","1397093456","1397093459","1397093453"],"photo_ids_order":["1397093453","1397093455","1397093456","1397093457","1397093459","1397093462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f3a4a5173bec0cd40566c06acf20e5f.jpg","text":"TemporaryFile(/tmp/multipartBody199369976870822914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_17_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9af0a859d30040ae6c031530cc57f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3492219543174554700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_18_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d71a3fd336e0e194bdd87a29e53ce2b3.jpg","text":"TemporaryFile(/tmp/multipartBody7555177606811508211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_18_25_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60fd3e9846777b12ba5679bcbd692abd.jpg","text":"TemporaryFile(/tmp/multipartBody582312428462747417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_17_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cc813250bf05dc698f2ffdf1278d4a4.jpg","text":"TemporaryFile(/tmp/multipartBody5881334313281457915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_18_16_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bbe0cd3013eda9b2110fb7d4b01831dc.jpg","text":"TemporaryFile(/tmp/multipartBody435503838673234235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533943727,"filename":"image_30112025_19_17_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093456","file1":"1397093455","file0":"1397093453","file4":"1397093459","file5":"1397093462","file3":"1397093457"},"map_files_photo_id_array":[{"photo_id":"1397093462","filename":"file5"},{"photo_id":"1397093456","filename":"file2"},{"photo_id":"1397093459","filename":"file4"},{"photo_id":"1397093455","filename":"file1"},{"photo_id":"1397093453","filename":"file0"},{"photo_id":"1397093457","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093455":["hashtag1","hashtag2"]},{"1397093457":["hashtag1","hashtag2"]},{"1397093462":["hashtag1","hashtag2"]},{"1397093456":["hashtag1","hashtag2"]},{"1397093459":["hashtag1","hashtag2"]},{"1397093453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093455, 1397093457, 1397093462, 1397093456, 1397093459, 1397093453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06458926200867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:18:42.601932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/41/image_31102025_13_41_39_2613.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_48_3799.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_54_2691.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_57_3640.jpg', '/home/pi/Desktop/images/31102025/13/41/image_31102025_13_42_00_2819.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_06_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_39_2613.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_48_3799.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_54_2691.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_41_57_3640.jpg
/home/pi/Desktop/images/31102025/13/41/image_31102025_13_42_00_2819.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_06_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093470","1397093473","1397093472","1397093469","1397093474","1397093471"],"photo_ids_order":["1397093469","1397093470","1397093471","1397093472","1397093473","1397093474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c09de03dfe0c5ce7cc1a0860f82eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody4771390014740749851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_41_48_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a569f3bb8721a6e32b8c27be0e152dba.jpg","text":"TemporaryFile(/tmp/multipartBody1920648067926581946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_42_00_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/30/894f2cc28f8f2d5480d0e78b782a9757.jpg","text":"TemporaryFile(/tmp/multipartBody925657262905495015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_41_57_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/30/d759c4a2f0cf348145ef605b9d79329b.jpg","text":"TemporaryFile(/tmp/multipartBody1420254574546882782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_41_39_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/30/687f4a17d278f7b01421d20ea761b498.jpg","text":"TemporaryFile(/tmp/multipartBody943342309368030376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_42_06_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c07ad15a41868cfe57957f28d157e434.jpg","text":"TemporaryFile(/tmp/multipartBody3371870631249111048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764533983482,"filename":"image_31102025_13_41_54_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093471","file1":"1397093470","file0":"1397093469","file4":"1397093473","file5":"1397093474","file3":"1397093472"},"map_files_photo_id_array":[{"photo_id":"1397093474","filename":"file5"},{"photo_id":"1397093471","filename":"file2"},{"photo_id":"1397093473","filename":"file4"},{"photo_id":"1397093470","filename":"file1"},{"photo_id":"1397093469","filename":"file0"},{"photo_id":"1397093472","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093470":["hashtag1","hashtag2"]},{"1397093473":["hashtag1","hashtag2"]},{"1397093472":["hashtag1","hashtag2"]},{"1397093469":["hashtag1","hashtag2"]},{"1397093474":["hashtag1","hashtag2"]},{"1397093471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093470, 1397093473, 1397093472, 1397093469, 1397093474, 1397093471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91523194313049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:19:22.694148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_36_10600.jpg', '/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_45_9622.jpg', '/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_55_9686.jpg', '/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_35_9798.jpg', '/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_45_9713.jpg', '/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_56_10845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_36_10600.jpg
/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_45_9622.jpg
/home/pi/Desktop/images/30112025/19/18/image_30112025_19_18_55_9686.jpg
/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_35_9798.jpg
/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_45_9713.jpg
/home/pi/Desktop/images/30112025/19/19/image_30112025_19_19_56_10845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093488","1397093481","1397093490","1397093484","1397093478","1397093487"],"photo_ids_order":["1397093478","1397093481","1397093484","1397093487","1397093488","1397093490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c1b654c0fcb6e935abe038805f601a0.jpg","text":"TemporaryFile(/tmp/multipartBody1491350894833373739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_19_45_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3a4b7d8cce2e8dad982c259d7e6c8758.jpg","text":"TemporaryFile(/tmp/multipartBody724376376687203740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_18_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c3c51bb6ff7342cdae4f254b5275b1df.jpg","text":"TemporaryFile(/tmp/multipartBody4246522889127362348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_19_56_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73f6439f939e0e5b38b9c486f0f1d970.jpg","text":"TemporaryFile(/tmp/multipartBody857179366238416210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_18_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97db39b4843dc0ddb16bf64105d7e8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6775043305282160594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_18_36_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b627b031111c1624d7cfe1ecdb81c41d.jpg","text":"TemporaryFile(/tmp/multipartBody7726450978026827728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534023337,"filename":"image_30112025_19_19_35_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093484","file1":"1397093481","file0":"1397093478","file4":"1397093488","file5":"1397093490","file3":"1397093487"},"map_files_photo_id_array":[{"photo_id":"1397093490","filename":"file5"},{"photo_id":"1397093484","filename":"file2"},{"photo_id":"1397093488","filename":"file4"},{"photo_id":"1397093481","filename":"file1"},{"photo_id":"1397093478","filename":"file0"},{"photo_id":"1397093487","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093488":["hashtag1","hashtag2"]},{"1397093481":["hashtag1","hashtag2"]},{"1397093490":["hashtag1","hashtag2"]},{"1397093484":["hashtag1","hashtag2"]},{"1397093478":["hashtag1","hashtag2"]},{"1397093487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093488, 1397093481, 1397093490, 1397093484, 1397093478, 1397093487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5034921169281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:20:02.406022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/19/image_30112025_19_20_06_9831.jpg', '/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_25_9749.jpg', '/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_36_10599.jpg', '/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_45_9722.jpg', '/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_55_9607.jpg', '/home/pi/Desktop/images/30112025/19/20/image_30112025_19_21_06_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/19/image_30112025_19_20_06_9831.jpg
/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_25_9749.jpg
/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_36_10599.jpg
/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_45_9722.jpg
/home/pi/Desktop/images/30112025/19/20/image_30112025_19_20_55_9607.jpg
/home/pi/Desktop/images/30112025/19/20/image_30112025_19_21_06_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093494","1397093496","1397093499","1397093493","1397093502","1397093492"],"photo_ids_order":["1397093492","1397093493","1397093494","1397093496","1397093499","1397093502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7326d2a8f7d22a01f00fe9852f5e221c.jpg","text":"TemporaryFile(/tmp/multipartBody8502457086954256867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_20_36_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58e64fcaab3de3fc66f48b9eea3fb9c2.jpg","text":"TemporaryFile(/tmp/multipartBody5415906407555770616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_20_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e218acb1eb91f150a48a2df509cecfe.jpg","text":"TemporaryFile(/tmp/multipartBody5564593633740105608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_20_55_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/116bf7ed511c819e85d0e8efe8af8cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3134236050587589212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_20_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba94d6053ae243a1bf0d30b4a20dae55.jpg","text":"TemporaryFile(/tmp/multipartBody7978554546256398055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_21_06_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/50dce6c5abaf2499650208baa982d8af.jpg","text":"TemporaryFile(/tmp/multipartBody3646880900111207868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534068073,"filename":"image_30112025_19_20_06_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093494","file1":"1397093493","file0":"1397093492","file4":"1397093499","file5":"1397093502","file3":"1397093496"},"map_files_photo_id_array":[{"photo_id":"1397093502","filename":"file5"},{"photo_id":"1397093494","filename":"file2"},{"photo_id":"1397093499","filename":"file4"},{"photo_id":"1397093493","filename":"file1"},{"photo_id":"1397093492","filename":"file0"},{"photo_id":"1397093496","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093494":["hashtag1","hashtag2"]},{"1397093496":["hashtag1","hashtag2"]},{"1397093499":["hashtag1","hashtag2"]},{"1397093493":["hashtag1","hashtag2"]},{"1397093502":["hashtag1","hashtag2"]},{"1397093492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093494, 1397093496, 1397093499, 1397093493, 1397093502, 1397093492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.893025398254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:21:02.855662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_15_9673.jpg', '/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_25_9827.jpg', '/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_35_9911.jpg', '/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_46_10632.jpg', '/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_55_9686.jpg', '/home/pi/Desktop/images/30112025/19/21/image_30112025_19_22_05_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_15_9673.jpg
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_25_9827.jpg
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_35_9911.jpg
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_46_10632.jpg
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_21_55_9686.jpg
/home/pi/Desktop/images/30112025/19/21/image_30112025_19_22_05_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093515","1397093518","1397093512","1397093509","1397093508","1397093510"],"photo_ids_order":["1397093508","1397093509","1397093510","1397093512","1397093515","1397093518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/160cdbfac0a7b433179045fb6d206a72.jpg","text":"TemporaryFile(/tmp/multipartBody5518784681819393990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_21_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e86e4710a87b45ec011c5e73fbbbdce6.jpg","text":"TemporaryFile(/tmp/multipartBody1100259751784030671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_22_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff3c09e2d204de823cf382cff6247a11.jpg","text":"TemporaryFile(/tmp/multipartBody5022442270588924777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_21_46_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4fd5f572512c1138c6db74c4f99c16b2.jpg","text":"TemporaryFile(/tmp/multipartBody4736911356991623777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_21_25_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/223f5995ed3a25249f08a42a4ffc2686.jpg","text":"TemporaryFile(/tmp/multipartBody7673912648643184801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_21_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/983257b00fcfef2bb3736fe9932808fe.jpg","text":"TemporaryFile(/tmp/multipartBody587348070903464300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534126060,"filename":"image_30112025_19_21_35_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093510","file1":"1397093509","file0":"1397093508","file4":"1397093515","file5":"1397093518","file3":"1397093512"},"map_files_photo_id_array":[{"photo_id":"1397093518","filename":"file5"},{"photo_id":"1397093510","filename":"file2"},{"photo_id":"1397093515","filename":"file4"},{"photo_id":"1397093509","filename":"file1"},{"photo_id":"1397093508","filename":"file0"},{"photo_id":"1397093512","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093515":["hashtag1","hashtag2"]},{"1397093518":["hashtag1","hashtag2"]},{"1397093512":["hashtag1","hashtag2"]},{"1397093509":["hashtag1","hashtag2"]},{"1397093508":["hashtag1","hashtag2"]},{"1397093510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093515, 1397093518, 1397093512, 1397093509, 1397093508, 1397093510)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.45863485336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:22:02.240318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 21:22:11.916774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_38_3373.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_42_3092.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_44_2713.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_50_3548.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_53_2509.jpg', '/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_57_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_38_3373.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_42_3092.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_44_2713.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_50_3548.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_53_2509.jpg
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_57_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093527","1397093532","1397093541","1397093535","1397093529","1397093538"],"photo_ids_order":["1397093527","1397093529","1397093532","1397093535","1397093538","1397093541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e7b475531ff3be69a13bec06b0ef105.jpg","text":"TemporaryFile(/tmp/multipartBody1375311611164835350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_38_3373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4e54cd6189b800e06c1d8660e3eeedae.jpg","text":"TemporaryFile(/tmp/multipartBody2809713233012165394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_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/30/717b4ab14f5233ab36fde0a03b806a73.jpg","text":"TemporaryFile(/tmp/multipartBody7639770309154708752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_57_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/30/d3d551c03834245ef9f184aac605d00f.jpg","text":"TemporaryFile(/tmp/multipartBody7508036861106898722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_50_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/30/8310ece43fee941dfd52a23d0f940af9.jpg","text":"TemporaryFile(/tmp/multipartBody5108486173995431646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_42_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/30/714f6e5cd35dfbcdc58784471c36b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody8403632225252526044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534195584,"filename":"image_25112025_20_51_53_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093532","file1":"1397093529","file0":"1397093527","file4":"1397093538","file5":"1397093541","file3":"1397093535"},"map_files_photo_id_array":[{"photo_id":"1397093541","filename":"file5"},{"photo_id":"1397093532","filename":"file2"},{"photo_id":"1397093538","filename":"file4"},{"photo_id":"1397093529","filename":"file1"},{"photo_id":"1397093527","filename":"file0"},{"photo_id":"1397093535","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397093527":["hashtag1","hashtag2"]},{"1397093532":["hashtag1","hashtag2"]},{"1397093541":["hashtag1","hashtag2"]},{"1397093535":["hashtag1","hashtag2"]},{"1397093529":["hashtag1","hashtag2"]},{"1397093538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397093527, 1397093532, 1397093541, 1397093535, 1397093529, 1397093538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.275733947753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:23:02.980706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_16_10760.jpg', '/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_25_9670.jpg', '/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_35_9619.jpg', '/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_46_10634.jpg', '/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_55_9736.jpg', '/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_15_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_16_10760.jpg
/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_25_9670.jpg
/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_35_9619.jpg
/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_46_10634.jpg
/home/pi/Desktop/images/30112025/19/22/image_30112025_19_22_55_9736.jpg
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_15_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093545","1397093550","1397093544","1397093553","1397093543","1397093546"],"photo_ids_order":["1397093543","1397093544","1397093545","1397093546","1397093550","1397093553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fddf74f8f15566b19d3567c01e9b0142.jpg","text":"TemporaryFile(/tmp/multipartBody1485199724560288815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_22_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0e73a8fb792c3b6339143ffc4b776b7.jpg","text":"TemporaryFile(/tmp/multipartBody7994037888665319906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_22_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13fdca03ca0d770274253a642f124654.jpg","text":"TemporaryFile(/tmp/multipartBody8111128050280638571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_22_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1608c4eff5d5a3d988ff871404b51275.jpg","text":"TemporaryFile(/tmp/multipartBody6276606840622675723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_23_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79513c02f37933277fa28fe526f05780.jpg","text":"TemporaryFile(/tmp/multipartBody798304685017478022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_22_16_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/27f34098966c555d0fda12fee14590e9.jpg","text":"TemporaryFile(/tmp/multipartBody5378480724605774290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534243763,"filename":"image_30112025_19_22_46_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093545","file1":"1397093544","file0":"1397093543","file4":"1397093550","file5":"1397093553","file3":"1397093546"},"map_files_photo_id_array":[{"photo_id":"1397093553","filename":"file5"},{"photo_id":"1397093545","filename":"file2"},{"photo_id":"1397093550","filename":"file4"},{"photo_id":"1397093544","filename":"file1"},{"photo_id":"1397093543","filename":"file0"},{"photo_id":"1397093546","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093545":["hashtag1","hashtag2"]},{"1397093550":["hashtag1","hashtag2"]},{"1397093544":["hashtag1","hashtag2"]},{"1397093553":["hashtag1","hashtag2"]},{"1397093543":["hashtag1","hashtag2"]},{"1397093546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093545, 1397093550, 1397093544, 1397093553, 1397093543, 1397093546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710861682891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:23:42.452786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/42/image_31102025_13_42_09_3635.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_12_2691.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_15_2771.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_18_3676.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_21_2574.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_24_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/13/42/image_31102025_13_42_09_3635.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_12_2691.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_15_2771.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_18_3676.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_21_2574.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_24_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":["1397093560","1397093563","1397093562","1397093559","1397093561","1397093564"],"photo_ids_order":["1397093559","1397093560","1397093561","1397093562","1397093563","1397093564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e5d713d3e206aeaff338331ea753d55a.jpg","text":"TemporaryFile(/tmp/multipartBody3758968803836346391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_12_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa0a8ee254ff96072e82ded71889126c.jpg","text":"TemporaryFile(/tmp/multipartBody1146349032844317325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_21_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/30/aea2d8f672cbccd1b0d2b28180ee144d.jpg","text":"TemporaryFile(/tmp/multipartBody6463216767760162074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_18_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dd797edbd93630148529072a146eb86.jpg","text":"TemporaryFile(/tmp/multipartBody8691766391866825548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_09_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce89a6fe85a6451177459b415bd07271.jpg","text":"TemporaryFile(/tmp/multipartBody440061514599605787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_15_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/30/458c01c798c1bd52e544c209207c2537.jpg","text":"TemporaryFile(/tmp/multipartBody8750166293737645667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534283330,"filename":"image_31102025_13_42_24_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093561","file1":"1397093560","file0":"1397093559","file4":"1397093563","file5":"1397093564","file3":"1397093562"},"map_files_photo_id_array":[{"photo_id":"1397093564","filename":"file5"},{"photo_id":"1397093561","filename":"file2"},{"photo_id":"1397093563","filename":"file4"},{"photo_id":"1397093560","filename":"file1"},{"photo_id":"1397093559","filename":"file0"},{"photo_id":"1397093562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093560":["hashtag1","hashtag2"]},{"1397093563":["hashtag1","hashtag2"]},{"1397093562":["hashtag1","hashtag2"]},{"1397093559":["hashtag1","hashtag2"]},{"1397093561":["hashtag1","hashtag2"]},{"1397093564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093560, 1397093563, 1397093562, 1397093559, 1397093561, 1397093564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.277302980422974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:24:22.629240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_26_10909.jpg', '/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_35_9613.jpg', '/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_45_9599.jpg', '/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_56_10736.jpg', '/home/pi/Desktop/images/30112025/19/23/image_30112025_19_24_05_9692.jpg', '/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_15_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_26_10909.jpg
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_35_9613.jpg
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_45_9599.jpg
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_23_56_10736.jpg
/home/pi/Desktop/images/30112025/19/23/image_30112025_19_24_05_9692.jpg
/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_15_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093578","1397093572","1397093580","1397093567","1397093576","1397093570"],"photo_ids_order":["1397093567","1397093570","1397093572","1397093576","1397093578","1397093580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bccb5812c168fb5b3511249a8838393.jpg","text":"TemporaryFile(/tmp/multipartBody8317722384458389521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_24_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4d7ed432155ca36946cd36a4331b14ec.jpg","text":"TemporaryFile(/tmp/multipartBody1170642804150606174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_23_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/072e9ec6885e534e619334ee5f46e10c.jpg","text":"TemporaryFile(/tmp/multipartBody2894861965123172326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_24_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1ea4f2230e08776ca88f7c12dca3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody338061677360147580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_23_26_10909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43245faee01849b032a48f46aa86075d.jpg","text":"TemporaryFile(/tmp/multipartBody7367987104610039720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_23_56_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12b554fcfb34b0604a4ad597a6dd0871.jpg","text":"TemporaryFile(/tmp/multipartBody7338943125334162706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534323308,"filename":"image_30112025_19_23_35_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093572","file1":"1397093570","file0":"1397093567","file4":"1397093578","file5":"1397093580","file3":"1397093576"},"map_files_photo_id_array":[{"photo_id":"1397093580","filename":"file5"},{"photo_id":"1397093572","filename":"file2"},{"photo_id":"1397093578","filename":"file4"},{"photo_id":"1397093570","filename":"file1"},{"photo_id":"1397093567","filename":"file0"},{"photo_id":"1397093576","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093578":["hashtag1","hashtag2"]},{"1397093572":["hashtag1","hashtag2"]},{"1397093580":["hashtag1","hashtag2"]},{"1397093567":["hashtag1","hashtag2"]},{"1397093576":["hashtag1","hashtag2"]},{"1397093570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093578, 1397093572, 1397093580, 1397093567, 1397093576, 1397093570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80428338050842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:25:02.621598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_45_9562.jpg', '/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_56_10643.jpg', '/home/pi/Desktop/images/30112025/19/24/image_30112025_19_25_05_9696.jpg', '/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_15_9871.jpg', '/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_25_9712.jpg', '/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_36_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_45_9562.jpg
/home/pi/Desktop/images/30112025/19/24/image_30112025_19_24_56_10643.jpg
/home/pi/Desktop/images/30112025/19/24/image_30112025_19_25_05_9696.jpg
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_15_9871.jpg
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_25_9712.jpg
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_36_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093584","1397093581","1397093589","1397093583","1397093586","1397093582"],"photo_ids_order":["1397093581","1397093582","1397093583","1397093584","1397093586","1397093589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04fd9c39a74bd63b5887f608b5b8c89f.jpg","text":"TemporaryFile(/tmp/multipartBody4016943455963084158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_25_15_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a59a8605d8f4dd37ba71ac951bf49d22.jpg","text":"TemporaryFile(/tmp/multipartBody8218441253114230863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_24_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aeb7f6010de209385e900150044ff0ae.jpg","text":"TemporaryFile(/tmp/multipartBody6642050881613416579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_25_36_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85629a6f1668cb74263f3e1ca9b38dad.jpg","text":"TemporaryFile(/tmp/multipartBody1967734422728141903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_25_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9d84ea40f21d826f605a73ae453f71b.jpg","text":"TemporaryFile(/tmp/multipartBody5418862791540746669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_25_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d417df065c7acd4fa70085afa5d25e38.jpg","text":"TemporaryFile(/tmp/multipartBody5462714923116501127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534363348,"filename":"image_30112025_19_24_56_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093583","file1":"1397093582","file0":"1397093581","file4":"1397093586","file5":"1397093589","file3":"1397093584"},"map_files_photo_id_array":[{"photo_id":"1397093589","filename":"file5"},{"photo_id":"1397093583","filename":"file2"},{"photo_id":"1397093586","filename":"file4"},{"photo_id":"1397093582","filename":"file1"},{"photo_id":"1397093581","filename":"file0"},{"photo_id":"1397093584","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093584":["hashtag1","hashtag2"]},{"1397093581":["hashtag1","hashtag2"]},{"1397093589":["hashtag1","hashtag2"]},{"1397093583":["hashtag1","hashtag2"]},{"1397093586":["hashtag1","hashtag2"]},{"1397093582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093584, 1397093581, 1397093589, 1397093583, 1397093586, 1397093582)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.43509554862976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:26:03.227311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_46_10043.jpg', '/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_55_9191.jpg', '/home/pi/Desktop/images/30112025/19/25/image_30112025_19_26_06_10697.jpg', '/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_15_9861.jpg', '/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_36_10624.jpg', '/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_46_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_46_10043.jpg
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_25_55_9191.jpg
/home/pi/Desktop/images/30112025/19/25/image_30112025_19_26_06_10697.jpg
/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_15_9861.jpg
/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_36_10624.jpg
/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_46_10034.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093606","1397093600","1397093599","1397093598","1397093601","1397093603"],"photo_ids_order":["1397093598","1397093599","1397093600","1397093601","1397093603","1397093606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/394e8b9ef91fea470cfeeb5ac4f47eee.jpg","text":"TemporaryFile(/tmp/multipartBody3618127909790841656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_26_46_10034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa5bf66a024c21a704fca309af670819.jpg","text":"TemporaryFile(/tmp/multipartBody5881440776942308675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_26_06_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/18fcf0bdc1a30328298768c2fbd1578f.jpg","text":"TemporaryFile(/tmp/multipartBody3566375436415772876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_25_55_9191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69f50d968070e0c284c6dff578520df5.jpg","text":"TemporaryFile(/tmp/multipartBody1981954424039883644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_25_46_10043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f56d003dfc914c735511e3c87e24071b.jpg","text":"TemporaryFile(/tmp/multipartBody7161837254060723201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_26_15_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc5ae9297dc592285deba3a5888fb738.jpg","text":"TemporaryFile(/tmp/multipartBody265287911376351883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534423911,"filename":"image_30112025_19_26_36_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093600","file1":"1397093599","file0":"1397093598","file4":"1397093603","file5":"1397093606","file3":"1397093601"},"map_files_photo_id_array":[{"photo_id":"1397093606","filename":"file5"},{"photo_id":"1397093600","filename":"file2"},{"photo_id":"1397093603","filename":"file4"},{"photo_id":"1397093599","filename":"file1"},{"photo_id":"1397093598","filename":"file0"},{"photo_id":"1397093601","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093606":["hashtag1","hashtag2"]},{"1397093600":["hashtag1","hashtag2"]},{"1397093599":["hashtag1","hashtag2"]},{"1397093598":["hashtag1","hashtag2"]},{"1397093601":["hashtag1","hashtag2"]},{"1397093603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093606, 1397093600, 1397093599, 1397093598, 1397093601, 1397093603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79356408119202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:26:42.796480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/42/image_31102025_13_42_30_2621.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_36_3721.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_39_2702.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_42_2884.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_45_2598.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_57_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_30_2621.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_36_3721.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_39_2702.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_42_2884.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_45_2598.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_57_3763.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8337833881378174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:27:02.624726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_56_9890.jpg', '/home/pi/Desktop/images/30112025/19/26/image_30112025_19_27_05_9711.jpg', '/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_15_9597.jpg', '/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_26_10744.jpg', '/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_35_9606.jpg', '/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_45_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/26/image_30112025_19_26_56_9890.jpg
/home/pi/Desktop/images/30112025/19/26/image_30112025_19_27_05_9711.jpg
/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_15_9597.jpg
/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_26_10744.jpg
/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_35_9606.jpg
/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_45_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397093620","1397093617","1397093626","1397093619","1397093624","1397093618"],"photo_ids_order":["1397093617","1397093618","1397093619","1397093620","1397093624","1397093626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/24e6111e47586454daeaa4e8c2f6e5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8036473119308940001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_27_26_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/552f1c8f3cc3e22f8897faed293bfdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2895573032840639408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_26_56_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4c955ed2a8ef541ea230e3fbc8818d4.jpg","text":"TemporaryFile(/tmp/multipartBody6310209809518057514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_27_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12a0e5b21ddc5e529f9bb2e60fea1bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8905121703017042766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_27_15_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9134c1e8eda1c6b352050f1fa520851a.jpg","text":"TemporaryFile(/tmp/multipartBody1156787355317819013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_27_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff21ff49cea2b283805f59f953928e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3961777054707309065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534483363,"filename":"image_30112025_19_27_05_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093619","file1":"1397093618","file0":"1397093617","file4":"1397093624","file5":"1397093626","file3":"1397093620"},"map_files_photo_id_array":[{"photo_id":"1397093626","filename":"file5"},{"photo_id":"1397093619","filename":"file2"},{"photo_id":"1397093624","filename":"file4"},{"photo_id":"1397093618","filename":"file1"},{"photo_id":"1397093617","filename":"file0"},{"photo_id":"1397093620","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093620":["hashtag1","hashtag2"]},{"1397093617":["hashtag1","hashtag2"]},{"1397093626":["hashtag1","hashtag2"]},{"1397093619":["hashtag1","hashtag2"]},{"1397093624":["hashtag1","hashtag2"]},{"1397093618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093620, 1397093617, 1397093626, 1397093619, 1397093624, 1397093618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08436441421509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:28:02.847702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_56_10575.jpg', '/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_15_9582.jpg', '/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_35_9642.jpg', '/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_45_9622.jpg', '/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_56_10710.jpg', '/home/pi/Desktop/images/30112025/19/28/image_30112025_19_29_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/27/image_30112025_19_27_56_10575.jpg
/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_15_9582.jpg
/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_35_9642.jpg
/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_45_9622.jpg
/home/pi/Desktop/images/30112025/19/28/image_30112025_19_28_56_10710.jpg
/home/pi/Desktop/images/30112025/19/28/image_30112025_19_29_05_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093635","1397093638","1397093643","1397093637","1397093640","1397093636"],"photo_ids_order":["1397093635","1397093636","1397093637","1397093638","1397093640","1397093643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0dd8edff60a2fcacc5c6fd758e73566.jpg","text":"TemporaryFile(/tmp/multipartBody5023685080627273145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_27_56_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49a0bc3aea420461707473e29a9c9567.jpg","text":"TemporaryFile(/tmp/multipartBody2349412864046147274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_28_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cd1c3c49d275cd66d026a89dfcadbee.jpg","text":"TemporaryFile(/tmp/multipartBody1298745408564134830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_29_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5a550a95f1a2ee3de1d58c33c79db45f.jpg","text":"TemporaryFile(/tmp/multipartBody7793018599262698366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_28_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b89a7c6c79c61128d81500ba008e80cd.jpg","text":"TemporaryFile(/tmp/multipartBody6353368848910201908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_28_56_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/68e415cc8c339e6846361f37cda6c1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6176818549771883689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534543552,"filename":"image_30112025_19_28_15_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093637","file1":"1397093636","file0":"1397093635","file4":"1397093640","file5":"1397093643","file3":"1397093638"},"map_files_photo_id_array":[{"photo_id":"1397093643","filename":"file5"},{"photo_id":"1397093637","filename":"file2"},{"photo_id":"1397093640","filename":"file4"},{"photo_id":"1397093636","filename":"file1"},{"photo_id":"1397093635","filename":"file0"},{"photo_id":"1397093638","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093635":["hashtag1","hashtag2"]},{"1397093638":["hashtag1","hashtag2"]},{"1397093643":["hashtag1","hashtag2"]},{"1397093637":["hashtag1","hashtag2"]},{"1397093640":["hashtag1","hashtag2"]},{"1397093636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093635, 1397093638, 1397093643, 1397093637, 1397093640, 1397093636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97446131706238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:28:42.578970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/42/image_31102025_13_42_30_2621.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_36_3721.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_39_2702.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_42_2884.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_45_2598.jpg', '/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_57_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_30_2621.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_36_3721.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_39_2702.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_42_2884.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_45_2598.jpg
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_42_57_3763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093653","1397093656","1397093655","1397093652","1397093654","1397093657"],"photo_ids_order":["1397093652","1397093653","1397093654","1397093655","1397093656","1397093657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd62f3b59a8e78fe8ceea120b8d57c04.jpg","text":"TemporaryFile(/tmp/multipartBody5879077473552182447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_36_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/30/0e7cf39313604e17376be411a808fb53.jpg","text":"TemporaryFile(/tmp/multipartBody974052419294118782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_45_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3b0c5077e65bd6b4f07b2523498f186.jpg","text":"TemporaryFile(/tmp/multipartBody6785975886629777045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_42_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/30/ba8bcb4634c64efce54864784fac91e0.jpg","text":"TemporaryFile(/tmp/multipartBody4236407222555178741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_30_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/30/30164e6d90868d43ffba9d62965fa765.jpg","text":"TemporaryFile(/tmp/multipartBody2144264437909318136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_39_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/30/5a831225a7a0068beaf7758690101ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5968283946636271438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534583373,"filename":"image_31102025_13_42_57_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093654","file1":"1397093653","file0":"1397093652","file4":"1397093656","file5":"1397093657","file3":"1397093655"},"map_files_photo_id_array":[{"photo_id":"1397093657","filename":"file5"},{"photo_id":"1397093654","filename":"file2"},{"photo_id":"1397093656","filename":"file4"},{"photo_id":"1397093653","filename":"file1"},{"photo_id":"1397093652","filename":"file0"},{"photo_id":"1397093655","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093653":["hashtag1","hashtag2"]},{"1397093656":["hashtag1","hashtag2"]},{"1397093655":["hashtag1","hashtag2"]},{"1397093652":["hashtag1","hashtag2"]},{"1397093654":["hashtag1","hashtag2"]},{"1397093657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093653, 1397093656, 1397093655, 1397093652, 1397093654, 1397093657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66131067276001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:29:22.717266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_15_9603.jpg', '/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_26_10593.jpg', '/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_35_9610.jpg', '/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_45_9595.jpg', '/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_56_10775.jpg', '/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_15_9603.jpg
/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_26_10593.jpg
/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_35_9610.jpg
/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_45_9595.jpg
/home/pi/Desktop/images/30112025/19/29/image_30112025_19_29_56_10775.jpg
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_14_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093665","1397093674","1397093662","1397093672","1397093669","1397093678"],"photo_ids_order":["1397093662","1397093665","1397093669","1397093672","1397093674","1397093678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69e0763f0128f7a8bb12e7f74d14d97e.jpg","text":"TemporaryFile(/tmp/multipartBody4328559813214524988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_29_26_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/207974a6942f6c5c67b29333fa1eae08.jpg","text":"TemporaryFile(/tmp/multipartBody4514842062926525392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_29_56_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a8f8be00b065ab2086303708390a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody1106960822629139077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_29_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e0340c0b7d52580d0f31d61e525fabc.jpg","text":"TemporaryFile(/tmp/multipartBody1101160920301602098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_29_45_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce381b2fd624cadee7353bafae745a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2490422839136320828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_29_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e1e3d3622eb8e03f9288dd15cd46a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody4655258693213702328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534623363,"filename":"image_30112025_19_30_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093669","file1":"1397093665","file0":"1397093662","file4":"1397093674","file5":"1397093678","file3":"1397093672"},"map_files_photo_id_array":[{"photo_id":"1397093678","filename":"file5"},{"photo_id":"1397093669","filename":"file2"},{"photo_id":"1397093674","filename":"file4"},{"photo_id":"1397093665","filename":"file1"},{"photo_id":"1397093662","filename":"file0"},{"photo_id":"1397093672","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093665":["hashtag1","hashtag2"]},{"1397093674":["hashtag1","hashtag2"]},{"1397093662":["hashtag1","hashtag2"]},{"1397093672":["hashtag1","hashtag2"]},{"1397093669":["hashtag1","hashtag2"]},{"1397093678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093665, 1397093674, 1397093662, 1397093672, 1397093669, 1397093678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29868483543396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:30:02.357984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_25_10780.jpg', '/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_35_9681.jpg', '/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_44_9643.jpg', '/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_55_10718.jpg', '/home/pi/Desktop/images/30112025/19/30/image_30112025_19_31_05_9646.jpg', '/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_25_10780.jpg
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_35_9681.jpg
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_44_9643.jpg
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_30_55_10718.jpg
/home/pi/Desktop/images/30112025/19/30/image_30112025_19_31_05_9646.jpg
/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_14_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093680","1397093682","1397093679","1397093684","1397093687","1397093681"],"photo_ids_order":["1397093679","1397093680","1397093681","1397093682","1397093684","1397093687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f4f7ca09b65e9bd275bd0bb43cbded4b.jpg","text":"TemporaryFile(/tmp/multipartBody1901246171308199545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_30_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4006e99047a7dacf8f769697c42e4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody7332077164209769323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_30_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf96fbbe8aa89ed034bb80cf014020ca.jpg","text":"TemporaryFile(/tmp/multipartBody9062975940707920836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_30_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33615af17ab949219bac420208be997b.jpg","text":"TemporaryFile(/tmp/multipartBody6116337942969061078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_31_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dce8c843bfaf57725489c92f0d652a78.jpg","text":"TemporaryFile(/tmp/multipartBody8279553615952962608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_31_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df54f21f90e5db3e4a1dd6ad1d8da3b9.jpg","text":"TemporaryFile(/tmp/multipartBody4887376200927219564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534663064,"filename":"image_30112025_19_30_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093681","file1":"1397093680","file0":"1397093679","file4":"1397093684","file5":"1397093687","file3":"1397093682"},"map_files_photo_id_array":[{"photo_id":"1397093687","filename":"file5"},{"photo_id":"1397093681","filename":"file2"},{"photo_id":"1397093684","filename":"file4"},{"photo_id":"1397093680","filename":"file1"},{"photo_id":"1397093679","filename":"file0"},{"photo_id":"1397093682","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093680":["hashtag1","hashtag2"]},{"1397093682":["hashtag1","hashtag2"]},{"1397093679":["hashtag1","hashtag2"]},{"1397093684":["hashtag1","hashtag2"]},{"1397093687":["hashtag1","hashtag2"]},{"1397093681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093680, 1397093682, 1397093679, 1397093684, 1397093687, 1397093681)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.12607717514038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:31:02.972260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_25_10552.jpg', '/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_35_10205.jpg', '/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_45_9777.jpg', '/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_55_9623.jpg', '/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_15_10585.jpg', '/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_25_10552.jpg
/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_35_10205.jpg
/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_45_9777.jpg
/home/pi/Desktop/images/30112025/19/31/image_30112025_19_31_55_9623.jpg
/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_15_10585.jpg
/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_45_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093695","1397093698","1397093704","1397093697","1397093700","1397093696"],"photo_ids_order":["1397093695","1397093696","1397093697","1397093698","1397093700","1397093704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fa19014d4e8911ae96bb8601d2e4889.jpg","text":"TemporaryFile(/tmp/multipartBody6217515184852865176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_31_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbf80a0460be6515c2857d2c95dbe38d.jpg","text":"TemporaryFile(/tmp/multipartBody3591205255693217646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_31_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2fcea29a91e4cb2a179fc8928d3479d3.jpg","text":"TemporaryFile(/tmp/multipartBody7658500145494207163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_32_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8376a04b0713378c6dbd92ce84f14990.jpg","text":"TemporaryFile(/tmp/multipartBody8332668090036448218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_31_45_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1415e79ace71920c852dc06bf345fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6747883502835921849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_32_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de223e81c053fff3a8293bf4f2f4cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody1424410177704762079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534723728,"filename":"image_30112025_19_31_35_10205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093697","file1":"1397093696","file0":"1397093695","file4":"1397093700","file5":"1397093704","file3":"1397093698"},"map_files_photo_id_array":[{"photo_id":"1397093704","filename":"file5"},{"photo_id":"1397093697","filename":"file2"},{"photo_id":"1397093700","filename":"file4"},{"photo_id":"1397093696","filename":"file1"},{"photo_id":"1397093695","filename":"file0"},{"photo_id":"1397093698","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093695":["hashtag1","hashtag2"]},{"1397093698":["hashtag1","hashtag2"]},{"1397093704":["hashtag1","hashtag2"]},{"1397093697":["hashtag1","hashtag2"]},{"1397093700":["hashtag1","hashtag2"]},{"1397093696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093695, 1397093698, 1397093704, 1397093697, 1397093700, 1397093696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43641471862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:31:42.349619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/42/image_31102025_13_43_00_2634.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_03_2768.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_09_3613.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_12_2647.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_15_2885.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_18_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/42/image_31102025_13_43_00_2634.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_03_2768.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_09_3613.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_12_2647.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_15_2885.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_18_3656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093711","1397093714","1397093713","1397093716","1397093718","1397093715"],"photo_ids_order":["1397093711","1397093713","1397093714","1397093715","1397093716","1397093718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b513e1389bd18709336ba07206c80539.jpg","text":"TemporaryFile(/tmp/multipartBody914068115741504634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_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/30/8902dba053828fda162cec60c5a6ff53.jpg","text":"TemporaryFile(/tmp/multipartBody2456405713926821756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_09_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/30/7cef3dc6b90387ec2284a464a6c0e8a8.jpg","text":"TemporaryFile(/tmp/multipartBody6006220239924869197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_03_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/30/bfd533b78cbeb8c3001b8d1bbbf1cf09.jpg","text":"TemporaryFile(/tmp/multipartBody1321826811939846403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_15_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/30/1496245c1405af02db389dae0a0fc6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8149151500664370866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_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/30/17db28851e3407c71f4c076738fd59f5.jpg","text":"TemporaryFile(/tmp/multipartBody6917227564550234877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534763244,"filename":"image_31102025_13_43_12_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093714","file1":"1397093713","file0":"1397093711","file4":"1397093716","file5":"1397093718","file3":"1397093715"},"map_files_photo_id_array":[{"photo_id":"1397093718","filename":"file5"},{"photo_id":"1397093714","filename":"file2"},{"photo_id":"1397093716","filename":"file4"},{"photo_id":"1397093713","filename":"file1"},{"photo_id":"1397093711","filename":"file0"},{"photo_id":"1397093715","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093711":["hashtag1","hashtag2"]},{"1397093714":["hashtag1","hashtag2"]},{"1397093713":["hashtag1","hashtag2"]},{"1397093716":["hashtag1","hashtag2"]},{"1397093718":["hashtag1","hashtag2"]},{"1397093715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093711, 1397093714, 1397093713, 1397093716, 1397093718, 1397093715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48410940170288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:32:22.512270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_55_9656.jpg', '/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_15_10734.jpg', '/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_35_9791.jpg', '/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_44_9671.jpg', '/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_55_10784.jpg', '/home/pi/Desktop/images/30112025/19/33/image_30112025_19_34_05_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/32/image_30112025_19_32_55_9656.jpg
/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_15_10734.jpg
/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_35_9791.jpg
/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_44_9671.jpg
/home/pi/Desktop/images/30112025/19/33/image_30112025_19_33_55_10784.jpg
/home/pi/Desktop/images/30112025/19/33/image_30112025_19_34_05_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093731","1397093722","1397093725","1397093727","1397093735","1397093729"],"photo_ids_order":["1397093722","1397093725","1397093727","1397093729","1397093731","1397093735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ecedd3a23c45022b56e093760911206.jpg","text":"TemporaryFile(/tmp/multipartBody6290712828414065502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_33_55_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c53566f415eac127a3815e8c3390cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody3037659059227816321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_32_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/352eab348a78d36f13fae54cfb36705c.jpg","text":"TemporaryFile(/tmp/multipartBody1180692782045396010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_33_15_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b17260662777a49abb0f07def412bce.jpg","text":"TemporaryFile(/tmp/multipartBody7453998101948654402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_33_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f626d5f176a2e55af878f8e29c931a49.jpg","text":"TemporaryFile(/tmp/multipartBody8147961450609408993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_34_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d8ad4df74a0059a7815cbfef412d245.jpg","text":"TemporaryFile(/tmp/multipartBody8683749234254344762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534803175,"filename":"image_30112025_19_33_44_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093727","file1":"1397093725","file0":"1397093722","file4":"1397093731","file5":"1397093735","file3":"1397093729"},"map_files_photo_id_array":[{"photo_id":"1397093735","filename":"file5"},{"photo_id":"1397093727","filename":"file2"},{"photo_id":"1397093731","filename":"file4"},{"photo_id":"1397093725","filename":"file1"},{"photo_id":"1397093722","filename":"file0"},{"photo_id":"1397093729","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093731":["hashtag1","hashtag2"]},{"1397093722":["hashtag1","hashtag2"]},{"1397093725":["hashtag1","hashtag2"]},{"1397093727":["hashtag1","hashtag2"]},{"1397093735":["hashtag1","hashtag2"]},{"1397093729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093731, 1397093722, 1397093725, 1397093727, 1397093735, 1397093729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06860160827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:33:03.454688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/34/image_30112025_19_34_15_9680.jpg', '/home/pi/Desktop/images/30112025/19/34/image_30112025_19_34_54_9605.jpg', '/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_15_9706.jpg', '/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_45_9658.jpg', '/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_54_9553.jpg', '/home/pi/Desktop/images/30112025/19/35/image_30112025_19_36_05_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/34/image_30112025_19_34_15_9680.jpg
/home/pi/Desktop/images/30112025/19/34/image_30112025_19_34_54_9605.jpg
/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_15_9706.jpg
/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_45_9658.jpg
/home/pi/Desktop/images/30112025/19/35/image_30112025_19_35_54_9553.jpg
/home/pi/Desktop/images/30112025/19/35/image_30112025_19_36_05_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093737","1397093736","1397093739","1397093741","1397093744","1397093738"],"photo_ids_order":["1397093736","1397093737","1397093738","1397093739","1397093741","1397093744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/650b81bbfecb9e9bd1e3447f9d77e2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8163767872446056913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_34_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f30f07ad15b70d66999a75148fb408e7.jpg","text":"TemporaryFile(/tmp/multipartBody5483147226016548532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_34_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f5062c62384a00cd601d4ca4ece4650.jpg","text":"TemporaryFile(/tmp/multipartBody8778121169628624239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_35_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2bbf9d5189eeaf982987c904cb70718.jpg","text":"TemporaryFile(/tmp/multipartBody3804966660000365526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_35_54_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/93ab7d82108c024d67441b9e8df5d162.jpg","text":"TemporaryFile(/tmp/multipartBody2903878615137531149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_36_05_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/30/8a5ba3d5d3c8d2275b8cf44ebef78a35.jpg","text":"TemporaryFile(/tmp/multipartBody2963120560180104670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534844314,"filename":"image_30112025_19_35_15_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093738","file1":"1397093737","file0":"1397093736","file4":"1397093741","file5":"1397093744","file3":"1397093739"},"map_files_photo_id_array":[{"photo_id":"1397093744","filename":"file5"},{"photo_id":"1397093738","filename":"file2"},{"photo_id":"1397093741","filename":"file4"},{"photo_id":"1397093737","filename":"file1"},{"photo_id":"1397093736","filename":"file0"},{"photo_id":"1397093739","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093737":["hashtag1","hashtag2"]},{"1397093736":["hashtag1","hashtag2"]},{"1397093739":["hashtag1","hashtag2"]},{"1397093741":["hashtag1","hashtag2"]},{"1397093744":["hashtag1","hashtag2"]},{"1397093738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093737, 1397093736, 1397093739, 1397093741, 1397093744, 1397093738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81052231788635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:33:42.764598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/43/image_31102025_13_43_21_2688.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_27_2660.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_30_3687.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_33_2642.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_36_2584.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_39_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_21_2688.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_27_2660.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_30_3687.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_33_2642.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_36_2584.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_39_3750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093758","1397093752","1397093755","1397093754","1397093757","1397093756"],"photo_ids_order":["1397093752","1397093754","1397093755","1397093756","1397093757","1397093758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8fd3f5a367aa5f78a2457add77c7ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4648659954937596358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_39_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/30/47f90678e32e7de90c7d9578e5a755dc.jpg","text":"TemporaryFile(/tmp/multipartBody3678124742545217362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_21_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/30/cb733058d185b119742705bd20dedfce.jpg","text":"TemporaryFile(/tmp/multipartBody4234311696982394784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_30_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e86f37c12740592f4f17a99cbc2049a6.jpg","text":"TemporaryFile(/tmp/multipartBody7160387262208875291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_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/30/b37ccb5528a66b1be240d36d75b1a564.jpg","text":"TemporaryFile(/tmp/multipartBody1491930855436987757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_36_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c2e9784c7e4ae1eff1b7c0e98fa322c.jpg","text":"TemporaryFile(/tmp/multipartBody3798526206171763263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534883657,"filename":"image_31102025_13_43_33_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093755","file1":"1397093754","file0":"1397093752","file4":"1397093757","file5":"1397093758","file3":"1397093756"},"map_files_photo_id_array":[{"photo_id":"1397093758","filename":"file5"},{"photo_id":"1397093755","filename":"file2"},{"photo_id":"1397093757","filename":"file4"},{"photo_id":"1397093754","filename":"file1"},{"photo_id":"1397093752","filename":"file0"},{"photo_id":"1397093756","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093758":["hashtag1","hashtag2"]},{"1397093752":["hashtag1","hashtag2"]},{"1397093755":["hashtag1","hashtag2"]},{"1397093754":["hashtag1","hashtag2"]},{"1397093757":["hashtag1","hashtag2"]},{"1397093756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093758, 1397093752, 1397093755, 1397093754, 1397093757, 1397093756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.976948261260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:34:21.933902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_25_10643.jpg', '/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_35_9760.jpg', '/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_45_9612.jpg', '/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_54_9697.jpg', '/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_15_9621.jpg', '/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_24_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_25_10643.jpg
/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_35_9760.jpg
/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_45_9612.jpg
/home/pi/Desktop/images/30112025/19/36/image_30112025_19_36_54_9697.jpg
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_15_9621.jpg
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_24_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093764","1397093773","1397093767","1397093761","1397093769","1397093771"],"photo_ids_order":["1397093761","1397093764","1397093767","1397093769","1397093771","1397093773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7f80076accf92a821f59d2718492e68.jpg","text":"TemporaryFile(/tmp/multipartBody7805724289683187126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_36_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/039d0d006307e0fa7e8ae9658b6f80de.jpg","text":"TemporaryFile(/tmp/multipartBody6010589427553435533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_37_24_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/200f055dff507d51d201e17dbde8c9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2244136924613352159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_36_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0d779aecddbccd15aab733bd480fe571.jpg","text":"TemporaryFile(/tmp/multipartBody7687619769903053647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_36_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b19ef847904a186adb5dccbe49a49a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7136957842990397409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_36_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f4c192ddde136bf4e1f38e982d5826c.jpg","text":"TemporaryFile(/tmp/multipartBody1556486201465055793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534922641,"filename":"image_30112025_19_37_15_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093767","file1":"1397093764","file0":"1397093761","file4":"1397093771","file5":"1397093773","file3":"1397093769"},"map_files_photo_id_array":[{"photo_id":"1397093773","filename":"file5"},{"photo_id":"1397093767","filename":"file2"},{"photo_id":"1397093771","filename":"file4"},{"photo_id":"1397093764","filename":"file1"},{"photo_id":"1397093761","filename":"file0"},{"photo_id":"1397093769","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093764":["hashtag1","hashtag2"]},{"1397093773":["hashtag1","hashtag2"]},{"1397093767":["hashtag1","hashtag2"]},{"1397093761":["hashtag1","hashtag2"]},{"1397093769":["hashtag1","hashtag2"]},{"1397093771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093764, 1397093773, 1397093767, 1397093761, 1397093769, 1397093771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9230055809021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:35:02.875440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_35_10542.jpg', '/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_45_9951.jpg', '/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_55_9596.jpg', '/home/pi/Desktop/images/30112025/19/37/image_30112025_19_38_05_10643.jpg', '/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_15_9569.jpg', '/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_35_10542.jpg
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_45_9951.jpg
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_37_55_9596.jpg
/home/pi/Desktop/images/30112025/19/37/image_30112025_19_38_05_10643.jpg
/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_15_9569.jpg
/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_24_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093776","1397093779","1397093775","1397093783","1397093774","1397093777"],"photo_ids_order":["1397093774","1397093775","1397093776","1397093777","1397093779","1397093783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31f9c649ec5518a1d53498b93d518f03.jpg","text":"TemporaryFile(/tmp/multipartBody4188374210757886452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_37_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/372dcd5aefb8582b1dd8a6a6e58f994e.jpg","text":"TemporaryFile(/tmp/multipartBody6987767667323917844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_38_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1257cf0e40dab9a0ff70e9c70eae06a.jpg","text":"TemporaryFile(/tmp/multipartBody7366541987267021290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_37_45_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d45767b8f185b38f1ffb7407882209a3.jpg","text":"TemporaryFile(/tmp/multipartBody3218305113259644181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_38_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61cefe489d3f1be7287ccf81aac58538.jpg","text":"TemporaryFile(/tmp/multipartBody3563849445187536320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_37_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1c91e71b2bee248abc259d406827240.jpg","text":"TemporaryFile(/tmp/multipartBody370482320495252140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764534963618,"filename":"image_30112025_19_38_05_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093776","file1":"1397093775","file0":"1397093774","file4":"1397093779","file5":"1397093783","file3":"1397093777"},"map_files_photo_id_array":[{"photo_id":"1397093783","filename":"file5"},{"photo_id":"1397093776","filename":"file2"},{"photo_id":"1397093779","filename":"file4"},{"photo_id":"1397093775","filename":"file1"},{"photo_id":"1397093774","filename":"file0"},{"photo_id":"1397093777","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093776":["hashtag1","hashtag2"]},{"1397093779":["hashtag1","hashtag2"]},{"1397093775":["hashtag1","hashtag2"]},{"1397093783":["hashtag1","hashtag2"]},{"1397093774":["hashtag1","hashtag2"]},{"1397093777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093776, 1397093779, 1397093775, 1397093783, 1397093774, 1397093777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.948344230651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:35:42.222165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/43/image_31102025_13_43_42_2758.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_45_2609.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_48_3652.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_51_2633.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_54_2581.jpg', '/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_57_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_42_2758.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_45_2609.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_48_3652.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_51_2633.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_54_2581.jpg
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_43_57_3758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093797","1397093800","1397093799","1397093790","1397093798","1397093801"],"photo_ids_order":["1397093790","1397093797","1397093798","1397093799","1397093800","1397093801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c9d0947571afafa0fb168143eee63a9.jpg","text":"TemporaryFile(/tmp/multipartBody1786432958197398922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_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/30/09db2c758bece8ed15653c2a2de3c633.jpg","text":"TemporaryFile(/tmp/multipartBody8388883271686948782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_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/30/f0e70fd8aab813275be1142ed76109c2.jpg","text":"TemporaryFile(/tmp/multipartBody2031782724429941690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_51_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/30/6c289c6786060c35c36ba6b3ae8d0440.jpg","text":"TemporaryFile(/tmp/multipartBody2146129548950414983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_42_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/30/fcb2e7887b5e642f21db8094d23aa120.jpg","text":"TemporaryFile(/tmp/multipartBody4447670768676588851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_48_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9372a077cc66a79602205dbbf42b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3309396995904223588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535003105,"filename":"image_31102025_13_43_57_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093798","file1":"1397093797","file0":"1397093790","file4":"1397093800","file5":"1397093801","file3":"1397093799"},"map_files_photo_id_array":[{"photo_id":"1397093801","filename":"file5"},{"photo_id":"1397093798","filename":"file2"},{"photo_id":"1397093800","filename":"file4"},{"photo_id":"1397093797","filename":"file1"},{"photo_id":"1397093790","filename":"file0"},{"photo_id":"1397093799","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093797":["hashtag1","hashtag2"]},{"1397093800":["hashtag1","hashtag2"]},{"1397093799":["hashtag1","hashtag2"]},{"1397093790":["hashtag1","hashtag2"]},{"1397093798":["hashtag1","hashtag2"]},{"1397093801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093797, 1397093800, 1397093799, 1397093790, 1397093798, 1397093801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86318826675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:36:22.402115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_45_9752.jpg', '/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_15_9736.jpg', '/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_25_9718.jpg', '/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_34_9599.jpg', '/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_44_10080.jpg', '/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_54_10064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/38/image_30112025_19_38_45_9752.jpg
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_15_9736.jpg
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_25_9718.jpg
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_34_9599.jpg
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_44_10080.jpg
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_39_54_10064.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093810","1397093804","1397093813","1397093807","1397093815","1397093818"],"photo_ids_order":["1397093804","1397093807","1397093810","1397093813","1397093815","1397093818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d53ade8f4ebfd81bbcb3916dcdb953de.jpg","text":"TemporaryFile(/tmp/multipartBody4585624973925967113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_39_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a75c2b4fded136b0e7d05a72b8fb5ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8916092522948102951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_38_45_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4de23f15be56ee15ec3757cd22b9a05c.jpg","text":"TemporaryFile(/tmp/multipartBody9818865263812133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_39_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8ee2e4379892d6fb121e2e337c0389c5.jpg","text":"TemporaryFile(/tmp/multipartBody3965283018680558914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_39_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff0a5123d82340effe08181bcfec5536.jpg","text":"TemporaryFile(/tmp/multipartBody1753979426950846569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_39_44_10080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/74786e8f11ead73ad4fdd39f4b0c194a.jpg","text":"TemporaryFile(/tmp/multipartBody4032564477390164557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535043080,"filename":"image_30112025_19_39_54_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093810","file1":"1397093807","file0":"1397093804","file4":"1397093815","file5":"1397093818","file3":"1397093813"},"map_files_photo_id_array":[{"photo_id":"1397093818","filename":"file5"},{"photo_id":"1397093810","filename":"file2"},{"photo_id":"1397093815","filename":"file4"},{"photo_id":"1397093807","filename":"file1"},{"photo_id":"1397093804","filename":"file0"},{"photo_id":"1397093813","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093810":["hashtag1","hashtag2"]},{"1397093804":["hashtag1","hashtag2"]},{"1397093813":["hashtag1","hashtag2"]},{"1397093807":["hashtag1","hashtag2"]},{"1397093815":["hashtag1","hashtag2"]},{"1397093818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093810, 1397093804, 1397093813, 1397093807, 1397093815, 1397093818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04158926010132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:37:03.269817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/39/image_30112025_19_40_05_10634.jpg', '/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_15_9540.jpg', '/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_25_10038.jpg', '/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_35_9876.jpg', '/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_45_10628.jpg', '/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_55_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/39/image_30112025_19_40_05_10634.jpg
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_15_9540.jpg
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_25_10038.jpg
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_35_9876.jpg
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_45_10628.jpg
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_40_55_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093825","1397093824","1397093823","1397093832","1397093826","1397093828"],"photo_ids_order":["1397093823","1397093824","1397093825","1397093826","1397093828","1397093832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/458c80e11fce460b8b0519f0bad6c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8833277631966804340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_25_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04e1c244840062ae23e24c4e38aa37bb.jpg","text":"TemporaryFile(/tmp/multipartBody7204913631598492744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_15_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ffebe13d790b9aab6a5134ef4dfbae7.jpg","text":"TemporaryFile(/tmp/multipartBody559633060590640397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63d6aa2d666b89f4055ed41791627c52.jpg","text":"TemporaryFile(/tmp/multipartBody960360347565091468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d6af9040d08d86675178a017f7ceb510.jpg","text":"TemporaryFile(/tmp/multipartBody7916771800345552318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_35_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f2194fe204ac4d3eb4eaec1cbe8728a.jpg","text":"TemporaryFile(/tmp/multipartBody5943406574790790257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535084066,"filename":"image_30112025_19_40_45_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093825","file1":"1397093824","file0":"1397093823","file4":"1397093828","file5":"1397093832","file3":"1397093826"},"map_files_photo_id_array":[{"photo_id":"1397093832","filename":"file5"},{"photo_id":"1397093825","filename":"file2"},{"photo_id":"1397093828","filename":"file4"},{"photo_id":"1397093824","filename":"file1"},{"photo_id":"1397093823","filename":"file0"},{"photo_id":"1397093826","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093825":["hashtag1","hashtag2"]},{"1397093824":["hashtag1","hashtag2"]},{"1397093823":["hashtag1","hashtag2"]},{"1397093832":["hashtag1","hashtag2"]},{"1397093826":["hashtag1","hashtag2"]},{"1397093828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093825, 1397093824, 1397093823, 1397093832, 1397093826, 1397093828)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.431978940963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:38:02.438347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/40/image_30112025_19_41_05_9787.jpg', '/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_14_9859.jpg', '/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_25_10648.jpg', '/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_45_9984.jpg', '/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_54_9624.jpg', '/home/pi/Desktop/images/30112025/19/41/image_30112025_19_42_05_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/40/image_30112025_19_41_05_9787.jpg
/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_14_9859.jpg
/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_25_10648.jpg
/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_45_9984.jpg
/home/pi/Desktop/images/30112025/19/41/image_30112025_19_41_54_9624.jpg
/home/pi/Desktop/images/30112025/19/41/image_30112025_19_42_05_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093839","1397093842","1397093841","1397093844","1397093847","1397093837"],"photo_ids_order":["1397093837","1397093839","1397093841","1397093842","1397093844","1397093847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8970372db5ac3e608bbd7b0f777cd58.jpg","text":"TemporaryFile(/tmp/multipartBody31448430649882887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_41_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f9b353bc932cba5ab34ffb09e935587.jpg","text":"TemporaryFile(/tmp/multipartBody8389387123396836883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_41_45_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2681cbd296bdd81a00ed13d5ecbd82d7.jpg","text":"TemporaryFile(/tmp/multipartBody1310731297172504826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_41_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/006eacd50817e84c87cfeef0571ab0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5741909457637523740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_41_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1d02f88b9a041724c8f257b6274b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3944133970566437123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_42_05_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d011f06d81860e8b99398565c5b46ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6223404779827316449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535143143,"filename":"image_30112025_19_41_05_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093841","file1":"1397093839","file0":"1397093837","file4":"1397093844","file5":"1397093847","file3":"1397093842"},"map_files_photo_id_array":[{"photo_id":"1397093847","filename":"file5"},{"photo_id":"1397093841","filename":"file2"},{"photo_id":"1397093844","filename":"file4"},{"photo_id":"1397093839","filename":"file1"},{"photo_id":"1397093837","filename":"file0"},{"photo_id":"1397093842","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093839":["hashtag1","hashtag2"]},{"1397093842":["hashtag1","hashtag2"]},{"1397093841":["hashtag1","hashtag2"]},{"1397093844":["hashtag1","hashtag2"]},{"1397093847":["hashtag1","hashtag2"]},{"1397093837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093839, 1397093842, 1397093841, 1397093844, 1397093847, 1397093837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.112146615982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:38:42.080038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/43/image_31102025_13_44_00_2744.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_03_2587.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_09_2787.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_12_2669.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_14_2694.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_18_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/43/image_31102025_13_44_00_2744.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_03_2587.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_09_2787.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_12_2669.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_14_2694.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_18_3614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093863","1397093860","1397093862","1397093864","1397093852","1397093861"],"photo_ids_order":["1397093852","1397093860","1397093861","1397093862","1397093863","1397093864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/610c8413ce1d8d00e6278f161a7178f6.jpg","text":"TemporaryFile(/tmp/multipartBody7668736668453094163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_14_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/30/63d0e9322960134edc3518ef855752da.jpg","text":"TemporaryFile(/tmp/multipartBody5861710275892458095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_03_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9dbb4dfed91b02e9b2631cef928ce695.jpg","text":"TemporaryFile(/tmp/multipartBody5611243825163657768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_12_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/46e29a2483575eceb365c5e9d774fc48.jpg","text":"TemporaryFile(/tmp/multipartBody8632010824229970685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_18_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/30/02750d7a2d89a29c4fd9c9899d6f6288.jpg","text":"TemporaryFile(/tmp/multipartBody3561134169695416304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_00_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6eea5a0a4221ac3b223a8af67633fb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2964305952694564391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535182968,"filename":"image_31102025_13_44_09_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093861","file1":"1397093860","file0":"1397093852","file4":"1397093863","file5":"1397093864","file3":"1397093862"},"map_files_photo_id_array":[{"photo_id":"1397093864","filename":"file5"},{"photo_id":"1397093861","filename":"file2"},{"photo_id":"1397093863","filename":"file4"},{"photo_id":"1397093860","filename":"file1"},{"photo_id":"1397093852","filename":"file0"},{"photo_id":"1397093862","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093863":["hashtag1","hashtag2"]},{"1397093860":["hashtag1","hashtag2"]},{"1397093862":["hashtag1","hashtag2"]},{"1397093864":["hashtag1","hashtag2"]},{"1397093852":["hashtag1","hashtag2"]},{"1397093861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093863, 1397093860, 1397093862, 1397093864, 1397093852, 1397093861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96556544303894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:39:22.512941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_15_9681.jpg', '/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_34_10093.jpg', '/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_45_10612.jpg', '/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_55_9652.jpg', '/home/pi/Desktop/images/30112025/19/42/image_30112025_19_43_05_10000.jpg', '/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_15_9681.jpg
/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_34_10093.jpg
/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_45_10612.jpg
/home/pi/Desktop/images/30112025/19/42/image_30112025_19_42_55_9652.jpg
/home/pi/Desktop/images/30112025/19/42/image_30112025_19_43_05_10000.jpg
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_14_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093871","1397093880","1397093874","1397093868","1397093883","1397093877"],"photo_ids_order":["1397093868","1397093871","1397093874","1397093877","1397093880","1397093883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97edffe381cc0c48f169b597d15c8571.jpg","text":"TemporaryFile(/tmp/multipartBody5545838061444873031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_42_34_10093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7203be6d8b7e6b7efa34e1e0973b843a.jpg","text":"TemporaryFile(/tmp/multipartBody6959154761535612612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_43_05_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40059a7b810de58530cfbed5aa8afa05.jpg","text":"TemporaryFile(/tmp/multipartBody3436924568272722490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_42_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0f3a13ef194882e0ba820cadf361645.jpg","text":"TemporaryFile(/tmp/multipartBody1264071836963982700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_42_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/706d30e89dead06c1c4b345e4284ec40.jpg","text":"TemporaryFile(/tmp/multipartBody2915393294982572305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_43_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d8ec78f6630720bf9da7eb479f91e55.jpg","text":"TemporaryFile(/tmp/multipartBody8887653598365143685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535223202,"filename":"image_30112025_19_42_55_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093874","file1":"1397093871","file0":"1397093868","file4":"1397093880","file5":"1397093883","file3":"1397093877"},"map_files_photo_id_array":[{"photo_id":"1397093883","filename":"file5"},{"photo_id":"1397093874","filename":"file2"},{"photo_id":"1397093880","filename":"file4"},{"photo_id":"1397093871","filename":"file1"},{"photo_id":"1397093868","filename":"file0"},{"photo_id":"1397093877","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093871":["hashtag1","hashtag2"]},{"1397093880":["hashtag1","hashtag2"]},{"1397093874":["hashtag1","hashtag2"]},{"1397093868":["hashtag1","hashtag2"]},{"1397093883":["hashtag1","hashtag2"]},{"1397093877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093871, 1397093880, 1397093874, 1397093868, 1397093883, 1397093877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18157172203064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:40:02.935909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_25_10821.jpg', '/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_34_9235.jpg', '/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_45_10673.jpg', '/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_55_9642.jpg', '/home/pi/Desktop/images/30112025/19/43/image_30112025_19_44_04_9625.jpg', '/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_15_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_25_10821.jpg
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_34_9235.jpg
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_45_10673.jpg
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_43_55_9642.jpg
/home/pi/Desktop/images/30112025/19/43/image_30112025_19_44_04_9625.jpg
/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_15_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093887","1397093884","1397093892","1397093886","1397093889","1397093885"],"photo_ids_order":["1397093884","1397093885","1397093886","1397093887","1397093889","1397093892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9107341b32d4904a1416fc260feb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5524051022690548475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_43_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f190341e42426bc9696f6ad48127e01.jpg","text":"TemporaryFile(/tmp/multipartBody2251597368050800263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_43_25_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6ef2fa4bbca71a1c8e760d6c2dcbcd9.jpg","text":"TemporaryFile(/tmp/multipartBody3817440057812026149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_44_15_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/92c60b924b5d91a749ede765ba9adfe0.jpg","text":"TemporaryFile(/tmp/multipartBody5478098628011612423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_43_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d23dae12de7fed781b319bef9b293efd.jpg","text":"TemporaryFile(/tmp/multipartBody5149834703072257892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_44_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f408f1c1a275898bda2593c66b22fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8830489928757760562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535263672,"filename":"image_30112025_19_43_34_9235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093886","file1":"1397093885","file0":"1397093884","file4":"1397093889","file5":"1397093892","file3":"1397093887"},"map_files_photo_id_array":[{"photo_id":"1397093892","filename":"file5"},{"photo_id":"1397093886","filename":"file2"},{"photo_id":"1397093889","filename":"file4"},{"photo_id":"1397093885","filename":"file1"},{"photo_id":"1397093884","filename":"file0"},{"photo_id":"1397093887","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093887":["hashtag1","hashtag2"]},{"1397093884":["hashtag1","hashtag2"]},{"1397093892":["hashtag1","hashtag2"]},{"1397093886":["hashtag1","hashtag2"]},{"1397093889":["hashtag1","hashtag2"]},{"1397093885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093887, 1397093884, 1397093892, 1397093886, 1397093889, 1397093885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.017842054367065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:40:42.522629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/44/image_31102025_13_44_24_3563.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_27_2760.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_32_2740.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_39_2768.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_42_2700.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_48_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_24_3563.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_27_2760.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_32_2740.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_39_2768.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_42_2700.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_48_3784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093903","1397093906","1397093905","1397093904","1397093907","1397093901"],"photo_ids_order":["1397093901","1397093903","1397093904","1397093905","1397093906","1397093907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32539b3dc3b403b6413941bc64b69c84.jpg","text":"TemporaryFile(/tmp/multipartBody1460983755341129763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_27_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e750d46f37b0305914f61359b1fc4177.jpg","text":"TemporaryFile(/tmp/multipartBody6772393698205566327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_42_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/983315f13ace89841c44b36307065eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1193174832930072539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_39_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d3a815d6cfa26da728aebba5a98d844f.jpg","text":"TemporaryFile(/tmp/multipartBody8889567901194155644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_32_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/30/07f6ce791bf54deec934128c86ccfcdd.jpg","text":"TemporaryFile(/tmp/multipartBody8053671999912748300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_48_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/30/e53adba106a26e6266a1d1052fe8d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody5784480956689835023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535303430,"filename":"image_31102025_13_44_24_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093904","file1":"1397093903","file0":"1397093901","file4":"1397093906","file5":"1397093907","file3":"1397093905"},"map_files_photo_id_array":[{"photo_id":"1397093907","filename":"file5"},{"photo_id":"1397093904","filename":"file2"},{"photo_id":"1397093906","filename":"file4"},{"photo_id":"1397093903","filename":"file1"},{"photo_id":"1397093901","filename":"file0"},{"photo_id":"1397093905","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093903":["hashtag1","hashtag2"]},{"1397093906":["hashtag1","hashtag2"]},{"1397093905":["hashtag1","hashtag2"]},{"1397093904":["hashtag1","hashtag2"]},{"1397093907":["hashtag1","hashtag2"]},{"1397093901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093903, 1397093906, 1397093905, 1397093904, 1397093907, 1397093901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72894597053528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:41:22.703257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_25_9940.jpg', '/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_35_9630.jpg', '/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_44_9654.jpg', '/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_55_10653.jpg', '/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_35_9625.jpg', '/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_45_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_25_9940.jpg
/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_35_9630.jpg
/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_44_9654.jpg
/home/pi/Desktop/images/30112025/19/44/image_30112025_19_44_55_10653.jpg
/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_35_9625.jpg
/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_45_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093926","1397093911","1397093914","1397093917","1397093919","1397093915"],"photo_ids_order":["1397093911","1397093914","1397093915","1397093917","1397093919","1397093926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f25415c2ecaea093c0b3a92fb59d14d9.jpg","text":"TemporaryFile(/tmp/multipartBody8902918508651440563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_45_45_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72918db6b1ca37246b6eca41c7b45a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5558270483268830021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_44_25_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1efea9e844a73082c5563962d13e58e6.jpg","text":"TemporaryFile(/tmp/multipartBody7606964636356743625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_44_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b4b8d7fcbc659a126d2f9baf94c0d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3527602981590974802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_44_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ceb9cd958704cfd2370be6d60f804002.jpg","text":"TemporaryFile(/tmp/multipartBody1925884766230238055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_45_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f14727672e526938100d7fefefb85b1.jpg","text":"TemporaryFile(/tmp/multipartBody1959786189615510693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535343390,"filename":"image_30112025_19_44_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093915","file1":"1397093914","file0":"1397093911","file4":"1397093919","file5":"1397093926","file3":"1397093917"},"map_files_photo_id_array":[{"photo_id":"1397093926","filename":"file5"},{"photo_id":"1397093915","filename":"file2"},{"photo_id":"1397093919","filename":"file4"},{"photo_id":"1397093914","filename":"file1"},{"photo_id":"1397093911","filename":"file0"},{"photo_id":"1397093917","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093926":["hashtag1","hashtag2"]},{"1397093911":["hashtag1","hashtag2"]},{"1397093914":["hashtag1","hashtag2"]},{"1397093917":["hashtag1","hashtag2"]},{"1397093919":["hashtag1","hashtag2"]},{"1397093915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093926, 1397093911, 1397093914, 1397093917, 1397093919, 1397093915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.172194957733154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:42:02.363988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_54_9586.jpg', '/home/pi/Desktop/images/30112025/19/46/image_30112025_19_46_15_10005.jpg', '/home/pi/Desktop/images/30112025/19/46/image_30112025_19_46_25_9725.jpg', '/home/pi/Desktop/images/30112025/19/46/image_30112025_19_47_05_9652.jpg', '/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_15_10580.jpg', '/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_25_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/45/image_30112025_19_45_54_9586.jpg
/home/pi/Desktop/images/30112025/19/46/image_30112025_19_46_15_10005.jpg
/home/pi/Desktop/images/30112025/19/46/image_30112025_19_46_25_9725.jpg
/home/pi/Desktop/images/30112025/19/46/image_30112025_19_47_05_9652.jpg
/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_15_10580.jpg
/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_25_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093930","1397093932","1397093929","1397093934","1397093937","1397093931"],"photo_ids_order":["1397093929","1397093930","1397093931","1397093932","1397093934","1397093937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1baecad6b84cea2f3c9d7b955d9dba8a.jpg","text":"TemporaryFile(/tmp/multipartBody6125195829492975451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_46_15_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56e712cf4767febad7609c92852acd5b.jpg","text":"TemporaryFile(/tmp/multipartBody7080186952091977329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_47_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/951f3123980ba0db4e5d3241b0109dda.jpg","text":"TemporaryFile(/tmp/multipartBody5821746159837835519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_45_54_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a8542100a19e5c28f4d5f2f03d296d77.jpg","text":"TemporaryFile(/tmp/multipartBody7327244390489239187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_47_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dacc8421ece5545346570f44682a3245.jpg","text":"TemporaryFile(/tmp/multipartBody7138680881820791082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_47_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a96312006cee1f7114f6d4fa0325c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8417954452761662960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535383044,"filename":"image_30112025_19_46_25_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093931","file1":"1397093930","file0":"1397093929","file4":"1397093934","file5":"1397093937","file3":"1397093932"},"map_files_photo_id_array":[{"photo_id":"1397093937","filename":"file5"},{"photo_id":"1397093931","filename":"file2"},{"photo_id":"1397093934","filename":"file4"},{"photo_id":"1397093930","filename":"file1"},{"photo_id":"1397093929","filename":"file0"},{"photo_id":"1397093932","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093930":["hashtag1","hashtag2"]},{"1397093932":["hashtag1","hashtag2"]},{"1397093929":["hashtag1","hashtag2"]},{"1397093934":["hashtag1","hashtag2"]},{"1397093937":["hashtag1","hashtag2"]},{"1397093931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093930, 1397093932, 1397093929, 1397093934, 1397093937, 1397093931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.226442098617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:42:41.883824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/44/image_31102025_13_44_57_3681.jpg', '/home/pi/Desktop/images/31102025/13/44/image_31102025_13_45_00_2671.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_12_2618.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_24_2790.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_26_2625.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_30_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_44_57_3681.jpg
/home/pi/Desktop/images/31102025/13/44/image_31102025_13_45_00_2671.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_12_2618.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_24_2790.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_26_2625.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_30_3698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093947","1397093949","1397093946","1397093945","1397093948","1397093942"],"photo_ids_order":["1397093942","1397093945","1397093946","1397093947","1397093948","1397093949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60305824b69ac219c05be711066713c8.jpg","text":"TemporaryFile(/tmp/multipartBody8369604205730715316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_45_24_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/30/8df1c54e42a054fbe73bad0a56bcf22a.jpg","text":"TemporaryFile(/tmp/multipartBody5795335625320895802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_45_30_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/30/65617b0b227db80e03d2d9a7b7b7ce90.jpg","text":"TemporaryFile(/tmp/multipartBody7471377288452127928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_45_12_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/30/a2bde9d17120f088fccd2ac65f789eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8492487974158810331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_45_00_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bef881baa54c1d385afef30c198ac4e0.jpg","text":"TemporaryFile(/tmp/multipartBody7566437107602481481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_45_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/30/7d28ccee22bdd1faf208387f2f9df3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6684908819173057333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535422795,"filename":"image_31102025_13_44_57_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093946","file1":"1397093945","file0":"1397093942","file4":"1397093948","file5":"1397093949","file3":"1397093947"},"map_files_photo_id_array":[{"photo_id":"1397093949","filename":"file5"},{"photo_id":"1397093946","filename":"file2"},{"photo_id":"1397093948","filename":"file4"},{"photo_id":"1397093945","filename":"file1"},{"photo_id":"1397093942","filename":"file0"},{"photo_id":"1397093947","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093947":["hashtag1","hashtag2"]},{"1397093949":["hashtag1","hashtag2"]},{"1397093946":["hashtag1","hashtag2"]},{"1397093945":["hashtag1","hashtag2"]},{"1397093948":["hashtag1","hashtag2"]},{"1397093942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093947, 1397093949, 1397093946, 1397093945, 1397093948, 1397093942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47466826438904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:43:22.085622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_34_9614.jpg', '/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_45_10670.jpg', '/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_55_9696.jpg', '/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_15_9881.jpg', '/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_25_10631.jpg', '/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_35_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_34_9614.jpg
/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_45_10670.jpg
/home/pi/Desktop/images/30112025/19/47/image_30112025_19_47_55_9696.jpg
/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_15_9881.jpg
/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_25_10631.jpg
/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_35_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093962","1397093964","1397093957","1397093951","1397093960","1397093954"],"photo_ids_order":["1397093951","1397093954","1397093957","1397093960","1397093962","1397093964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adb2060c2a013584e2318cc44cecd50b.jpg","text":"TemporaryFile(/tmp/multipartBody4144134189029801978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_48_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dc504467df21c56589caca2c79ac877.jpg","text":"TemporaryFile(/tmp/multipartBody8864901749604741890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_48_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a78bb62b8ba746fd3a34e2ecd965667.jpg","text":"TemporaryFile(/tmp/multipartBody4729843074496605484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_47_55_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bc1e9d9050d41f72e952a00c053b55b.jpg","text":"TemporaryFile(/tmp/multipartBody1569552236407887376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_47_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b63263413e54d56269de71d4024e388.jpg","text":"TemporaryFile(/tmp/multipartBody135139379047468110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_48_15_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82d76c3aaeb7a9d104aff83576662f75.jpg","text":"TemporaryFile(/tmp/multipartBody8643458890133121465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535462769,"filename":"image_30112025_19_47_45_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093957","file1":"1397093954","file0":"1397093951","file4":"1397093962","file5":"1397093964","file3":"1397093960"},"map_files_photo_id_array":[{"photo_id":"1397093964","filename":"file5"},{"photo_id":"1397093957","filename":"file2"},{"photo_id":"1397093962","filename":"file4"},{"photo_id":"1397093954","filename":"file1"},{"photo_id":"1397093951","filename":"file0"},{"photo_id":"1397093960","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093962":["hashtag1","hashtag2"]},{"1397093964":["hashtag1","hashtag2"]},{"1397093957":["hashtag1","hashtag2"]},{"1397093951":["hashtag1","hashtag2"]},{"1397093960":["hashtag1","hashtag2"]},{"1397093954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093962, 1397093964, 1397093957, 1397093951, 1397093960, 1397093954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.230149269104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:44:02.898878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_45_10323.jpg', '/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_15_10053.jpg', '/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_25_9839.jpg', '/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_45_10170.jpg', '/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_55_10620.jpg', '/home/pi/Desktop/images/30112025/19/49/image_30112025_19_50_05_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/48/image_30112025_19_48_45_10323.jpg
/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_15_10053.jpg
/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_25_9839.jpg
/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_45_10170.jpg
/home/pi/Desktop/images/30112025/19/49/image_30112025_19_49_55_10620.jpg
/home/pi/Desktop/images/30112025/19/49/image_30112025_19_50_05_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093968","1397093970","1397093978","1397093972","1397093966","1397093969"],"photo_ids_order":["1397093966","1397093968","1397093969","1397093970","1397093972","1397093978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fa279df1bc6a3dbe5e9d4723dd25a438.jpg","text":"TemporaryFile(/tmp/multipartBody6871931407269693005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_49_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/264c9da03c8b48cfce237d15fa3ce8fd.jpg","text":"TemporaryFile(/tmp/multipartBody1973586176521763212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_49_45_10170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b312d7d58ff8d2ebfe7c8f64c980d02a.jpg","text":"TemporaryFile(/tmp/multipartBody3891989628711683653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_50_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3f9278aafded8cf10509bd4b069773bc.jpg","text":"TemporaryFile(/tmp/multipartBody712276577736595587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_49_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1db5cf2686464a13411e764a31d92614.jpg","text":"TemporaryFile(/tmp/multipartBody1621410633836326980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_48_45_10323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef95d97fcefff81738683b9d3c7ee5e9.jpg","text":"TemporaryFile(/tmp/multipartBody4558958668058752101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535503671,"filename":"image_30112025_19_49_25_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093969","file1":"1397093968","file0":"1397093966","file4":"1397093972","file5":"1397093978","file3":"1397093970"},"map_files_photo_id_array":[{"photo_id":"1397093978","filename":"file5"},{"photo_id":"1397093969","filename":"file2"},{"photo_id":"1397093972","filename":"file4"},{"photo_id":"1397093968","filename":"file1"},{"photo_id":"1397093966","filename":"file0"},{"photo_id":"1397093970","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093968":["hashtag1","hashtag2"]},{"1397093970":["hashtag1","hashtag2"]},{"1397093978":["hashtag1","hashtag2"]},{"1397093972":["hashtag1","hashtag2"]},{"1397093966":["hashtag1","hashtag2"]},{"1397093969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093968, 1397093970, 1397093978, 1397093972, 1397093966, 1397093969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5820951461792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:44:42.259438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/45/image_31102025_13_45_33_2644.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_35_2620.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_39_3758.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_42_2621.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_44_2747.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_48_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_33_2644.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_35_2620.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_39_3758.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_42_2621.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_44_2747.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_48_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093989","1397093991","1397093985","1397093988","1397093990","1397093987"],"photo_ids_order":["1397093985","1397093987","1397093988","1397093989","1397093990","1397093991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03b7b4f153e8b309ffc95fdcf39deb42.jpg","text":"TemporaryFile(/tmp/multipartBody1471403594547362417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_42_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a778c334d0b1487aa62bd487ee1b41a9.jpg","text":"TemporaryFile(/tmp/multipartBody7462558104413103450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_48_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f317843c54d48fce711ef0cd5c801696.jpg","text":"TemporaryFile(/tmp/multipartBody5828905194001979222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_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/30/6e188ae8ebd6263bb06e6a523869ca71.jpg","text":"TemporaryFile(/tmp/multipartBody2989064315974563886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_39_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/30/32c8f3113b16f8f346b00c74d62db733.jpg","text":"TemporaryFile(/tmp/multipartBody1748881958435179803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_44_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/30/265c8ab4fd81f725983a0bef0610d714.jpg","text":"TemporaryFile(/tmp/multipartBody9098375694503303723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535543138,"filename":"image_31102025_13_45_35_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397093988","file1":"1397093987","file0":"1397093985","file4":"1397093990","file5":"1397093991","file3":"1397093989"},"map_files_photo_id_array":[{"photo_id":"1397093991","filename":"file5"},{"photo_id":"1397093988","filename":"file2"},{"photo_id":"1397093990","filename":"file4"},{"photo_id":"1397093987","filename":"file1"},{"photo_id":"1397093985","filename":"file0"},{"photo_id":"1397093989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397093989":["hashtag1","hashtag2"]},{"1397093991":["hashtag1","hashtag2"]},{"1397093985":["hashtag1","hashtag2"]},{"1397093988":["hashtag1","hashtag2"]},{"1397093990":["hashtag1","hashtag2"]},{"1397093987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397093989, 1397093991, 1397093985, 1397093988, 1397093990, 1397093987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93887782096863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:45:22.408376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_15_9905.jpg', '/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_34_9938.jpg', '/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_45_10245.jpg', '/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_54_9615.jpg', '/home/pi/Desktop/images/30112025/19/50/image_30112025_19_51_05_10655.jpg', '/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_15_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_15_9905.jpg
/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_34_9938.jpg
/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_45_10245.jpg
/home/pi/Desktop/images/30112025/19/50/image_30112025_19_50_54_9615.jpg
/home/pi/Desktop/images/30112025/19/50/image_30112025_19_51_05_10655.jpg
/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_15_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397093995","1397093998","1397094003","1397094000","1397094002","1397094005"],"photo_ids_order":["1397093995","1397093998","1397094000","1397094002","1397094003","1397094005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/378fd9cfc6d5a65f2f6146a2d80da745.jpg","text":"TemporaryFile(/tmp/multipartBody8427882436431443283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_50_15_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3a56e0602db7305a464f751951d27dd.jpg","text":"TemporaryFile(/tmp/multipartBody4891986711428433445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_50_34_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29fd32f9c489d8ebbe8ba216954e32e4.jpg","text":"TemporaryFile(/tmp/multipartBody7379058881735824016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_51_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/548dbab5a64411f797790137c8bd4630.jpg","text":"TemporaryFile(/tmp/multipartBody3128395386464932211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_50_45_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1be99a60db49323b82f0d87ab124a88.jpg","text":"TemporaryFile(/tmp/multipartBody1443090825259859116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_50_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0247244313cd15db4969359a23ed0932.jpg","text":"TemporaryFile(/tmp/multipartBody3909084937932951230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535583116,"filename":"image_30112025_19_51_15_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094000","file1":"1397093998","file0":"1397093995","file4":"1397094003","file5":"1397094005","file3":"1397094002"},"map_files_photo_id_array":[{"photo_id":"1397094005","filename":"file5"},{"photo_id":"1397094000","filename":"file2"},{"photo_id":"1397094003","filename":"file4"},{"photo_id":"1397093998","filename":"file1"},{"photo_id":"1397093995","filename":"file0"},{"photo_id":"1397094002","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397093995":["hashtag1","hashtag2"]},{"1397093998":["hashtag1","hashtag2"]},{"1397094003":["hashtag1","hashtag2"]},{"1397094000":["hashtag1","hashtag2"]},{"1397094002":["hashtag1","hashtag2"]},{"1397094005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397093995, 1397093998, 1397094003, 1397094000, 1397094002, 1397094005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27709341049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:46:03.107324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_24_9715.jpg', '/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_45_9950.jpg', '/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_55_9707.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_05_10180.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_15_9694.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_24_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_24_9715.jpg
/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_45_9950.jpg
/home/pi/Desktop/images/30112025/19/51/image_30112025_19_51_55_9707.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_05_10180.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_15_9694.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_24_9526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094010","1397094007","1397094012","1397094009","1397094014","1397094008"],"photo_ids_order":["1397094007","1397094008","1397094009","1397094010","1397094012","1397094014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/430d141c07d86c06255c5c7da49d046e.jpg","text":"TemporaryFile(/tmp/multipartBody8099016661891713952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_52_05_10180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35d1f97a9471b32b661134fc132c325f.jpg","text":"TemporaryFile(/tmp/multipartBody4067691927608140861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_51_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fc47a20b183df5c3090f0c67014645f9.jpg","text":"TemporaryFile(/tmp/multipartBody6677548761920476988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_52_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ef513f8248059686cd1367263069a94.jpg","text":"TemporaryFile(/tmp/multipartBody1427404655543967139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_51_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/762193e9a85ab6954d367611673367dc.jpg","text":"TemporaryFile(/tmp/multipartBody8089925582753408926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_52_24_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/816c484c1ec7f49c3688a8d8eee6a32a.jpg","text":"TemporaryFile(/tmp/multipartBody2193668546241507704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535623838,"filename":"image_30112025_19_51_45_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094009","file1":"1397094008","file0":"1397094007","file4":"1397094012","file5":"1397094014","file3":"1397094010"},"map_files_photo_id_array":[{"photo_id":"1397094014","filename":"file5"},{"photo_id":"1397094009","filename":"file2"},{"photo_id":"1397094012","filename":"file4"},{"photo_id":"1397094008","filename":"file1"},{"photo_id":"1397094007","filename":"file0"},{"photo_id":"1397094010","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094010":["hashtag1","hashtag2"]},{"1397094007":["hashtag1","hashtag2"]},{"1397094012":["hashtag1","hashtag2"]},{"1397094009":["hashtag1","hashtag2"]},{"1397094014":["hashtag1","hashtag2"]},{"1397094008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094010, 1397094007, 1397094012, 1397094009, 1397094014, 1397094008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18411707878113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:46:42.676998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/45/image_31102025_13_45_51_2617.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_54_2729.jpg', '/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_57_3608.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_02_2594.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_06_3688.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_15_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_51_2617.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_54_2729.jpg
/home/pi/Desktop/images/31102025/13/45/image_31102025_13_45_57_3608.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_02_2594.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_06_3688.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_15_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094031","1397094033","1397094024","1397094027","1397094035","1397094029"],"photo_ids_order":["1397094024","1397094027","1397094029","1397094031","1397094033","1397094035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9344083c56a4d258a72c74d73d0c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody8747795134679812945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_46_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/30/71ccdc029d2177b04db9212ca0791d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7537381903987678750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_46_06_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/30/5b3ecb51f1ece4d8eb79ed9937e9b870.jpg","text":"TemporaryFile(/tmp/multipartBody4560339219736562572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_45_51_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/30/510455c846f1e923d6c1eb2602cee957.jpg","text":"TemporaryFile(/tmp/multipartBody5534812533704465938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_45_54_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/30/251f0e4b28b0180b2fb4f9e7e9e4e958.jpg","text":"TemporaryFile(/tmp/multipartBody2491743058530155961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_46_15_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4b55e8f335372df3904840a578250b0.jpg","text":"TemporaryFile(/tmp/multipartBody685572144553964978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535663561,"filename":"image_31102025_13_45_57_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094029","file1":"1397094027","file0":"1397094024","file4":"1397094033","file5":"1397094035","file3":"1397094031"},"map_files_photo_id_array":[{"photo_id":"1397094035","filename":"file5"},{"photo_id":"1397094029","filename":"file2"},{"photo_id":"1397094033","filename":"file4"},{"photo_id":"1397094027","filename":"file1"},{"photo_id":"1397094024","filename":"file0"},{"photo_id":"1397094031","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397094031":["hashtag1","hashtag2"]},{"1397094033":["hashtag1","hashtag2"]},{"1397094024":["hashtag1","hashtag2"]},{"1397094027":["hashtag1","hashtag2"]},{"1397094035":["hashtag1","hashtag2"]},{"1397094029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397094031, 1397094033, 1397094024, 1397094027, 1397094035, 1397094029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76081705093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:47:21.863942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_34_10121.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_45_10700.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_55_9776.jpg', '/home/pi/Desktop/images/30112025/19/52/image_30112025_19_53_05_9903.jpg', '/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_14_9675.jpg', '/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_25_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_34_10121.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_45_10700.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_52_55_9776.jpg
/home/pi/Desktop/images/30112025/19/52/image_30112025_19_53_05_9903.jpg
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_14_9675.jpg
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_25_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094040","1397094043","1397094052","1397094046","1397094048","1397094038"],"photo_ids_order":["1397094038","1397094040","1397094043","1397094046","1397094048","1397094052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/779e2139dc225730450437cb45191cb6.jpg","text":"TemporaryFile(/tmp/multipartBody356857340692650330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_52_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c1b02ab6f4621d66ae340b8148dfefe7.jpg","text":"TemporaryFile(/tmp/multipartBody660554956566948543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_52_55_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff73c960491963e315d61ff59e20209d.jpg","text":"TemporaryFile(/tmp/multipartBody5713455839232279230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_53_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ff53aa59036b6f4514e35e206c8658a.jpg","text":"TemporaryFile(/tmp/multipartBody6013859948946494813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_53_05_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a875aba9d5de223d8f8ea6a9e2c7522e.jpg","text":"TemporaryFile(/tmp/multipartBody2083385419551684965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_53_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3dd4af0b98720821dedd936393b2ef67.jpg","text":"TemporaryFile(/tmp/multipartBody2012778156053733898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535702546,"filename":"image_30112025_19_52_34_10121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094043","file1":"1397094040","file0":"1397094038","file4":"1397094048","file5":"1397094052","file3":"1397094046"},"map_files_photo_id_array":[{"photo_id":"1397094052","filename":"file5"},{"photo_id":"1397094043","filename":"file2"},{"photo_id":"1397094048","filename":"file4"},{"photo_id":"1397094040","filename":"file1"},{"photo_id":"1397094038","filename":"file0"},{"photo_id":"1397094046","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094040":["hashtag1","hashtag2"]},{"1397094043":["hashtag1","hashtag2"]},{"1397094052":["hashtag1","hashtag2"]},{"1397094046":["hashtag1","hashtag2"]},{"1397094048":["hashtag1","hashtag2"]},{"1397094038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094040, 1397094043, 1397094052, 1397094046, 1397094048, 1397094038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96099305152893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:48:02.545566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_35_9585.jpg', '/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_44_9651.jpg', '/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_55_10665.jpg', '/home/pi/Desktop/images/30112025/19/53/image_30112025_19_54_05_9779.jpg', '/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_15_10295.jpg', '/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_45_10233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_35_9585.jpg
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_44_9651.jpg
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_53_55_10665.jpg
/home/pi/Desktop/images/30112025/19/53/image_30112025_19_54_05_9779.jpg
/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_15_10295.jpg
/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_45_10233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094061","1397094058","1397094066","1397094060","1397094063","1397094059"],"photo_ids_order":["1397094058","1397094059","1397094060","1397094061","1397094063","1397094066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d33b5420d4678405a3c7e723c0e44f3.jpg","text":"TemporaryFile(/tmp/multipartBody1786895687184207304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_54_05_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b564bcb156176fce59617a2e0561ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7571730704251092287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_53_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0babd47ab44c1cceeb88bdb466db8d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8368930087461096155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_54_45_10233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a18a9602526716f14b62d16277f0a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6188760571597806565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_53_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb48f5be158462f844e3ccdc07a712d0.jpg","text":"TemporaryFile(/tmp/multipartBody1246497269076166952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_54_15_10295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d4da791d83bce90611be2f58a3a036c.jpg","text":"TemporaryFile(/tmp/multipartBody2255608294579705814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535743253,"filename":"image_30112025_19_53_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094060","file1":"1397094059","file0":"1397094058","file4":"1397094063","file5":"1397094066","file3":"1397094061"},"map_files_photo_id_array":[{"photo_id":"1397094066","filename":"file5"},{"photo_id":"1397094060","filename":"file2"},{"photo_id":"1397094063","filename":"file4"},{"photo_id":"1397094059","filename":"file1"},{"photo_id":"1397094058","filename":"file0"},{"photo_id":"1397094061","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094061":["hashtag1","hashtag2"]},{"1397094058":["hashtag1","hashtag2"]},{"1397094066":["hashtag1","hashtag2"]},{"1397094060":["hashtag1","hashtag2"]},{"1397094063":["hashtag1","hashtag2"]},{"1397094059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094061, 1397094058, 1397094066, 1397094060, 1397094063, 1397094059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.582767486572266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:48:42.166054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/46/image_31102025_13_46_18_2852.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_21_2652.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_27_3833.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_32_2679.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_39_3693.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_42_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_18_2852.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_21_2652.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_27_3833.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_32_2679.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_39_3693.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_42_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: 0.8210690021514893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:49:02.975005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_54_9652.jpg', '/home/pi/Desktop/images/30112025/19/54/image_30112025_19_55_05_10665.jpg', '/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_15_9709.jpg', '/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_35_10536.jpg', '/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_45_9967.jpg', '/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_55_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/54/image_30112025_19_54_54_9652.jpg
/home/pi/Desktop/images/30112025/19/54/image_30112025_19_55_05_10665.jpg
/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_15_9709.jpg
/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_35_10536.jpg
/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_45_9967.jpg
/home/pi/Desktop/images/30112025/19/55/image_30112025_19_55_55_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094082","1397094084","1397094081","1397094089","1397094083","1397094086"],"photo_ids_order":["1397094081","1397094082","1397094083","1397094084","1397094086","1397094089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f416702c0a98cb454d71c5aa048f204d.jpg","text":"TemporaryFile(/tmp/multipartBody8063446089972639809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_55_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf9669a9a158ac41728b138fe90f6ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7068565955073495746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_55_35_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91cf8b94d10bee0429af905aadffb2de.jpg","text":"TemporaryFile(/tmp/multipartBody8068145817180752561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_54_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad0416136c17087aa4ee412ae6a0d374.jpg","text":"TemporaryFile(/tmp/multipartBody4708354592768349405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_55_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d19f635661eb919d9464a8797dccfe7.jpg","text":"TemporaryFile(/tmp/multipartBody4437991850187086266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_55_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ae6696d6d5c380daa8aeb26297878c4.jpg","text":"TemporaryFile(/tmp/multipartBody1767472619197644542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535803811,"filename":"image_30112025_19_55_45_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094083","file1":"1397094082","file0":"1397094081","file4":"1397094086","file5":"1397094089","file3":"1397094084"},"map_files_photo_id_array":[{"photo_id":"1397094089","filename":"file5"},{"photo_id":"1397094083","filename":"file2"},{"photo_id":"1397094086","filename":"file4"},{"photo_id":"1397094082","filename":"file1"},{"photo_id":"1397094081","filename":"file0"},{"photo_id":"1397094084","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094082":["hashtag1","hashtag2"]},{"1397094084":["hashtag1","hashtag2"]},{"1397094081":["hashtag1","hashtag2"]},{"1397094089":["hashtag1","hashtag2"]},{"1397094083":["hashtag1","hashtag2"]},{"1397094086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094082, 1397094084, 1397094081, 1397094089, 1397094083, 1397094086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218985080718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:49:42.288889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/46/image_31102025_13_46_18_2852.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_21_2652.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_27_3833.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_32_2679.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_39_3693.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_42_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_18_2852.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_21_2652.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_27_3833.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_32_2679.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_39_3693.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_42_2833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094103","1397094096","1397094100","1397094099","1397094102","1397094101"],"photo_ids_order":["1397094096","1397094099","1397094100","1397094101","1397094102","1397094103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9861a83dfca3a147305d7c0c0e99d64.jpg","text":"TemporaryFile(/tmp/multipartBody190896102603895411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_42_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/30/7086a5bfb71b7d50d4d450e730b89fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8478177837009149144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_18_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/30/bf6fba0b6028bcbec3fa12ab447a75db.jpg","text":"TemporaryFile(/tmp/multipartBody2014118913887738657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_27_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/30/6967aa96059f1004f6274d38fcfc5f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1150047068341078017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_21_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/30/e66f5e1468a0dd96fb37aa496ae23423.jpg","text":"TemporaryFile(/tmp/multipartBody694976190138943216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_39_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/30/76bd1017892045bc5ebece66f46faf21.jpg","text":"TemporaryFile(/tmp/multipartBody5729670733262947976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535843040,"filename":"image_31102025_13_46_32_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094100","file1":"1397094099","file0":"1397094096","file4":"1397094102","file5":"1397094103","file3":"1397094101"},"map_files_photo_id_array":[{"photo_id":"1397094103","filename":"file5"},{"photo_id":"1397094100","filename":"file2"},{"photo_id":"1397094102","filename":"file4"},{"photo_id":"1397094099","filename":"file1"},{"photo_id":"1397094096","filename":"file0"},{"photo_id":"1397094101","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397094103":["hashtag1","hashtag2"]},{"1397094096":["hashtag1","hashtag2"]},{"1397094100":["hashtag1","hashtag2"]},{"1397094099":["hashtag1","hashtag2"]},{"1397094102":["hashtag1","hashtag2"]},{"1397094101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397094103, 1397094096, 1397094100, 1397094099, 1397094102, 1397094101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18710136413574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:50:22.555874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_25_10726.jpg', '/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_42_17347.jpg', '/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_45_2784.jpg', '/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_55_9597.jpg', '/home/pi/Desktop/images/30112025/19/56/image_30112025_19_57_04_9650.jpg', '/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_25_10726.jpg
/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_42_17347.jpg
/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_45_2784.jpg
/home/pi/Desktop/images/30112025/19/56/image_30112025_19_56_55_9597.jpg
/home/pi/Desktop/images/30112025/19/56/image_30112025_19_57_04_9650.jpg
/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_15_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094118","1397094106","1397094115","1397094119","1397094113","1397094110"],"photo_ids_order":["1397094106","1397094110","1397094113","1397094115","1397094118","1397094119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ece25fa63d40477458532d705c34a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2620265430321636517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_57_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c4282c997af6e22c366f25f461aab4a2.jpg","text":"TemporaryFile(/tmp/multipartBody532731278111383845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_56_25_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/63f103186c92fb52d5c61a724c8d277a.jpg","text":"TemporaryFile(/tmp/multipartBody9213642862550953888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_56_55_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca742bec739da6a5d433c4821411b199.jpg","text":"TemporaryFile(/tmp/multipartBody4747193876336295018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_57_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ed0aac44ffcbbed46767b01df7f9333.jpg","text":"TemporaryFile(/tmp/multipartBody6334761960844656237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_56_45_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/30/b29af621835f3486016e71b7cabb8a05.jpg","text":"TemporaryFile(/tmp/multipartBody8214312106430396969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535883244,"filename":"image_30112025_19_56_42_17347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094113","file1":"1397094110","file0":"1397094106","file4":"1397094118","file5":"1397094119","file3":"1397094115"},"map_files_photo_id_array":[{"photo_id":"1397094119","filename":"file5"},{"photo_id":"1397094113","filename":"file2"},{"photo_id":"1397094118","filename":"file4"},{"photo_id":"1397094110","filename":"file1"},{"photo_id":"1397094106","filename":"file0"},{"photo_id":"1397094115","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094118":["hashtag1","hashtag2"]},{"1397094106":["hashtag1","hashtag2"]},{"1397094115":["hashtag1","hashtag2"]},{"1397094119":["hashtag1","hashtag2"]},{"1397094113":["hashtag1","hashtag2"]},{"1397094110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094118, 1397094106, 1397094115, 1397094119, 1397094113, 1397094110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95005774497986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:51:03.474321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_34_9654.jpg', '/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_45_10665.jpg', '/home/pi/Desktop/images/30112025/19/57/image_30112025_19_58_04_9544.jpg', '/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_15_10679.jpg', '/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_25_9673.jpg', '/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_35_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_34_9654.jpg
/home/pi/Desktop/images/30112025/19/57/image_30112025_19_57_45_10665.jpg
/home/pi/Desktop/images/30112025/19/57/image_30112025_19_58_04_9544.jpg
/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_15_10679.jpg
/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_25_9673.jpg
/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_35_9948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094121","1397094129","1397094120","1397094123","1397094126","1397094122"],"photo_ids_order":["1397094120","1397094121","1397094122","1397094123","1397094126","1397094129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8456b74d465b03c558177451d5d27205.jpg","text":"TemporaryFile(/tmp/multipartBody3125510353070365551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_57_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dce4064ea03783dfe0bd0f2345edabd.jpg","text":"TemporaryFile(/tmp/multipartBody5318181078338444507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_58_35_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e19f265a5b589a0f68c86e1a0a70c315.jpg","text":"TemporaryFile(/tmp/multipartBody3468792959530801212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_57_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae78db1592373049e72544c3199347bc.jpg","text":"TemporaryFile(/tmp/multipartBody4305650572581137988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_58_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e6968a480a93157d160c6137fb37d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6217895364105714423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_58_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b52f33016902f533f954425c6948d155.jpg","text":"TemporaryFile(/tmp/multipartBody9083157862929501839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535924280,"filename":"image_30112025_19_58_04_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094122","file1":"1397094121","file0":"1397094120","file4":"1397094126","file5":"1397094129","file3":"1397094123"},"map_files_photo_id_array":[{"photo_id":"1397094129","filename":"file5"},{"photo_id":"1397094122","filename":"file2"},{"photo_id":"1397094126","filename":"file4"},{"photo_id":"1397094121","filename":"file1"},{"photo_id":"1397094120","filename":"file0"},{"photo_id":"1397094123","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094121":["hashtag1","hashtag2"]},{"1397094129":["hashtag1","hashtag2"]},{"1397094120":["hashtag1","hashtag2"]},{"1397094123":["hashtag1","hashtag2"]},{"1397094126":["hashtag1","hashtag2"]},{"1397094122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094121, 1397094129, 1397094120, 1397094123, 1397094126, 1397094122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.841227293014526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:51:42.750515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/46/image_31102025_13_46_44_2722.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_47_2734.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_51_3642.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_53_2698.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_56_2804.jpg', '/home/pi/Desktop/images/31102025/13/46/image_31102025_13_47_00_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_44_2722.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_47_2734.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_51_3642.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_53_2698.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_46_56_2804.jpg
/home/pi/Desktop/images/31102025/13/46/image_31102025_13_47_00_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":["1397094142","1397094139","1397094141","1397094143","1397094137","1397094140"],"photo_ids_order":["1397094137","1397094139","1397094140","1397094141","1397094142","1397094143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a128ae3b9568ac83a5280a7d20fcaac8.jpg","text":"TemporaryFile(/tmp/multipartBody7074923640617658937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_46_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/30/4ff0108c654aeb7f3a5ea71b87024052.jpg","text":"TemporaryFile(/tmp/multipartBody7927285552303513049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_46_47_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/30/357e7cd40fef7da8dd22a93f7fab0325.jpg","text":"TemporaryFile(/tmp/multipartBody933915429538002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_46_53_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a0b29b67113cc73136ed467bd7311060.jpg","text":"TemporaryFile(/tmp/multipartBody1744207144154324440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_47_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/30/c0a1e1e0b8e2d5b23d56bd266c20363c.jpg","text":"TemporaryFile(/tmp/multipartBody5162424114414924027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_46_44_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7c143026020dbfa99ebed66b77c34ab.jpg","text":"TemporaryFile(/tmp/multipartBody357987642894825139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764535963649,"filename":"image_31102025_13_46_51_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094140","file1":"1397094139","file0":"1397094137","file4":"1397094142","file5":"1397094143","file3":"1397094141"},"map_files_photo_id_array":[{"photo_id":"1397094143","filename":"file5"},{"photo_id":"1397094140","filename":"file2"},{"photo_id":"1397094142","filename":"file4"},{"photo_id":"1397094139","filename":"file1"},{"photo_id":"1397094137","filename":"file0"},{"photo_id":"1397094141","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397094142":["hashtag1","hashtag2"]},{"1397094139":["hashtag1","hashtag2"]},{"1397094141":["hashtag1","hashtag2"]},{"1397094143":["hashtag1","hashtag2"]},{"1397094137":["hashtag1","hashtag2"]},{"1397094140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397094142, 1397094139, 1397094141, 1397094143, 1397094137, 1397094140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.747650146484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:52:21.933347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_45_10542.jpg', '/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_55_9573.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_05_10068.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_15_9692.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_35_10026.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_45_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_45_10542.jpg
/home/pi/Desktop/images/30112025/19/58/image_30112025_19_58_55_9573.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_05_10068.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_15_9692.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_35_10026.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_45_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094145","1397094161","1397094155","1397094158","1397094152","1397094149"],"photo_ids_order":["1397094145","1397094149","1397094152","1397094155","1397094158","1397094161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49ee8111651d84ea8d6df0dc8434971a.jpg","text":"TemporaryFile(/tmp/multipartBody806714077010789572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_58_45_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee8cf303c35bdef16d9c3a69202c6021.jpg","text":"TemporaryFile(/tmp/multipartBody2291721930815336189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_59_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b04bd62d5e19c08328f263bc8b60239c.jpg","text":"TemporaryFile(/tmp/multipartBody8493615135903204767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_59_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7639e26dcc95cc3bf6907a169b0c3ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4869743091149058608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_59_35_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f40650ddb96ee1ed9503cf4a02b54d7.jpg","text":"TemporaryFile(/tmp/multipartBody946545417305842812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_59_05_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c448b0044f598e88e3c87a87ef4cd7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2101197053228055632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536002648,"filename":"image_30112025_19_58_55_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094152","file1":"1397094149","file0":"1397094145","file4":"1397094158","file5":"1397094161","file3":"1397094155"},"map_files_photo_id_array":[{"photo_id":"1397094161","filename":"file5"},{"photo_id":"1397094152","filename":"file2"},{"photo_id":"1397094158","filename":"file4"},{"photo_id":"1397094149","filename":"file1"},{"photo_id":"1397094145","filename":"file0"},{"photo_id":"1397094155","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094145":["hashtag1","hashtag2"]},{"1397094161":["hashtag1","hashtag2"]},{"1397094155":["hashtag1","hashtag2"]},{"1397094158":["hashtag1","hashtag2"]},{"1397094152":["hashtag1","hashtag2"]},{"1397094149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094145, 1397094161, 1397094155, 1397094158, 1397094152, 1397094149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73190999031067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:53:02.899336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_54_9574.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_05_10346.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_24_9764.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_45_9659.jpg', '/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_55_9808.jpg', '/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_15_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/19/59/image_30112025_19_59_54_9574.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_05_10346.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_24_9764.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_45_9659.jpg
/home/pi/Desktop/images/30112025/19/59/image_30112025_20_00_55_9808.jpg
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_15_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094163","1397094165","1397094162","1397094170","1397094164","1397094167"],"photo_ids_order":["1397094162","1397094163","1397094164","1397094165","1397094167","1397094170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7f6e1336e05dfe20382968f63bdb6ec.jpg","text":"TemporaryFile(/tmp/multipartBody2170961101482160684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_20_00_05_10346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/451b4ed0118d85493649c6bc3219ccde.jpg","text":"TemporaryFile(/tmp/multipartBody3350831756052399747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_20_00_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5e43b31f344f9a779673409cea18c93.jpg","text":"TemporaryFile(/tmp/multipartBody1535535140254873149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_19_59_54_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/44983c3c5828423f41c4ea645f2c9e59.jpg","text":"TemporaryFile(/tmp/multipartBody8423009758384206657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_20_01_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39abfcdcf4de87100d8a3e43579d8ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8665567921686548810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_20_00_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/818993c9f92d2d53dd41cd9f384f9def.jpg","text":"TemporaryFile(/tmp/multipartBody7172676519139279382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536043673,"filename":"image_30112025_20_00_55_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094164","file1":"1397094163","file0":"1397094162","file4":"1397094167","file5":"1397094170","file3":"1397094165"},"map_files_photo_id_array":[{"photo_id":"1397094170","filename":"file5"},{"photo_id":"1397094164","filename":"file2"},{"photo_id":"1397094167","filename":"file4"},{"photo_id":"1397094163","filename":"file1"},{"photo_id":"1397094162","filename":"file0"},{"photo_id":"1397094165","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094163":["hashtag1","hashtag2"]},{"1397094165":["hashtag1","hashtag2"]},{"1397094162":["hashtag1","hashtag2"]},{"1397094170":["hashtag1","hashtag2"]},{"1397094164":["hashtag1","hashtag2"]},{"1397094167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094163, 1397094165, 1397094162, 1397094170, 1397094164, 1397094167)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.46081066131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:54:03.084736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_25_9670.jpg', '/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_35_10289.jpg', '/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_45_10305.jpg', '/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_55_9662.jpg', '/home/pi/Desktop/images/30112025/20/01/image_30112025_20_02_04_9623.jpg', '/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_15_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_25_9670.jpg
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_35_10289.jpg
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_45_10305.jpg
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_01_55_9662.jpg
/home/pi/Desktop/images/30112025/20/01/image_30112025_20_02_04_9623.jpg
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_15_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094208","1397094210","1397094207","1397094212","1397094215","1397094209"],"photo_ids_order":["1397094207","1397094208","1397094209","1397094210","1397094212","1397094215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d9b29a6f98c34c1a692ef85a0d328e9.jpg","text":"TemporaryFile(/tmp/multipartBody4005046533729383860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_01_35_10289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/57f479194cf55dc947335cbf9de436ae.jpg","text":"TemporaryFile(/tmp/multipartBody3439676561824648635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_01_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aa2e732a5aff9464031e2ef695dab2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7010233396441332526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_01_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fdc6a32befe9fbbf77835a956a1c9ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2668157091953280652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_02_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/acb7dfe675ee9af4588fe0c1bf5a14cf.jpg","text":"TemporaryFile(/tmp/multipartBody2238344177319340135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_02_15_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a36e9e311c7e886e8090881fec02b890.jpg","text":"TemporaryFile(/tmp/multipartBody258030017751830554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536103901,"filename":"image_30112025_20_01_45_10305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094209","file1":"1397094208","file0":"1397094207","file4":"1397094212","file5":"1397094215","file3":"1397094210"},"map_files_photo_id_array":[{"photo_id":"1397094215","filename":"file5"},{"photo_id":"1397094209","filename":"file2"},{"photo_id":"1397094212","filename":"file4"},{"photo_id":"1397094208","filename":"file1"},{"photo_id":"1397094207","filename":"file0"},{"photo_id":"1397094210","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094208":["hashtag1","hashtag2"]},{"1397094210":["hashtag1","hashtag2"]},{"1397094207":["hashtag1","hashtag2"]},{"1397094212":["hashtag1","hashtag2"]},{"1397094215":["hashtag1","hashtag2"]},{"1397094209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094208, 1397094210, 1397094207, 1397094212, 1397094215, 1397094209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.108800649642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:54:42.463938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/47/image_31102025_13_47_03_2671.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_05_2574.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_09_3674.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_12_2633.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_14_2796.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_41_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_03_2671.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_05_2574.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_09_3674.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_12_2633.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_14_2796.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_41_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094223","1397094226","1397094222","1397094225","1397094224","1397094221"],"photo_ids_order":["1397094221","1397094222","1397094223","1397094224","1397094225","1397094226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/02aa9f8726516dd401ae4071a74a3602.jpg","text":"TemporaryFile(/tmp/multipartBody8213076338229481182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_09_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61ae51792e2f816b349de68d07a43973.jpg","text":"TemporaryFile(/tmp/multipartBody3960445236352405344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_41_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/30/3151a5634faa7e13e63405001485b291.jpg","text":"TemporaryFile(/tmp/multipartBody3473873385891134669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_05_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/30/e080478edab3328c4896bb83f88683b9.jpg","text":"TemporaryFile(/tmp/multipartBody5334180578035363468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_14_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/30/7dc1a21286fd87190a51a59c68d57bc4.jpg","text":"TemporaryFile(/tmp/multipartBody944592363432675281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_12_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/30/3c56abb37e0f6dacbe69765837716664.jpg","text":"TemporaryFile(/tmp/multipartBody3001442039440766961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536143379,"filename":"image_31102025_13_47_03_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094223","file1":"1397094222","file0":"1397094221","file4":"1397094225","file5":"1397094226","file3":"1397094224"},"map_files_photo_id_array":[{"photo_id":"1397094226","filename":"file5"},{"photo_id":"1397094223","filename":"file2"},{"photo_id":"1397094225","filename":"file4"},{"photo_id":"1397094222","filename":"file1"},{"photo_id":"1397094221","filename":"file0"},{"photo_id":"1397094224","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397094223":["hashtag1","hashtag2"]},{"1397094226":["hashtag1","hashtag2"]},{"1397094222":["hashtag1","hashtag2"]},{"1397094225":["hashtag1","hashtag2"]},{"1397094224":["hashtag1","hashtag2"]},{"1397094221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397094223, 1397094226, 1397094222, 1397094225, 1397094224, 1397094221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.010231733322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:55:22.663864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_25_9638.jpg', '/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_35_9752.jpg', '/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_45_10596.jpg', '/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_55_9613.jpg', '/home/pi/Desktop/images/30112025/20/02/image_30112025_20_03_04_9673.jpg', '/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_15_10801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_25_9638.jpg
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_35_9752.jpg
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_45_10596.jpg
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_02_55_9613.jpg
/home/pi/Desktop/images/30112025/20/02/image_30112025_20_03_04_9673.jpg
/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_15_10801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094241","1397094238","1397094232","1397094234","1397094236","1397094230"],"photo_ids_order":["1397094230","1397094232","1397094234","1397094236","1397094238","1397094241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8bcf822dc512944cf21e61e56d38cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody6766264038047381959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_03_15_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/19377d43ceb36b45de00043ba1fa9d48.jpg","text":"TemporaryFile(/tmp/multipartBody2535955588734931470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_03_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26b52f8ab3675cf8184afa3955282f84.jpg","text":"TemporaryFile(/tmp/multipartBody761403865211555311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_02_35_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8137a9faef224efc6bc6ea506447cd94.jpg","text":"TemporaryFile(/tmp/multipartBody3965241351954963674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_02_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0007f32105e50f17e070977e1c68eceb.jpg","text":"TemporaryFile(/tmp/multipartBody8774464263972562839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_02_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/850cc8d47ad25af0f0adc4cd34c2809d.jpg","text":"TemporaryFile(/tmp/multipartBody3971200171885048079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536183413,"filename":"image_30112025_20_02_25_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094234","file1":"1397094232","file0":"1397094230","file4":"1397094238","file5":"1397094241","file3":"1397094236"},"map_files_photo_id_array":[{"photo_id":"1397094241","filename":"file5"},{"photo_id":"1397094234","filename":"file2"},{"photo_id":"1397094238","filename":"file4"},{"photo_id":"1397094232","filename":"file1"},{"photo_id":"1397094230","filename":"file0"},{"photo_id":"1397094236","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094241":["hashtag1","hashtag2"]},{"1397094238":["hashtag1","hashtag2"]},{"1397094232":["hashtag1","hashtag2"]},{"1397094234":["hashtag1","hashtag2"]},{"1397094236":["hashtag1","hashtag2"]},{"1397094230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094241, 1397094238, 1397094232, 1397094234, 1397094236, 1397094230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9244704246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:56:03.192716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_34_9618.jpg', '/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_45_10670.jpg', '/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_25_10719.jpg', '/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_37_11824.jpg', '/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_45_7655.jpg', '/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_55_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_34_9618.jpg
/home/pi/Desktop/images/30112025/20/03/image_30112025_20_03_45_10670.jpg
/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_25_10719.jpg
/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_37_11824.jpg
/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_45_7655.jpg
/home/pi/Desktop/images/30112025/20/04/image_30112025_20_04_55_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094244","1397094246","1397094243","1397094251","1397094245","1397094248"],"photo_ids_order":["1397094243","1397094244","1397094245","1397094246","1397094248","1397094251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3672addf8a2ea2b0bce8584f09f0eee2.jpg","text":"TemporaryFile(/tmp/multipartBody3907753853759816434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_03_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6668679d1bf9f8bcc7137e7498feec8e.jpg","text":"TemporaryFile(/tmp/multipartBody6402836916518127243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_04_37_11824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6661251db537cac454eec5163480283f.jpg","text":"TemporaryFile(/tmp/multipartBody626870091562933756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_03_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/367a10367013e81b661f01e45ca651a2.jpg","text":"TemporaryFile(/tmp/multipartBody5968225167351726554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_04_55_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/472d14cc75814e9a26622a524b471823.jpg","text":"TemporaryFile(/tmp/multipartBody6029387324826485528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_04_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9294af20438045cf06e3f3d50b1ad140.jpg","text":"TemporaryFile(/tmp/multipartBody3431540395885620129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536223988,"filename":"image_30112025_20_04_45_7655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094245","file1":"1397094244","file0":"1397094243","file4":"1397094248","file5":"1397094251","file3":"1397094246"},"map_files_photo_id_array":[{"photo_id":"1397094251","filename":"file5"},{"photo_id":"1397094245","filename":"file2"},{"photo_id":"1397094248","filename":"file4"},{"photo_id":"1397094244","filename":"file1"},{"photo_id":"1397094243","filename":"file0"},{"photo_id":"1397094246","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094244":["hashtag1","hashtag2"]},{"1397094246":["hashtag1","hashtag2"]},{"1397094243":["hashtag1","hashtag2"]},{"1397094251":["hashtag1","hashtag2"]},{"1397094245":["hashtag1","hashtag2"]},{"1397094248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094244, 1397094246, 1397094243, 1397094251, 1397094245, 1397094248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31817388534546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 21:56:42.732941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/47/image_31102025_13_47_57_3641.jpg', '/home/pi/Desktop/images/31102025/13/47/image_31102025_13_48_00_2793.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_02_2792.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_05_2684.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_18_3793.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_21_3007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_47_57_3641.jpg
/home/pi/Desktop/images/31102025/13/47/image_31102025_13_48_00_2793.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_02_2792.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_05_2684.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_18_3793.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_21_3007.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094262","1397094264","1397094260","1397094263","1397094266","1397094265"],"photo_ids_order":["1397094260","1397094262","1397094263","1397094264","1397094265","1397094266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6e60c9c950b4360c7e7c4e80b234373a.jpg","text":"TemporaryFile(/tmp/multipartBody5843651444206935502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_48_00_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/30/d92de33e499e69869f92b4dc407b5e38.jpg","text":"TemporaryFile(/tmp/multipartBody6537926681459726810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_48_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/30/765635cc84f57594236e22b718d20e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3332032421614580237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_47_57_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/006d2a1fa55171c393ce12108c591089.jpg","text":"TemporaryFile(/tmp/multipartBody3615927055114035133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_48_02_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/30/2c8ea50914df80872ba3a686a6c75cdc.jpg","text":"TemporaryFile(/tmp/multipartBody4774513752928155684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_48_21_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca2a73249c8b24b533642afcb560883c.jpg","text":"TemporaryFile(/tmp/multipartBody4739607214910464038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536263589,"filename":"image_31102025_13_48_18_3793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094263","file1":"1397094262","file0":"1397094260","file4":"1397094265","file5":"1397094266","file3":"1397094264"},"map_files_photo_id_array":[{"photo_id":"1397094266","filename":"file5"},{"photo_id":"1397094263","filename":"file2"},{"photo_id":"1397094265","filename":"file4"},{"photo_id":"1397094262","filename":"file1"},{"photo_id":"1397094260","filename":"file0"},{"photo_id":"1397094264","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397094262":["hashtag1","hashtag2"]},{"1397094264":["hashtag1","hashtag2"]},{"1397094260":["hashtag1","hashtag2"]},{"1397094263":["hashtag1","hashtag2"]},{"1397094266":["hashtag1","hashtag2"]},{"1397094265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397094262, 1397094264, 1397094260, 1397094263, 1397094266, 1397094265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20988178253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 21:57:21.875143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/04/image_30112025_20_05_04_9755.jpg', '/home/pi/Desktop/images/30112025/20/05/image_30112025_20_05_15_10638.jpg', '/home/pi/Desktop/images/30112025/20/05/image_30112025_20_05_25_9633.jpg', '/home/pi/Desktop/images/30112025/20/05/image_30112025_20_06_04_9653.jpg', '/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_15_10629.jpg', '/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_35_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/04/image_30112025_20_05_04_9755.jpg
/home/pi/Desktop/images/30112025/20/05/image_30112025_20_05_15_10638.jpg
/home/pi/Desktop/images/30112025/20/05/image_30112025_20_05_25_9633.jpg
/home/pi/Desktop/images/30112025/20/05/image_30112025_20_06_04_9653.jpg
/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_15_10629.jpg
/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_35_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094280","1397094277","1397094273","1397094275","1397094269","1397094271"],"photo_ids_order":["1397094269","1397094271","1397094273","1397094275","1397094277","1397094280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b244f3a28ca7435b5a3ad8f94abca93e.jpg","text":"TemporaryFile(/tmp/multipartBody5352555093194888214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_06_35_10328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aac9048a417e199901ce06927f5f8d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1107766868295754544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_06_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/017b3675ed22f587448b26e9fb4af9d5.jpg","text":"TemporaryFile(/tmp/multipartBody5302524053848132678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_05_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de5291f5f1e3f4ce5d16e36132ae39d7.jpg","text":"TemporaryFile(/tmp/multipartBody2930397656637795450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_06_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cf5e0113f6cd1d2577a21c702eaff15c.jpg","text":"TemporaryFile(/tmp/multipartBody2251693285215279117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_05_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7d5d280e09d58d3d2a6de77b517ef71.jpg","text":"TemporaryFile(/tmp/multipartBody7968053347120995961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536302621,"filename":"image_30112025_20_05_15_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094273","file1":"1397094271","file0":"1397094269","file4":"1397094277","file5":"1397094280","file3":"1397094275"},"map_files_photo_id_array":[{"photo_id":"1397094280","filename":"file5"},{"photo_id":"1397094273","filename":"file2"},{"photo_id":"1397094277","filename":"file4"},{"photo_id":"1397094271","filename":"file1"},{"photo_id":"1397094269","filename":"file0"},{"photo_id":"1397094275","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094280":["hashtag1","hashtag2"]},{"1397094277":["hashtag1","hashtag2"]},{"1397094273":["hashtag1","hashtag2"]},{"1397094275":["hashtag1","hashtag2"]},{"1397094269":["hashtag1","hashtag2"]},{"1397094271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094280, 1397094277, 1397094273, 1397094275, 1397094269, 1397094271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67241430282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 21:59:03.069837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_45_9724.jpg', '/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_15_10818.jpg', '/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_25_9555.jpg', '/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_34_9756.jpg', '/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_45_10610.jpg', '/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_25_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/06/image_30112025_20_06_45_9724.jpg
/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_15_10818.jpg
/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_25_9555.jpg
/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_34_9756.jpg
/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_45_10610.jpg
/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_25_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397094430","1397094516","1397094470","1397094303","1397094389","1397094347"],"photo_ids_order":["1397094303","1397094347","1397094389","1397094430","1397094470","1397094516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76ded027754b8cb3779e043bd294b86c.jpg","text":"TemporaryFile(/tmp/multipartBody5570726189659512148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_07_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c315b8ecfed6f17b6daabf4adc115f9c.jpg","text":"TemporaryFile(/tmp/multipartBody639851666064873226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_08_25_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0ee842b35561be0a00c39c99b39745b.jpg","text":"TemporaryFile(/tmp/multipartBody3077641957944658401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_07_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e672661936cb5574f879bf1cb145df45.jpg","text":"TemporaryFile(/tmp/multipartBody7103761438208955694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_06_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dceb6471e8f1f64561729ebe1c4179f9.jpg","text":"TemporaryFile(/tmp/multipartBody6405055717244579677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_07_25_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9628df54ce62df4662b4938215471587.jpg","text":"TemporaryFile(/tmp/multipartBody7320178987144135964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536403908,"filename":"image_30112025_20_07_15_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397094389","file1":"1397094347","file0":"1397094303","file4":"1397094470","file5":"1397094516","file3":"1397094430"},"map_files_photo_id_array":[{"photo_id":"1397094516","filename":"file5"},{"photo_id":"1397094389","filename":"file2"},{"photo_id":"1397094470","filename":"file4"},{"photo_id":"1397094347","filename":"file1"},{"photo_id":"1397094303","filename":"file0"},{"photo_id":"1397094430","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397094430":["hashtag1","hashtag2"]},{"1397094516":["hashtag1","hashtag2"]},{"1397094470":["hashtag1","hashtag2"]},{"1397094303":["hashtag1","hashtag2"]},{"1397094389":["hashtag1","hashtag2"]},{"1397094347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397094430, 1397094516, 1397094470, 1397094303, 1397094389, 1397094347)","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 = 1397094389 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30112025/20/07/image_30112025_20_07_25_9555.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.748576641082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:00:02.485401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_34_9948.jpg', '/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_45_10629.jpg', '/home/pi/Desktop/images/30112025/20/08/image_30112025_20_09_04_9663.jpg', '/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_25_9607.jpg', '/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_34_9725.jpg', '/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_44_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_34_9948.jpg
/home/pi/Desktop/images/30112025/20/08/image_30112025_20_08_45_10629.jpg
/home/pi/Desktop/images/30112025/20/08/image_30112025_20_09_04_9663.jpg
/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_25_9607.jpg
/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_34_9725.jpg
/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_44_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397095230","1397095457","1397095110","1397095685","1397095568","1397095342"],"photo_ids_order":["1397095110","1397095230","1397095342","1397095457","1397095568","1397095685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf7bb285124173ff5be062483a0318f9.jpg","text":"TemporaryFile(/tmp/multipartBody4878923828556310032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_08_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dcd41014d0e97cde855121ad12efdde1.jpg","text":"TemporaryFile(/tmp/multipartBody411531643106870771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_09_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5135239564324b7b1e954e2657776d2.jpg","text":"TemporaryFile(/tmp/multipartBody4409035015645001324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_08_34_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79a5bbf32e32cf46ffb1bc60b0ab1088.jpg","text":"TemporaryFile(/tmp/multipartBody333072661222637460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_09_44_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb1c9f137184f8d8c0f50c6f2be06e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4297421191149677928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_09_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/204abca38d747f911cb2d547b73a4afd.jpg","text":"TemporaryFile(/tmp/multipartBody2109753928194029206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536463225,"filename":"image_30112025_20_09_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397095342","file1":"1397095230","file0":"1397095110","file4":"1397095568","file5":"1397095685","file3":"1397095457"},"map_files_photo_id_array":[{"photo_id":"1397095685","filename":"file5"},{"photo_id":"1397095342","filename":"file2"},{"photo_id":"1397095568","filename":"file4"},{"photo_id":"1397095230","filename":"file1"},{"photo_id":"1397095110","filename":"file0"},{"photo_id":"1397095457","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397095230":["hashtag1","hashtag2"]},{"1397095457":["hashtag1","hashtag2"]},{"1397095110":["hashtag1","hashtag2"]},{"1397095685":["hashtag1","hashtag2"]},{"1397095568":["hashtag1","hashtag2"]},{"1397095342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397095230, 1397095457, 1397095110, 1397095685, 1397095568, 1397095342)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.208778858184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:01:03.258116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_55_10693.jpg', '/home/pi/Desktop/images/30112025/20/09/image_30112025_20_10_05_9794.jpg', '/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_15_9895.jpg', '/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_24_9701.jpg', '/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_34_10031.jpg', '/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_45_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/09/image_30112025_20_09_55_10693.jpg
/home/pi/Desktop/images/30112025/20/09/image_30112025_20_10_05_9794.jpg
/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_15_9895.jpg
/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_24_9701.jpg
/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_34_10031.jpg
/home/pi/Desktop/images/30112025/20/10/image_30112025_20_10_45_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397096571","1397096331","1397096511","1397096621","1397096435","1397096362"],"photo_ids_order":["1397096331","1397096362","1397096435","1397096511","1397096571","1397096621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67f4e506c89a7e3a4cefaddc6f2e5372.jpg","text":"TemporaryFile(/tmp/multipartBody1147987194960674622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_10_34_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9bf1f5d840d09a1fa3ceb2e50d8d9f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3404403620308664942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_09_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6cc71664a2ae78edf74b495093b0236b.jpg","text":"TemporaryFile(/tmp/multipartBody1008638321610752996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_10_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25e732445e5a89af2f0012817a1fd30b.jpg","text":"TemporaryFile(/tmp/multipartBody2566100424110367280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_10_45_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09f7122f0e68fe477a206679563e5e48.jpg","text":"TemporaryFile(/tmp/multipartBody2562006442978435132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_10_15_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2cd67fafa9868492e01d573e8f086c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2338235133740259252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536526373,"filename":"image_30112025_20_10_05_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397096435","file1":"1397096362","file0":"1397096331","file4":"1397096571","file5":"1397096621","file3":"1397096511"},"map_files_photo_id_array":[{"photo_id":"1397096621","filename":"file5"},{"photo_id":"1397096435","filename":"file2"},{"photo_id":"1397096571","filename":"file4"},{"photo_id":"1397096362","filename":"file1"},{"photo_id":"1397096331","filename":"file0"},{"photo_id":"1397096511","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397096571":["hashtag1","hashtag2"]},{"1397096331":["hashtag1","hashtag2"]},{"1397096511":["hashtag1","hashtag2"]},{"1397096621":["hashtag1","hashtag2"]},{"1397096435":["hashtag1","hashtag2"]},{"1397096362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397096571, 1397096331, 1397096511, 1397096621, 1397096435, 1397096362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.647358894348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:02:03.095333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/10/image_30112025_20_11_05_9807.jpg', '/home/pi/Desktop/images/30112025/20/11/image_30112025_20_11_14_9663.jpg', '/home/pi/Desktop/images/30112025/20/11/image_30112025_20_11_35_9656.jpg', '/home/pi/Desktop/images/30112025/20/11/image_30112025_20_12_05_9888.jpg', '/home/pi/Desktop/images/30112025/20/12/image_30112025_20_12_25_9732.jpg', '/home/pi/Desktop/images/30112025/20/12/image_30112025_20_12_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/10/image_30112025_20_11_05_9807.jpg
/home/pi/Desktop/images/30112025/20/11/image_30112025_20_11_14_9663.jpg
/home/pi/Desktop/images/30112025/20/11/image_30112025_20_11_35_9656.jpg
/home/pi/Desktop/images/30112025/20/11/image_30112025_20_12_05_9888.jpg
/home/pi/Desktop/images/30112025/20/12/image_30112025_20_12_25_9732.jpg
/home/pi/Desktop/images/30112025/20/12/image_30112025_20_12_44_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397097395","1397097521","1397097638","1397097796","1397097291","1397097717"],"photo_ids_order":["1397097291","1397097395","1397097521","1397097638","1397097717","1397097796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b91ab32fd584638f78f6d8a496cfd80c.jpg","text":"TemporaryFile(/tmp/multipartBody7876674528636690566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_11_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f2ea0cf3c3d99fa8f56c8e296aaf532.jpg","text":"TemporaryFile(/tmp/multipartBody8527110600492575588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_11_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/861368bed677c0ca875fe76941c6dedc.jpg","text":"TemporaryFile(/tmp/multipartBody625307037728522616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_12_05_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/35e1543d6baa6082e54c6362c076f5cc.jpg","text":"TemporaryFile(/tmp/multipartBody1583559212234757368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_12_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9e3c576deef3184c7e3d297bb099bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4795901734723755668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_11_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/474ac3f72fbcfd5062ec99b35497724e.jpg","text":"TemporaryFile(/tmp/multipartBody3370626639014311469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536583889,"filename":"image_30112025_20_12_25_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397097521","file1":"1397097395","file0":"1397097291","file4":"1397097717","file5":"1397097796","file3":"1397097638"},"map_files_photo_id_array":[{"photo_id":"1397097796","filename":"file5"},{"photo_id":"1397097521","filename":"file2"},{"photo_id":"1397097717","filename":"file4"},{"photo_id":"1397097395","filename":"file1"},{"photo_id":"1397097291","filename":"file0"},{"photo_id":"1397097638","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397097395":["hashtag1","hashtag2"]},{"1397097521":["hashtag1","hashtag2"]},{"1397097638":["hashtag1","hashtag2"]},{"1397097796":["hashtag1","hashtag2"]},{"1397097291":["hashtag1","hashtag2"]},{"1397097717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397097395, 1397097521, 1397097638, 1397097796, 1397097291, 1397097717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44143629074097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:02:42.587216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/48/image_31102025_13_48_24_2769.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_26_2720.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_45_3750.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_54_3678.jpg', '/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_59_2643.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_05_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_24_2769.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_26_2720.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_45_3750.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_54_3678.jpg
/home/pi/Desktop/images/31102025/13/48/image_31102025_13_48_59_2643.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_05_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397098127","1397098252","1397098404","1397098332","1397098475","1397098556"],"photo_ids_order":["1397098127","1397098252","1397098332","1397098404","1397098475","1397098556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/844ce1e25c9702af1e08fc03471a6401.jpg","text":"TemporaryFile(/tmp/multipartBody2102714616114380982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_48_24_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/30/d2132d9d013d2ee0ba07cfebfb219e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2482988124227899962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_48_26_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff05fad1182067d5ac807d0098563333.jpg","text":"TemporaryFile(/tmp/multipartBody511210259204977920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_48_54_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7dd3d97aee611ce6b1a08a1804f3520f.jpg","text":"TemporaryFile(/tmp/multipartBody4954869194380011735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_48_45_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/30/9b4571e665ab0b9916325df246752f84.jpg","text":"TemporaryFile(/tmp/multipartBody3133747843059299224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_48_59_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/30/2ad35a66017a339eb03d813380dd4b25.jpg","text":"TemporaryFile(/tmp/multipartBody8480208367112554341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536623419,"filename":"image_31102025_13_49_05_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397098332","file1":"1397098252","file0":"1397098127","file4":"1397098475","file5":"1397098556","file3":"1397098404"},"map_files_photo_id_array":[{"photo_id":"1397098556","filename":"file5"},{"photo_id":"1397098332","filename":"file2"},{"photo_id":"1397098475","filename":"file4"},{"photo_id":"1397098252","filename":"file1"},{"photo_id":"1397098127","filename":"file0"},{"photo_id":"1397098404","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397098127":["hashtag1","hashtag2"]},{"1397098252":["hashtag1","hashtag2"]},{"1397098404":["hashtag1","hashtag2"]},{"1397098332":["hashtag1","hashtag2"]},{"1397098475":["hashtag1","hashtag2"]},{"1397098556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397098127, 1397098252, 1397098404, 1397098332, 1397098475, 1397098556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.843637228012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:03:21.812955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/12/image_30112025_20_13_05_9686.jpg', '/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_14_9621.jpg', '/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_25_10745.jpg', '/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_45_9759.jpg', '/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_55_10615.jpg', '/home/pi/Desktop/images/30112025/20/13/image_30112025_20_14_05_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/12/image_30112025_20_13_05_9686.jpg
/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_14_9621.jpg
/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_25_10745.jpg
/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_45_9759.jpg
/home/pi/Desktop/images/30112025/20/13/image_30112025_20_13_55_10615.jpg
/home/pi/Desktop/images/30112025/20/13/image_30112025_20_14_05_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397098987","1397098912","1397099145","1397098824","1397099219","1397099060"],"photo_ids_order":["1397098824","1397098912","1397098987","1397099060","1397099145","1397099219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/410157f83e438772b308407b18138dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5395804108217966894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_13_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e455ed96b6c9c7fb73c177b3b04361d.jpg","text":"TemporaryFile(/tmp/multipartBody322165131836316228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_13_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/545db3050cd660a4412ce1d217e64747.jpg","text":"TemporaryFile(/tmp/multipartBody8504588508538677731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_13_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6102cea54028af6f580c2073b4763e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8741410253974665444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_13_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2f9ff4b9b113066ddd3bc909be5b8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6871013145067684769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_14_05_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dd198abeb17e640584b56bc16ffbb2a.jpg","text":"TemporaryFile(/tmp/multipartBody369586890417160125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536662587,"filename":"image_30112025_20_13_45_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397098987","file1":"1397098912","file0":"1397098824","file4":"1397099145","file5":"1397099219","file3":"1397099060"},"map_files_photo_id_array":[{"photo_id":"1397099219","filename":"file5"},{"photo_id":"1397098987","filename":"file2"},{"photo_id":"1397099145","filename":"file4"},{"photo_id":"1397098912","filename":"file1"},{"photo_id":"1397098824","filename":"file0"},{"photo_id":"1397099060","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397098987":["hashtag1","hashtag2"]},{"1397098912":["hashtag1","hashtag2"]},{"1397099145":["hashtag1","hashtag2"]},{"1397098824":["hashtag1","hashtag2"]},{"1397099219":["hashtag1","hashtag2"]},{"1397099060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397098987, 1397098912, 1397099145, 1397098824, 1397099219, 1397099060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82540321350098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:04:02.714380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/14/image_30112025_20_14_35_9928.jpg', '/home/pi/Desktop/images/30112025/20/15/image_30112025_20_15_14_9657.jpg', '/home/pi/Desktop/images/30112025/20/15/image_30112025_20_15_25_10774.jpg', '/home/pi/Desktop/images/30112025/20/15/image_30112025_20_16_04_9707.jpg', '/home/pi/Desktop/images/30112025/20/16/image_30112025_20_16_45_10751.jpg', '/home/pi/Desktop/images/30112025/20/17/image_30112025_20_17_24_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/14/image_30112025_20_14_35_9928.jpg
/home/pi/Desktop/images/30112025/20/15/image_30112025_20_15_14_9657.jpg
/home/pi/Desktop/images/30112025/20/15/image_30112025_20_15_25_10774.jpg
/home/pi/Desktop/images/30112025/20/15/image_30112025_20_16_04_9707.jpg
/home/pi/Desktop/images/30112025/20/16/image_30112025_20_16_45_10751.jpg
/home/pi/Desktop/images/30112025/20/17/image_30112025_20_17_24_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397099755","1397099650","1397099551","1397099845","1397099701","1397099921"],"photo_ids_order":["1397099551","1397099650","1397099701","1397099755","1397099845","1397099921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/669e6ff7c3220195918345fac9e41e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2126136053075892517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_16_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cc491f938eacfdedf010e105c1bf013.jpg","text":"TemporaryFile(/tmp/multipartBody248585538075101614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_15_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b78bf0af515395e14b8afa0e53cec87f.jpg","text":"TemporaryFile(/tmp/multipartBody9121365724294842057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_14_35_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b245eda0a7ecc46dc3cb097bbc2ca8e3.jpg","text":"TemporaryFile(/tmp/multipartBody1520848673093821347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_16_45_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bcbfa56d6f72c92036f72c1d722dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody5232059256477293079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_15_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5566c6d647c6d70adfdef4b5535704c8.jpg","text":"TemporaryFile(/tmp/multipartBody7373703905625182755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536703490,"filename":"image_30112025_20_17_24_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397099701","file1":"1397099650","file0":"1397099551","file4":"1397099845","file5":"1397099921","file3":"1397099755"},"map_files_photo_id_array":[{"photo_id":"1397099921","filename":"file5"},{"photo_id":"1397099701","filename":"file2"},{"photo_id":"1397099845","filename":"file4"},{"photo_id":"1397099650","filename":"file1"},{"photo_id":"1397099551","filename":"file0"},{"photo_id":"1397099755","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397099755":["hashtag1","hashtag2"]},{"1397099650":["hashtag1","hashtag2"]},{"1397099551":["hashtag1","hashtag2"]},{"1397099845":["hashtag1","hashtag2"]},{"1397099701":["hashtag1","hashtag2"]},{"1397099921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397099755, 1397099650, 1397099551, 1397099845, 1397099701, 1397099921)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.72713589668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:05:02.848220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/18/image_30112025_20_18_35_9660.jpg', '/home/pi/Desktop/images/30112025/20/18/image_30112025_20_18_45_9665.jpg', '/home/pi/Desktop/images/30112025/20/19/image_30112025_20_20_05_9706.jpg', '/home/pi/Desktop/images/30112025/20/20/image_30112025_20_21_05_9952.jpg', '/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_15_9650.jpg', '/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_25_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/18/image_30112025_20_18_35_9660.jpg
/home/pi/Desktop/images/30112025/20/18/image_30112025_20_18_45_9665.jpg
/home/pi/Desktop/images/30112025/20/19/image_30112025_20_20_05_9706.jpg
/home/pi/Desktop/images/30112025/20/20/image_30112025_20_21_05_9952.jpg
/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_15_9650.jpg
/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_25_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397100791","1397101247","1397100923","1397101183","1397101098","1397101009"],"photo_ids_order":["1397100791","1397100923","1397101009","1397101098","1397101183","1397101247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01748e98898536c2a23381cb038d478a.jpg","text":"TemporaryFile(/tmp/multipartBody1039083770259647155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_18_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91f3114018e8e69f241d7889800ea184.jpg","text":"TemporaryFile(/tmp/multipartBody7394772984520478407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_21_25_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13725d6e13488851efedfcaa40d3c776.jpg","text":"TemporaryFile(/tmp/multipartBody7590071680469130059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_18_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcfb36dd4e592124b1e6573c6915e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4187666595234362396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_21_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/40a1346158dc6d471702c93d43488b47.jpg","text":"TemporaryFile(/tmp/multipartBody6628105832308769388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_21_05_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/746531f11af8e40cf7f4aa7ba0a9877c.jpg","text":"TemporaryFile(/tmp/multipartBody6991383944331813331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536763662,"filename":"image_30112025_20_20_05_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397101009","file1":"1397100923","file0":"1397100791","file4":"1397101183","file5":"1397101247","file3":"1397101098"},"map_files_photo_id_array":[{"photo_id":"1397101247","filename":"file5"},{"photo_id":"1397101009","filename":"file2"},{"photo_id":"1397101183","filename":"file4"},{"photo_id":"1397100923","filename":"file1"},{"photo_id":"1397100791","filename":"file0"},{"photo_id":"1397101098","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397100791":["hashtag1","hashtag2"]},{"1397101247":["hashtag1","hashtag2"]},{"1397100923":["hashtag1","hashtag2"]},{"1397101183":["hashtag1","hashtag2"]},{"1397101098":["hashtag1","hashtag2"]},{"1397101009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397100791, 1397101247, 1397100923, 1397101183, 1397101098, 1397101009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19767165184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:05:42.147545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/49/image_31102025_13_49_08_2575.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_12_3804.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_15_2703.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_17_2782.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_20_2656.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_24_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_08_2575.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_12_3804.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_15_2703.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_17_2782.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_20_2656.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_24_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397101743","1397101506","1397101592","1397101448","1397101780","1397101674"],"photo_ids_order":["1397101448","1397101506","1397101592","1397101674","1397101743","1397101780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b5b4066ed560a998ad27dab4ce3cde0.jpg","text":"TemporaryFile(/tmp/multipartBody7581468175266160319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_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/30/1999b70d38401663ca9e7098134a577e.jpg","text":"TemporaryFile(/tmp/multipartBody601497954217558247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_12_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/30/01e3ca462143abe78c3d4a51bfbfd104.jpg","text":"TemporaryFile(/tmp/multipartBody4510114762514356796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_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/30/d955c442e160a2fbef1098a8b586cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody5890742982969759013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_08_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88d179b7a9f1e986544bf058fc5de809.jpg","text":"TemporaryFile(/tmp/multipartBody3838197540595668509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_24_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/30/f4bc37fcaa181039698e440efa311a27.jpg","text":"TemporaryFile(/tmp/multipartBody3913145986214547979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536803057,"filename":"image_31102025_13_49_17_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397101592","file1":"1397101506","file0":"1397101448","file4":"1397101743","file5":"1397101780","file3":"1397101674"},"map_files_photo_id_array":[{"photo_id":"1397101780","filename":"file5"},{"photo_id":"1397101592","filename":"file2"},{"photo_id":"1397101743","filename":"file4"},{"photo_id":"1397101506","filename":"file1"},{"photo_id":"1397101448","filename":"file0"},{"photo_id":"1397101674","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397101743":["hashtag1","hashtag2"]},{"1397101506":["hashtag1","hashtag2"]},{"1397101592":["hashtag1","hashtag2"]},{"1397101448":["hashtag1","hashtag2"]},{"1397101780":["hashtag1","hashtag2"]},{"1397101674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397101743, 1397101506, 1397101592, 1397101448, 1397101780, 1397101674)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.72497320175171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:06:34.567065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_59_2731.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_02_2536.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_06_3809.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_12_3286.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_14_2624.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_22_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/51/image_25112025_20_51_59_2731.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_02_2536.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_06_3809.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_12_3286.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_14_2624.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_22_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397102356","1397102647","1397102434","1397102305","1397102259","1397102544"],"photo_ids_order":["1397102259","1397102305","1397102356","1397102434","1397102544","1397102647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d16e655278977dd1b5ae6f1fd9c6d401.jpg","text":"TemporaryFile(/tmp/multipartBody3198475547702871079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_52_06_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/30/0dcb0eb1f2aa4951e97c129692c73787.jpg","text":"TemporaryFile(/tmp/multipartBody5574584822552823817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_52_22_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/30/c2415d495ef3dc2becf3bf0a56b07ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2378712692403477358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_52_12_3286.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fcb594b56d45ea5249491652bcbf4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3913337956612493639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_52_02_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/30/bb129be606a356808c5b1a507b45bb45.jpg","text":"TemporaryFile(/tmp/multipartBody5569176095377718211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_51_59_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1059358117803fcc4e77276b18d8a9fc.jpg","text":"TemporaryFile(/tmp/multipartBody759989484902518742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536856473,"filename":"image_25112025_20_52_14_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397102356","file1":"1397102305","file0":"1397102259","file4":"1397102544","file5":"1397102647","file3":"1397102434"},"map_files_photo_id_array":[{"photo_id":"1397102647","filename":"file5"},{"photo_id":"1397102356","filename":"file2"},{"photo_id":"1397102544","filename":"file4"},{"photo_id":"1397102305","filename":"file1"},{"photo_id":"1397102259","filename":"file0"},{"photo_id":"1397102434","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397102356":["hashtag1","hashtag2"]},{"1397102647":["hashtag1","hashtag2"]},{"1397102434":["hashtag1","hashtag2"]},{"1397102305":["hashtag1","hashtag2"]},{"1397102259":["hashtag1","hashtag2"]},{"1397102544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397102356, 1397102647, 1397102434, 1397102305, 1397102259, 1397102544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.446633100509644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:07:22.545657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_45_10680.jpg', '/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_24_9685.jpg', '/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_35_10661.jpg', '/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_45_9721.jpg', '/home/pi/Desktop/images/30112025/20/23/image_30112025_20_24_05_10686.jpg', '/home/pi/Desktop/images/30112025/20/24/image_30112025_20_24_15_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/21/image_30112025_20_21_45_10680.jpg
/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_24_9685.jpg
/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_35_10661.jpg
/home/pi/Desktop/images/30112025/20/22/image_30112025_20_22_45_9721.jpg
/home/pi/Desktop/images/30112025/20/23/image_30112025_20_24_05_10686.jpg
/home/pi/Desktop/images/30112025/20/24/image_30112025_20_24_15_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397102948","1397102855","1397102870","1397102989","1397102909","1397102816"],"photo_ids_order":["1397102816","1397102855","1397102870","1397102909","1397102948","1397102989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55d1cf0dbcb7138c83d6b306951fa270.jpg","text":"TemporaryFile(/tmp/multipartBody6642844539160725690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_24_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3112194dd2546c94710fc5628bd63ed.jpg","text":"TemporaryFile(/tmp/multipartBody8074586921630379573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_22_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81df88dd7fc4c8f820327ef239b6ff30.jpg","text":"TemporaryFile(/tmp/multipartBody4505070881776272517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_22_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48167f9a424dd6eb746cb6bd06c4765a.jpg","text":"TemporaryFile(/tmp/multipartBody8200191864625298081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_24_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b123c57b2b03e9006e658cac9320784.jpg","text":"TemporaryFile(/tmp/multipartBody1231401177984132277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_22_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82e003b1b8f63bd3db25c7831083cc91.jpg","text":"TemporaryFile(/tmp/multipartBody1366481886206597980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536903322,"filename":"image_30112025_20_21_45_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397102870","file1":"1397102855","file0":"1397102816","file4":"1397102948","file5":"1397102989","file3":"1397102909"},"map_files_photo_id_array":[{"photo_id":"1397102989","filename":"file5"},{"photo_id":"1397102870","filename":"file2"},{"photo_id":"1397102948","filename":"file4"},{"photo_id":"1397102855","filename":"file1"},{"photo_id":"1397102816","filename":"file0"},{"photo_id":"1397102909","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397102948":["hashtag1","hashtag2"]},{"1397102855":["hashtag1","hashtag2"]},{"1397102870":["hashtag1","hashtag2"]},{"1397102989":["hashtag1","hashtag2"]},{"1397102909":["hashtag1","hashtag2"]},{"1397102816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397102948, 1397102855, 1397102870, 1397102989, 1397102909, 1397102816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2325701713562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:08:12.540423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_24_1733.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_27_2562.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_33_3545.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_36_2710.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_41_2810.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_45_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_24_1733.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_27_2562.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_33_3545.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_36_2710.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_41_2810.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_45_3508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397103089","1397103391","1397103283","1397103079","1397103497","1397103170"],"photo_ids_order":["1397103079","1397103089","1397103170","1397103283","1397103391","1397103497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f18bb75ed2786cf773e79dec19f53cc6.jpg","text":"TemporaryFile(/tmp/multipartBody796983814408051286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_27_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/30/9ee6aa36ec4bf17ccbbe4c359b8fc190.jpg","text":"TemporaryFile(/tmp/multipartBody3643155281553305174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_41_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/30/6dd670218a57ec79a362cae43d156c77.jpg","text":"TemporaryFile(/tmp/multipartBody5548463809181383807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_36_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/30/29fbd72807269014f95827c1c5ea8b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1049911019277428176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_24_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/30/7ed707498519d92f4c09c3a930861cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5766807236436205921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_45_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3be225610021c41f3695846e351cd0f7.jpg","text":"TemporaryFile(/tmp/multipartBody5726565845768646417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764536954339,"filename":"image_25112025_20_52_33_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397103170","file1":"1397103089","file0":"1397103079","file4":"1397103391","file5":"1397103497","file3":"1397103283"},"map_files_photo_id_array":[{"photo_id":"1397103497","filename":"file5"},{"photo_id":"1397103170","filename":"file2"},{"photo_id":"1397103391","filename":"file4"},{"photo_id":"1397103089","filename":"file1"},{"photo_id":"1397103079","filename":"file0"},{"photo_id":"1397103283","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397103089":["hashtag1","hashtag2"]},{"1397103391":["hashtag1","hashtag2"]},{"1397103283":["hashtag1","hashtag2"]},{"1397103079":["hashtag1","hashtag2"]},{"1397103497":["hashtag1","hashtag2"]},{"1397103170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397103089, 1397103391, 1397103283, 1397103079, 1397103497, 1397103170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90964603424072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:09:03.704139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/26/image_30112025_20_26_45_10666.jpg', '/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_15_10717.jpg', '/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_44_9670.jpg', '/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_55_10817.jpg', '/home/pi/Desktop/images/30112025/20/28/image_30112025_20_28_35_9698.jpg', '/home/pi/Desktop/images/30112025/20/28/image_30112025_20_28_50_14569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/26/image_30112025_20_26_45_10666.jpg
/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_15_10717.jpg
/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_44_9670.jpg
/home/pi/Desktop/images/30112025/20/27/image_30112025_20_27_55_10817.jpg
/home/pi/Desktop/images/30112025/20/28/image_30112025_20_28_35_9698.jpg
/home/pi/Desktop/images/30112025/20/28/image_30112025_20_28_50_14569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397103968","1397104012","1397103886","1397103847","1397103927","1397103807"],"photo_ids_order":["1397103807","1397103847","1397103886","1397103927","1397103968","1397104012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cb6b71f66affb0ab32550f975dc2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1640886083227252433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_28_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94ecc529c9d3a6c4131a3256d9a508a2.jpg","text":"TemporaryFile(/tmp/multipartBody9110128120666523770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_28_50_14569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c5f62a066a3a95d9e8589c6237659073.jpg","text":"TemporaryFile(/tmp/multipartBody5578552257818471639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_27_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f52dbc0b61e20e6529a2afcd1a1d598.jpg","text":"TemporaryFile(/tmp/multipartBody5582415512408007039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_27_15_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52f34e46f21a324eef2917e417d1556e.jpg","text":"TemporaryFile(/tmp/multipartBody23055546962333706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_27_55_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b283cad4e0a0e062e41ac4ada0847fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5246027207708351189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537004705,"filename":"image_30112025_20_26_45_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397103886","file1":"1397103847","file0":"1397103807","file4":"1397103968","file5":"1397104012","file3":"1397103927"},"map_files_photo_id_array":[{"photo_id":"1397104012","filename":"file5"},{"photo_id":"1397103886","filename":"file2"},{"photo_id":"1397103968","filename":"file4"},{"photo_id":"1397103847","filename":"file1"},{"photo_id":"1397103807","filename":"file0"},{"photo_id":"1397103927","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397103968":["hashtag1","hashtag2"]},{"1397104012":["hashtag1","hashtag2"]},{"1397103886":["hashtag1","hashtag2"]},{"1397103847":["hashtag1","hashtag2"]},{"1397103927":["hashtag1","hashtag2"]},{"1397103807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397103968, 1397104012, 1397103886, 1397103847, 1397103927, 1397103807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.841129779815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:09:42.794740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/49/image_31102025_13_49_26_2628.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_29_2747.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_33_3763.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_36_2676.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_38_2855.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_41_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_26_2628.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_29_2747.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_33_3763.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_36_2676.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_38_2855.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_41_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397104642","1397104585","1397104398","1397104443","1397104359","1397104493"],"photo_ids_order":["1397104359","1397104398","1397104443","1397104493","1397104585","1397104642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0aded6e98a23558f0ed2a6268f610694.jpg","text":"TemporaryFile(/tmp/multipartBody3980364334493676511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_41_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/30/80da526f65c1dbaf581bee051d9f2e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1203523123378113765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_38_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/30/abbd2e0b632102b6ac966ad045702ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3289289787096656556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_29_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/30/8a3fcec4551d3209b9c96cb975da5759.jpg","text":"TemporaryFile(/tmp/multipartBody2389149074392796787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_33_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/30/3947f86d587c2dc91b441e83c51d1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1263316102835941608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_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/30/eddb5f380b9e91cb2bc21934c9b519e5.jpg","text":"TemporaryFile(/tmp/multipartBody5088704923856898549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537043667,"filename":"image_31102025_13_49_36_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397104443","file1":"1397104398","file0":"1397104359","file4":"1397104585","file5":"1397104642","file3":"1397104493"},"map_files_photo_id_array":[{"photo_id":"1397104642","filename":"file5"},{"photo_id":"1397104443","filename":"file2"},{"photo_id":"1397104585","filename":"file4"},{"photo_id":"1397104398","filename":"file1"},{"photo_id":"1397104359","filename":"file0"},{"photo_id":"1397104493","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397104642":["hashtag1","hashtag2"]},{"1397104585":["hashtag1","hashtag2"]},{"1397104398":["hashtag1","hashtag2"]},{"1397104443":["hashtag1","hashtag2"]},{"1397104359":["hashtag1","hashtag2"]},{"1397104493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397104642, 1397104585, 1397104398, 1397104443, 1397104359, 1397104493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39852786064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:10:28.738033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/31/image_30112025_20_31_44_9789.jpg', '/home/pi/Desktop/images/30112025/20/31/image_30112025_20_32_05_9741.jpg', '/home/pi/Desktop/images/30112025/20/36/image_30112025_20_37_04_9702.jpg', '/home/pi/Desktop/images/30112025/20/38/image_30112025_20_38_25_9738.jpg', '/home/pi/Desktop/images/30112025/20/40/image_30112025_20_41_05_10689.jpg', '/home/pi/Desktop/images/30112025/20/41/image_30112025_20_41_15_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/31/image_30112025_20_31_44_9789.jpg
/home/pi/Desktop/images/30112025/20/31/image_30112025_20_32_05_9741.jpg
/home/pi/Desktop/images/30112025/20/36/image_30112025_20_37_04_9702.jpg
/home/pi/Desktop/images/30112025/20/38/image_30112025_20_38_25_9738.jpg
/home/pi/Desktop/images/30112025/20/40/image_30112025_20_41_05_10689.jpg
/home/pi/Desktop/images/30112025/20/41/image_30112025_20_41_15_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397105328","1397105022","1397105103","1397105252","1397105414","1397105176"],"photo_ids_order":["1397105022","1397105103","1397105176","1397105252","1397105328","1397105414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78e97b5d658cb23b32d629b4b7d5883a.jpg","text":"TemporaryFile(/tmp/multipartBody4801705436026714834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_41_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d6dd3fd80db86fc100cc3e01de5f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2305721312808776227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_31_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d457ab3ab77140ca3a714f9595535659.jpg","text":"TemporaryFile(/tmp/multipartBody3508626084321409515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_32_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79a8e512868fb8ce2e9d64cf563175d4.jpg","text":"TemporaryFile(/tmp/multipartBody4815504525842277272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_38_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8d5665b4f1189c122f9d200f716c9c8.jpg","text":"TemporaryFile(/tmp/multipartBody457041568942985849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_41_15_9455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ab62b15faf1b7005525a3263eae1b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1020940187679784128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537089466,"filename":"image_30112025_20_37_04_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397105176","file1":"1397105103","file0":"1397105022","file4":"1397105328","file5":"1397105414","file3":"1397105252"},"map_files_photo_id_array":[{"photo_id":"1397105414","filename":"file5"},{"photo_id":"1397105176","filename":"file2"},{"photo_id":"1397105328","filename":"file4"},{"photo_id":"1397105103","filename":"file1"},{"photo_id":"1397105022","filename":"file0"},{"photo_id":"1397105252","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397105328":["hashtag1","hashtag2"]},{"1397105022":["hashtag1","hashtag2"]},{"1397105103":["hashtag1","hashtag2"]},{"1397105252":["hashtag1","hashtag2"]},{"1397105414":["hashtag1","hashtag2"]},{"1397105176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397105328, 1397105022, 1397105103, 1397105252, 1397105414, 1397105176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16433238983154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:11:11.924921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_47_2692.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_50_2689.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_54_3662.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_56_2788.jpg', '/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_59_2710.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_05_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_47_2692.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_50_2689.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_54_3662.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_56_2788.jpg
/home/pi/Desktop/images/25112025/20/52/image_25112025_20_52_59_2710.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_05_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397105635","1397105800","1397105719","1397105676","1397105759","1397105596"],"photo_ids_order":["1397105596","1397105635","1397105676","1397105719","1397105759","1397105800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de9dc5687523f62b89d1539a9afc5d28.jpg","text":"TemporaryFile(/tmp/multipartBody9120593739034713434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_52_50_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/30/92994cfe3325abeb84ee91810949e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody6046372799901687852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_53_05_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/30/caf050209c3ce43857bb5219b941cf06.jpg","text":"TemporaryFile(/tmp/multipartBody7295521835661202517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_52_56_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/30/c17036ef4b0ed0d1a3dfa0735c0e3fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3250415726601201929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_52_54_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/30/4dd12b5b68522e5538e5b88008ad2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3721074442195820388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_52_59_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/30/e9642481a0e23ff5f9901dc5e95de2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8186968512752566806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537133737,"filename":"image_25112025_20_52_47_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397105676","file1":"1397105635","file0":"1397105596","file4":"1397105759","file5":"1397105800","file3":"1397105719"},"map_files_photo_id_array":[{"photo_id":"1397105800","filename":"file5"},{"photo_id":"1397105676","filename":"file2"},{"photo_id":"1397105759","filename":"file4"},{"photo_id":"1397105635","filename":"file1"},{"photo_id":"1397105596","filename":"file0"},{"photo_id":"1397105719","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397105635":["hashtag1","hashtag2"]},{"1397105800":["hashtag1","hashtag2"]},{"1397105719":["hashtag1","hashtag2"]},{"1397105676":["hashtag1","hashtag2"]},{"1397105759":["hashtag1","hashtag2"]},{"1397105596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397105635, 1397105800, 1397105719, 1397105676, 1397105759, 1397105596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.820971727371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:12:02.675561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/41/image_30112025_20_41_35_10675.jpg', '/home/pi/Desktop/images/30112025/20/43/image_30112025_20_43_35_9683.jpg', '/home/pi/Desktop/images/30112025/20/43/image_30112025_20_43_55_10655.jpg', '/home/pi/Desktop/images/30112025/20/44/image_30112025_20_44_55_10619.jpg', '/home/pi/Desktop/images/30112025/20/46/image_30112025_20_46_45_10686.jpg', '/home/pi/Desktop/images/30112025/20/47/image_30112025_20_47_55_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/41/image_30112025_20_41_35_10675.jpg
/home/pi/Desktop/images/30112025/20/43/image_30112025_20_43_35_9683.jpg
/home/pi/Desktop/images/30112025/20/43/image_30112025_20_43_55_10655.jpg
/home/pi/Desktop/images/30112025/20/44/image_30112025_20_44_55_10619.jpg
/home/pi/Desktop/images/30112025/20/46/image_30112025_20_46_45_10686.jpg
/home/pi/Desktop/images/30112025/20/47/image_30112025_20_47_55_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397106201","1397106278","1397106320","1397106236","1397106142","1397106067"],"photo_ids_order":["1397106067","1397106142","1397106201","1397106236","1397106278","1397106320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a37212ce9aff2fb3648ba8afe714823f.jpg","text":"TemporaryFile(/tmp/multipartBody7299131664108647890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_43_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/896839573f2bc0fd3122ac075ed29ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3022199187476144826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_46_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bfc9f5660da3ae89a9c2b6849f332406.jpg","text":"TemporaryFile(/tmp/multipartBody4440038392727882951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_47_55_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f635febb79474b8151b71dcf5e4820ef.jpg","text":"TemporaryFile(/tmp/multipartBody5669589026448134169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_44_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28a2a1ebe52d6ac1204b26cddf6769b4.jpg","text":"TemporaryFile(/tmp/multipartBody4687973298337015345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_43_35_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a30b27ab35209a5924aecef4c6288f14.jpg","text":"TemporaryFile(/tmp/multipartBody1534369788489077308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537183463,"filename":"image_30112025_20_41_35_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397106201","file1":"1397106142","file0":"1397106067","file4":"1397106278","file5":"1397106320","file3":"1397106236"},"map_files_photo_id_array":[{"photo_id":"1397106320","filename":"file5"},{"photo_id":"1397106201","filename":"file2"},{"photo_id":"1397106278","filename":"file4"},{"photo_id":"1397106142","filename":"file1"},{"photo_id":"1397106067","filename":"file0"},{"photo_id":"1397106236","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397106201":["hashtag1","hashtag2"]},{"1397106278":["hashtag1","hashtag2"]},{"1397106320":["hashtag1","hashtag2"]},{"1397106236":["hashtag1","hashtag2"]},{"1397106142":["hashtag1","hashtag2"]},{"1397106067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397106201, 1397106278, 1397106320, 1397106236, 1397106142, 1397106067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06454396247864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:12:42.241167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/49/image_31102025_13_49_47_2727.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_54_3661.jpg', '/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_59_2641.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_03_3697.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_06_3034.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_08_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_47_2727.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_54_3661.jpg
/home/pi/Desktop/images/31102025/13/49/image_31102025_13_49_59_2641.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_03_3697.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_06_3034.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_08_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":["1397106942","1397106944","1397106497","1397106920","1397106775","1397106616"],"photo_ids_order":["1397106497","1397106616","1397106775","1397106920","1397106942","1397106944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f44cf3231e963602eee2e739bc0b3752.jpg","text":"TemporaryFile(/tmp/multipartBody7576593936839875205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_50_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/30/224bc08b152514bbd02e51de467ea3fb.jpg","text":"TemporaryFile(/tmp/multipartBody2376476212828881988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_50_08_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb53ae0e137a6ba16f2df340a1fffc96.jpg","text":"TemporaryFile(/tmp/multipartBody900757565000446823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_49_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/30/d2efed94ed493b57f3191a4cf387be3f.jpg","text":"TemporaryFile(/tmp/multipartBody8405327583058260365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_50_03_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/30/6def14db5acb610cee91ac335826c233.jpg","text":"TemporaryFile(/tmp/multipartBody7718164145028163534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_49_59_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0a98cfa846e712c94e53632f9873b000.jpg","text":"TemporaryFile(/tmp/multipartBody7193650937520580097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537223112,"filename":"image_31102025_13_49_54_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397106775","file1":"1397106616","file0":"1397106497","file4":"1397106942","file5":"1397106944","file3":"1397106920"},"map_files_photo_id_array":[{"photo_id":"1397106944","filename":"file5"},{"photo_id":"1397106775","filename":"file2"},{"photo_id":"1397106942","filename":"file4"},{"photo_id":"1397106616","filename":"file1"},{"photo_id":"1397106497","filename":"file0"},{"photo_id":"1397106920","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397106942":["hashtag1","hashtag2"]},{"1397106944":["hashtag1","hashtag2"]},{"1397106497":["hashtag1","hashtag2"]},{"1397106920":["hashtag1","hashtag2"]},{"1397106775":["hashtag1","hashtag2"]},{"1397106616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397106942, 1397106944, 1397106497, 1397106920, 1397106775, 1397106616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72454762458801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:13:22.431334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/20/49/image_30112025_20_49_45_9581.jpg', '/home/pi/Desktop/images/30112025/20/52/image_30112025_20_52_25_9747.jpg', '/home/pi/Desktop/images/30112025/20/52/image_30112025_20_53_05_9740.jpg', '/home/pi/Desktop/images/30112025/21/01/image_30112025_21_01_24_10759.jpg', '/home/pi/Desktop/images/30112025/21/01/image_30112025_21_01_44_9742.jpg', '/home/pi/Desktop/images/30112025/21/02/image_30112025_21_02_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/20/49/image_30112025_20_49_45_9581.jpg
/home/pi/Desktop/images/30112025/20/52/image_30112025_20_52_25_9747.jpg
/home/pi/Desktop/images/30112025/20/52/image_30112025_20_53_05_9740.jpg
/home/pi/Desktop/images/30112025/21/01/image_30112025_21_01_24_10759.jpg
/home/pi/Desktop/images/30112025/21/01/image_30112025_21_01_44_9742.jpg
/home/pi/Desktop/images/30112025/21/02/image_30112025_21_02_14_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397107437","1397107393","1397107252","1397107132","1397107027","1397107077"],"photo_ids_order":["1397107027","1397107077","1397107132","1397107252","1397107393","1397107437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dc779ed808d36238375f12b98415171b.jpg","text":"TemporaryFile(/tmp/multipartBody2007760718548692175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_21_02_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a562578d016c1a1eb2e331d1360b92fd.jpg","text":"TemporaryFile(/tmp/multipartBody3426140338627308824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_21_01_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/131bdb88b948a3cb9cc9af9fea40e05b.jpg","text":"TemporaryFile(/tmp/multipartBody1711754725777967656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_21_01_24_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d45256103533534f8b702dea432f043f.jpg","text":"TemporaryFile(/tmp/multipartBody5153337019520607825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_20_53_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/78f6f2d4b964044b6125843a7abf3785.jpg","text":"TemporaryFile(/tmp/multipartBody7222908283820626814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_20_49_45_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f7fca78cf794bc8204d53c15b5638df4.jpg","text":"TemporaryFile(/tmp/multipartBody2806155520571538606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537263247,"filename":"image_30112025_20_52_25_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397107132","file1":"1397107077","file0":"1397107027","file4":"1397107393","file5":"1397107437","file3":"1397107252"},"map_files_photo_id_array":[{"photo_id":"1397107437","filename":"file5"},{"photo_id":"1397107132","filename":"file2"},{"photo_id":"1397107393","filename":"file4"},{"photo_id":"1397107077","filename":"file1"},{"photo_id":"1397107027","filename":"file0"},{"photo_id":"1397107252","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397107437":["hashtag1","hashtag2"]},{"1397107393":["hashtag1","hashtag2"]},{"1397107252":["hashtag1","hashtag2"]},{"1397107132":["hashtag1","hashtag2"]},{"1397107027":["hashtag1","hashtag2"]},{"1397107077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397107437, 1397107393, 1397107252, 1397107132, 1397107027, 1397107077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79340696334839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:14:03.275112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/02/image_30112025_21_02_34_9678.jpg', '/home/pi/Desktop/images/30112025/21/03/image_30112025_21_03_14_10852.jpg', '/home/pi/Desktop/images/30112025/21/03/image_30112025_21_03_34_9638.jpg', '/home/pi/Desktop/images/30112025/21/07/image_30112025_21_07_14_9927.jpg', '/home/pi/Desktop/images/30112025/21/07/image_30112025_21_07_24_9765.jpg', '/home/pi/Desktop/images/30112025/21/07/image_30112025_21_08_04_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/02/image_30112025_21_02_34_9678.jpg
/home/pi/Desktop/images/30112025/21/03/image_30112025_21_03_14_10852.jpg
/home/pi/Desktop/images/30112025/21/03/image_30112025_21_03_34_9638.jpg
/home/pi/Desktop/images/30112025/21/07/image_30112025_21_07_14_9927.jpg
/home/pi/Desktop/images/30112025/21/07/image_30112025_21_07_24_9765.jpg
/home/pi/Desktop/images/30112025/21/07/image_30112025_21_08_04_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397107733","1397107870","1397107817","1397107780","1397107948","1397107998"],"photo_ids_order":["1397107733","1397107780","1397107817","1397107870","1397107948","1397107998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14605a7fa9d642307d8bf0ceb8a3134f.jpg","text":"TemporaryFile(/tmp/multipartBody9127104632007983290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_02_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/538b33038d4c9af09ac33e2f6353151c.jpg","text":"TemporaryFile(/tmp/multipartBody5679642443023303376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_07_14_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60c40f7ded4f739291c78884ac06c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8261125015289232667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_03_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c684d15d400c483bd1d320ce9a7aafc6.jpg","text":"TemporaryFile(/tmp/multipartBody2612821286689681041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_03_14_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7c8a3b19555c94f530ae1fd44fd7d862.jpg","text":"TemporaryFile(/tmp/multipartBody7041234626759982341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_07_24_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cee6806e6d821cb00fab9bfb93a1159c.jpg","text":"TemporaryFile(/tmp/multipartBody7369203581411076195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537304071,"filename":"image_30112025_21_08_04_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397107817","file1":"1397107780","file0":"1397107733","file4":"1397107948","file5":"1397107998","file3":"1397107870"},"map_files_photo_id_array":[{"photo_id":"1397107998","filename":"file5"},{"photo_id":"1397107817","filename":"file2"},{"photo_id":"1397107948","filename":"file4"},{"photo_id":"1397107780","filename":"file1"},{"photo_id":"1397107733","filename":"file0"},{"photo_id":"1397107870","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397107733":["hashtag1","hashtag2"]},{"1397107870":["hashtag1","hashtag2"]},{"1397107817":["hashtag1","hashtag2"]},{"1397107780":["hashtag1","hashtag2"]},{"1397107948":["hashtag1","hashtag2"]},{"1397107998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397107733, 1397107870, 1397107817, 1397107780, 1397107948, 1397107998)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.643537521362305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:15:03.487129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/08/image_30112025_21_08_34_9678.jpg', '/home/pi/Desktop/images/30112025/21/08/image_30112025_21_08_53_9680.jpg', '/home/pi/Desktop/images/30112025/21/09/image_30112025_21_09_24_9617.jpg', '/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_14_19960.jpg', '/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_16_1813.jpg', '/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/08/image_30112025_21_08_34_9678.jpg
/home/pi/Desktop/images/30112025/21/08/image_30112025_21_08_53_9680.jpg
/home/pi/Desktop/images/30112025/21/09/image_30112025_21_09_24_9617.jpg
/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_14_19960.jpg
/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_16_1813.jpg
/home/pi/Desktop/images/30112025/21/10/image_30112025_21_10_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397108348","1397108386","1397108461","1397108503","1397108425","1397108544"],"photo_ids_order":["1397108348","1397108386","1397108425","1397108461","1397108503","1397108544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/309a5a39123641c1cced31ef05f937e7.jpg","text":"TemporaryFile(/tmp/multipartBody3508284338405703595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_08_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2b9ddd5d412628d9aeff2638f335cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3292179614798894263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_08_53_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05ee36da4f1221d5427488a7dd06df7e.jpg","text":"TemporaryFile(/tmp/multipartBody5689930997827880934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_10_14_19960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ab7b22a69cb1d6d1b6b938a619d4a49.jpg","text":"TemporaryFile(/tmp/multipartBody3704644012555835465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_10_16_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eee32d8402c94aaae71645df27bc210c.jpg","text":"TemporaryFile(/tmp/multipartBody5806815686471551481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_09_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81a8600169fcbedc6577947bc1fd62a1.jpg","text":"TemporaryFile(/tmp/multipartBody3493000699482457588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537364303,"filename":"image_30112025_21_10_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397108425","file1":"1397108386","file0":"1397108348","file4":"1397108503","file5":"1397108544","file3":"1397108461"},"map_files_photo_id_array":[{"photo_id":"1397108544","filename":"file5"},{"photo_id":"1397108425","filename":"file2"},{"photo_id":"1397108503","filename":"file4"},{"photo_id":"1397108386","filename":"file1"},{"photo_id":"1397108348","filename":"file0"},{"photo_id":"1397108461","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397108348":["hashtag1","hashtag2"]},{"1397108386":["hashtag1","hashtag2"]},{"1397108461":["hashtag1","hashtag2"]},{"1397108503":["hashtag1","hashtag2"]},{"1397108425":["hashtag1","hashtag2"]},{"1397108544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397108348, 1397108386, 1397108461, 1397108503, 1397108425, 1397108544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10944366455078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:15:42.913797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/50/image_31102025_13_50_15_3642.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_17_2655.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_20_2587.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_23_2997.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_26_2878.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_30_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_15_3642.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_17_2655.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_20_2587.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_23_2997.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_26_2878.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_30_3687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.749884843826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:16:02.523188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/13/image_30112025_21_13_23_9614.jpg', '/home/pi/Desktop/images/30112025/21/13/image_30112025_21_13_34_10390.jpg', '/home/pi/Desktop/images/30112025/21/15/image_30112025_21_15_24_9871.jpg', '/home/pi/Desktop/images/30112025/21/15/image_30112025_21_15_34_9653.jpg', '/home/pi/Desktop/images/30112025/21/15/image_30112025_21_16_04_9903.jpg', '/home/pi/Desktop/images/30112025/21/16/image_30112025_21_16_34_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/13/image_30112025_21_13_23_9614.jpg
/home/pi/Desktop/images/30112025/21/13/image_30112025_21_13_34_10390.jpg
/home/pi/Desktop/images/30112025/21/15/image_30112025_21_15_24_9871.jpg
/home/pi/Desktop/images/30112025/21/15/image_30112025_21_15_34_9653.jpg
/home/pi/Desktop/images/30112025/21/15/image_30112025_21_16_04_9903.jpg
/home/pi/Desktop/images/30112025/21/16/image_30112025_21_16_34_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397108822","1397108825","1397108827","1397108824","1397108823","1397108829"],"photo_ids_order":["1397108822","1397108823","1397108824","1397108825","1397108827","1397108829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d578838a05cac22fe6bbc7a3ceee6764.jpg","text":"TemporaryFile(/tmp/multipartBody830342356737339918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_13_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f09e6243e40623c4ae9d91ee75021b98.jpg","text":"TemporaryFile(/tmp/multipartBody3214591196549020216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_15_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72b33fb22a8dc55a488876c81108bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody4501258675490990750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_16_04_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b48f573efd25ed0410e920846abdee57.jpg","text":"TemporaryFile(/tmp/multipartBody3888691656178467278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_15_24_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9c985a5f679e80fd22bc1ec3cc0fa2b.jpg","text":"TemporaryFile(/tmp/multipartBody8942469248732122010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_13_34_10390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/637672f58b4681072eb199549e0e6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1480979746958483515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537423345,"filename":"image_30112025_21_16_34_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397108824","file1":"1397108823","file0":"1397108822","file4":"1397108827","file5":"1397108829","file3":"1397108825"},"map_files_photo_id_array":[{"photo_id":"1397108829","filename":"file5"},{"photo_id":"1397108824","filename":"file2"},{"photo_id":"1397108827","filename":"file4"},{"photo_id":"1397108823","filename":"file1"},{"photo_id":"1397108822","filename":"file0"},{"photo_id":"1397108825","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397108822":["hashtag1","hashtag2"]},{"1397108825":["hashtag1","hashtag2"]},{"1397108827":["hashtag1","hashtag2"]},{"1397108824":["hashtag1","hashtag2"]},{"1397108823":["hashtag1","hashtag2"]},{"1397108829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397108822, 1397108825, 1397108827, 1397108824, 1397108823, 1397108829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01572918891907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:16:42.236809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/50/image_31102025_13_50_15_3642.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_17_2655.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_20_2587.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_23_2997.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_26_2878.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_30_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_15_3642.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_17_2655.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_20_2587.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_23_2997.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_26_2878.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_30_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":["1397108834","1397108837","1397108833","1397108836","1397108832","1397108835"],"photo_ids_order":["1397108832","1397108833","1397108834","1397108835","1397108836","1397108837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a3761463441861d0c8f3decb3bf0e740.jpg","text":"TemporaryFile(/tmp/multipartBody3744837467158917115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_20_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a386ad3acea673b211b20ab57c9be50e.jpg","text":"TemporaryFile(/tmp/multipartBody6591635452810263666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_30_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b6bbd2b4b8fb255f9bcd1fb4d0870e2.jpg","text":"TemporaryFile(/tmp/multipartBody3423907954744017418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_17_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/30/ee4ab0ab25eb436854666969b63a3819.jpg","text":"TemporaryFile(/tmp/multipartBody2455665328812966733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_26_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/30/e892dfd9a8f8974a0bb332c0a6fe6808.jpg","text":"TemporaryFile(/tmp/multipartBody2589069526364489667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_15_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/30/b44afbe919711a10158a39376411b320.jpg","text":"TemporaryFile(/tmp/multipartBody54092454811986089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537463021,"filename":"image_31102025_13_50_23_2997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397108834","file1":"1397108833","file0":"1397108832","file4":"1397108836","file5":"1397108837","file3":"1397108835"},"map_files_photo_id_array":[{"photo_id":"1397108837","filename":"file5"},{"photo_id":"1397108834","filename":"file2"},{"photo_id":"1397108836","filename":"file4"},{"photo_id":"1397108833","filename":"file1"},{"photo_id":"1397108832","filename":"file0"},{"photo_id":"1397108835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397108834":["hashtag1","hashtag2"]},{"1397108837":["hashtag1","hashtag2"]},{"1397108833":["hashtag1","hashtag2"]},{"1397108836":["hashtag1","hashtag2"]},{"1397108832":["hashtag1","hashtag2"]},{"1397108835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397108834, 1397108837, 1397108833, 1397108836, 1397108832, 1397108835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2444634437561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:17:23.134283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/17/image_30112025_21_17_24_10657.jpg', '/home/pi/Desktop/images/30112025/21/17/image_30112025_21_17_54_10696.jpg', '/home/pi/Desktop/images/30112025/21/17/image_30112025_21_18_04_9811.jpg', '/home/pi/Desktop/images/30112025/21/18/image_30112025_21_18_14_9652.jpg', '/home/pi/Desktop/images/30112025/21/18/image_30112025_21_18_34_10632.jpg', '/home/pi/Desktop/images/30112025/21/19/image_30112025_21_19_14_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/17/image_30112025_21_17_24_10657.jpg
/home/pi/Desktop/images/30112025/21/17/image_30112025_21_17_54_10696.jpg
/home/pi/Desktop/images/30112025/21/17/image_30112025_21_18_04_9811.jpg
/home/pi/Desktop/images/30112025/21/18/image_30112025_21_18_14_9652.jpg
/home/pi/Desktop/images/30112025/21/18/image_30112025_21_18_34_10632.jpg
/home/pi/Desktop/images/30112025/21/19/image_30112025_21_19_14_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397109772","1397109666","1397109852","1397109471","1397109281","1397109098"],"photo_ids_order":["1397109098","1397109281","1397109471","1397109666","1397109772","1397109852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eed1a699ee036ad8e0139d0f2168547d.jpg","text":"TemporaryFile(/tmp/multipartBody2968039247536941449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_18_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc11849a6892c328495593320f5d4aaa.jpg","text":"TemporaryFile(/tmp/multipartBody4729425846048454402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_18_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/620182ee25338e6676251d6b07aa3376.jpg","text":"TemporaryFile(/tmp/multipartBody7105046210731947368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_19_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f9d4c8db135b1454564d88e979a4593.jpg","text":"TemporaryFile(/tmp/multipartBody902527531149119435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_18_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/487bdb142db5c2754bcfcaaa72a1dc05.jpg","text":"TemporaryFile(/tmp/multipartBody8192874729378523909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_17_54_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6384177815813bb676b41e9fea8c0bde.jpg","text":"TemporaryFile(/tmp/multipartBody5029716202648789032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537506276,"filename":"image_30112025_21_17_24_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397109471","file1":"1397109281","file0":"1397109098","file4":"1397109772","file5":"1397109852","file3":"1397109666"},"map_files_photo_id_array":[{"photo_id":"1397109852","filename":"file5"},{"photo_id":"1397109471","filename":"file2"},{"photo_id":"1397109772","filename":"file4"},{"photo_id":"1397109281","filename":"file1"},{"photo_id":"1397109098","filename":"file0"},{"photo_id":"1397109666","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397109772":["hashtag1","hashtag2"]},{"1397109666":["hashtag1","hashtag2"]},{"1397109852":["hashtag1","hashtag2"]},{"1397109471":["hashtag1","hashtag2"]},{"1397109281":["hashtag1","hashtag2"]},{"1397109098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397109772, 1397109666, 1397109852, 1397109471, 1397109281, 1397109098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.321160078048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:18:12.535591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_08_2736.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_12_3689.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_14_2687.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_17_2601.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_20_2806.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_23_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_08_2736.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_12_3689.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_14_2687.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_17_2601.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_20_2806.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_23_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397110960","1397110612","1397110828","1397110380","1397110284","1397110209"],"photo_ids_order":["1397110209","1397110284","1397110380","1397110612","1397110828","1397110960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/195ad061805867ccd336e534549403fa.jpg","text":"TemporaryFile(/tmp/multipartBody28515259818875169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_23_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/30/c3b185d0b5ef543ed0171b90bc3ee722.jpg","text":"TemporaryFile(/tmp/multipartBody1445206436465904410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_17_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/30/8500b392a6d2fe72fcf5d088f607c468.jpg","text":"TemporaryFile(/tmp/multipartBody441470905812508107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_20_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/30/6b53c90e79287ea40c5264bc0f16caab.jpg","text":"TemporaryFile(/tmp/multipartBody6908583705751615008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_14_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/30/6d7b6f227d32c9bedfa50a7b45cd5792.jpg","text":"TemporaryFile(/tmp/multipartBody8138665961569506952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_12_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/30/25436fd05d6f4bfa2f13b5608cf3d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6428666110204178923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537554168,"filename":"image_25112025_20_53_08_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397110380","file1":"1397110284","file0":"1397110209","file4":"1397110828","file5":"1397110960","file3":"1397110612"},"map_files_photo_id_array":[{"photo_id":"1397110960","filename":"file5"},{"photo_id":"1397110380","filename":"file2"},{"photo_id":"1397110828","filename":"file4"},{"photo_id":"1397110284","filename":"file1"},{"photo_id":"1397110209","filename":"file0"},{"photo_id":"1397110612","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397110960":["hashtag1","hashtag2"]},{"1397110612":["hashtag1","hashtag2"]},{"1397110828":["hashtag1","hashtag2"]},{"1397110380":["hashtag1","hashtag2"]},{"1397110284":["hashtag1","hashtag2"]},{"1397110209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397110960, 1397110612, 1397110828, 1397110380, 1397110284, 1397110209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.260284423828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:19:03.800604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/19/image_30112025_21_19_23_9584.jpg', '/home/pi/Desktop/images/30112025/21/19/image_30112025_21_20_04_9747.jpg', '/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_14_9933.jpg', '/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_24_10804.jpg', '/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_34_9651.jpg', '/home/pi/Desktop/images/30112025/21/21/image_30112025_21_21_24_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/19/image_30112025_21_19_23_9584.jpg
/home/pi/Desktop/images/30112025/21/19/image_30112025_21_20_04_9747.jpg
/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_14_9933.jpg
/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_24_10804.jpg
/home/pi/Desktop/images/30112025/21/20/image_30112025_21_20_34_9651.jpg
/home/pi/Desktop/images/30112025/21/21/image_30112025_21_21_24_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397111915","1397112139","1397111788","1397112022","1397112249","1397112365"],"photo_ids_order":["1397111788","1397111915","1397112022","1397112139","1397112249","1397112365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b18205ec67761111a091df3666cdc9cf.jpg","text":"TemporaryFile(/tmp/multipartBody6513769998672471530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_20_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fd3bf017d0ff94c81fe4d158bdd2cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1451581138964735502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_20_24_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a085005124a9e669dc5889d8169334d6.jpg","text":"TemporaryFile(/tmp/multipartBody6979229874334380663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_19_23_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86b6d0332069c75817e64e70e38b32bf.jpg","text":"TemporaryFile(/tmp/multipartBody6499783189052415229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_20_14_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2bf305ee20fb19d3854c5822532e99ef.jpg","text":"TemporaryFile(/tmp/multipartBody7917294136255994422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_20_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09b8dcf84a6a05b10b4c362a47883c47.jpg","text":"TemporaryFile(/tmp/multipartBody5685750539428592962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537604719,"filename":"image_30112025_21_21_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397112022","file1":"1397111915","file0":"1397111788","file4":"1397112249","file5":"1397112365","file3":"1397112139"},"map_files_photo_id_array":[{"photo_id":"1397112365","filename":"file5"},{"photo_id":"1397112022","filename":"file2"},{"photo_id":"1397112249","filename":"file4"},{"photo_id":"1397111915","filename":"file1"},{"photo_id":"1397111788","filename":"file0"},{"photo_id":"1397112139","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397111915":["hashtag1","hashtag2"]},{"1397112139":["hashtag1","hashtag2"]},{"1397111788":["hashtag1","hashtag2"]},{"1397112022":["hashtag1","hashtag2"]},{"1397112249":["hashtag1","hashtag2"]},{"1397112365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397111915, 1397112139, 1397111788, 1397112022, 1397112249, 1397112365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.490397453308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:19:42.833115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/50/image_31102025_13_50_32_2792.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_35_2816.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_38_2670.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_42_3716.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_44_2674.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_47_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_32_2792.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_35_2816.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_38_2670.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_42_3716.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_44_2674.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_47_2554.jpg
 val : 1 : upload photos 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":["1397113485","1397113176","1397112712","1397113317","1397112819","1397113034"],"photo_ids_order":["1397112712","1397112819","1397113034","1397113176","1397113317","1397113485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d5ff8cc0ff349da10232daed54443dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2704342481054390816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_47_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/30/cf43fd3bbbff246b98ede3e8d51c7fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5112979342400590410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_42_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/30/592d5f5681148888eebe4103f5aa4823.jpg","text":"TemporaryFile(/tmp/multipartBody3206104711242948283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_32_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/30/f4ceade162be6300f5b638434c3dd8bb.jpg","text":"TemporaryFile(/tmp/multipartBody3034545812747435853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_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/30/67d7c35302d530d025b905a20523b90a.jpg","text":"TemporaryFile(/tmp/multipartBody7079780437819931902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_35_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/30/ddfaee06889d2ed43994dad8a7d33fcf.jpg","text":"TemporaryFile(/tmp/multipartBody9113053316907135163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537643708,"filename":"image_31102025_13_50_38_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397113034","file1":"1397112819","file0":"1397112712","file4":"1397113317","file5":"1397113485","file3":"1397113176"},"map_files_photo_id_array":[{"photo_id":"1397113485","filename":"file5"},{"photo_id":"1397113034","filename":"file2"},{"photo_id":"1397113317","filename":"file4"},{"photo_id":"1397112819","filename":"file1"},{"photo_id":"1397112712","filename":"file0"},{"photo_id":"1397113176","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397113485":["hashtag1","hashtag2"]},{"1397113176":["hashtag1","hashtag2"]},{"1397112712":["hashtag1","hashtag2"]},{"1397113317":["hashtag1","hashtag2"]},{"1397112819":["hashtag1","hashtag2"]},{"1397113034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397113485, 1397113176, 1397112712, 1397113317, 1397112819, 1397113034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.40755534172058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:21:02.758068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/21/image_30112025_21_21_34_10641.jpg', '/home/pi/Desktop/images/30112025/21/21/image_30112025_21_22_04_9720.jpg', '/home/pi/Desktop/images/30112025/21/22/image_30112025_21_22_44_9810.jpg', '/home/pi/Desktop/images/30112025/21/22/image_30112025_21_22_54_10740.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_14_10235.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_24_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/21/image_30112025_21_21_34_10641.jpg
/home/pi/Desktop/images/30112025/21/21/image_30112025_21_22_04_9720.jpg
/home/pi/Desktop/images/30112025/21/22/image_30112025_21_22_44_9810.jpg
/home/pi/Desktop/images/30112025/21/22/image_30112025_21_22_54_10740.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_14_10235.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_24_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397114334","1397114520","1397114244","1397114412","1397114078","1397113920"],"photo_ids_order":["1397113920","1397114078","1397114244","1397114334","1397114412","1397114520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c92a6266ce8e25b7b8acd52dc93f141e.jpg","text":"TemporaryFile(/tmp/multipartBody193055418837202770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_22_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/022ce86de4f16d206902e379a77b4d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5268116357337139666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_23_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cac44c83afeb08b2cacdd58dfa9a27dc.jpg","text":"TemporaryFile(/tmp/multipartBody7699539471960690753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_22_44_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f494207c0fba6fe5298e5ae7fb479d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7022306785039123173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_23_14_10235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ada4bdffe6e7d73626ac131b366a06b3.jpg","text":"TemporaryFile(/tmp/multipartBody6413508398095555718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_22_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adca9830ad14fb2af689d3493e4258a9.jpg","text":"TemporaryFile(/tmp/multipartBody7202768729098609299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537723545,"filename":"image_30112025_21_21_34_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397114244","file1":"1397114078","file0":"1397113920","file4":"1397114412","file5":"1397114520","file3":"1397114334"},"map_files_photo_id_array":[{"photo_id":"1397114520","filename":"file5"},{"photo_id":"1397114244","filename":"file2"},{"photo_id":"1397114412","filename":"file4"},{"photo_id":"1397114078","filename":"file1"},{"photo_id":"1397113920","filename":"file0"},{"photo_id":"1397114334","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397114334":["hashtag1","hashtag2"]},{"1397114520":["hashtag1","hashtag2"]},{"1397114244":["hashtag1","hashtag2"]},{"1397114412":["hashtag1","hashtag2"]},{"1397114078":["hashtag1","hashtag2"]},{"1397113920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397114334, 1397114520, 1397114244, 1397114412, 1397114078, 1397113920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.900885820388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:22:02.768109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_34_9853.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_44_10670.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_24_04_9733.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_23_9699.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_34_10667.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_54_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_34_9853.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_44_10670.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_24_04_9733.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_23_9699.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_34_10667.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_54_9962.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6387503147125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:22:12.325715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_27_3071.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_29_2819.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_32_2764.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_38_3581.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_44_2636.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_47_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_27_3071.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_29_2819.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_32_2764.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_38_3581.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_44_2636.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_47_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397115156","1397115974","1397115281","1397115425","1397115666","1397115555"],"photo_ids_order":["1397115156","1397115281","1397115425","1397115555","1397115666","1397115974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/daaaac21236886cbed62614eb6559248.jpg","text":"TemporaryFile(/tmp/multipartBody8927957901149198492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_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/30/7e042caf76597c143505b70e94f627fe.jpg","text":"TemporaryFile(/tmp/multipartBody1109332750896867204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_47_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/30/71b9c12b5f835ed9210193032ff24b11.jpg","text":"TemporaryFile(/tmp/multipartBody1634521053486620987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_29_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cfc9e3dcfc1f445d67e607f1e3a4bbcf.jpg","text":"TemporaryFile(/tmp/multipartBody5296570383594978892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_32_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/30/64a62c59a62e7914fd9a0a1170ec5df9.jpg","text":"TemporaryFile(/tmp/multipartBody7234937138144284554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_44_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/30/5232d7f602c73bb926f2d13dbfe352a2.jpg","text":"TemporaryFile(/tmp/multipartBody3100796006145282087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537793957,"filename":"image_25112025_20_53_38_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397115425","file1":"1397115281","file0":"1397115156","file4":"1397115666","file5":"1397115974","file3":"1397115555"},"map_files_photo_id_array":[{"photo_id":"1397115974","filename":"file5"},{"photo_id":"1397115425","filename":"file2"},{"photo_id":"1397115666","filename":"file4"},{"photo_id":"1397115281","filename":"file1"},{"photo_id":"1397115156","filename":"file0"},{"photo_id":"1397115555","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397115156":["hashtag1","hashtag2"]},{"1397115974":["hashtag1","hashtag2"]},{"1397115281":["hashtag1","hashtag2"]},{"1397115425":["hashtag1","hashtag2"]},{"1397115666":["hashtag1","hashtag2"]},{"1397115555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397115156, 1397115974, 1397115281, 1397115425, 1397115666, 1397115555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.34429621696472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:23:03.327517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_34_9853.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_44_10670.jpg', '/home/pi/Desktop/images/30112025/21/23/image_30112025_21_24_04_9733.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_23_9699.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_34_10667.jpg', '/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_54_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_34_9853.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_23_44_10670.jpg
/home/pi/Desktop/images/30112025/21/23/image_30112025_21_24_04_9733.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_23_9699.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_34_10667.jpg
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_24_54_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397116484","1397116352","1397116276","1397116185","1397116209","1397116184"],"photo_ids_order":["1397116184","1397116185","1397116209","1397116276","1397116352","1397116484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f1248595f119ad8fb6dc8a0b65d039a8.jpg","text":"TemporaryFile(/tmp/multipartBody7125677016970697886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_24_54_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6651a9e48fab2ddc2c288e0dc53bf7b3.jpg","text":"TemporaryFile(/tmp/multipartBody1763962219418757468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_24_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45cff68a0c9fbdf64667f55171481131.jpg","text":"TemporaryFile(/tmp/multipartBody7489687697142628129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_24_23_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3915746e0e1335f1fb02e89beb2c277a.jpg","text":"TemporaryFile(/tmp/multipartBody6345337435250292400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_23_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2c4686e89c05afb4f961a1531a7819d.jpg","text":"TemporaryFile(/tmp/multipartBody8951775736213776729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_24_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/536e84cffb4e3446cc08ca591f640c71.jpg","text":"TemporaryFile(/tmp/multipartBody1794340794866322933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537844124,"filename":"image_30112025_21_23_34_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397116209","file1":"1397116185","file0":"1397116184","file4":"1397116352","file5":"1397116484","file3":"1397116276"},"map_files_photo_id_array":[{"photo_id":"1397116484","filename":"file5"},{"photo_id":"1397116209","filename":"file2"},{"photo_id":"1397116352","filename":"file4"},{"photo_id":"1397116185","filename":"file1"},{"photo_id":"1397116184","filename":"file0"},{"photo_id":"1397116276","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397116484":["hashtag1","hashtag2"]},{"1397116352":["hashtag1","hashtag2"]},{"1397116276":["hashtag1","hashtag2"]},{"1397116185":["hashtag1","hashtag2"]},{"1397116209":["hashtag1","hashtag2"]},{"1397116184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397116484, 1397116352, 1397116276, 1397116185, 1397116209, 1397116184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39793610572815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:23:42.606551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/50/image_31102025_13_50_51_3784.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_56_2583.jpg', '/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_59_2720.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_05_2668.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_08_2630.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_11_2935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_51_3784.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_56_2583.jpg
/home/pi/Desktop/images/31102025/13/50/image_31102025_13_50_59_2720.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_05_2668.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_08_2630.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_11_2935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397117207","1397116994","1397117062","1397117134","1397117169","1397117099"],"photo_ids_order":["1397116994","1397117062","1397117099","1397117134","1397117169","1397117207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06ed545917b518b6f53a9a46760f161b.jpg","text":"TemporaryFile(/tmp/multipartBody2143070987667801828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_51_11_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2aad99fd1b32187c09e1f8989564aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7518787632516577009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_50_51_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/30/80fd62f61efd7a08aec0b8805b275d78.jpg","text":"TemporaryFile(/tmp/multipartBody4814288703341000222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_50_56_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/30/13508f3e0eb9fe13c4081d6bd88c92c7.jpg","text":"TemporaryFile(/tmp/multipartBody7344074305029889135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_51_05_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/efb82ab49fb2aaa1cc48b3d999a1220a.jpg","text":"TemporaryFile(/tmp/multipartBody8942150884663653827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_51_08_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/30/6737cce14b02a9e6859755f1b86e1786.jpg","text":"TemporaryFile(/tmp/multipartBody6013106301933373043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537883463,"filename":"image_31102025_13_50_59_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397117099","file1":"1397117062","file0":"1397116994","file4":"1397117169","file5":"1397117207","file3":"1397117134"},"map_files_photo_id_array":[{"photo_id":"1397117207","filename":"file5"},{"photo_id":"1397117099","filename":"file2"},{"photo_id":"1397117169","filename":"file4"},{"photo_id":"1397117062","filename":"file1"},{"photo_id":"1397116994","filename":"file0"},{"photo_id":"1397117134","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397117207":["hashtag1","hashtag2"]},{"1397116994":["hashtag1","hashtag2"]},{"1397117062":["hashtag1","hashtag2"]},{"1397117134":["hashtag1","hashtag2"]},{"1397117169":["hashtag1","hashtag2"]},{"1397117099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397117207, 1397116994, 1397117062, 1397117134, 1397117169, 1397117099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.633058309555054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:24:22.828934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/24/image_30112025_21_25_04_10589.jpg', '/home/pi/Desktop/images/30112025/21/25/image_30112025_21_26_04_9802.jpg', '/home/pi/Desktop/images/30112025/21/26/image_30112025_21_27_04_9704.jpg', '/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_24_10617.jpg', '/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_34_9767.jpg', '/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_44_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/24/image_30112025_21_25_04_10589.jpg
/home/pi/Desktop/images/30112025/21/25/image_30112025_21_26_04_9802.jpg
/home/pi/Desktop/images/30112025/21/26/image_30112025_21_27_04_9704.jpg
/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_24_10617.jpg
/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_34_9767.jpg
/home/pi/Desktop/images/30112025/21/27/image_30112025_21_27_44_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397117371","1397117608","1397117412","1397117649","1397117505","1397117468"],"photo_ids_order":["1397117371","1397117412","1397117468","1397117505","1397117608","1397117649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58eda340da64bcb61263189184b75e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7181523062217903145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_25_04_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0591882d8a66a863d1cef3a338110630.jpg","text":"TemporaryFile(/tmp/multipartBody6422993550781530916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_27_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e4ee1c2e2c574403043566d092ff50e.jpg","text":"TemporaryFile(/tmp/multipartBody1632336510133571010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_26_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05c01da1dba39ae996524e66c662237b.jpg","text":"TemporaryFile(/tmp/multipartBody5858537091574278040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_27_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/59cc4ac942a8b7f89c80f06d286dbdd7.jpg","text":"TemporaryFile(/tmp/multipartBody2676942722836880566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_27_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5609f0b86c507de9d1892cf8d4734e10.jpg","text":"TemporaryFile(/tmp/multipartBody2892379518268009828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537923594,"filename":"image_30112025_21_27_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397117468","file1":"1397117412","file0":"1397117371","file4":"1397117608","file5":"1397117649","file3":"1397117505"},"map_files_photo_id_array":[{"photo_id":"1397117649","filename":"file5"},{"photo_id":"1397117468","filename":"file2"},{"photo_id":"1397117608","filename":"file4"},{"photo_id":"1397117412","filename":"file1"},{"photo_id":"1397117371","filename":"file0"},{"photo_id":"1397117505","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397117371":["hashtag1","hashtag2"]},{"1397117608":["hashtag1","hashtag2"]},{"1397117412":["hashtag1","hashtag2"]},{"1397117649":["hashtag1","hashtag2"]},{"1397117505":["hashtag1","hashtag2"]},{"1397117468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397117371, 1397117608, 1397117412, 1397117649, 1397117505, 1397117468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52851939201355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:25:02.593998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_14_9628.jpg', '/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_24_9777.jpg', '/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_34_10512.jpg', '/home/pi/Desktop/images/30112025/21/29/image_30112025_21_29_24_10779.jpg', '/home/pi/Desktop/images/30112025/21/29/image_30112025_21_29_44_9832.jpg', '/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_26_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_14_9628.jpg
/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_24_9777.jpg
/home/pi/Desktop/images/30112025/21/28/image_30112025_21_28_34_10512.jpg
/home/pi/Desktop/images/30112025/21/29/image_30112025_21_29_24_10779.jpg
/home/pi/Desktop/images/30112025/21/29/image_30112025_21_29_44_9832.jpg
/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_26_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397118103","1397118028","1397118258","1397117895","1397117955","1397118179"],"photo_ids_order":["1397117895","1397117955","1397118028","1397118103","1397118179","1397118258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/051833befc28bc9c2fdae42693e405c9.jpg","text":"TemporaryFile(/tmp/multipartBody5340608644234410726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_29_24_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a393b7ab700e98168a72ec6372c18c08.jpg","text":"TemporaryFile(/tmp/multipartBody4507340671744712212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_28_34_10512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11330998040cddd6bceefa9944c82e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8314881904448731175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_30_26_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b34735727db719c8b22121375af64d1.jpg","text":"TemporaryFile(/tmp/multipartBody2166352202181063074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_28_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bdde57050b9ad3638629b042bb00b69d.jpg","text":"TemporaryFile(/tmp/multipartBody5092010324588025654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_28_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edbd503543168671cb76a91829b0b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody786405456932381328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764537963379,"filename":"image_30112025_21_29_44_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397118028","file1":"1397117955","file0":"1397117895","file4":"1397118179","file5":"1397118258","file3":"1397118103"},"map_files_photo_id_array":[{"photo_id":"1397118258","filename":"file5"},{"photo_id":"1397118028","filename":"file2"},{"photo_id":"1397118179","filename":"file4"},{"photo_id":"1397117955","filename":"file1"},{"photo_id":"1397117895","filename":"file0"},{"photo_id":"1397118103","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397118103":["hashtag1","hashtag2"]},{"1397118028":["hashtag1","hashtag2"]},{"1397118258":["hashtag1","hashtag2"]},{"1397117895":["hashtag1","hashtag2"]},{"1397117955":["hashtag1","hashtag2"]},{"1397118179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397118103, 1397118028, 1397118258, 1397117895, 1397117955, 1397118179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63762974739075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:25:42.020350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/51/image_31102025_13_51_14_3696.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_17_2788.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_20_2806.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_23_2870.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_26_3590.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_32_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/13/51/image_31102025_13_51_14_3696.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_17_2788.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_20_2806.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_23_2870.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_26_3590.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_32_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397118775","1397118520","1397118918","1397118659","1397118812","1397118589"],"photo_ids_order":["1397118520","1397118589","1397118659","1397118775","1397118812","1397118918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37f15345ac2a98f7782b9f77edf97a30.jpg","text":"TemporaryFile(/tmp/multipartBody1122061597170226017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_23_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/30/2a93946a98b45035d780a8aef55b3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3405687274010654056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_14_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/30/c950f783707ed2c6c5ad53298e584108.jpg","text":"TemporaryFile(/tmp/multipartBody1669043641479189282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_32_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/30/e94ef2edfc7585ae20483cd5db12513c.jpg","text":"TemporaryFile(/tmp/multipartBody6270092182573340882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_20_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/30/3fc2863631a81520f80defadd3a585a0.jpg","text":"TemporaryFile(/tmp/multipartBody1475050498972260940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_26_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f43b59106a504c933df0f0805c774cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6418283370209611195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538002861,"filename":"image_31102025_13_51_17_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397118659","file1":"1397118589","file0":"1397118520","file4":"1397118812","file5":"1397118918","file3":"1397118775"},"map_files_photo_id_array":[{"photo_id":"1397118918","filename":"file5"},{"photo_id":"1397118659","filename":"file2"},{"photo_id":"1397118812","filename":"file4"},{"photo_id":"1397118589","filename":"file1"},{"photo_id":"1397118520","filename":"file0"},{"photo_id":"1397118775","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397118775":["hashtag1","hashtag2"]},{"1397118520":["hashtag1","hashtag2"]},{"1397118918":["hashtag1","hashtag2"]},{"1397118659":["hashtag1","hashtag2"]},{"1397118812":["hashtag1","hashtag2"]},{"1397118589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397118775, 1397118520, 1397118918, 1397118659, 1397118812, 1397118589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.37703037261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:26:32.375981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_51_3673.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_53_2679.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_56_2838.jpg', '/home/pi/Desktop/images/25112025/20/53/image_25112025_20_54_00_3530.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_02_2668.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_05_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_51_3673.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_53_2679.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_53_56_2838.jpg
/home/pi/Desktop/images/25112025/20/53/image_25112025_20_54_00_3530.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_02_2668.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_05_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397119111","1397119071","1397119067","1397119055","1397119145","1397119189"],"photo_ids_order":["1397119055","1397119067","1397119071","1397119111","1397119145","1397119189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df6681093494ffd6b9c668caec57150d.jpg","text":"TemporaryFile(/tmp/multipartBody5883509046733890911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_54_00_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/30/ac08562eb6e42321b73b975fee55a7aa.jpg","text":"TemporaryFile(/tmp/multipartBody8339600097502324500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_53_56_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/30/baf3540ead3fc1515cd31b58d9c88407.jpg","text":"TemporaryFile(/tmp/multipartBody4885558989686427083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_53_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/30/88fa978a35ccc306df6e0cda156dc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody745551477308201926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_53_51_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/30/23225a0b9f385cd7c82b016683ced363.jpg","text":"TemporaryFile(/tmp/multipartBody503177585217732847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_54_02_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/30/5d9e1a9e0c8cb9b2328fc0859b54480f.jpg","text":"TemporaryFile(/tmp/multipartBody2792662982463520253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538054312,"filename":"image_25112025_20_54_05_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397119071","file1":"1397119067","file0":"1397119055","file4":"1397119145","file5":"1397119189","file3":"1397119111"},"map_files_photo_id_array":[{"photo_id":"1397119189","filename":"file5"},{"photo_id":"1397119071","filename":"file2"},{"photo_id":"1397119145","filename":"file4"},{"photo_id":"1397119067","filename":"file1"},{"photo_id":"1397119055","filename":"file0"},{"photo_id":"1397119111","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397119111":["hashtag1","hashtag2"]},{"1397119071":["hashtag1","hashtag2"]},{"1397119067":["hashtag1","hashtag2"]},{"1397119055":["hashtag1","hashtag2"]},{"1397119145":["hashtag1","hashtag2"]},{"1397119189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397119111, 1397119071, 1397119067, 1397119055, 1397119145, 1397119189)","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: 50.66471242904663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:27:32.550860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_09_3684.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_11_2662.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_14_2634.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_20_2549.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_23_2605.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_30_3341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_09_3684.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_11_2662.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_14_2634.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_20_2549.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_23_2605.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_30_3341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397120140","1397120055","1397119967","1397120226","1397119783","1397119858"],"photo_ids_order":["1397119783","1397119858","1397119967","1397120055","1397120140","1397120226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e77a4faf3fcefa6513432ae725195b67.jpg","text":"TemporaryFile(/tmp/multipartBody1102402185405020464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_23_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/30/d94aa7337bdad34c4886251f12463ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7339392725394686268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_20_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b13fde70e0b64ce8728e01ae39ebf7d.jpg","text":"TemporaryFile(/tmp/multipartBody6310598319273207048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_14_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/30/57976e98a12adf6d7b1486a27803a527.jpg","text":"TemporaryFile(/tmp/multipartBody471824722934014530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_30_3341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55a5c2750cf2b02ae0d24a52147727a5.jpg","text":"TemporaryFile(/tmp/multipartBody1245055477422794875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_09_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/30/6b050893e2d1322fbf56e713cfe6ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody1981820620315420316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538114365,"filename":"image_25112025_20_54_11_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397119967","file1":"1397119858","file0":"1397119783","file4":"1397120140","file5":"1397120226","file3":"1397120055"},"map_files_photo_id_array":[{"photo_id":"1397120226","filename":"file5"},{"photo_id":"1397119967","filename":"file2"},{"photo_id":"1397120140","filename":"file4"},{"photo_id":"1397119858","filename":"file1"},{"photo_id":"1397119783","filename":"file0"},{"photo_id":"1397120055","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397120140":["hashtag1","hashtag2"]},{"1397120055":["hashtag1","hashtag2"]},{"1397119967":["hashtag1","hashtag2"]},{"1397120226":["hashtag1","hashtag2"]},{"1397119783":["hashtag1","hashtag2"]},{"1397119858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397120140, 1397120055, 1397119967, 1397120226, 1397119783, 1397119858)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.891515493392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:28:23.137816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_35_9728.jpg', '/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_45_9651.jpg', '/home/pi/Desktop/images/30112025/21/30/image_30112025_21_31_05_9696.jpg', '/home/pi/Desktop/images/30112025/21/31/image_30112025_21_31_49_13256.jpg', '/home/pi/Desktop/images/30112025/21/31/image_30112025_21_31_56_6713.jpg', '/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_05_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_35_9728.jpg
/home/pi/Desktop/images/30112025/21/30/image_30112025_21_30_45_9651.jpg
/home/pi/Desktop/images/30112025/21/30/image_30112025_21_31_05_9696.jpg
/home/pi/Desktop/images/30112025/21/31/image_30112025_21_31_49_13256.jpg
/home/pi/Desktop/images/30112025/21/31/image_30112025_21_31_56_6713.jpg
/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_05_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397121307","1397121483","1397120961","1397121125","1397121829","1397121658"],"photo_ids_order":["1397120961","1397121125","1397121307","1397121483","1397121658","1397121829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7de073356a9effa993535a4c3450214b.jpg","text":"TemporaryFile(/tmp/multipartBody714432440792474527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_31_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5cfa6fa5ad2756a6d1867af90edf6cc9.jpg","text":"TemporaryFile(/tmp/multipartBody7813949866984491569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_31_49_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/30/8f8cfcdd8816aace726571f76505e642.jpg","text":"TemporaryFile(/tmp/multipartBody1468173213679076861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_30_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7130cd8950a10c023e448ca528c9159a.jpg","text":"TemporaryFile(/tmp/multipartBody8093129354231018294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_30_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/867ce8c43e05904b0e4953665001d615.jpg","text":"TemporaryFile(/tmp/multipartBody9103553427454075273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_33_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e94ab96982b6fdc5d12735668225c99.jpg","text":"TemporaryFile(/tmp/multipartBody354633791818595172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538163852,"filename":"image_30112025_21_31_56_6713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397121307","file1":"1397121125","file0":"1397120961","file4":"1397121658","file5":"1397121829","file3":"1397121483"},"map_files_photo_id_array":[{"photo_id":"1397121829","filename":"file5"},{"photo_id":"1397121307","filename":"file2"},{"photo_id":"1397121658","filename":"file4"},{"photo_id":"1397121125","filename":"file1"},{"photo_id":"1397120961","filename":"file0"},{"photo_id":"1397121483","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397121307":["hashtag1","hashtag2"]},{"1397121483":["hashtag1","hashtag2"]},{"1397120961":["hashtag1","hashtag2"]},{"1397121125":["hashtag1","hashtag2"]},{"1397121829":["hashtag1","hashtag2"]},{"1397121658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397121307, 1397121483, 1397120961, 1397121125, 1397121829, 1397121658)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.61238741874695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:29:15.254974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_33_2953.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_35_2724.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_41_2591.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_44_3605.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_47_2681.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_50_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_33_2953.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_35_2724.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_41_2591.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_44_3605.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_47_2681.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_50_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397122848","1397122719","1397122565","1397122579","1397122528","1397122491"],"photo_ids_order":["1397122491","1397122528","1397122565","1397122579","1397122719","1397122848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d5481e88e7ef0505a893f743f894725.jpg","text":"TemporaryFile(/tmp/multipartBody6654199908232953275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_50_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e06ff0ff2ab41c2da5982ead118634d4.jpg","text":"TemporaryFile(/tmp/multipartBody7550124339792817071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_47_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/30/7207408b40b72ccca8f3514d5c2997c1.jpg","text":"TemporaryFile(/tmp/multipartBody7770573231921126122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_41_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b44735ba847e28030a6e46f0694dee83.jpg","text":"TemporaryFile(/tmp/multipartBody2199047128842806895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_44_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/30/dd22c75e240ff1eec4f2bd31750f127a.jpg","text":"TemporaryFile(/tmp/multipartBody4420269343890204699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_35_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/98a2e466aef7776575705b495cd9df76.jpg","text":"TemporaryFile(/tmp/multipartBody1054856047176918075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538217053,"filename":"image_25112025_20_54_33_2953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397122565","file1":"1397122528","file0":"1397122491","file4":"1397122719","file5":"1397122848","file3":"1397122579"},"map_files_photo_id_array":[{"photo_id":"1397122848","filename":"file5"},{"photo_id":"1397122565","filename":"file2"},{"photo_id":"1397122719","filename":"file4"},{"photo_id":"1397122528","filename":"file1"},{"photo_id":"1397122491","filename":"file0"},{"photo_id":"1397122579","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397122848":["hashtag1","hashtag2"]},{"1397122719":["hashtag1","hashtag2"]},{"1397122565":["hashtag1","hashtag2"]},{"1397122579":["hashtag1","hashtag2"]},{"1397122528":["hashtag1","hashtag2"]},{"1397122491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397122848, 1397122719, 1397122565, 1397122579, 1397122528, 1397122491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24696731567383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:30:04.467126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_25_9762.jpg', '/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_36_10793.jpg', '/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_55_9779.jpg', '/home/pi/Desktop/images/30112025/21/33/image_30112025_21_34_05_10231.jpg', '/home/pi/Desktop/images/30112025/21/34/image_30112025_21_34_55_9601.jpg', '/home/pi/Desktop/images/30112025/21/35/image_30112025_21_35_25_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_25_9762.jpg
/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_36_10793.jpg
/home/pi/Desktop/images/30112025/21/33/image_30112025_21_33_55_9779.jpg
/home/pi/Desktop/images/30112025/21/33/image_30112025_21_34_05_10231.jpg
/home/pi/Desktop/images/30112025/21/34/image_30112025_21_34_55_9601.jpg
/home/pi/Desktop/images/30112025/21/35/image_30112025_21_35_25_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397123400","1397123310","1397123246","1397123213","1397123389","1397123352"],"photo_ids_order":["1397123213","1397123246","1397123310","1397123352","1397123389","1397123400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a2aa903c791acf7f7fbba0fa203ed1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1541639667840743120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_35_25_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/548b81f8c26559ec111880cb0ebf0fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4395250485818415701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_33_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42954c03f477741ff682e31cda24824f.jpg","text":"TemporaryFile(/tmp/multipartBody7260340316158343880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_33_36_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff134e583953c155f77eb756f25216d3.jpg","text":"TemporaryFile(/tmp/multipartBody5507451230731685485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_33_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b8462441f29ffe55336927c3d6bd33e5.jpg","text":"TemporaryFile(/tmp/multipartBody5719568586787107351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_34_55_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0938b1d5072e54849628e7decc28d18.jpg","text":"TemporaryFile(/tmp/multipartBody5784774705600227072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538270054,"filename":"image_30112025_21_34_05_10231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397123310","file1":"1397123246","file0":"1397123213","file4":"1397123389","file5":"1397123400","file3":"1397123352"},"map_files_photo_id_array":[{"photo_id":"1397123400","filename":"file5"},{"photo_id":"1397123310","filename":"file2"},{"photo_id":"1397123389","filename":"file4"},{"photo_id":"1397123246","filename":"file1"},{"photo_id":"1397123213","filename":"file0"},{"photo_id":"1397123352","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397123400":["hashtag1","hashtag2"]},{"1397123310":["hashtag1","hashtag2"]},{"1397123246":["hashtag1","hashtag2"]},{"1397123213":["hashtag1","hashtag2"]},{"1397123389":["hashtag1","hashtag2"]},{"1397123352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397123400, 1397123310, 1397123246, 1397123213, 1397123389, 1397123352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66761541366577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:31:03.148994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_26_10804.jpg', '/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_45_9652.jpg', '/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_56_10683.jpg', '/home/pi/Desktop/images/30112025/21/36/image_30112025_21_37_05_9781.jpg', '/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_15_9722.jpg', '/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_35_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_26_10804.jpg
/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_45_9652.jpg
/home/pi/Desktop/images/30112025/21/36/image_30112025_21_36_56_10683.jpg
/home/pi/Desktop/images/30112025/21/36/image_30112025_21_37_05_9781.jpg
/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_15_9722.jpg
/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_35_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397123681","1397123761","1397123883","1397123722","1397123844","1397123802"],"photo_ids_order":["1397123681","1397123722","1397123761","1397123802","1397123844","1397123883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af4328cdac76731722f1bc9586c1fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody391435119213770577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_36_26_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9b09bc5728c4c7c3e21c8a050b6660d.jpg","text":"TemporaryFile(/tmp/multipartBody3791921386826238437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_36_56_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/89c78671c6dcdd6801d2c0b4414fd3be.jpg","text":"TemporaryFile(/tmp/multipartBody8305401978225225448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_37_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b0c88b1074f13ff07e2a6950325aa4d.jpg","text":"TemporaryFile(/tmp/multipartBody7082315529639346939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_36_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/607844957fde966427b9a39b0f2e0e79.jpg","text":"TemporaryFile(/tmp/multipartBody2869649987844841887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_37_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/507e4251b83c10f02a94d74e542f7e02.jpg","text":"TemporaryFile(/tmp/multipartBody2494600804185582817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538328509,"filename":"image_30112025_21_37_05_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397123761","file1":"1397123722","file0":"1397123681","file4":"1397123844","file5":"1397123883","file3":"1397123802"},"map_files_photo_id_array":[{"photo_id":"1397123883","filename":"file5"},{"photo_id":"1397123761","filename":"file2"},{"photo_id":"1397123844","filename":"file4"},{"photo_id":"1397123722","filename":"file1"},{"photo_id":"1397123681","filename":"file0"},{"photo_id":"1397123802","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397123681":["hashtag1","hashtag2"]},{"1397123761":["hashtag1","hashtag2"]},{"1397123883":["hashtag1","hashtag2"]},{"1397123722":["hashtag1","hashtag2"]},{"1397123844":["hashtag1","hashtag2"]},{"1397123802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397123681, 1397123761, 1397123883, 1397123722, 1397123844, 1397123802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30433940887451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:32:03.178885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_56_10582.jpg', '/home/pi/Desktop/images/30112025/21/37/image_30112025_21_38_05_9798.jpg', '/home/pi/Desktop/images/30112025/21/38/image_30112025_21_38_25_9696.jpg', '/home/pi/Desktop/images/30112025/21/38/image_30112025_21_38_45_9802.jpg', '/home/pi/Desktop/images/30112025/21/40/image_30112025_21_41_05_9734.jpg', '/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_15_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/37/image_30112025_21_37_56_10582.jpg
/home/pi/Desktop/images/30112025/21/37/image_30112025_21_38_05_9798.jpg
/home/pi/Desktop/images/30112025/21/38/image_30112025_21_38_25_9696.jpg
/home/pi/Desktop/images/30112025/21/38/image_30112025_21_38_45_9802.jpg
/home/pi/Desktop/images/30112025/21/40/image_30112025_21_41_05_9734.jpg
/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_15_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397124329","1397124257","1397124515","1397124401","1397124553","1397124470"],"photo_ids_order":["1397124257","1397124329","1397124401","1397124470","1397124515","1397124553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9f56b46b7cabdfe349fd2dc5eb34ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5191970669452066063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_38_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/deec403929188aa08035938aad996ba5.jpg","text":"TemporaryFile(/tmp/multipartBody9102917015301407895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_37_56_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df1990d1052c743a421d481e2145b075.jpg","text":"TemporaryFile(/tmp/multipartBody4018462631436066334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_41_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a54303de15126ea8425542e47830ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody6898453045697198398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_38_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ea2a6d79e0fa6aa4059decfa22192d0.jpg","text":"TemporaryFile(/tmp/multipartBody3250308548111521452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_41_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1cba26c5a43e4168fc934561f51e6d23.jpg","text":"TemporaryFile(/tmp/multipartBody1242476775245815065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538383923,"filename":"image_30112025_21_38_45_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397124401","file1":"1397124329","file0":"1397124257","file4":"1397124515","file5":"1397124553","file3":"1397124470"},"map_files_photo_id_array":[{"photo_id":"1397124553","filename":"file5"},{"photo_id":"1397124401","filename":"file2"},{"photo_id":"1397124515","filename":"file4"},{"photo_id":"1397124329","filename":"file1"},{"photo_id":"1397124257","filename":"file0"},{"photo_id":"1397124470","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397124329":["hashtag1","hashtag2"]},{"1397124257":["hashtag1","hashtag2"]},{"1397124515":["hashtag1","hashtag2"]},{"1397124401":["hashtag1","hashtag2"]},{"1397124553":["hashtag1","hashtag2"]},{"1397124470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397124329, 1397124257, 1397124515, 1397124401, 1397124553, 1397124470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.839677572250366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:32:42.846079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/51/image_31102025_13_51_35_2797.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_38_3679.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_41_2581.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_44_2786.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_47_2858.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_50_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/13/51/image_31102025_13_51_35_2797.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_38_3679.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_41_2581.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_44_2786.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_47_2858.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_50_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397124946","1397124745","1397124703","1397124825","1397124869","1397124782"],"photo_ids_order":["1397124703","1397124745","1397124782","1397124825","1397124869","1397124946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9ba0935790b77ce16feef7e2bcecf7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5539782952862171448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_50_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/30/27cd1a730016adc8c1aef8626f473ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1679120039053302726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_38_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/135d239ab9c1ccc3110568e30d4fb28c.jpg","text":"TemporaryFile(/tmp/multipartBody7912444591768127411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_35_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a70eb635001aca31dc490254c5a25c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3925183543562458547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_44_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4eb23afced38a66177824d597ee92fde.jpg","text":"TemporaryFile(/tmp/multipartBody5057281943878361379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_47_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/30/d07925b0938eeabb6021c684be926a77.jpg","text":"TemporaryFile(/tmp/multipartBody5376955147137935473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538423736,"filename":"image_31102025_13_51_41_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397124782","file1":"1397124745","file0":"1397124703","file4":"1397124869","file5":"1397124946","file3":"1397124825"},"map_files_photo_id_array":[{"photo_id":"1397124946","filename":"file5"},{"photo_id":"1397124782","filename":"file2"},{"photo_id":"1397124869","filename":"file4"},{"photo_id":"1397124745","filename":"file1"},{"photo_id":"1397124703","filename":"file0"},{"photo_id":"1397124825","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397124946":["hashtag1","hashtag2"]},{"1397124745":["hashtag1","hashtag2"]},{"1397124703":["hashtag1","hashtag2"]},{"1397124825":["hashtag1","hashtag2"]},{"1397124869":["hashtag1","hashtag2"]},{"1397124782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397124946, 1397124745, 1397124703, 1397124825, 1397124869, 1397124782)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.502729654312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:33:32.030422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_53_3595.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_56_2685.jpg', '/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_59_2815.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_02_2732.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_05_3624.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_08_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_53_3595.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_56_2685.jpg
/home/pi/Desktop/images/25112025/20/54/image_25112025_20_54_59_2815.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_02_2732.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_05_3624.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_08_2552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125310","1397125309","1397125374","1397125323","1397125361","1397125308"],"photo_ids_order":["1397125308","1397125309","1397125310","1397125323","1397125361","1397125374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d7493f19b439d5725ffabba04d9d659.jpg","text":"TemporaryFile(/tmp/multipartBody7551312978288094845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_54_59_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/619eba5d873cc27d0ec5d6825be2e440.jpg","text":"TemporaryFile(/tmp/multipartBody6040644512884242742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_54_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/30/b1e96d934b264d86d75fffb1b6b6881c.jpg","text":"TemporaryFile(/tmp/multipartBody7727006943947526965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_55_08_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/30/a1998c64a8ded957bb8b3fbe55138dd8.jpg","text":"TemporaryFile(/tmp/multipartBody1112639301221567747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_55_02_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/30/3a0ca885ade30258e4eb3cdf5d0a5750.jpg","text":"TemporaryFile(/tmp/multipartBody8518934596898823865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_55_05_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f6f39290e3e06ce85fed3e9cf4c2934b.jpg","text":"TemporaryFile(/tmp/multipartBody2136630384352257586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538474080,"filename":"image_25112025_20_54_53_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125310","file1":"1397125309","file0":"1397125308","file4":"1397125361","file5":"1397125374","file3":"1397125323"},"map_files_photo_id_array":[{"photo_id":"1397125374","filename":"file5"},{"photo_id":"1397125310","filename":"file2"},{"photo_id":"1397125361","filename":"file4"},{"photo_id":"1397125309","filename":"file1"},{"photo_id":"1397125308","filename":"file0"},{"photo_id":"1397125323","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397125310":["hashtag1","hashtag2"]},{"1397125309":["hashtag1","hashtag2"]},{"1397125374":["hashtag1","hashtag2"]},{"1397125323":["hashtag1","hashtag2"]},{"1397125361":["hashtag1","hashtag2"]},{"1397125308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397125310, 1397125309, 1397125374, 1397125323, 1397125361, 1397125308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09008455276489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:34:12.159935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_11_3622.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_14_2639.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_17_2729.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_20_3702.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_23_2681.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_26_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_11_3622.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_14_2639.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_17_2729.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_20_3702.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_23_2681.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_26_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: 1.7182707786560059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:34:22.217326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_25_9766.jpg', '/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_45_10649.jpg', '/home/pi/Desktop/images/30112025/21/41/image_30112025_21_42_05_9726.jpg', '/home/pi/Desktop/images/30112025/21/42/image_30112025_21_42_15_9734.jpg', '/home/pi/Desktop/images/30112025/21/43/image_30112025_21_44_06_10656.jpg', '/home/pi/Desktop/images/30112025/21/44/image_30112025_21_44_25_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_25_9766.jpg
/home/pi/Desktop/images/30112025/21/41/image_30112025_21_41_45_10649.jpg
/home/pi/Desktop/images/30112025/21/41/image_30112025_21_42_05_9726.jpg
/home/pi/Desktop/images/30112025/21/42/image_30112025_21_42_15_9734.jpg
/home/pi/Desktop/images/30112025/21/43/image_30112025_21_44_06_10656.jpg
/home/pi/Desktop/images/30112025/21/44/image_30112025_21_44_25_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125486","1397125648","1397125657","1397125609","1397125528","1397125568"],"photo_ids_order":["1397125486","1397125528","1397125568","1397125609","1397125648","1397125657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8926e05092a68083cc502655cba30e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1881792753075453425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_41_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a542939061c18c8376b5ac9d8342aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody3727074186822913202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_44_06_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f7c0bc53be7223c95fd3532844e762f.jpg","text":"TemporaryFile(/tmp/multipartBody1950341661175821972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_44_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9f65dd30352a1d15577b214418ce4564.jpg","text":"TemporaryFile(/tmp/multipartBody5316537749941299868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_42_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5023e18886ca7c12bc3c580652690aea.jpg","text":"TemporaryFile(/tmp/multipartBody8554934002629075764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_41_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5f3f9d0b54a9ad75e8cdf20ebe8965e8.jpg","text":"TemporaryFile(/tmp/multipartBody2186201302136291090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538522964,"filename":"image_30112025_21_42_05_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125568","file1":"1397125528","file0":"1397125486","file4":"1397125648","file5":"1397125657","file3":"1397125609"},"map_files_photo_id_array":[{"photo_id":"1397125657","filename":"file5"},{"photo_id":"1397125568","filename":"file2"},{"photo_id":"1397125648","filename":"file4"},{"photo_id":"1397125528","filename":"file1"},{"photo_id":"1397125486","filename":"file0"},{"photo_id":"1397125609","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125486":["hashtag1","hashtag2"]},{"1397125648":["hashtag1","hashtag2"]},{"1397125657":["hashtag1","hashtag2"]},{"1397125609":["hashtag1","hashtag2"]},{"1397125528":["hashtag1","hashtag2"]},{"1397125568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125486, 1397125648, 1397125657, 1397125609, 1397125528, 1397125568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.972328901290894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:35:02.945579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_25_9616.jpg', '/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_36_10833.jpg', '/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_45_9594.jpg', '/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_15_10627.jpg', '/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_25_9813.jpg', '/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_46_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_25_9616.jpg
/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_36_10833.jpg
/home/pi/Desktop/images/30112025/21/45/image_30112025_21_45_45_9594.jpg
/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_15_10627.jpg
/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_25_9813.jpg
/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_46_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125706","1397125774","1397125747","1397125773","1397125725","1397125724"],"photo_ids_order":["1397125706","1397125724","1397125725","1397125747","1397125773","1397125774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43b1e3aeb02be701ca02ab417f18ee74.jpg","text":"TemporaryFile(/tmp/multipartBody494770576428713686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_45_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56b7ee0ccd78d7acb540793d3ec029a8.jpg","text":"TemporaryFile(/tmp/multipartBody3600303363751017530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_46_46_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39732066fd4dcf0749d8eddbee8ce2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3623615402694366083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_46_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/083b97e482bd9a38b6c5b66596b3f945.jpg","text":"TemporaryFile(/tmp/multipartBody9111839508639741721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_46_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fd8cd9eb1450e2e0f977b4a9d0ccb1c.jpg","text":"TemporaryFile(/tmp/multipartBody4907005829992027420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_45_45_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55db1d19ef0f2923401d803dfca36776.jpg","text":"TemporaryFile(/tmp/multipartBody1454250681041197205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538563730,"filename":"image_30112025_21_45_36_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125725","file1":"1397125724","file0":"1397125706","file4":"1397125773","file5":"1397125774","file3":"1397125747"},"map_files_photo_id_array":[{"photo_id":"1397125774","filename":"file5"},{"photo_id":"1397125725","filename":"file2"},{"photo_id":"1397125773","filename":"file4"},{"photo_id":"1397125724","filename":"file1"},{"photo_id":"1397125706","filename":"file0"},{"photo_id":"1397125747","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125706":["hashtag1","hashtag2"]},{"1397125774":["hashtag1","hashtag2"]},{"1397125747":["hashtag1","hashtag2"]},{"1397125773":["hashtag1","hashtag2"]},{"1397125725":["hashtag1","hashtag2"]},{"1397125724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125706, 1397125774, 1397125747, 1397125773, 1397125725, 1397125724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.085201263427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:35:42.313235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/51/image_31102025_13_51_53_2641.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_56_2736.jpg', '/home/pi/Desktop/images/31102025/13/51/image_31102025_13_52_00_3957.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_02_2672.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_05_2784.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_08_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_53_2641.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_51_56_2736.jpg
/home/pi/Desktop/images/31102025/13/51/image_31102025_13_52_00_3957.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_02_2672.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_05_2784.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_08_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125780","1397125782","1397125776","1397125779","1397125778","1397125775"],"photo_ids_order":["1397125775","1397125776","1397125778","1397125779","1397125780","1397125782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/14c64a7059713b0bf8beda15d799cf14.jpg","text":"TemporaryFile(/tmp/multipartBody8699323263014812948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_52_05_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/30/40aaa6fb1c7e6bef7187b0c1b043dc65.jpg","text":"TemporaryFile(/tmp/multipartBody6887277538267332219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_52_08_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/30/04575ee20e712632be53b1736affaf7f.jpg","text":"TemporaryFile(/tmp/multipartBody8910329756015312843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_51_56_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/30/2a8fda3f36be5c9deeef2dd4e55e1e43.jpg","text":"TemporaryFile(/tmp/multipartBody5340511888224743912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_52_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/30/71bdf27af94f4bfe1cab285c5f8a3524.jpg","text":"TemporaryFile(/tmp/multipartBody5985171316211093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_52_00_3957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5fc3dc4a5dcac562a43c05e7459ac1cd.jpg","text":"TemporaryFile(/tmp/multipartBody6679200958240817437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538603212,"filename":"image_31102025_13_51_53_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125778","file1":"1397125776","file0":"1397125775","file4":"1397125780","file5":"1397125782","file3":"1397125779"},"map_files_photo_id_array":[{"photo_id":"1397125782","filename":"file5"},{"photo_id":"1397125778","filename":"file2"},{"photo_id":"1397125780","filename":"file4"},{"photo_id":"1397125776","filename":"file1"},{"photo_id":"1397125775","filename":"file0"},{"photo_id":"1397125779","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125780":["hashtag1","hashtag2"]},{"1397125782":["hashtag1","hashtag2"]},{"1397125776":["hashtag1","hashtag2"]},{"1397125779":["hashtag1","hashtag2"]},{"1397125778":["hashtag1","hashtag2"]},{"1397125775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125780, 1397125782, 1397125776, 1397125779, 1397125778, 1397125775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58269214630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:36:22.486530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_56_9896.jpg', '/home/pi/Desktop/images/30112025/21/47/image_30112025_21_47_15_9651.jpg', '/home/pi/Desktop/images/30112025/21/47/image_30112025_21_47_55_9867.jpg', '/home/pi/Desktop/images/30112025/21/47/image_30112025_21_48_06_10779.jpg', '/home/pi/Desktop/images/30112025/21/48/image_30112025_21_48_25_9713.jpg', '/home/pi/Desktop/images/30112025/21/48/image_30112025_21_48_45_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/46/image_30112025_21_46_56_9896.jpg
/home/pi/Desktop/images/30112025/21/47/image_30112025_21_47_15_9651.jpg
/home/pi/Desktop/images/30112025/21/47/image_30112025_21_47_55_9867.jpg
/home/pi/Desktop/images/30112025/21/47/image_30112025_21_48_06_10779.jpg
/home/pi/Desktop/images/30112025/21/48/image_30112025_21_48_25_9713.jpg
/home/pi/Desktop/images/30112025/21/48/image_30112025_21_48_45_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125792","1397125786","1397125794","1397125788","1397125796","1397125790"],"photo_ids_order":["1397125786","1397125788","1397125790","1397125792","1397125794","1397125796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d808fb395384d5a68c2fea3c88aa32b.jpg","text":"TemporaryFile(/tmp/multipartBody2144029496050144110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_48_06_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79df0e968fbc692e5686e154d8e63389.jpg","text":"TemporaryFile(/tmp/multipartBody408907286914280002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_46_56_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/30/bc8abc40f20e0298bf22b6118a17a9cc.jpg","text":"TemporaryFile(/tmp/multipartBody4986548857578171114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_48_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9556848032496e83618e53a295ff4396.jpg","text":"TemporaryFile(/tmp/multipartBody5415891941057411261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_47_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6504e6a440b45fde0025cca8a456827.jpg","text":"TemporaryFile(/tmp/multipartBody7553530917158904910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_48_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/866b360f456160b7f80b58d9eace8966.jpg","text":"TemporaryFile(/tmp/multipartBody5460135935356112487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538643258,"filename":"image_30112025_21_47_55_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125790","file1":"1397125788","file0":"1397125786","file4":"1397125794","file5":"1397125796","file3":"1397125792"},"map_files_photo_id_array":[{"photo_id":"1397125796","filename":"file5"},{"photo_id":"1397125790","filename":"file2"},{"photo_id":"1397125794","filename":"file4"},{"photo_id":"1397125788","filename":"file1"},{"photo_id":"1397125786","filename":"file0"},{"photo_id":"1397125792","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125792":["hashtag1","hashtag2"]},{"1397125786":["hashtag1","hashtag2"]},{"1397125794":["hashtag1","hashtag2"]},{"1397125788":["hashtag1","hashtag2"]},{"1397125796":["hashtag1","hashtag2"]},{"1397125790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125792, 1397125786, 1397125794, 1397125788, 1397125796, 1397125790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94078326225281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:37:03.272289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:37:15.290990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,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-30 22:37:22.568625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/48/image_30112025_21_49_05_9781.jpg', '/home/pi/Desktop/images/30112025/21/49/image_30112025_21_49_16_10718.jpg', '/home/pi/Desktop/images/30112025/21/49/image_30112025_21_49_25_9868.jpg', '/home/pi/Desktop/images/30112025/21/50/image_30112025_21_50_45_10628.jpg', '/home/pi/Desktop/images/30112025/21/50/image_30112025_21_50_55_9729.jpg', '/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_16_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/48/image_30112025_21_49_05_9781.jpg
/home/pi/Desktop/images/30112025/21/49/image_30112025_21_49_16_10718.jpg
/home/pi/Desktop/images/30112025/21/49/image_30112025_21_49_25_9868.jpg
/home/pi/Desktop/images/30112025/21/50/image_30112025_21_50_45_10628.jpg
/home/pi/Desktop/images/30112025/21/50/image_30112025_21_50_55_9729.jpg
/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_16_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125801","1397125804","1397125806","1397125799","1397125803","1397125802"],"photo_ids_order":["1397125799","1397125801","1397125802","1397125803","1397125804","1397125806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31d2ac1de11cc5befc837d39c0a5e871.jpg","text":"TemporaryFile(/tmp/multipartBody6628195121236563941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_49_16_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e070246267999e6f45d45d08722f2d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5146905473498694721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_50_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f41f5ff6c4384b4b7ad1cbd9161cb25.jpg","text":"TemporaryFile(/tmp/multipartBody8890727707646556170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_51_16_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/41068622c177701ed63a15428628578e.jpg","text":"TemporaryFile(/tmp/multipartBody1757166932010747726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_49_05_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ee8402805fe7461cd871acff9f0203c3.jpg","text":"TemporaryFile(/tmp/multipartBody7013001951081101551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_50_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73ef67dcb4eb917a897c3aeae406d464.jpg","text":"TemporaryFile(/tmp/multipartBody527823476198247128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538703237,"filename":"image_30112025_21_49_25_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125802","file1":"1397125801","file0":"1397125799","file4":"1397125804","file5":"1397125806","file3":"1397125803"},"map_files_photo_id_array":[{"photo_id":"1397125806","filename":"file5"},{"photo_id":"1397125802","filename":"file2"},{"photo_id":"1397125804","filename":"file4"},{"photo_id":"1397125801","filename":"file1"},{"photo_id":"1397125799","filename":"file0"},{"photo_id":"1397125803","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125801":["hashtag1","hashtag2"]},{"1397125804":["hashtag1","hashtag2"]},{"1397125806":["hashtag1","hashtag2"]},{"1397125799":["hashtag1","hashtag2"]},{"1397125803":["hashtag1","hashtag2"]},{"1397125802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125801, 1397125804, 1397125806, 1397125799, 1397125803, 1397125802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04637265205383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:38:04.938610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-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 --last_days 10
2025-11-30 22:38:23.658875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_35_9627.jpg', '/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_45_9799.jpg', '/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_56_10771.jpg', '/home/pi/Desktop/images/30112025/21/52/image_30112025_21_52_36_10651.jpg', '/home/pi/Desktop/images/30112025/21/52/image_30112025_21_53_05_9730.jpg', '/home/pi/Desktop/images/30112025/21/53/image_30112025_21_53_15_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_35_9627.jpg
/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_45_9799.jpg
/home/pi/Desktop/images/30112025/21/51/image_30112025_21_51_56_10771.jpg
/home/pi/Desktop/images/30112025/21/52/image_30112025_21_52_36_10651.jpg
/home/pi/Desktop/images/30112025/21/52/image_30112025_21_53_05_9730.jpg
/home/pi/Desktop/images/30112025/21/53/image_30112025_21_53_15_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125814","1397125816","1397125810","1397125818","1397125812","1397125820"],"photo_ids_order":["1397125810","1397125812","1397125814","1397125816","1397125818","1397125820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d651abb00fd59c02aa4062b56a88c269.jpg","text":"TemporaryFile(/tmp/multipartBody8783696837686874008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_51_56_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6097f5c037cb4bc899ad88881d8e89bd.jpg","text":"TemporaryFile(/tmp/multipartBody2798473470378601796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_52_36_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e078c05eddef222526977aa5024468d8.jpg","text":"TemporaryFile(/tmp/multipartBody3012414172769294452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_51_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cadb05b951762592b217824a89dce7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3442329794723346357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_53_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9cb030089842ef5df906f27546309c27.jpg","text":"TemporaryFile(/tmp/multipartBody1469283246990701137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_51_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4803d960eb27da4a1fc124a1af67c94e.jpg","text":"TemporaryFile(/tmp/multipartBody4450229455459281789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538764370,"filename":"image_30112025_21_53_15_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125814","file1":"1397125812","file0":"1397125810","file4":"1397125818","file5":"1397125820","file3":"1397125816"},"map_files_photo_id_array":[{"photo_id":"1397125820","filename":"file5"},{"photo_id":"1397125814","filename":"file2"},{"photo_id":"1397125818","filename":"file4"},{"photo_id":"1397125812","filename":"file1"},{"photo_id":"1397125810","filename":"file0"},{"photo_id":"1397125816","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125814":["hashtag1","hashtag2"]},{"1397125816":["hashtag1","hashtag2"]},{"1397125810":["hashtag1","hashtag2"]},{"1397125818":["hashtag1","hashtag2"]},{"1397125812":["hashtag1","hashtag2"]},{"1397125820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125814, 1397125816, 1397125810, 1397125818, 1397125812, 1397125820)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.30531191825867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:39:12.207022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_11_3622.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_14_2639.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_17_2729.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_20_3702.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_23_2681.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_26_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_11_3622.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_14_2639.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_17_2729.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_20_3702.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_23_2681.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_26_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125832","1397125825","1397125827","1397125821","1397125829","1397125823"],"photo_ids_order":["1397125821","1397125823","1397125825","1397125827","1397125829","1397125832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b850c6706f089de7bfdc9e48924e5756.jpg","text":"TemporaryFile(/tmp/multipartBody1831350866552522547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_26_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/30/48c2096a49dc20e4bfa36af90de65a00.jpg","text":"TemporaryFile(/tmp/multipartBody1957106948126177223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_17_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ee35070c1d73798b3f44eadbbd5fde1.jpg","text":"TemporaryFile(/tmp/multipartBody2128369806343655063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_20_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39aeed1cda497b3cbc252565f4f8b6a2.jpg","text":"TemporaryFile(/tmp/multipartBody7033135405499676870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_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/30/cedf3ab40e0d42d3e1eb42067c6652d0.jpg","text":"TemporaryFile(/tmp/multipartBody8581880203586480808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_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/30/a6cf56c6da3dd8d23cc6ddd6fcefadfb.jpg","text":"TemporaryFile(/tmp/multipartBody1544097772065789724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538816703,"filename":"image_25112025_20_55_14_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125825","file1":"1397125823","file0":"1397125821","file4":"1397125829","file5":"1397125832","file3":"1397125827"},"map_files_photo_id_array":[{"photo_id":"1397125832","filename":"file5"},{"photo_id":"1397125825","filename":"file2"},{"photo_id":"1397125829","filename":"file4"},{"photo_id":"1397125823","filename":"file1"},{"photo_id":"1397125821","filename":"file0"},{"photo_id":"1397125827","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397125832":["hashtag1","hashtag2"]},{"1397125825":["hashtag1","hashtag2"]},{"1397125827":["hashtag1","hashtag2"]},{"1397125821":["hashtag1","hashtag2"]},{"1397125829":["hashtag1","hashtag2"]},{"1397125823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397125832, 1397125825, 1397125827, 1397125821, 1397125829, 1397125823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84902834892273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:40:06.201413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 22:40:15.841033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_29_3631.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_32_2578.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_35_2760.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_38_3650.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_41_2901.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_44_2492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_29_3631.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_32_2578.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_35_2760.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_38_3650.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_41_2901.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_44_2492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125840","1397125837","1397125842","1397125839","1397125841","1397125835"],"photo_ids_order":["1397125835","1397125837","1397125839","1397125840","1397125841","1397125842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6698f51fae450388999a5a3a0b13df2f.jpg","text":"TemporaryFile(/tmp/multipartBody8831582203897059747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_38_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/30/aaa230e8da8ca40b103667b29a7624e4.jpg","text":"TemporaryFile(/tmp/multipartBody594859829497824468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_32_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/30/490e9bd4a81adcfea6e0c146fd02bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody1705492958308120574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_44_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76f0518eb1db73bc37c82120b29977cb.jpg","text":"TemporaryFile(/tmp/multipartBody3958523887244228427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_35_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1092246ad6f2942283dbb3fc7eab0857.jpg","text":"TemporaryFile(/tmp/multipartBody5544753041237948151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_41_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/30/3c4e4843f6507d1cd8da87ccac952f6c.jpg","text":"TemporaryFile(/tmp/multipartBody9169481093593062271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538877671,"filename":"image_25112025_20_55_29_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125839","file1":"1397125837","file0":"1397125835","file4":"1397125841","file5":"1397125842","file3":"1397125840"},"map_files_photo_id_array":[{"photo_id":"1397125842","filename":"file5"},{"photo_id":"1397125839","filename":"file2"},{"photo_id":"1397125841","filename":"file4"},{"photo_id":"1397125837","filename":"file1"},{"photo_id":"1397125835","filename":"file0"},{"photo_id":"1397125840","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397125840":["hashtag1","hashtag2"]},{"1397125837":["hashtag1","hashtag2"]},{"1397125842":["hashtag1","hashtag2"]},{"1397125839":["hashtag1","hashtag2"]},{"1397125841":["hashtag1","hashtag2"]},{"1397125835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397125840, 1397125837, 1397125842, 1397125839, 1397125841, 1397125835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35227131843567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:41:02.696079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_25_9647.jpg', '/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_36_10792.jpg', '/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_55_9584.jpg', '/home/pi/Desktop/images/30112025/21/55/image_30112025_21_56_06_10743.jpg', '/home/pi/Desktop/images/30112025/21/57/image_30112025_21_57_55_9679.jpg', '/home/pi/Desktop/images/30112025/21/57/image_30112025_21_58_06_10862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_25_9647.jpg
/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_36_10792.jpg
/home/pi/Desktop/images/30112025/21/55/image_30112025_21_55_55_9584.jpg
/home/pi/Desktop/images/30112025/21/55/image_30112025_21_56_06_10743.jpg
/home/pi/Desktop/images/30112025/21/57/image_30112025_21_57_55_9679.jpg
/home/pi/Desktop/images/30112025/21/57/image_30112025_21_58_06_10862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125846","1397125849","1397125851","1397125845","1397125847","1397125844"],"photo_ids_order":["1397125844","1397125845","1397125846","1397125847","1397125849","1397125851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/738bdbe8b9c551f58cbfd14bb7257592.jpg","text":"TemporaryFile(/tmp/multipartBody9084907069773442784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_55_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e09fc4662a2c7d703efaef933ef77077.jpg","text":"TemporaryFile(/tmp/multipartBody1541897311893989906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_57_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b7562d3cf47149ec726d49fc5524a02.jpg","text":"TemporaryFile(/tmp/multipartBody5761048458926514845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_58_06_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e40547415a6072f66bcf77ce1d8dd44.jpg","text":"TemporaryFile(/tmp/multipartBody9180386436466573081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_55_36_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cc46dcc52eb5b9b2031608e061c76215.jpg","text":"TemporaryFile(/tmp/multipartBody6792314286052116948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_56_06_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0605d7a85e0f6154f17bd31381b1ea0e.jpg","text":"TemporaryFile(/tmp/multipartBody886141015726022482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538923526,"filename":"image_30112025_21_55_25_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125846","file1":"1397125845","file0":"1397125844","file4":"1397125849","file5":"1397125851","file3":"1397125847"},"map_files_photo_id_array":[{"photo_id":"1397125851","filename":"file5"},{"photo_id":"1397125846","filename":"file2"},{"photo_id":"1397125849","filename":"file4"},{"photo_id":"1397125845","filename":"file1"},{"photo_id":"1397125844","filename":"file0"},{"photo_id":"1397125847","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125846":["hashtag1","hashtag2"]},{"1397125849":["hashtag1","hashtag2"]},{"1397125851":["hashtag1","hashtag2"]},{"1397125845":["hashtag1","hashtag2"]},{"1397125847":["hashtag1","hashtag2"]},{"1397125844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125846, 1397125849, 1397125851, 1397125845, 1397125847, 1397125844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52219581604004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:41:42.225126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/52/image_31102025_13_52_11_3628.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_14_2754.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_17_2741.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_20_3615.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_23_2605.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_26_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_11_3628.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_14_2754.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_17_2741.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_20_3615.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_23_2605.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_26_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":["1397125861","1397125858","1397125855","1397125860","1397125859","1397125862"],"photo_ids_order":["1397125855","1397125858","1397125859","1397125860","1397125861","1397125862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9394cffd92eba79dadf63681cecc129.jpg","text":"TemporaryFile(/tmp/multipartBody4482244810761921957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_23_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/30/cd3c6fdac2862ba3c0089a5e0e147a93.jpg","text":"TemporaryFile(/tmp/multipartBody6542571523588245441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_14_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/30/077f26340900604d2487b2f6c5dda50f.jpg","text":"TemporaryFile(/tmp/multipartBody4070124792085092383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_11_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e82e4e4348ebee1f7733685a326a5f99.jpg","text":"TemporaryFile(/tmp/multipartBody6941310727269343650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_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/30/ff3448396e601b7240c1d7e865b3a335.jpg","text":"TemporaryFile(/tmp/multipartBody5913160521082403966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_17_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/39b70b1e2e284edf46be01e457b1d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody149060623678033316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764538963144,"filename":"image_31102025_13_52_26_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125859","file1":"1397125858","file0":"1397125855","file4":"1397125861","file5":"1397125862","file3":"1397125860"},"map_files_photo_id_array":[{"photo_id":"1397125862","filename":"file5"},{"photo_id":"1397125859","filename":"file2"},{"photo_id":"1397125861","filename":"file4"},{"photo_id":"1397125858","filename":"file1"},{"photo_id":"1397125855","filename":"file0"},{"photo_id":"1397125860","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125861":["hashtag1","hashtag2"]},{"1397125858":["hashtag1","hashtag2"]},{"1397125855":["hashtag1","hashtag2"]},{"1397125860":["hashtag1","hashtag2"]},{"1397125859":["hashtag1","hashtag2"]},{"1397125862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125861, 1397125858, 1397125855, 1397125860, 1397125859, 1397125862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06845688819885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:42:22.426753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/21/58/image_30112025_21_58_15_9780.jpg', '/home/pi/Desktop/images/30112025/21/58/image_30112025_21_58_25_9906.jpg', '/home/pi/Desktop/images/30112025/21/58/image_30112025_21_59_05_9903.jpg', '/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_15_9787.jpg', '/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_45_9671.jpg', '/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_55_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/21/58/image_30112025_21_58_15_9780.jpg
/home/pi/Desktop/images/30112025/21/58/image_30112025_21_58_25_9906.jpg
/home/pi/Desktop/images/30112025/21/58/image_30112025_21_59_05_9903.jpg
/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_15_9787.jpg
/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_45_9671.jpg
/home/pi/Desktop/images/30112025/21/59/image_30112025_21_59_55_9575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125864","1397125867","1397125872","1397125875","1397125869","1397125877"],"photo_ids_order":["1397125864","1397125867","1397125869","1397125872","1397125875","1397125877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8ae49a1c4446cf41f42cbb2ba9080ac.jpg","text":"TemporaryFile(/tmp/multipartBody3805445062044061423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_58_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/00b9b844a19406f4a276de389ee10e37.jpg","text":"TemporaryFile(/tmp/multipartBody5402263462167609447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_58_25_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/85efe408d31ca63bb1abe6f3de6efff8.jpg","text":"TemporaryFile(/tmp/multipartBody6774821518507296547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_59_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f9d72646b61a70fb41dc898f6a514ca.jpg","text":"TemporaryFile(/tmp/multipartBody3142099301770326803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_59_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/add6e8cc2de4d0daa13bbe000ebed202.jpg","text":"TemporaryFile(/tmp/multipartBody7495401891596170832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_59_05_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0ca4aa27d6c6a0cca6ebb20d8d34c9f.jpg","text":"TemporaryFile(/tmp/multipartBody2848716981774483676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539003245,"filename":"image_30112025_21_59_55_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125869","file1":"1397125867","file0":"1397125864","file4":"1397125875","file5":"1397125877","file3":"1397125872"},"map_files_photo_id_array":[{"photo_id":"1397125877","filename":"file5"},{"photo_id":"1397125869","filename":"file2"},{"photo_id":"1397125875","filename":"file4"},{"photo_id":"1397125867","filename":"file1"},{"photo_id":"1397125864","filename":"file0"},{"photo_id":"1397125872","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125864":["hashtag1","hashtag2"]},{"1397125867":["hashtag1","hashtag2"]},{"1397125872":["hashtag1","hashtag2"]},{"1397125875":["hashtag1","hashtag2"]},{"1397125869":["hashtag1","hashtag2"]},{"1397125877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125864, 1397125867, 1397125872, 1397125875, 1397125869, 1397125877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85601282119751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:43:03.220496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_35_20596.jpg', '/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_42_7588.jpg', '/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_44_1675.jpg', '/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_54_9801.jpg', '/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_35_10953.jpg', '/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_35_20596.jpg
/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_42_7588.jpg
/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_44_1675.jpg
/home/pi/Desktop/images/30112025/22/01/image_30112025_22_01_54_9801.jpg
/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_35_10953.jpg
/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_44_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125888","1397125882","1397125885","1397125881","1397125883","1397125880"],"photo_ids_order":["1397125880","1397125881","1397125882","1397125883","1397125885","1397125888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd2cd67021d368e58918949a90dfff00.jpg","text":"TemporaryFile(/tmp/multipartBody8062363338210352882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_03_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e88d963b683f95f68f946a1f7b799b35.jpg","text":"TemporaryFile(/tmp/multipartBody2703825256286798849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_01_44_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/30/f6e41fe5f177a12f6f161ec56af2d3cd.jpg","text":"TemporaryFile(/tmp/multipartBody8219797904206842922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_03_35_10953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6a6f03b2b1917aecacf90ae9b6d0c18e.jpg","text":"TemporaryFile(/tmp/multipartBody2598779343058926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_01_42_7588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f66658bc302b894361fdc46b7a9a75e.jpg","text":"TemporaryFile(/tmp/multipartBody4127410424797111601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_01_54_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c15475fd650c0bd66e864b330af7e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4756123728699551979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539044027,"filename":"image_30112025_22_01_35_20596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125882","file1":"1397125881","file0":"1397125880","file4":"1397125885","file5":"1397125888","file3":"1397125883"},"map_files_photo_id_array":[{"photo_id":"1397125888","filename":"file5"},{"photo_id":"1397125882","filename":"file2"},{"photo_id":"1397125885","filename":"file4"},{"photo_id":"1397125881","filename":"file1"},{"photo_id":"1397125880","filename":"file0"},{"photo_id":"1397125883","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125888":["hashtag1","hashtag2"]},{"1397125882":["hashtag1","hashtag2"]},{"1397125885":["hashtag1","hashtag2"]},{"1397125881":["hashtag1","hashtag2"]},{"1397125883":["hashtag1","hashtag2"]},{"1397125880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125888, 1397125882, 1397125885, 1397125881, 1397125883, 1397125880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.338560581207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:43:42.645016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/52/image_31102025_13_52_32_2641.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_38_3687.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_44_2608.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_47_3899.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_50_2534.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_53_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_32_2641.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_38_3687.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_44_2608.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_47_3899.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_50_2534.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_53_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125894","1397125891","1397125896","1397125895","1397125898","1397125892"],"photo_ids_order":["1397125891","1397125892","1397125894","1397125895","1397125896","1397125898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d17b2c993eabdb5655f16dd12e58904f.jpg","text":"TemporaryFile(/tmp/multipartBody4012289626293739807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_44_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/30/db65089c31614eb2f0a038f0e7c0ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody6261042983832443963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_32_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/30/e3ab7db0dc8351c97f8852aa39fd79a3.jpg","text":"TemporaryFile(/tmp/multipartBody7213835485709003338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_50_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/30/e3dee72c9f11b526e99a2bd65776cee8.jpg","text":"TemporaryFile(/tmp/multipartBody5051357233965607795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_47_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/30/8d48c9c080d5045a546d8526d00790a8.jpg","text":"TemporaryFile(/tmp/multipartBody7426564338420807012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_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/30/369fc1872f6a5e5e57a31c9f1b0b1ac7.jpg","text":"TemporaryFile(/tmp/multipartBody986299073910212712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539083627,"filename":"image_31102025_13_52_38_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125894","file1":"1397125892","file0":"1397125891","file4":"1397125896","file5":"1397125898","file3":"1397125895"},"map_files_photo_id_array":[{"photo_id":"1397125898","filename":"file5"},{"photo_id":"1397125894","filename":"file2"},{"photo_id":"1397125896","filename":"file4"},{"photo_id":"1397125892","filename":"file1"},{"photo_id":"1397125891","filename":"file0"},{"photo_id":"1397125895","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125894":["hashtag1","hashtag2"]},{"1397125891":["hashtag1","hashtag2"]},{"1397125896":["hashtag1","hashtag2"]},{"1397125895":["hashtag1","hashtag2"]},{"1397125898":["hashtag1","hashtag2"]},{"1397125892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125894, 1397125891, 1397125896, 1397125895, 1397125898, 1397125892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.803919315338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:44:22.822508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_54_9752.jpg', '/home/pi/Desktop/images/30112025/22/04/image_30112025_22_04_05_10529.jpg', '/home/pi/Desktop/images/30112025/22/04/image_30112025_22_04_24_9785.jpg', '/home/pi/Desktop/images/30112025/22/05/image_30112025_22_05_14_10055.jpg', '/home/pi/Desktop/images/30112025/22/06/image_30112025_22_06_45_10757.jpg', '/home/pi/Desktop/images/30112025/22/06/image_30112025_22_06_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/03/image_30112025_22_03_54_9752.jpg
/home/pi/Desktop/images/30112025/22/04/image_30112025_22_04_05_10529.jpg
/home/pi/Desktop/images/30112025/22/04/image_30112025_22_04_24_9785.jpg
/home/pi/Desktop/images/30112025/22/05/image_30112025_22_05_14_10055.jpg
/home/pi/Desktop/images/30112025/22/06/image_30112025_22_06_45_10757.jpg
/home/pi/Desktop/images/30112025/22/06/image_30112025_22_06_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125910","1397125906","1397125915","1397125909","1397125903","1397125908"],"photo_ids_order":["1397125903","1397125906","1397125908","1397125909","1397125910","1397125915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d9996a7cc69ca3a6fce12b64983d926.jpg","text":"TemporaryFile(/tmp/multipartBody1820032372670454739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_06_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53af28058d9aa5a941d5f66830a5ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody5713592090333982624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_04_05_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd3b23561d9533879dabc70e73fce8e2.jpg","text":"TemporaryFile(/tmp/multipartBody5305525198649492811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_06_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f5d687bcf761cc3b796f8026df32867a.jpg","text":"TemporaryFile(/tmp/multipartBody3861864631948284076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_05_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60354940a6ac4e4cb90ebb157383d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody2173001154055403598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_03_54_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f8cfc99304cde4536b35855cf31bc3de.jpg","text":"TemporaryFile(/tmp/multipartBody2311871608113016018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539123639,"filename":"image_30112025_22_04_24_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125908","file1":"1397125906","file0":"1397125903","file4":"1397125910","file5":"1397125915","file3":"1397125909"},"map_files_photo_id_array":[{"photo_id":"1397125915","filename":"file5"},{"photo_id":"1397125908","filename":"file2"},{"photo_id":"1397125910","filename":"file4"},{"photo_id":"1397125906","filename":"file1"},{"photo_id":"1397125903","filename":"file0"},{"photo_id":"1397125909","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125910":["hashtag1","hashtag2"]},{"1397125906":["hashtag1","hashtag2"]},{"1397125915":["hashtag1","hashtag2"]},{"1397125909":["hashtag1","hashtag2"]},{"1397125903":["hashtag1","hashtag2"]},{"1397125908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125910, 1397125906, 1397125915, 1397125909, 1397125903, 1397125908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58487510681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:45:02.891738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_14_9769.jpg', '/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_25_10769.jpg', '/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_54_9750.jpg', '/home/pi/Desktop/images/30112025/22/07/image_30112025_22_08_05_10782.jpg', '/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_14_9819.jpg', '/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_14_9769.jpg
/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_25_10769.jpg
/home/pi/Desktop/images/30112025/22/07/image_30112025_22_07_54_9750.jpg
/home/pi/Desktop/images/30112025/22/07/image_30112025_22_08_05_10782.jpg
/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_14_9819.jpg
/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_24_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125919","1397125921","1397125918","1397125923","1397125917","1397125916"],"photo_ids_order":["1397125916","1397125917","1397125918","1397125919","1397125921","1397125923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ff5ce9be255e63101f8a27d79b1b638.jpg","text":"TemporaryFile(/tmp/multipartBody1114473229450066699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_08_05_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b294e4dbea29a39fef28c3ee1dd6ec96.jpg","text":"TemporaryFile(/tmp/multipartBody8998548948003583409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_08_14_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20ece1ae373378350623562d0241d783.jpg","text":"TemporaryFile(/tmp/multipartBody5837217164403264217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_07_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2d74a60bcb720e11d801531144236f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1865415542642463253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_08_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04f1cdc7b68726930a4ef80749e1c24f.jpg","text":"TemporaryFile(/tmp/multipartBody430104121379266686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_07_25_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b3190179dc5facffb533581132d5ee5.jpg","text":"TemporaryFile(/tmp/multipartBody7161288449243423577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539163666,"filename":"image_30112025_22_07_14_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125918","file1":"1397125917","file0":"1397125916","file4":"1397125921","file5":"1397125923","file3":"1397125919"},"map_files_photo_id_array":[{"photo_id":"1397125923","filename":"file5"},{"photo_id":"1397125918","filename":"file2"},{"photo_id":"1397125921","filename":"file4"},{"photo_id":"1397125917","filename":"file1"},{"photo_id":"1397125916","filename":"file0"},{"photo_id":"1397125919","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125919":["hashtag1","hashtag2"]},{"1397125921":["hashtag1","hashtag2"]},{"1397125918":["hashtag1","hashtag2"]},{"1397125923":["hashtag1","hashtag2"]},{"1397125917":["hashtag1","hashtag2"]},{"1397125916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125919, 1397125921, 1397125918, 1397125923, 1397125917, 1397125916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.387770891189575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:45:42.159080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/52/image_31102025_13_52_56_3630.jpg', '/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_59_2673.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_05_3655.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_08_2647.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_11_2739.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_17_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_56_3630.jpg
/home/pi/Desktop/images/31102025/13/52/image_31102025_13_52_59_2673.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_05_3655.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_08_2647.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_11_2739.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_17_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125930","1397125927","1397125929","1397125932","1397125931","1397125928"],"photo_ids_order":["1397125927","1397125928","1397125929","1397125930","1397125931","1397125932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9aecf66a6521c16020c7c2ffe13c5d00.jpg","text":"TemporaryFile(/tmp/multipartBody7555612860805481705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_53_08_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c112179a23e03e0a723f7bb090d9889c.jpg","text":"TemporaryFile(/tmp/multipartBody2289290938862124399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_52_56_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1326ec3a19467b3a7dfb656afd0337f9.jpg","text":"TemporaryFile(/tmp/multipartBody4744661730330025421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_53_05_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/30/e1990fea22fcc266ca3ffdd20dc8c611.jpg","text":"TemporaryFile(/tmp/multipartBody5144854165456196394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_53_17_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/30/0429c5e8100d22d5451b1e157c3b93ac.jpg","text":"TemporaryFile(/tmp/multipartBody1414204090573783597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_53_11_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/30/6bab38810f3d18437a78adc4754239b7.jpg","text":"TemporaryFile(/tmp/multipartBody4989574276153410319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539203001,"filename":"image_31102025_13_52_59_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125929","file1":"1397125928","file0":"1397125927","file4":"1397125931","file5":"1397125932","file3":"1397125930"},"map_files_photo_id_array":[{"photo_id":"1397125932","filename":"file5"},{"photo_id":"1397125929","filename":"file2"},{"photo_id":"1397125931","filename":"file4"},{"photo_id":"1397125928","filename":"file1"},{"photo_id":"1397125927","filename":"file0"},{"photo_id":"1397125930","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125930":["hashtag1","hashtag2"]},{"1397125927":["hashtag1","hashtag2"]},{"1397125929":["hashtag1","hashtag2"]},{"1397125932":["hashtag1","hashtag2"]},{"1397125931":["hashtag1","hashtag2"]},{"1397125928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125930, 1397125927, 1397125929, 1397125932, 1397125931, 1397125928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526132345199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:46:22.450069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_34_9668.jpg', '/home/pi/Desktop/images/30112025/22/08/image_30112025_22_09_04_9906.jpg', '/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_14_9788.jpg', '/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_24_10675.jpg', '/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_34_9592.jpg', '/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/08/image_30112025_22_08_34_9668.jpg
/home/pi/Desktop/images/30112025/22/08/image_30112025_22_09_04_9906.jpg
/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_14_9788.jpg
/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_24_10675.jpg
/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_34_9592.jpg
/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_44_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125942","1397125939","1397125941","1397125935","1397125944","1397125937"],"photo_ids_order":["1397125935","1397125937","1397125939","1397125941","1397125942","1397125944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/75990f8e5fee2b861c853812a73f9c83.jpg","text":"TemporaryFile(/tmp/multipartBody628626876037511662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_09_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/685da57d661df852bf5a459f539c3262.jpg","text":"TemporaryFile(/tmp/multipartBody3156950563744227750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_09_14_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6f802302af4c6e8bf98440d36ee33097.jpg","text":"TemporaryFile(/tmp/multipartBody8009540684520230870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_09_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/76f905a3cbdeaa6aa5ace02c7334a4f3.jpg","text":"TemporaryFile(/tmp/multipartBody4678006372731581346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_08_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8cc1b7d126ca103e7ad5e7c53b6bc871.jpg","text":"TemporaryFile(/tmp/multipartBody4953939928505199319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_09_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/092eed370cf781fe12e413a889bff582.jpg","text":"TemporaryFile(/tmp/multipartBody5829171980318202286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539243233,"filename":"image_30112025_22_09_04_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125939","file1":"1397125937","file0":"1397125935","file4":"1397125942","file5":"1397125944","file3":"1397125941"},"map_files_photo_id_array":[{"photo_id":"1397125944","filename":"file5"},{"photo_id":"1397125939","filename":"file2"},{"photo_id":"1397125942","filename":"file4"},{"photo_id":"1397125937","filename":"file1"},{"photo_id":"1397125935","filename":"file0"},{"photo_id":"1397125941","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125942":["hashtag1","hashtag2"]},{"1397125939":["hashtag1","hashtag2"]},{"1397125941":["hashtag1","hashtag2"]},{"1397125935":["hashtag1","hashtag2"]},{"1397125944":["hashtag1","hashtag2"]},{"1397125937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125942, 1397125939, 1397125941, 1397125935, 1397125944, 1397125937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.659727573394775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:47:03.411582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_55_10725.jpg', '/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_15_10050.jpg', '/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_26_10666.jpg', '/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_36_10019.jpg', '/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_45_9691.jpg', '/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_55_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/09/image_30112025_22_09_55_10725.jpg
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_15_10050.jpg
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_26_10666.jpg
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_36_10019.jpg
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_45_9691.jpg
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_10_55_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125945","1397125948","1397125947","1397125950","1397125952","1397125946"],"photo_ids_order":["1397125945","1397125946","1397125947","1397125948","1397125950","1397125952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb476bd14a12e8fb4376cea79c1c3b72.jpg","text":"TemporaryFile(/tmp/multipartBody3765974353784720427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_09_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d42cc0958450813ba9e5d272f2c3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1202438310438296359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_10_36_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/204c91ffc7f3e3545c77014a89a8f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody973336450038997625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_10_26_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0068b13e3b6d70e9235b8b70392b9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5648416687155092862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_10_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e17697d0df67456855fbdb17f7c55cb.jpg","text":"TemporaryFile(/tmp/multipartBody3733284944878409984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_10_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c753eb4c4088266017b1f9b6f40343d7.jpg","text":"TemporaryFile(/tmp/multipartBody3319505809940275087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539284188,"filename":"image_30112025_22_10_15_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125947","file1":"1397125946","file0":"1397125945","file4":"1397125950","file5":"1397125952","file3":"1397125948"},"map_files_photo_id_array":[{"photo_id":"1397125952","filename":"file5"},{"photo_id":"1397125947","filename":"file2"},{"photo_id":"1397125950","filename":"file4"},{"photo_id":"1397125946","filename":"file1"},{"photo_id":"1397125945","filename":"file0"},{"photo_id":"1397125948","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125945":["hashtag1","hashtag2"]},{"1397125948":["hashtag1","hashtag2"]},{"1397125947":["hashtag1","hashtag2"]},{"1397125950":["hashtag1","hashtag2"]},{"1397125952":["hashtag1","hashtag2"]},{"1397125946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125945, 1397125948, 1397125947, 1397125950, 1397125952, 1397125946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61442422866821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:47:42.664603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/53/image_31102025_13_53_20_2722.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_23_2738.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_26_3555.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_32_2694.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_35_3640.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_38_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/13/53/image_31102025_13_53_20_2722.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_23_2738.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_26_3555.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_32_2694.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_35_3640.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_38_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":["1397125960","1397125957","1397125959","1397125958","1397125961","1397125955"],"photo_ids_order":["1397125955","1397125957","1397125958","1397125959","1397125960","1397125961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04d1331f1e96288a0d669815b4a4769c.jpg","text":"TemporaryFile(/tmp/multipartBody1207844461858143598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_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/30/8a00f3498f62068c980e399617fdc260.jpg","text":"TemporaryFile(/tmp/multipartBody50364240112935031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_23_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ca494a7e81ad037f4ca111e99d5e0f0.jpg","text":"TemporaryFile(/tmp/multipartBody5596911859540794635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_32_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9d19facb50460e6e92303f59bba03dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4734877823727647869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_26_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/30/61ebaff3883c4be723f8f4b3aef1b3ea.jpg","text":"TemporaryFile(/tmp/multipartBody8092520362745160658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1204282b53cbbf9fa06193e79a4a3401.jpg","text":"TemporaryFile(/tmp/multipartBody4168769373793795795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539323595,"filename":"image_31102025_13_53_20_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125958","file1":"1397125957","file0":"1397125955","file4":"1397125960","file5":"1397125961","file3":"1397125959"},"map_files_photo_id_array":[{"photo_id":"1397125961","filename":"file5"},{"photo_id":"1397125958","filename":"file2"},{"photo_id":"1397125960","filename":"file4"},{"photo_id":"1397125957","filename":"file1"},{"photo_id":"1397125955","filename":"file0"},{"photo_id":"1397125959","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125960":["hashtag1","hashtag2"]},{"1397125957":["hashtag1","hashtag2"]},{"1397125959":["hashtag1","hashtag2"]},{"1397125958":["hashtag1","hashtag2"]},{"1397125961":["hashtag1","hashtag2"]},{"1397125955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125960, 1397125957, 1397125959, 1397125958, 1397125961, 1397125955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26027750968933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:48:22.792372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/10/image_30112025_22_11_06_10710.jpg', '/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_15_9342.jpg', '/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_26_10617.jpg', '/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_35_9837.jpg', '/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_45_9664.jpg', '/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_15_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/10/image_30112025_22_11_06_10710.jpg
/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_15_9342.jpg
/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_26_10617.jpg
/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_35_9837.jpg
/home/pi/Desktop/images/30112025/22/11/image_30112025_22_11_45_9664.jpg
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_15_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125966","1397125971","1397125968","1397125970","1397125964","1397125973"],"photo_ids_order":["1397125964","1397125966","1397125968","1397125970","1397125971","1397125973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67b224963eb3851d85db5809ed0da852.jpg","text":"TemporaryFile(/tmp/multipartBody6896403424316577782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_11_15_9342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/61950b3144dce2428df32b297aba06d3.jpg","text":"TemporaryFile(/tmp/multipartBody7933631677388069065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_11_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ec616338ccf6904fe296f6ced6d07bb.jpg","text":"TemporaryFile(/tmp/multipartBody6341485639953969371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_11_26_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/04b81be20730d25bf9c88af154ea6cf9.jpg","text":"TemporaryFile(/tmp/multipartBody2232222232194322271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_11_35_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fa47efa566381cef12b4a2606016baf.jpg","text":"TemporaryFile(/tmp/multipartBody177250988630664689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_11_06_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/697a040b731f385c06ef0b1917f3e344.jpg","text":"TemporaryFile(/tmp/multipartBody6409271886961248323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539363565,"filename":"image_30112025_22_12_15_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125968","file1":"1397125966","file0":"1397125964","file4":"1397125971","file5":"1397125973","file3":"1397125970"},"map_files_photo_id_array":[{"photo_id":"1397125973","filename":"file5"},{"photo_id":"1397125968","filename":"file2"},{"photo_id":"1397125971","filename":"file4"},{"photo_id":"1397125966","filename":"file1"},{"photo_id":"1397125964","filename":"file0"},{"photo_id":"1397125970","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125966":["hashtag1","hashtag2"]},{"1397125971":["hashtag1","hashtag2"]},{"1397125968":["hashtag1","hashtag2"]},{"1397125970":["hashtag1","hashtag2"]},{"1397125964":["hashtag1","hashtag2"]},{"1397125973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125966, 1397125971, 1397125968, 1397125970, 1397125964, 1397125973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76778793334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:49:03.103246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_25_9483.jpg', '/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_35_10516.jpg', '/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_45_9800.jpg', '/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_55_9718.jpg', '/home/pi/Desktop/images/30112025/22/12/image_30112025_22_13_06_10793.jpg', '/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_15_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_25_9483.jpg
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_35_10516.jpg
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_45_9800.jpg
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_12_55_9718.jpg
/home/pi/Desktop/images/30112025/22/12/image_30112025_22_13_06_10793.jpg
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_15_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125975","1397125980","1397125974","1397125977","1397125982","1397125976"],"photo_ids_order":["1397125974","1397125975","1397125976","1397125977","1397125980","1397125982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4eb0bda8f7778b45f2f2dff5edfd5329.jpg","text":"TemporaryFile(/tmp/multipartBody3359359737875650387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_12_35_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f893295921d417fa1fab3915a665842e.jpg","text":"TemporaryFile(/tmp/multipartBody1544415555537673345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_13_06_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4b46be8698723e2c75e2ee7528b6d0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3180505822121799642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_12_25_9483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6955bf830cd650429a2dce1fb33bbd98.jpg","text":"TemporaryFile(/tmp/multipartBody7266695521607244159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_12_55_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60bec00171769ab05666938190753680.jpg","text":"TemporaryFile(/tmp/multipartBody291491565037956602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_13_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df02deae36cae23ff3a627143b84f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody200937939546024393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539404032,"filename":"image_30112025_22_12_45_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125976","file1":"1397125975","file0":"1397125974","file4":"1397125980","file5":"1397125982","file3":"1397125977"},"map_files_photo_id_array":[{"photo_id":"1397125982","filename":"file5"},{"photo_id":"1397125976","filename":"file2"},{"photo_id":"1397125980","filename":"file4"},{"photo_id":"1397125975","filename":"file1"},{"photo_id":"1397125974","filename":"file0"},{"photo_id":"1397125977","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125975":["hashtag1","hashtag2"]},{"1397125980":["hashtag1","hashtag2"]},{"1397125974":["hashtag1","hashtag2"]},{"1397125977":["hashtag1","hashtag2"]},{"1397125982":["hashtag1","hashtag2"]},{"1397125976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125975, 1397125980, 1397125974, 1397125977, 1397125982, 1397125976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71298694610596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:49:41.973948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/53/image_31102025_13_53_41_2558.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_44_3716.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_47_2635.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_50_2873.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_52_2694.jpg', '/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_59_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_41_2558.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_44_3716.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_47_2635.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_50_2873.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_52_2694.jpg
/home/pi/Desktop/images/31102025/13/53/image_31102025_13_53_59_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":["1397125987","1397125990","1397125984","1397125989","1397125991","1397125988"],"photo_ids_order":["1397125984","1397125987","1397125988","1397125989","1397125990","1397125991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbd66f5c41daf1ad9e0c7dffb93e70b7.jpg","text":"TemporaryFile(/tmp/multipartBody4014924150918426943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_44_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/30/b71194f5e2ea2caab4a00cb607011ba7.jpg","text":"TemporaryFile(/tmp/multipartBody9003431252444098138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_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/30/0a5b82bc5756100dc8516fd87c885cbb.jpg","text":"TemporaryFile(/tmp/multipartBody9042303731482675852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_41_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d06d5ce3ecc6fb82fbdd698be7526cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3175435397491746435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_50_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/30/b914aff047f0dba154259e2c853b44f9.jpg","text":"TemporaryFile(/tmp/multipartBody3914727814401117207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_59_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/71871e9eaa1a37ea30f3ac17a843c5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4072588075532078892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539442854,"filename":"image_31102025_13_53_47_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125988","file1":"1397125987","file0":"1397125984","file4":"1397125990","file5":"1397125991","file3":"1397125989"},"map_files_photo_id_array":[{"photo_id":"1397125991","filename":"file5"},{"photo_id":"1397125988","filename":"file2"},{"photo_id":"1397125990","filename":"file4"},{"photo_id":"1397125987","filename":"file1"},{"photo_id":"1397125984","filename":"file0"},{"photo_id":"1397125989","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397125987":["hashtag1","hashtag2"]},{"1397125990":["hashtag1","hashtag2"]},{"1397125984":["hashtag1","hashtag2"]},{"1397125989":["hashtag1","hashtag2"]},{"1397125991":["hashtag1","hashtag2"]},{"1397125988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397125987, 1397125990, 1397125984, 1397125989, 1397125991, 1397125988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48338055610657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:50:22.175448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_25_9915.jpg', '/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_35_9706.jpg', '/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_45_10151.jpg', '/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_55_9898.jpg', '/home/pi/Desktop/images/30112025/22/13/image_30112025_22_14_05_9713.jpg', '/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_16_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_25_9915.jpg
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_35_9706.jpg
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_45_10151.jpg
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_13_55_9898.jpg
/home/pi/Desktop/images/30112025/22/13/image_30112025_22_14_05_9713.jpg
/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_16_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397125993","1397126002","1397125998","1397125995","1397126007","1397126000"],"photo_ids_order":["1397125993","1397125995","1397125998","1397126000","1397126002","1397126007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/760ee9ee0a534e9128fd58a671b69f92.jpg","text":"TemporaryFile(/tmp/multipartBody6792888307035475835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_13_25_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/285302e00fa968c1e887faf3c79a1edc.jpg","text":"TemporaryFile(/tmp/multipartBody720453093122365645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_14_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ad44912bfb41b985702442bb7bb9de6.jpg","text":"TemporaryFile(/tmp/multipartBody5414843397506349628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_13_45_10151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e93d8cc64a87f26003feb5ae92646483.jpg","text":"TemporaryFile(/tmp/multipartBody6696815060099927030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_13_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b29c420c6e0057fa6d63f93bfa6c6c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1004485051250900209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_14_16_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c93fe30ce37e0cd61aba450fead7fb9b.jpg","text":"TemporaryFile(/tmp/multipartBody6040699740210305614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539482940,"filename":"image_30112025_22_13_55_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397125998","file1":"1397125995","file0":"1397125993","file4":"1397126002","file5":"1397126007","file3":"1397126000"},"map_files_photo_id_array":[{"photo_id":"1397126007","filename":"file5"},{"photo_id":"1397125998","filename":"file2"},{"photo_id":"1397126002","filename":"file4"},{"photo_id":"1397125995","filename":"file1"},{"photo_id":"1397125993","filename":"file0"},{"photo_id":"1397126000","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397125993":["hashtag1","hashtag2"]},{"1397126002":["hashtag1","hashtag2"]},{"1397125998":["hashtag1","hashtag2"]},{"1397125995":["hashtag1","hashtag2"]},{"1397126007":["hashtag1","hashtag2"]},{"1397126000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397125993, 1397126002, 1397125998, 1397125995, 1397126007, 1397126000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516841411590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:51:03.028864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_25_9857.jpg', '/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_35_9712.jpg', '/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_45_9869.jpg', '/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_15_10057.jpg', '/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_25_10656.jpg', '/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_35_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_25_9857.jpg
/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_35_9712.jpg
/home/pi/Desktop/images/30112025/22/14/image_30112025_22_14_45_9869.jpg
/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_15_10057.jpg
/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_25_10656.jpg
/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_35_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126011","1397126014","1397126017","1397126010","1397126012","1397126009"],"photo_ids_order":["1397126009","1397126010","1397126011","1397126012","1397126014","1397126017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26a1f655aef799b48a3c8be6b3b93e21.jpg","text":"TemporaryFile(/tmp/multipartBody8535863975577207963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_14_45_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2c3455aba1c8e564c29a52714b9e570d.jpg","text":"TemporaryFile(/tmp/multipartBody4019062735710020378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_15_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/faa51dfb7c0376bb1bf3efa6bd94e9e3.jpg","text":"TemporaryFile(/tmp/multipartBody9114486879044292661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_15_35_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c73c99bf8c5bbd1b6634395984a5ca94.jpg","text":"TemporaryFile(/tmp/multipartBody3604713821615143238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_14_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/729ba9dc87ab4d9fbfe173cc31071828.jpg","text":"TemporaryFile(/tmp/multipartBody1098516067272116882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_15_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b38286c28bb214f368e2159063ad33a7.jpg","text":"TemporaryFile(/tmp/multipartBody6156091378657223751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539523831,"filename":"image_30112025_22_14_25_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126011","file1":"1397126010","file0":"1397126009","file4":"1397126014","file5":"1397126017","file3":"1397126012"},"map_files_photo_id_array":[{"photo_id":"1397126017","filename":"file5"},{"photo_id":"1397126011","filename":"file2"},{"photo_id":"1397126014","filename":"file4"},{"photo_id":"1397126010","filename":"file1"},{"photo_id":"1397126009","filename":"file0"},{"photo_id":"1397126012","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126011":["hashtag1","hashtag2"]},{"1397126014":["hashtag1","hashtag2"]},{"1397126017":["hashtag1","hashtag2"]},{"1397126010":["hashtag1","hashtag2"]},{"1397126012":["hashtag1","hashtag2"]},{"1397126009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126011, 1397126014, 1397126017, 1397126010, 1397126012, 1397126009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59302568435669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:51:42.404722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/54/image_31102025_13_54_04_2613.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_08_3694.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_11_2668.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_13_2625.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_17_3736.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_20_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_04_2613.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_08_3694.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_11_2668.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_13_2625.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_17_3736.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_20_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126026","1397126022","1397126025","1397126028","1397126021","1397126024"],"photo_ids_order":["1397126021","1397126022","1397126024","1397126025","1397126026","1397126028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3ccc0fd15017c323cd11966da336fa22.jpg","text":"TemporaryFile(/tmp/multipartBody2062074093331411186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_17_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/30/d211c5fcfe02b54bbe330f3b9f25c195.jpg","text":"TemporaryFile(/tmp/multipartBody191560556373526735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_08_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/30/100a031f4b41dcf30b9643b91b789978.jpg","text":"TemporaryFile(/tmp/multipartBody1186439906550486784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e7578a2cfc214467f33389431aa16885.jpg","text":"TemporaryFile(/tmp/multipartBody4322759925376532708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_20_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/30/466d6de7d1904639321132e432e087af.jpg","text":"TemporaryFile(/tmp/multipartBody1846618462253920733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_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/30/fa6e4f2b558a6b390e5c12c6be743473.jpg","text":"TemporaryFile(/tmp/multipartBody227251245000860730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539563293,"filename":"image_31102025_13_54_11_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126024","file1":"1397126022","file0":"1397126021","file4":"1397126026","file5":"1397126028","file3":"1397126025"},"map_files_photo_id_array":[{"photo_id":"1397126028","filename":"file5"},{"photo_id":"1397126024","filename":"file2"},{"photo_id":"1397126026","filename":"file4"},{"photo_id":"1397126022","filename":"file1"},{"photo_id":"1397126021","filename":"file0"},{"photo_id":"1397126025","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397126026":["hashtag1","hashtag2"]},{"1397126022":["hashtag1","hashtag2"]},{"1397126025":["hashtag1","hashtag2"]},{"1397126028":["hashtag1","hashtag2"]},{"1397126021":["hashtag1","hashtag2"]},{"1397126024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397126026, 1397126022, 1397126025, 1397126028, 1397126021, 1397126024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43410110473633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:52:22.601487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_45_9756.jpg', '/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_15_9862.jpg', '/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_25_9797.jpg', '/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_55_9756.jpg', '/home/pi/Desktop/images/30112025/22/16/image_30112025_22_17_05_9757.jpg', '/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_15_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/15/image_30112025_22_15_45_9756.jpg
/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_15_9862.jpg
/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_25_9797.jpg
/home/pi/Desktop/images/30112025/22/16/image_30112025_22_16_55_9756.jpg
/home/pi/Desktop/images/30112025/22/16/image_30112025_22_17_05_9757.jpg
/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_15_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126041","1397126038","1397126032","1397126034","1397126039","1397126036"],"photo_ids_order":["1397126032","1397126034","1397126036","1397126038","1397126039","1397126041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b289bfc87c6cb436431d57cfee9fdef9.jpg","text":"TemporaryFile(/tmp/multipartBody7255182035343675027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_17_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b692bc40d5cfabea8cec62ffeeeb125.jpg","text":"TemporaryFile(/tmp/multipartBody8548746325769258053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_16_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c26e3f7e6f33af9d187b0cc0ea8af59.jpg","text":"TemporaryFile(/tmp/multipartBody8116319524358794934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_15_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03e171a59b046f40a67b1aeeaff19b72.jpg","text":"TemporaryFile(/tmp/multipartBody4664234107864299595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_16_15_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dec68a4b7f859c3ed5322f21db7b2554.jpg","text":"TemporaryFile(/tmp/multipartBody7083740733073856791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_17_05_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d246a414ce372c39e618b86e6188ec71.jpg","text":"TemporaryFile(/tmp/multipartBody2209398557858696627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539603375,"filename":"image_30112025_22_16_25_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126036","file1":"1397126034","file0":"1397126032","file4":"1397126039","file5":"1397126041","file3":"1397126038"},"map_files_photo_id_array":[{"photo_id":"1397126041","filename":"file5"},{"photo_id":"1397126036","filename":"file2"},{"photo_id":"1397126039","filename":"file4"},{"photo_id":"1397126034","filename":"file1"},{"photo_id":"1397126032","filename":"file0"},{"photo_id":"1397126038","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126041":["hashtag1","hashtag2"]},{"1397126038":["hashtag1","hashtag2"]},{"1397126032":["hashtag1","hashtag2"]},{"1397126034":["hashtag1","hashtag2"]},{"1397126039":["hashtag1","hashtag2"]},{"1397126036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126041, 1397126038, 1397126032, 1397126034, 1397126039, 1397126036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23714542388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:53:03.256850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_25_10754.jpg', '/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_35_9570.jpg', '/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_45_9638.jpg', '/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_55_10750.jpg', '/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_15_9712.jpg', '/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_24_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_25_10754.jpg
/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_35_9570.jpg
/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_45_9638.jpg
/home/pi/Desktop/images/30112025/22/17/image_30112025_22_17_55_10750.jpg
/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_15_9712.jpg
/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_24_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126050","1397126044","1397126043","1397126045","1397126048","1397126042"],"photo_ids_order":["1397126042","1397126043","1397126044","1397126045","1397126048","1397126050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a9e023e8e6bfa44d15d03e55f26043a.jpg","text":"TemporaryFile(/tmp/multipartBody4098193428451592902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_18_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c6913d7342db911283b23a3dd3f71ee.jpg","text":"TemporaryFile(/tmp/multipartBody4625021515441564665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_17_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/806f4debb833ee76f39eaded98920b22.jpg","text":"TemporaryFile(/tmp/multipartBody7076876424702591493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_17_35_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3b0f65f8e2726d0decd88760210fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody8719124232405415370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_17_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8e1aced277a507f8f04f6f5b3e352b9.jpg","text":"TemporaryFile(/tmp/multipartBody4777207665355484827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_18_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9fadcbfa53aaa6d94552b0160268e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4395397810848134658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539644064,"filename":"image_30112025_22_17_25_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126044","file1":"1397126043","file0":"1397126042","file4":"1397126048","file5":"1397126050","file3":"1397126045"},"map_files_photo_id_array":[{"photo_id":"1397126050","filename":"file5"},{"photo_id":"1397126044","filename":"file2"},{"photo_id":"1397126048","filename":"file4"},{"photo_id":"1397126043","filename":"file1"},{"photo_id":"1397126042","filename":"file0"},{"photo_id":"1397126045","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126050":["hashtag1","hashtag2"]},{"1397126044":["hashtag1","hashtag2"]},{"1397126043":["hashtag1","hashtag2"]},{"1397126045":["hashtag1","hashtag2"]},{"1397126048":["hashtag1","hashtag2"]},{"1397126042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126050, 1397126044, 1397126043, 1397126045, 1397126048, 1397126042)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.203776121139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:54:02.519452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_35_10894.jpg', '/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_45_9388.jpg', '/home/pi/Desktop/images/30112025/22/18/image_30112025_22_19_05_9612.jpg', '/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_15_9680.jpg', '/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_25_10616.jpg', '/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_35_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_35_10894.jpg
/home/pi/Desktop/images/30112025/22/18/image_30112025_22_18_45_9388.jpg
/home/pi/Desktop/images/30112025/22/18/image_30112025_22_19_05_9612.jpg
/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_15_9680.jpg
/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_25_10616.jpg
/home/pi/Desktop/images/30112025/22/19/image_30112025_22_19_35_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126065","1397126059","1397126061","1397126058","1397126063","1397126060"],"photo_ids_order":["1397126058","1397126059","1397126060","1397126061","1397126063","1397126065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/133d469d3518a1e6c35c41f37306b8a9.jpg","text":"TemporaryFile(/tmp/multipartBody4581405146311400439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_19_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80ad89211c7a66404dc3200e7dc28b87.jpg","text":"TemporaryFile(/tmp/multipartBody5777265619974602606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_18_45_9388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a9d27417f85a48315784a2de08bc4d53.jpg","text":"TemporaryFile(/tmp/multipartBody5786722415761171904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_19_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d581347168cb85d68c20b5d4922fed0f.jpg","text":"TemporaryFile(/tmp/multipartBody4570143174044334779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_18_35_10894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/681b059292ad840a0b1e49e9fc888d56.jpg","text":"TemporaryFile(/tmp/multipartBody7431434833842685516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_19_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/12f528cd11e3cf62ef11e60da5836a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5328448179213864609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539703371,"filename":"image_30112025_22_19_05_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126060","file1":"1397126059","file0":"1397126058","file4":"1397126063","file5":"1397126065","file3":"1397126061"},"map_files_photo_id_array":[{"photo_id":"1397126065","filename":"file5"},{"photo_id":"1397126060","filename":"file2"},{"photo_id":"1397126063","filename":"file4"},{"photo_id":"1397126059","filename":"file1"},{"photo_id":"1397126058","filename":"file0"},{"photo_id":"1397126061","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126065":["hashtag1","hashtag2"]},{"1397126059":["hashtag1","hashtag2"]},{"1397126061":["hashtag1","hashtag2"]},{"1397126058":["hashtag1","hashtag2"]},{"1397126063":["hashtag1","hashtag2"]},{"1397126060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126065, 1397126059, 1397126061, 1397126058, 1397126063, 1397126060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37192749977112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:54:41.924329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/54/image_31102025_13_54_23_2653.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_26_3571.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_29_2661.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_32_2651.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_35_3610.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_38_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_23_2653.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_26_3571.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_29_2661.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_32_2651.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_35_3610.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_38_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126071","1397126073","1397126075","1397126072","1397126069","1397126074"],"photo_ids_order":["1397126069","1397126071","1397126072","1397126073","1397126074","1397126075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0ca6486d393309ed14c6fa9ef83c4a99.jpg","text":"TemporaryFile(/tmp/multipartBody7298473914460624340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_26_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/30/4efe823360010be76268e2cfbd475658.jpg","text":"TemporaryFile(/tmp/multipartBody4856697626921387910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_32_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/30/66ca6cfccb00c03ab4eabf66a543cc59.jpg","text":"TemporaryFile(/tmp/multipartBody997033556359387444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_38_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/30/2005578902d6bc014222fa10098fb24d.jpg","text":"TemporaryFile(/tmp/multipartBody9084861603408226800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_29_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/30/0434db9ce4ae11e47526adf8f91ba7e7.jpg","text":"TemporaryFile(/tmp/multipartBody8518438910290972138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_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/30/d2f1e4acd86f3350cd2f2c704ef0a47d.jpg","text":"TemporaryFile(/tmp/multipartBody2463490057774573255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539742764,"filename":"image_31102025_13_54_35_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126072","file1":"1397126071","file0":"1397126069","file4":"1397126074","file5":"1397126075","file3":"1397126073"},"map_files_photo_id_array":[{"photo_id":"1397126075","filename":"file5"},{"photo_id":"1397126072","filename":"file2"},{"photo_id":"1397126074","filename":"file4"},{"photo_id":"1397126071","filename":"file1"},{"photo_id":"1397126069","filename":"file0"},{"photo_id":"1397126073","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397126071":["hashtag1","hashtag2"]},{"1397126073":["hashtag1","hashtag2"]},{"1397126075":["hashtag1","hashtag2"]},{"1397126072":["hashtag1","hashtag2"]},{"1397126069":["hashtag1","hashtag2"]},{"1397126074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397126071, 1397126073, 1397126075, 1397126072, 1397126069, 1397126074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.067280292510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:55:22.097876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/20/image_30112025_22_20_15_10055.jpg', '/home/pi/Desktop/images/30112025/22/20/image_30112025_22_20_35_9592.jpg', '/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_25_9891.jpg', '/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_36_10716.jpg', '/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_45_9715.jpg', '/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_55_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/20/image_30112025_22_20_15_10055.jpg
/home/pi/Desktop/images/30112025/22/20/image_30112025_22_20_35_9592.jpg
/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_25_9891.jpg
/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_36_10716.jpg
/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_45_9715.jpg
/home/pi/Desktop/images/30112025/22/21/image_30112025_22_21_55_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126085","1397126082","1397126084","1397126078","1397126087","1397126080"],"photo_ids_order":["1397126078","1397126080","1397126082","1397126084","1397126085","1397126087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/06f17d5419afe5a8d77e0049c8c64b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5840438663152288674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_21_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/faf8579e8b66f72abdc21f0b1dce06cf.jpg","text":"TemporaryFile(/tmp/multipartBody6085258942644515020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_21_25_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aadc636d510e85e930f50eb1972ed7b8.jpg","text":"TemporaryFile(/tmp/multipartBody8229043105792978203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_21_36_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c205b7eb9865849873e789b6d545c52.jpg","text":"TemporaryFile(/tmp/multipartBody8410256931557270438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_20_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8e1a40cb862acd8af8f565dbd2a4498.jpg","text":"TemporaryFile(/tmp/multipartBody982754246103444077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_21_55_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5028fe9a4ca99a95ec58910d61d53b99.jpg","text":"TemporaryFile(/tmp/multipartBody6893565558248072179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539782817,"filename":"image_30112025_22_20_35_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126082","file1":"1397126080","file0":"1397126078","file4":"1397126085","file5":"1397126087","file3":"1397126084"},"map_files_photo_id_array":[{"photo_id":"1397126087","filename":"file5"},{"photo_id":"1397126082","filename":"file2"},{"photo_id":"1397126085","filename":"file4"},{"photo_id":"1397126080","filename":"file1"},{"photo_id":"1397126078","filename":"file0"},{"photo_id":"1397126084","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126085":["hashtag1","hashtag2"]},{"1397126082":["hashtag1","hashtag2"]},{"1397126084":["hashtag1","hashtag2"]},{"1397126078":["hashtag1","hashtag2"]},{"1397126087":["hashtag1","hashtag2"]},{"1397126080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126085, 1397126082, 1397126084, 1397126078, 1397126087, 1397126080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35125255584717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:56:02.880409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_15_9882.jpg', '/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_26_10810.jpg', '/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_45_9761.jpg', '/home/pi/Desktop/images/30112025/22/22/image_30112025_22_23_05_9709.jpg', '/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_15_9842.jpg', '/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_25_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_15_9882.jpg
/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_26_10810.jpg
/home/pi/Desktop/images/30112025/22/22/image_30112025_22_22_45_9761.jpg
/home/pi/Desktop/images/30112025/22/22/image_30112025_22_23_05_9709.jpg
/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_15_9842.jpg
/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_25_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126091","1397126094","1397126096","1397126090","1397126092","1397126089"],"photo_ids_order":["1397126089","1397126090","1397126091","1397126092","1397126094","1397126096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d69fbc950afb7f698e6756aa5b46771.jpg","text":"TemporaryFile(/tmp/multipartBody5655854451696591909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_22_45_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/054e3686385a3090009e3d9a6ef4674c.jpg","text":"TemporaryFile(/tmp/multipartBody1820617867263793577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_23_15_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/115e0103b8b5000988ff88c8d42999c7.jpg","text":"TemporaryFile(/tmp/multipartBody3582984448984667908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_23_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c1810de7b43a18d06194344f5a37486.jpg","text":"TemporaryFile(/tmp/multipartBody2518582440451687434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_22_26_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f941d946c23bdf33f3279ea67d8e5c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3274865602672241084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_23_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e084173086e092ff9c100db3e368e01b.jpg","text":"TemporaryFile(/tmp/multipartBody4850289095406062614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539823613,"filename":"image_30112025_22_22_15_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126091","file1":"1397126090","file0":"1397126089","file4":"1397126094","file5":"1397126096","file3":"1397126092"},"map_files_photo_id_array":[{"photo_id":"1397126096","filename":"file5"},{"photo_id":"1397126091","filename":"file2"},{"photo_id":"1397126094","filename":"file4"},{"photo_id":"1397126090","filename":"file1"},{"photo_id":"1397126089","filename":"file0"},{"photo_id":"1397126092","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126091":["hashtag1","hashtag2"]},{"1397126094":["hashtag1","hashtag2"]},{"1397126096":["hashtag1","hashtag2"]},{"1397126090":["hashtag1","hashtag2"]},{"1397126092":["hashtag1","hashtag2"]},{"1397126089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126091, 1397126094, 1397126096, 1397126090, 1397126092, 1397126089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70431876182556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 22:56:42.431620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/54/image_31102025_13_54_44_3535.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_47_2687.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_50_2801.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_53_3600.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_56_2753.jpg', '/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_59_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_44_3535.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_47_2687.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_50_2801.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_53_3600.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_56_2753.jpg
/home/pi/Desktop/images/31102025/13/54/image_31102025_13_54_59_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126104","1397126101","1397126103","1397126106","1397126102","1397126105"],"photo_ids_order":["1397126101","1397126102","1397126103","1397126104","1397126105","1397126106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f2c0d2a90a8ee5a0f2b67c83c56a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody8780615118023114503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_53_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58df5975422002210f162b165756b1fa.jpg","text":"TemporaryFile(/tmp/multipartBody3462164669456824471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_44_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/30/a49856bf012f91445b43eff6b1a1bdaf.jpg","text":"TemporaryFile(/tmp/multipartBody7266960718569578266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_50_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c9216b56442a54e56c054872c255a59.jpg","text":"TemporaryFile(/tmp/multipartBody1150770807004767580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_59_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/30/a2d872218d8ffe4f528c0a8294ef1e07.jpg","text":"TemporaryFile(/tmp/multipartBody3554557659540625752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_47_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9551f6b2883bb5f8d10b7401ee23a63.jpg","text":"TemporaryFile(/tmp/multipartBody2602397677953716858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539863404,"filename":"image_31102025_13_54_56_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126103","file1":"1397126102","file0":"1397126101","file4":"1397126105","file5":"1397126106","file3":"1397126104"},"map_files_photo_id_array":[{"photo_id":"1397126106","filename":"file5"},{"photo_id":"1397126103","filename":"file2"},{"photo_id":"1397126105","filename":"file4"},{"photo_id":"1397126102","filename":"file1"},{"photo_id":"1397126101","filename":"file0"},{"photo_id":"1397126104","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397126104":["hashtag1","hashtag2"]},{"1397126101":["hashtag1","hashtag2"]},{"1397126103":["hashtag1","hashtag2"]},{"1397126106":["hashtag1","hashtag2"]},{"1397126102":["hashtag1","hashtag2"]},{"1397126105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397126104, 1397126101, 1397126103, 1397126106, 1397126102, 1397126105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10828518867493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 22:57:22.633964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_36_10686.jpg', '/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_55_9596.jpg', '/home/pi/Desktop/images/30112025/22/23/image_30112025_22_24_06_10673.jpg', '/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_16_9891.jpg', '/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_25_9723.jpg', '/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_35_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_36_10686.jpg
/home/pi/Desktop/images/30112025/22/23/image_30112025_22_23_55_9596.jpg
/home/pi/Desktop/images/30112025/22/23/image_30112025_22_24_06_10673.jpg
/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_16_9891.jpg
/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_25_9723.jpg
/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_35_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126113","1397126116","1397126115","1397126109","1397126118","1397126111"],"photo_ids_order":["1397126109","1397126111","1397126113","1397126115","1397126116","1397126118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9add8a7f9172f6a776980ee69013c99.jpg","text":"TemporaryFile(/tmp/multipartBody1852137204978609468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_24_06_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7e5b7330740835d6255a33035c70d363.jpg","text":"TemporaryFile(/tmp/multipartBody8731014019329458916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_24_25_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ebb200ef29bd667f439ffb5042a33bce.jpg","text":"TemporaryFile(/tmp/multipartBody982355992144839820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_24_16_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/425cd705890f3b9b19a7d8d62fba8688.jpg","text":"TemporaryFile(/tmp/multipartBody5142239487099885217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_23_36_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6da7c5998f58f841392eeedd98fb0719.jpg","text":"TemporaryFile(/tmp/multipartBody6229500613972623091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_24_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/af9d46f15851a11cd749c3bbf7dd3928.jpg","text":"TemporaryFile(/tmp/multipartBody1510701415714918800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764539903402,"filename":"image_30112025_22_23_55_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126113","file1":"1397126111","file0":"1397126109","file4":"1397126116","file5":"1397126118","file3":"1397126115"},"map_files_photo_id_array":[{"photo_id":"1397126118","filename":"file5"},{"photo_id":"1397126113","filename":"file2"},{"photo_id":"1397126116","filename":"file4"},{"photo_id":"1397126111","filename":"file1"},{"photo_id":"1397126109","filename":"file0"},{"photo_id":"1397126115","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126113":["hashtag1","hashtag2"]},{"1397126116":["hashtag1","hashtag2"]},{"1397126115":["hashtag1","hashtag2"]},{"1397126109":["hashtag1","hashtag2"]},{"1397126118":["hashtag1","hashtag2"]},{"1397126111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126113, 1397126116, 1397126115, 1397126109, 1397126118, 1397126111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8347749710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 22:59:02.915389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_55_9759.jpg', '/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_14_10038.jpg', '/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_24_10706.jpg', '/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_54_9712.jpg', '/home/pi/Desktop/images/30112025/22/27/image_30112025_22_27_14_9716.jpg', '/home/pi/Desktop/images/30112025/22/27/image_30112025_22_27_34_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/24/image_30112025_22_24_55_9759.jpg
/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_14_10038.jpg
/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_24_10706.jpg
/home/pi/Desktop/images/30112025/22/26/image_30112025_22_26_54_9712.jpg
/home/pi/Desktop/images/30112025/22/27/image_30112025_22_27_14_9716.jpg
/home/pi/Desktop/images/30112025/22/27/image_30112025_22_27_34_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397126521","1397126404","1397126442","1397126357","1397126482","1397126563"],"photo_ids_order":["1397126357","1397126404","1397126442","1397126482","1397126521","1397126563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cb2002978765ef4e9cc96184c29de03.jpg","text":"TemporaryFile(/tmp/multipartBody775008745704696963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_27_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/53d579cf563cb41b8ad57afbb8a27c7f.jpg","text":"TemporaryFile(/tmp/multipartBody364874116641301297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_26_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3153933054c2809b4ec9123015f6f62f.jpg","text":"TemporaryFile(/tmp/multipartBody3411458188499850883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_26_24_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7db3f2e88ed8cf8b64cdb09681db960c.jpg","text":"TemporaryFile(/tmp/multipartBody792121863770737150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_24_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bb03fed8fb58fa57dab8379bb567cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody6966947523587293394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_26_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81cc2733810a34da10909e3713a6ca9d.jpg","text":"TemporaryFile(/tmp/multipartBody8983588373090645890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540003827,"filename":"image_30112025_22_27_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397126442","file1":"1397126404","file0":"1397126357","file4":"1397126521","file5":"1397126563","file3":"1397126482"},"map_files_photo_id_array":[{"photo_id":"1397126563","filename":"file5"},{"photo_id":"1397126442","filename":"file2"},{"photo_id":"1397126521","filename":"file4"},{"photo_id":"1397126404","filename":"file1"},{"photo_id":"1397126357","filename":"file0"},{"photo_id":"1397126482","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397126521":["hashtag1","hashtag2"]},{"1397126404":["hashtag1","hashtag2"]},{"1397126442":["hashtag1","hashtag2"]},{"1397126357":["hashtag1","hashtag2"]},{"1397126482":["hashtag1","hashtag2"]},{"1397126563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397126521, 1397126404, 1397126442, 1397126357, 1397126482, 1397126563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20214009284973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:00:02.584809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/27/image_30112025_22_28_04_9838.jpg', '/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_24_10757.jpg', '/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_34_9698.jpg', '/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_54_10252.jpg', '/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_14_10709.jpg', '/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_34_10087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/27/image_30112025_22_28_04_9838.jpg
/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_24_10757.jpg
/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_34_9698.jpg
/home/pi/Desktop/images/30112025/22/28/image_30112025_22_28_54_10252.jpg
/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_14_10709.jpg
/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_34_10087.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397127103","1397127324","1397127179","1397127473","1397127397","1397127256"],"photo_ids_order":["1397127103","1397127179","1397127256","1397127324","1397127397","1397127473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5dbdc63332a6af4b9260497af0e8e8eb.jpg","text":"TemporaryFile(/tmp/multipartBody4904067539758744107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_28_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81e03f781dcdd59ca00ed7f488ea3dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8577449165380771212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_28_54_10252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/796ae3d19d3ebce26f3ccec671c80633.jpg","text":"TemporaryFile(/tmp/multipartBody811576994065995128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_28_24_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37125b630ec7d26cf656066f7cd6b281.jpg","text":"TemporaryFile(/tmp/multipartBody2536749811339983046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_29_34_10087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a80b1ba0b10a208344c0a54496d858c4.jpg","text":"TemporaryFile(/tmp/multipartBody716409212668177275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_29_14_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9edca75e0ce86da03af0bde4bbb50de8.jpg","text":"TemporaryFile(/tmp/multipartBody3582329720174374778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540063339,"filename":"image_30112025_22_28_34_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397127256","file1":"1397127179","file0":"1397127103","file4":"1397127397","file5":"1397127473","file3":"1397127324"},"map_files_photo_id_array":[{"photo_id":"1397127473","filename":"file5"},{"photo_id":"1397127256","filename":"file2"},{"photo_id":"1397127397","filename":"file4"},{"photo_id":"1397127179","filename":"file1"},{"photo_id":"1397127103","filename":"file0"},{"photo_id":"1397127324","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397127103":["hashtag1","hashtag2"]},{"1397127324":["hashtag1","hashtag2"]},{"1397127179":["hashtag1","hashtag2"]},{"1397127473":["hashtag1","hashtag2"]},{"1397127397":["hashtag1","hashtag2"]},{"1397127256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397127103, 1397127324, 1397127179, 1397127473, 1397127397, 1397127256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90396213531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:00:42.124463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/55/image_31102025_13_55_02_2944.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_05_3061.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_11_3571.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_14_2755.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_17_2914.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_20_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/13/55/image_31102025_13_55_02_2944.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_05_3061.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_11_3571.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_14_2755.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_17_2914.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_20_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":["1397127693","1397127657","1397127743","1397127731","1397127745","1397127619"],"photo_ids_order":["1397127619","1397127657","1397127693","1397127731","1397127743","1397127745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d9bfb729a2112fb6586e528da5d3e453.jpg","text":"TemporaryFile(/tmp/multipartBody448061138479451901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_11_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/30/4b6848261e79128238e2bc09b2abf069.jpg","text":"TemporaryFile(/tmp/multipartBody5934828911096340423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_05_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce7fbabbf2c59cc9b445c507ab529add.jpg","text":"TemporaryFile(/tmp/multipartBody1256900592546931607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_17_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/30/77af54110a881f989ceb1a10f2d49eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3330314322472404451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_14_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a1cd477bc306bf9554bacbead6a9a95.jpg","text":"TemporaryFile(/tmp/multipartBody816601964105358284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_20_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a68bc1cc1d736a66afa9882f2064d6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1155394205855985918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540103001,"filename":"image_31102025_13_55_02_2944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397127693","file1":"1397127657","file0":"1397127619","file4":"1397127743","file5":"1397127745","file3":"1397127731"},"map_files_photo_id_array":[{"photo_id":"1397127745","filename":"file5"},{"photo_id":"1397127693","filename":"file2"},{"photo_id":"1397127743","filename":"file4"},{"photo_id":"1397127657","filename":"file1"},{"photo_id":"1397127619","filename":"file0"},{"photo_id":"1397127731","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397127693":["hashtag1","hashtag2"]},{"1397127657":["hashtag1","hashtag2"]},{"1397127743":["hashtag1","hashtag2"]},{"1397127731":["hashtag1","hashtag2"]},{"1397127745":["hashtag1","hashtag2"]},{"1397127619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397127693, 1397127657, 1397127743, 1397127731, 1397127745, 1397127619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01762914657593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:01:22.245225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_44_9817.jpg', '/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_54_9760.jpg', '/home/pi/Desktop/images/30112025/22/30/image_30112025_22_30_17_10042.jpg', '/home/pi/Desktop/images/30112025/22/30/image_30112025_22_30_58_10758.jpg', '/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_07_9112.jpg', '/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_37_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_44_9817.jpg
/home/pi/Desktop/images/30112025/22/29/image_30112025_22_29_54_9760.jpg
/home/pi/Desktop/images/30112025/22/30/image_30112025_22_30_17_10042.jpg
/home/pi/Desktop/images/30112025/22/30/image_30112025_22_30_58_10758.jpg
/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_07_9112.jpg
/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_37_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397127996","1397127903","1397127866","1397127941","1397127944","1397127937"],"photo_ids_order":["1397127866","1397127903","1397127937","1397127941","1397127944","1397127996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1082e6fc9ca85a6e43c657af9fc4fafe.jpg","text":"TemporaryFile(/tmp/multipartBody6246914391855004687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_31_37_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/58dbd4bb58a638dac1573a7aa5f14b78.jpg","text":"TemporaryFile(/tmp/multipartBody333781514470032887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_29_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bebfcf69f6fdf49c2d7541df2e846fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2367036801113697224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_29_44_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ff8a8c81976e2e3d763f1d70bf14e557.jpg","text":"TemporaryFile(/tmp/multipartBody1574909715445741789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_30_58_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8546c481eba49e334c3b899420eb575a.jpg","text":"TemporaryFile(/tmp/multipartBody4093449403918119529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_31_07_9112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ae9fb70e4f1493d18bc5ee762e3e948b.jpg","text":"TemporaryFile(/tmp/multipartBody8333908467297866476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540142957,"filename":"image_30112025_22_30_17_10042.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397127937","file1":"1397127903","file0":"1397127866","file4":"1397127944","file5":"1397127996","file3":"1397127941"},"map_files_photo_id_array":[{"photo_id":"1397127996","filename":"file5"},{"photo_id":"1397127937","filename":"file2"},{"photo_id":"1397127944","filename":"file4"},{"photo_id":"1397127903","filename":"file1"},{"photo_id":"1397127866","filename":"file0"},{"photo_id":"1397127941","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397127996":["hashtag1","hashtag2"]},{"1397127903":["hashtag1","hashtag2"]},{"1397127866":["hashtag1","hashtag2"]},{"1397127941":["hashtag1","hashtag2"]},{"1397127944":["hashtag1","hashtag2"]},{"1397127937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397127996, 1397127903, 1397127866, 1397127941, 1397127944, 1397127937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.330495834350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:02:02.953313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_48_10112.jpg', '/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_57_9820.jpg', '/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_07_10056.jpg', '/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_17_9611.jpg', '/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_27_9854.jpg', '/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_38_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_48_10112.jpg
/home/pi/Desktop/images/30112025/22/31/image_30112025_22_31_57_9820.jpg
/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_07_10056.jpg
/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_17_9611.jpg
/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_27_9854.jpg
/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_38_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1397128271","1397128244","1397128276","1397128198","1397128309","1397128278"],"photo_ids_order":["1397128198","1397128244","1397128271","1397128276","1397128278","1397128309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37dfa829f8259901cfdfcfdff49c9b03.jpg","text":"TemporaryFile(/tmp/multipartBody1187837311595563732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_32_07_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7198907064396817bef0d594ecf04f83.jpg","text":"TemporaryFile(/tmp/multipartBody6346760932596710347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_31_57_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d7b913637b56986f7a8e69a9b07c19b.jpg","text":"TemporaryFile(/tmp/multipartBody8068415554479397544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_32_17_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e02850b37d09ced8d6f1fe897ba83be.jpg","text":"TemporaryFile(/tmp/multipartBody6054287668256273748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_31_48_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/085b4615c01ec65e2b283ac4cbc01da7.jpg","text":"TemporaryFile(/tmp/multipartBody1863219335673276260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_32_38_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d2f3f0d19fb8d2092644052987dfe99.jpg","text":"TemporaryFile(/tmp/multipartBody6693795274995021685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540183721,"filename":"image_30112025_22_32_27_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128271","file1":"1397128244","file0":"1397128198","file4":"1397128278","file5":"1397128309","file3":"1397128276"},"map_files_photo_id_array":[{"photo_id":"1397128309","filename":"file5"},{"photo_id":"1397128271","filename":"file2"},{"photo_id":"1397128278","filename":"file4"},{"photo_id":"1397128244","filename":"file1"},{"photo_id":"1397128198","filename":"file0"},{"photo_id":"1397128276","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128271":["hashtag1","hashtag2"]},{"1397128244":["hashtag1","hashtag2"]},{"1397128276":["hashtag1","hashtag2"]},{"1397128198":["hashtag1","hashtag2"]},{"1397128309":["hashtag1","hashtag2"]},{"1397128278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128271, 1397128244, 1397128276, 1397128198, 1397128309, 1397128278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84598422050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:03:02.929808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_47_9820.jpg', '/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_28_10628.jpg', '/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_47_9713.jpg', '/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_57_9898.jpg', '/home/pi/Desktop/images/30112025/22/33/image_30112025_22_34_07_9842.jpg', '/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_17_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/32/image_30112025_22_32_47_9820.jpg
/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_28_10628.jpg
/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_47_9713.jpg
/home/pi/Desktop/images/30112025/22/33/image_30112025_22_33_57_9898.jpg
/home/pi/Desktop/images/30112025/22/33/image_30112025_22_34_07_9842.jpg
/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_17_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128389","1397128382","1397128385","1397128387","1397128381","1397128383"],"photo_ids_order":["1397128381","1397128382","1397128383","1397128385","1397128387","1397128389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b84fd719b3629ce28fec49a0e06ba0b5.jpg","text":"TemporaryFile(/tmp/multipartBody60205839405370217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_34_17_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/77f756a8ea55d00d8a932eb6ce821e2b.jpg","text":"TemporaryFile(/tmp/multipartBody6275187364558396751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_33_28_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eb1f89bbed909f069e98316ead0999d5.jpg","text":"TemporaryFile(/tmp/multipartBody583158197845964233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_33_57_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3cb2d3aa5b36bddef1664c3c9fcba9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1209896707966965550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_34_07_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e214ce226981d80d9b8375d30f8f882a.jpg","text":"TemporaryFile(/tmp/multipartBody8697545609205318910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_32_47_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2f4452ddc822dc092cfad544999c3907.jpg","text":"TemporaryFile(/tmp/multipartBody188619350388398354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540246598,"filename":"image_30112025_22_33_47_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128383","file1":"1397128382","file0":"1397128381","file4":"1397128387","file5":"1397128389","file3":"1397128385"},"map_files_photo_id_array":[{"photo_id":"1397128389","filename":"file5"},{"photo_id":"1397128383","filename":"file2"},{"photo_id":"1397128387","filename":"file4"},{"photo_id":"1397128382","filename":"file1"},{"photo_id":"1397128381","filename":"file0"},{"photo_id":"1397128385","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128389":["hashtag1","hashtag2"]},{"1397128382":["hashtag1","hashtag2"]},{"1397128385":["hashtag1","hashtag2"]},{"1397128387":["hashtag1","hashtag2"]},{"1397128381":["hashtag1","hashtag2"]},{"1397128383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128389, 1397128382, 1397128385, 1397128387, 1397128381, 1397128383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23186707496643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:04:03.006889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_27_9776.jpg', '/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_37_10003.jpg', '/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_47_9826.jpg', '/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_57_9714.jpg', '/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_14_10055.jpg', '/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_24_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_27_9776.jpg
/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_37_10003.jpg
/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_47_9826.jpg
/home/pi/Desktop/images/30112025/22/34/image_30112025_22_34_57_9714.jpg
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_14_10055.jpg
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_24_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128394","1397128397","1397128400","1397128396","1397128402","1397128395"],"photo_ids_order":["1397128394","1397128395","1397128396","1397128397","1397128400","1397128402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c324c01d52fa844145a7c9340aa07a7.jpg","text":"TemporaryFile(/tmp/multipartBody2703366120605144742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_34_27_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79ebdd966370ee477a0a980ed37e9700.jpg","text":"TemporaryFile(/tmp/multipartBody9123052554046072517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_34_57_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df8abe402c41ec2901696e66077acbfb.jpg","text":"TemporaryFile(/tmp/multipartBody8123827485906462579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_35_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/659f3ab099d6ce11f3f066cf6dc8343d.jpg","text":"TemporaryFile(/tmp/multipartBody7717869130204220113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_34_47_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/26d22ee5fd0dccd230a5712bd2f2331d.jpg","text":"TemporaryFile(/tmp/multipartBody9127674111370811959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_35_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a992a0ac74b542e980edb717de9811f0.jpg","text":"TemporaryFile(/tmp/multipartBody8126109084235527460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540303853,"filename":"image_30112025_22_34_37_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128396","file1":"1397128395","file0":"1397128394","file4":"1397128400","file5":"1397128402","file3":"1397128397"},"map_files_photo_id_array":[{"photo_id":"1397128402","filename":"file5"},{"photo_id":"1397128396","filename":"file2"},{"photo_id":"1397128400","filename":"file4"},{"photo_id":"1397128395","filename":"file1"},{"photo_id":"1397128394","filename":"file0"},{"photo_id":"1397128397","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128394":["hashtag1","hashtag2"]},{"1397128397":["hashtag1","hashtag2"]},{"1397128400":["hashtag1","hashtag2"]},{"1397128396":["hashtag1","hashtag2"]},{"1397128402":["hashtag1","hashtag2"]},{"1397128395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128394, 1397128397, 1397128400, 1397128396, 1397128402, 1397128395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01259994506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:04:42.429736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/55/image_31102025_13_55_23_3548.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_28_2575.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_32_3590.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_35_2568.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_37_2619.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_41_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_23_3548.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_28_2575.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_32_3590.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_35_2568.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_37_2619.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_41_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128410","1397128404","1397128407","1397128406","1397128409","1397128408"],"photo_ids_order":["1397128404","1397128406","1397128407","1397128408","1397128409","1397128410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fdaa0259f44b410a9eff4d47b75c88a.jpg","text":"TemporaryFile(/tmp/multipartBody3874649038761506371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_41_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/30/297c0856c1642db8352f1b34372d7ade.jpg","text":"TemporaryFile(/tmp/multipartBody3539490517869734825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_23_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/30/551865a8099244075bc151181034c849.jpg","text":"TemporaryFile(/tmp/multipartBody4926429483614768523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_32_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/30/bd9f052906de40ac6bc39c7e90d31673.jpg","text":"TemporaryFile(/tmp/multipartBody5498879071468338946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_28_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/30/52fae9fdb70dcbe4abbdb88fe8c773a2.jpg","text":"TemporaryFile(/tmp/multipartBody4397360798849450995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_37_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/30/20f0755654217ada5254e44c3c3a40ca.jpg","text":"TemporaryFile(/tmp/multipartBody4403419770869769022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540343327,"filename":"image_31102025_13_55_35_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128407","file1":"1397128406","file0":"1397128404","file4":"1397128409","file5":"1397128410","file3":"1397128408"},"map_files_photo_id_array":[{"photo_id":"1397128410","filename":"file5"},{"photo_id":"1397128407","filename":"file2"},{"photo_id":"1397128409","filename":"file4"},{"photo_id":"1397128406","filename":"file1"},{"photo_id":"1397128404","filename":"file0"},{"photo_id":"1397128408","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397128410":["hashtag1","hashtag2"]},{"1397128404":["hashtag1","hashtag2"]},{"1397128407":["hashtag1","hashtag2"]},{"1397128406":["hashtag1","hashtag2"]},{"1397128409":["hashtag1","hashtag2"]},{"1397128408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397128410, 1397128404, 1397128407, 1397128406, 1397128409, 1397128408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00737547874451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:05:22.684338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_34_9708.jpg', '/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_44_9695.jpg', '/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_55_10875.jpg', '/home/pi/Desktop/images/30112025/22/35/image_30112025_22_36_04_9730.jpg', '/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_14_9762.jpg', '/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_24_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_34_9708.jpg
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_44_9695.jpg
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_35_55_10875.jpg
/home/pi/Desktop/images/30112025/22/35/image_30112025_22_36_04_9730.jpg
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_14_9762.jpg
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_24_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128425","1397128419","1397128412","1397128415","1397128420","1397128417"],"photo_ids_order":["1397128412","1397128415","1397128417","1397128419","1397128420","1397128425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ce559099a0b9f556a8efd71f6575ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1859941477414731973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_36_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ad751b0069a5a9f85e996d3b10666fd.jpg","text":"TemporaryFile(/tmp/multipartBody1002080425664568716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_36_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/775f18b89d0b1665c92ef93178f28827.jpg","text":"TemporaryFile(/tmp/multipartBody6322636829061563148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_35_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b9ddea4fbd70825a6fb92e80dc97a81c.jpg","text":"TemporaryFile(/tmp/multipartBody2313071464765539450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_35_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1832eb30a513e77442c724d94a40661f.jpg","text":"TemporaryFile(/tmp/multipartBody5973753231404953214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_36_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2426756893b72f7277ee0de748a7c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9194656126367243670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540383420,"filename":"image_30112025_22_35_55_10875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128417","file1":"1397128415","file0":"1397128412","file4":"1397128420","file5":"1397128425","file3":"1397128419"},"map_files_photo_id_array":[{"photo_id":"1397128425","filename":"file5"},{"photo_id":"1397128417","filename":"file2"},{"photo_id":"1397128420","filename":"file4"},{"photo_id":"1397128415","filename":"file1"},{"photo_id":"1397128412","filename":"file0"},{"photo_id":"1397128419","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128425":["hashtag1","hashtag2"]},{"1397128419":["hashtag1","hashtag2"]},{"1397128412":["hashtag1","hashtag2"]},{"1397128415":["hashtag1","hashtag2"]},{"1397128420":["hashtag1","hashtag2"]},{"1397128417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128425, 1397128419, 1397128412, 1397128415, 1397128420, 1397128417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88291263580322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:06:05.021034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_34_10698.jpg', '/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_44_9623.jpg', '/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_54_9856.jpg', '/home/pi/Desktop/images/30112025/22/36/image_30112025_22_37_05_10647.jpg', '/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_14_9626.jpg', '/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_24_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_34_10698.jpg
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_44_9623.jpg
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_36_54_9856.jpg
/home/pi/Desktop/images/30112025/22/36/image_30112025_22_37_05_10647.jpg
/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_14_9626.jpg
/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_24_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128440","1397128434","1397128443","1397128436","1397128435","1397128438"],"photo_ids_order":["1397128434","1397128435","1397128436","1397128438","1397128440","1397128443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd67ee80aee0b2f57dd7197526bd304c.jpg","text":"TemporaryFile(/tmp/multipartBody8140544635642909679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_37_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0afe9575dada983aaf2e483a010c792f.jpg","text":"TemporaryFile(/tmp/multipartBody8424758732733546134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_36_34_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b7affdf9f160b3dc62cc217ff0e24d2.jpg","text":"TemporaryFile(/tmp/multipartBody5954579584623302928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_37_24_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ff80ae2ed21c24be5671decf6df7322.jpg","text":"TemporaryFile(/tmp/multipartBody2462931647264540431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_36_54_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f67a82a0d2ee7c8941bf9716e285ad78.jpg","text":"TemporaryFile(/tmp/multipartBody8204341076439383880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_36_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0be5e4203989445b2ab593cf072e66b1.jpg","text":"TemporaryFile(/tmp/multipartBody4633139270965484322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540427620,"filename":"image_30112025_22_37_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128436","file1":"1397128435","file0":"1397128434","file4":"1397128440","file5":"1397128443","file3":"1397128438"},"map_files_photo_id_array":[{"photo_id":"1397128443","filename":"file5"},{"photo_id":"1397128436","filename":"file2"},{"photo_id":"1397128440","filename":"file4"},{"photo_id":"1397128435","filename":"file1"},{"photo_id":"1397128434","filename":"file0"},{"photo_id":"1397128438","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128440":["hashtag1","hashtag2"]},{"1397128434":["hashtag1","hashtag2"]},{"1397128443":["hashtag1","hashtag2"]},{"1397128436":["hashtag1","hashtag2"]},{"1397128435":["hashtag1","hashtag2"]},{"1397128438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128440, 1397128434, 1397128443, 1397128436, 1397128435, 1397128438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0315842628479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:06:44.515881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/55/image_31102025_13_55_44_2680.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_46_2814.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_50_3612.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_53_2698.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_55_2587.jpg', '/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_59_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_44_2680.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_46_2814.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_50_3612.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_53_2698.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_55_2587.jpg
/home/pi/Desktop/images/31102025/13/55/image_31102025_13_55_59_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128446","1397128449","1397128451","1397128448","1397128447","1397128450"],"photo_ids_order":["1397128446","1397128447","1397128448","1397128449","1397128450","1397128451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de4efc5ad26f79efb3b8fb9474a056ea.jpg","text":"TemporaryFile(/tmp/multipartBody5282199498284954430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_44_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8f96f03414d5a6caa80ad5135d81dcf.jpg","text":"TemporaryFile(/tmp/multipartBody251710005707945907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_53_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eeb7f794c7e38317061292fba7400ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4454806570675030838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_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/30/d4de280e2fee31f0bcf3eb6f7848ed95.jpg","text":"TemporaryFile(/tmp/multipartBody3988683978102372204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_50_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/30/3b85c70d0f4cbe16a3961761cd3a54e2.jpg","text":"TemporaryFile(/tmp/multipartBody6077550257218219888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_46_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bf15bf7aae871ea5d6b8c64b469df1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4525158086967530156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540465458,"filename":"image_31102025_13_55_55_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128448","file1":"1397128447","file0":"1397128446","file4":"1397128450","file5":"1397128451","file3":"1397128449"},"map_files_photo_id_array":[{"photo_id":"1397128451","filename":"file5"},{"photo_id":"1397128448","filename":"file2"},{"photo_id":"1397128450","filename":"file4"},{"photo_id":"1397128447","filename":"file1"},{"photo_id":"1397128446","filename":"file0"},{"photo_id":"1397128449","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397128446":["hashtag1","hashtag2"]},{"1397128449":["hashtag1","hashtag2"]},{"1397128451":["hashtag1","hashtag2"]},{"1397128448":["hashtag1","hashtag2"]},{"1397128447":["hashtag1","hashtag2"]},{"1397128450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397128446, 1397128449, 1397128451, 1397128448, 1397128447, 1397128450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34977722167969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:07:22.649126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_34_9763.jpg', '/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_54_9609.jpg', '/home/pi/Desktop/images/30112025/22/37/image_30112025_22_38_04_10735.jpg', '/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_14_9793.jpg', '/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_24_9705.jpg', '/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_34_9763.jpg
/home/pi/Desktop/images/30112025/22/37/image_30112025_22_37_54_9609.jpg
/home/pi/Desktop/images/30112025/22/37/image_30112025_22_38_04_10735.jpg
/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_14_9793.jpg
/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_24_9705.jpg
/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128460","1397128454","1397128462","1397128456","1397128464","1397128458"],"photo_ids_order":["1397128454","1397128456","1397128458","1397128460","1397128462","1397128464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4326248cd5db6e4d3b2fd2c3a79904f4.jpg","text":"TemporaryFile(/tmp/multipartBody6029291194445436106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_38_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1280d8584991827ef2604bf85c1967ae.jpg","text":"TemporaryFile(/tmp/multipartBody8353273080794287069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_37_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd4ddb089b77acfa247f24c3a2a9ebef.jpg","text":"TemporaryFile(/tmp/multipartBody480425408176354326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_38_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56ba0ac5d6334d43822c5ffda8e74c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5635886540588096108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_37_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/42621642c3143c327118ee9bb65154a1.jpg","text":"TemporaryFile(/tmp/multipartBody2294417573942026824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_38_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9c402950106703084191cff1708d53e2.jpg","text":"TemporaryFile(/tmp/multipartBody5534717172756437515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540503386,"filename":"image_30112025_22_38_04_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128458","file1":"1397128456","file0":"1397128454","file4":"1397128462","file5":"1397128464","file3":"1397128460"},"map_files_photo_id_array":[{"photo_id":"1397128464","filename":"file5"},{"photo_id":"1397128458","filename":"file2"},{"photo_id":"1397128462","filename":"file4"},{"photo_id":"1397128456","filename":"file1"},{"photo_id":"1397128454","filename":"file0"},{"photo_id":"1397128460","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128460":["hashtag1","hashtag2"]},{"1397128454":["hashtag1","hashtag2"]},{"1397128462":["hashtag1","hashtag2"]},{"1397128456":["hashtag1","hashtag2"]},{"1397128464":["hashtag1","hashtag2"]},{"1397128458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128460, 1397128454, 1397128462, 1397128456, 1397128464, 1397128458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4479501247406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:08:02.348357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_54_9647.jpg', '/home/pi/Desktop/images/30112025/22/38/image_30112025_22_39_04_10708.jpg', '/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_14_9270.jpg', '/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_24_10079.jpg', '/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_34_10612.jpg', '/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_44_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/38/image_30112025_22_38_54_9647.jpg
/home/pi/Desktop/images/30112025/22/38/image_30112025_22_39_04_10708.jpg
/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_14_9270.jpg
/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_24_10079.jpg
/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_34_10612.jpg
/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_44_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128472","1397128469","1397128466","1397128474","1397128468","1397128470"],"photo_ids_order":["1397128466","1397128468","1397128469","1397128470","1397128472","1397128474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ec9c14086121b085304f7a56e8811b0.jpg","text":"TemporaryFile(/tmp/multipartBody384121279672366750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_39_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0664223993bd8e404fcc5b7a75047153.jpg","text":"TemporaryFile(/tmp/multipartBody5231787990887889175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_39_14_9270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b46a31bf70d708f1f2af6308bda2acf7.jpg","text":"TemporaryFile(/tmp/multipartBody6659019179883578972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_38_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d6f293a5d57a81d8f683913c9c54ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2461417176784103721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_39_44_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a9f8150f6b5ad4c8254904e78670008.jpg","text":"TemporaryFile(/tmp/multipartBody8182398358384589814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_39_04_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/972061238ed5245c1740cabb78ebbed8.jpg","text":"TemporaryFile(/tmp/multipartBody8181212397717890136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540543127,"filename":"image_30112025_22_39_24_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128469","file1":"1397128468","file0":"1397128466","file4":"1397128472","file5":"1397128474","file3":"1397128470"},"map_files_photo_id_array":[{"photo_id":"1397128474","filename":"file5"},{"photo_id":"1397128469","filename":"file2"},{"photo_id":"1397128472","filename":"file4"},{"photo_id":"1397128468","filename":"file1"},{"photo_id":"1397128466","filename":"file0"},{"photo_id":"1397128470","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128472":["hashtag1","hashtag2"]},{"1397128469":["hashtag1","hashtag2"]},{"1397128466":["hashtag1","hashtag2"]},{"1397128474":["hashtag1","hashtag2"]},{"1397128468":["hashtag1","hashtag2"]},{"1397128470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128472, 1397128469, 1397128466, 1397128474, 1397128468, 1397128470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06867742538452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:08:41.868715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/56/image_31102025_13_56_08_3686.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_11_2657.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_14_2856.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_16_2748.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_20_3568.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_29_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_08_3686.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_11_2657.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_14_2856.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_16_2748.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_20_3568.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_29_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128490","1397128493","1397128492","1397128477","1397128491","1397128479"],"photo_ids_order":["1397128477","1397128479","1397128490","1397128491","1397128492","1397128493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e2a3acad39c836b3a05ac924cd0ff21.jpg","text":"TemporaryFile(/tmp/multipartBody2019874445263474408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_14_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/30/5afa752de43f8393d2ca53cc4ba7837b.jpg","text":"TemporaryFile(/tmp/multipartBody3932265051356668752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_29_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/30/6d2785d67c00a403a286670479bfdf1e.jpg","text":"TemporaryFile(/tmp/multipartBody4268689763751468851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_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/30/ccee16e97a4b33d9cf24fc99b1c2f61a.jpg","text":"TemporaryFile(/tmp/multipartBody3289856560098522204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_08_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/15b474e33c88a9ca92fab72337f6da67.jpg","text":"TemporaryFile(/tmp/multipartBody8265311988150402191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_16_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/30/f19179401166e3d3f6c0cdb7160d368d.jpg","text":"TemporaryFile(/tmp/multipartBody8504618303282441449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540582789,"filename":"image_31102025_13_56_11_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128490","file1":"1397128479","file0":"1397128477","file4":"1397128492","file5":"1397128493","file3":"1397128491"},"map_files_photo_id_array":[{"photo_id":"1397128493","filename":"file5"},{"photo_id":"1397128490","filename":"file2"},{"photo_id":"1397128492","filename":"file4"},{"photo_id":"1397128479","filename":"file1"},{"photo_id":"1397128477","filename":"file0"},{"photo_id":"1397128491","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397128490":["hashtag1","hashtag2"]},{"1397128493":["hashtag1","hashtag2"]},{"1397128492":["hashtag1","hashtag2"]},{"1397128477":["hashtag1","hashtag2"]},{"1397128491":["hashtag1","hashtag2"]},{"1397128479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397128490, 1397128493, 1397128492, 1397128477, 1397128491, 1397128479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45488500595093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:09:22.068596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_54_9672.jpg', '/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_14_10045.jpg', '/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_24_10644.jpg', '/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_34_9682.jpg', '/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_44_9681.jpg', '/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/39/image_30112025_22_39_54_9672.jpg
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_14_10045.jpg
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_24_10644.jpg
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_34_9682.jpg
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_44_9681.jpg
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_40_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128500","1397128496","1397128498","1397128502","1397128501","1397128504"],"photo_ids_order":["1397128496","1397128498","1397128500","1397128501","1397128502","1397128504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/156c36f1159ab79b470636a32f29701e.jpg","text":"TemporaryFile(/tmp/multipartBody7411146024164080079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_40_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/94bf9fc7a7233a3cc7bef1da24787b17.jpg","text":"TemporaryFile(/tmp/multipartBody5131250534341598995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_39_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b1a0c8bfe25a1cdaee37e53320f2cca.jpg","text":"TemporaryFile(/tmp/multipartBody7592133263534634565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_40_14_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2a7bf3794c024aac2b971d4e3f14a885.jpg","text":"TemporaryFile(/tmp/multipartBody3204805184825037777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_40_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8fe38cf6608e9d6fee46a0053647027b.jpg","text":"TemporaryFile(/tmp/multipartBody346438102339131808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_40_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d08a2ca535e835f1f0897176e1bcdfb.jpg","text":"TemporaryFile(/tmp/multipartBody1284269106026045484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540622801,"filename":"image_30112025_22_40_55_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128500","file1":"1397128498","file0":"1397128496","file4":"1397128502","file5":"1397128504","file3":"1397128501"},"map_files_photo_id_array":[{"photo_id":"1397128504","filename":"file5"},{"photo_id":"1397128500","filename":"file2"},{"photo_id":"1397128502","filename":"file4"},{"photo_id":"1397128498","filename":"file1"},{"photo_id":"1397128496","filename":"file0"},{"photo_id":"1397128501","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128500":["hashtag1","hashtag2"]},{"1397128496":["hashtag1","hashtag2"]},{"1397128498":["hashtag1","hashtag2"]},{"1397128502":["hashtag1","hashtag2"]},{"1397128501":["hashtag1","hashtag2"]},{"1397128504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128500, 1397128496, 1397128498, 1397128502, 1397128501, 1397128504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93478608131409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:10:02.709385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/40/image_30112025_22_41_04_9717.jpg', '/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_14_9727.jpg', '/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_25_10743.jpg', '/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_34_9661.jpg', '/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_44_9694.jpg', '/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/40/image_30112025_22_41_04_9717.jpg
/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_14_9727.jpg
/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_25_10743.jpg
/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_34_9661.jpg
/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_44_9694.jpg
/home/pi/Desktop/images/30112025/22/41/image_30112025_22_41_55_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128509","1397128506","1397128511","1397128508","1397128513","1397128507"],"photo_ids_order":["1397128506","1397128507","1397128508","1397128509","1397128511","1397128513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cdd804e6598c4ed8944acb870ff90601.jpg","text":"TemporaryFile(/tmp/multipartBody2613930569071687810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f5df8223b29b958506d46c529128235.jpg","text":"TemporaryFile(/tmp/multipartBody6631681794945359137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e0a142e03e3fb802c3cd6db861ad199.jpg","text":"TemporaryFile(/tmp/multipartBody1306786141359631798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/534f85c3788294134e84cc1055b4b55a.jpg","text":"TemporaryFile(/tmp/multipartBody4733924937289975443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_25_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e98b0d23b6a0377d658b7b4188d7b4a.jpg","text":"TemporaryFile(/tmp/multipartBody560203632486894734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0c8610cccf5dc7a466ad720f3c4a643c.jpg","text":"TemporaryFile(/tmp/multipartBody4999002332760949875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540663424,"filename":"image_30112025_22_41_14_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128508","file1":"1397128507","file0":"1397128506","file4":"1397128511","file5":"1397128513","file3":"1397128509"},"map_files_photo_id_array":[{"photo_id":"1397128513","filename":"file5"},{"photo_id":"1397128508","filename":"file2"},{"photo_id":"1397128511","filename":"file4"},{"photo_id":"1397128507","filename":"file1"},{"photo_id":"1397128506","filename":"file0"},{"photo_id":"1397128509","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128509":["hashtag1","hashtag2"]},{"1397128506":["hashtag1","hashtag2"]},{"1397128511":["hashtag1","hashtag2"]},{"1397128508":["hashtag1","hashtag2"]},{"1397128513":["hashtag1","hashtag2"]},{"1397128507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128509, 1397128506, 1397128511, 1397128508, 1397128513, 1397128507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19120812416077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:10:42.301373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/56/image_31102025_13_56_32_2740.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_34_2609.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_38_3632.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_40_2701.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_47_3629.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_49_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_32_2740.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_34_2609.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_38_3632.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_40_2701.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_47_3629.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_49_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128521","1397128523","1397128517","1397128520","1397128522","1397128519"],"photo_ids_order":["1397128517","1397128519","1397128520","1397128521","1397128522","1397128523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d54b811a667e8416e3338b4fe4f9bb24.jpg","text":"TemporaryFile(/tmp/multipartBody7623681570233789708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c45803552279a6dec43eb7686618997.jpg","text":"TemporaryFile(/tmp/multipartBody5544906074133453873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_49_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/30/d8e054991e23c12f6b8d9a5ecccfa387.jpg","text":"TemporaryFile(/tmp/multipartBody2000076386190889369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_32_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/30/2fab071dc22ef3193a77fb6593b04581.jpg","text":"TemporaryFile(/tmp/multipartBody7189303534465883926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_38_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/30/81d693c2fb12837c1e6bd11751341d27.jpg","text":"TemporaryFile(/tmp/multipartBody4870999283777296653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_47_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/30/482766430a6ad855208cf530b5422c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2497998666236297449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540703178,"filename":"image_31102025_13_56_34_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128520","file1":"1397128519","file0":"1397128517","file4":"1397128522","file5":"1397128523","file3":"1397128521"},"map_files_photo_id_array":[{"photo_id":"1397128523","filename":"file5"},{"photo_id":"1397128520","filename":"file2"},{"photo_id":"1397128522","filename":"file4"},{"photo_id":"1397128519","filename":"file1"},{"photo_id":"1397128517","filename":"file0"},{"photo_id":"1397128521","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397128521":["hashtag1","hashtag2"]},{"1397128523":["hashtag1","hashtag2"]},{"1397128517":["hashtag1","hashtag2"]},{"1397128520":["hashtag1","hashtag2"]},{"1397128522":["hashtag1","hashtag2"]},{"1397128519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397128521, 1397128523, 1397128517, 1397128520, 1397128522, 1397128519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53151059150696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:11:23.392750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:11:32.489338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_47_3691.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_50_2701.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_53_2568.jpg', '/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_59_3590.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_02_2634.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_05_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_47_3691.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_50_2701.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_53_2568.jpg
/home/pi/Desktop/images/25112025/20/55/image_25112025_20_55_59_3590.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_02_2634.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_05_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":["1397128530","1397128527","1397128542","1397128528","1397128543","1397128531"],"photo_ids_order":["1397128527","1397128528","1397128530","1397128531","1397128542","1397128543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7024ae35e93941b01fa0de5d37aa7e70.jpg","text":"TemporaryFile(/tmp/multipartBody5027493711052600590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_55_53_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/30/f77524cd9e586f440b66a530f032361d.jpg","text":"TemporaryFile(/tmp/multipartBody4920976437141633277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_55_47_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/30/583a56b9d9864464cf86385b397ffa71.jpg","text":"TemporaryFile(/tmp/multipartBody8047881644045470926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_56_02_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/30/df92caa582164aad88c8df5f7ab07658.jpg","text":"TemporaryFile(/tmp/multipartBody3080974863302373236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_55_50_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/30/07aa9d4dbf4fb92f13c14c21fc57bc79.jpg","text":"TemporaryFile(/tmp/multipartBody5834558216694276597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_56_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/30/fadd55ff4e407379227a268e9520f4d1.jpg","text":"TemporaryFile(/tmp/multipartBody3941796313783689683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540754460,"filename":"image_25112025_20_55_59_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128530","file1":"1397128528","file0":"1397128527","file4":"1397128542","file5":"1397128543","file3":"1397128531"},"map_files_photo_id_array":[{"photo_id":"1397128543","filename":"file5"},{"photo_id":"1397128530","filename":"file2"},{"photo_id":"1397128542","filename":"file4"},{"photo_id":"1397128528","filename":"file1"},{"photo_id":"1397128527","filename":"file0"},{"photo_id":"1397128531","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397128530":["hashtag1","hashtag2"]},{"1397128527":["hashtag1","hashtag2"]},{"1397128542":["hashtag1","hashtag2"]},{"1397128528":["hashtag1","hashtag2"]},{"1397128543":["hashtag1","hashtag2"]},{"1397128531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397128530, 1397128527, 1397128542, 1397128528, 1397128543, 1397128531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.735023975372314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:12:12.624772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_08_2545.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_11_2766.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_13_2729.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_17_3668.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_20_2573.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_22_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_08_2545.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_11_2766.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_13_2729.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_17_3668.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_20_2573.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_22_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.7555766105651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:12:22.688107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/42/image_30112025_22_42_24_9703.jpg', '/home/pi/Desktop/images/30112025/22/42/image_30112025_22_42_34_10592.jpg', '/home/pi/Desktop/images/30112025/22/43/image_30112025_22_44_04_9629.jpg', '/home/pi/Desktop/images/30112025/22/44/image_30112025_22_44_24_9746.jpg', '/home/pi/Desktop/images/30112025/22/44/image_30112025_22_44_34_10647.jpg', '/home/pi/Desktop/images/30112025/22/46/image_30112025_22_46_25_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/42/image_30112025_22_42_24_9703.jpg
/home/pi/Desktop/images/30112025/22/42/image_30112025_22_42_34_10592.jpg
/home/pi/Desktop/images/30112025/22/43/image_30112025_22_44_04_9629.jpg
/home/pi/Desktop/images/30112025/22/44/image_30112025_22_44_24_9746.jpg
/home/pi/Desktop/images/30112025/22/44/image_30112025_22_44_34_10647.jpg
/home/pi/Desktop/images/30112025/22/46/image_30112025_22_46_25_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397128779","1397128746","1397128632","1397128707","1397128670","1397128813"],"photo_ids_order":["1397128632","1397128670","1397128707","1397128746","1397128779","1397128813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b90eb1c62b9ad52441abfba1dcbc130b.jpg","text":"TemporaryFile(/tmp/multipartBody5825060495815847579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_44_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72f3dd51bbb6ba7401ede46f35eabd08.jpg","text":"TemporaryFile(/tmp/multipartBody5146344213724919657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_44_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5852836b2516b817141874d777e6740b.jpg","text":"TemporaryFile(/tmp/multipartBody5570960415041745944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_42_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4288850cdf552e52d8e8b3b89234fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody8430988184660930456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_44_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca8fb19fc55b9439b3cbf75f767fc4a2.jpg","text":"TemporaryFile(/tmp/multipartBody4797215605868423306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_42_34_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/975ad8db96df236bc6dded4fcc799b50.jpg","text":"TemporaryFile(/tmp/multipartBody4997350567097785774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540803455,"filename":"image_30112025_22_46_25_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397128707","file1":"1397128670","file0":"1397128632","file4":"1397128779","file5":"1397128813","file3":"1397128746"},"map_files_photo_id_array":[{"photo_id":"1397128813","filename":"file5"},{"photo_id":"1397128707","filename":"file2"},{"photo_id":"1397128779","filename":"file4"},{"photo_id":"1397128670","filename":"file1"},{"photo_id":"1397128632","filename":"file0"},{"photo_id":"1397128746","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397128779":["hashtag1","hashtag2"]},{"1397128746":["hashtag1","hashtag2"]},{"1397128632":["hashtag1","hashtag2"]},{"1397128707":["hashtag1","hashtag2"]},{"1397128670":["hashtag1","hashtag2"]},{"1397128813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397128779, 1397128746, 1397128632, 1397128707, 1397128670, 1397128813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39451217651367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:13:02.760797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/46/image_30112025_22_47_05_9852.jpg', '/home/pi/Desktop/images/30112025/22/47/image_30112025_22_47_24_9752.jpg', '/home/pi/Desktop/images/30112025/22/47/image_30112025_22_47_44_9639.jpg', '/home/pi/Desktop/images/30112025/22/47/image_30112025_22_48_05_10715.jpg', '/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_34_9777.jpg', '/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_45_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/46/image_30112025_22_47_05_9852.jpg
/home/pi/Desktop/images/30112025/22/47/image_30112025_22_47_24_9752.jpg
/home/pi/Desktop/images/30112025/22/47/image_30112025_22_47_44_9639.jpg
/home/pi/Desktop/images/30112025/22/47/image_30112025_22_48_05_10715.jpg
/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_34_9777.jpg
/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_45_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397129057","1397128985","1397129098","1397128946","1397129137","1397129020"],"photo_ids_order":["1397128946","1397128985","1397129020","1397129057","1397129098","1397129137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/48c481b52dafb864992afeec44390ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2338846366584218210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_48_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1c1c9f7ea8420744e4b3d68b413cd90f.jpg","text":"TemporaryFile(/tmp/multipartBody7553201784612819089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_47_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84dcd7d6edb621f308f61622ef679d28.jpg","text":"TemporaryFile(/tmp/multipartBody1503641682668275015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_48_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e6a017569a88746ede80d1f63f6f300.jpg","text":"TemporaryFile(/tmp/multipartBody3189306708404790924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_47_05_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8dc8e05b9338a7d8bbff84d95fec76c.jpg","text":"TemporaryFile(/tmp/multipartBody1075461345261578623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_48_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5e6fa41d8b8299d2d53165ed15c61d6f.jpg","text":"TemporaryFile(/tmp/multipartBody517754180739308378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540843511,"filename":"image_30112025_22_47_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397129020","file1":"1397128985","file0":"1397128946","file4":"1397129098","file5":"1397129137","file3":"1397129057"},"map_files_photo_id_array":[{"photo_id":"1397129137","filename":"file5"},{"photo_id":"1397129020","filename":"file2"},{"photo_id":"1397129098","filename":"file4"},{"photo_id":"1397128985","filename":"file1"},{"photo_id":"1397128946","filename":"file0"},{"photo_id":"1397129057","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397129057":["hashtag1","hashtag2"]},{"1397128985":["hashtag1","hashtag2"]},{"1397129098":["hashtag1","hashtag2"]},{"1397128946":["hashtag1","hashtag2"]},{"1397129137":["hashtag1","hashtag2"]},{"1397129020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397129057, 1397128985, 1397129098, 1397128946, 1397129137, 1397129020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50666785240173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:13:41.987942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/56/image_31102025_13_56_53_3574.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_56_2573.jpg', '/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_58_2733.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_01_2748.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_05_3698.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_10_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_53_3574.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_56_2573.jpg
/home/pi/Desktop/images/31102025/13/56/image_31102025_13_56_58_2733.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_01_2748.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_05_3698.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_10_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397129267","1397129453","1397129306","1397129383","1397129419","1397129346"],"photo_ids_order":["1397129267","1397129306","1397129346","1397129383","1397129419","1397129453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/81cf97665edb238536b6e6f104c85a93.jpg","text":"TemporaryFile(/tmp/multipartBody507569680214800458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_56_53_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0b751f7173546d56827712670ed46682.jpg","text":"TemporaryFile(/tmp/multipartBody4691464508743663405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_57_10_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/30/468ff31657ce36876a12351a97b5c23a.jpg","text":"TemporaryFile(/tmp/multipartBody600536665992575523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_56_56_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/30/dc9391423ba8402cae9163e71706a45c.jpg","text":"TemporaryFile(/tmp/multipartBody512510106662862973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_57_01_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/49630444ce7c4cc01f74b1cc127df1ab.jpg","text":"TemporaryFile(/tmp/multipartBody4469011169233028932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_57_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/30/1cd62e19e72a5b48378580fa37b42132.jpg","text":"TemporaryFile(/tmp/multipartBody425428373005189839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540883189,"filename":"image_31102025_13_56_58_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397129346","file1":"1397129306","file0":"1397129267","file4":"1397129419","file5":"1397129453","file3":"1397129383"},"map_files_photo_id_array":[{"photo_id":"1397129453","filename":"file5"},{"photo_id":"1397129346","filename":"file2"},{"photo_id":"1397129419","filename":"file4"},{"photo_id":"1397129306","filename":"file1"},{"photo_id":"1397129267","filename":"file0"},{"photo_id":"1397129383","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397129267":["hashtag1","hashtag2"]},{"1397129453":["hashtag1","hashtag2"]},{"1397129306":["hashtag1","hashtag2"]},{"1397129383":["hashtag1","hashtag2"]},{"1397129419":["hashtag1","hashtag2"]},{"1397129346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397129267, 1397129453, 1397129306, 1397129383, 1397129419, 1397129346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.581031799316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:14:22.084659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_55_9728.jpg', '/home/pi/Desktop/images/30112025/22/48/image_30112025_22_49_04_9683.jpg', '/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_25_10677.jpg', '/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_35_10060.jpg', '/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_44_9689.jpg', '/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/48/image_30112025_22_48_55_9728.jpg
/home/pi/Desktop/images/30112025/22/48/image_30112025_22_49_04_9683.jpg
/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_25_10677.jpg
/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_35_10060.jpg
/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_44_9689.jpg
/home/pi/Desktop/images/30112025/22/49/image_30112025_22_49_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397129607","1397129603","1397129611","1397129605","1397129589","1397129610"],"photo_ids_order":["1397129589","1397129603","1397129605","1397129607","1397129610","1397129611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/05409f02a1e3925860f6b4920e7f1e14.jpg","text":"TemporaryFile(/tmp/multipartBody2153300054704831270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_49_35_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/110c1b686860d39b3cafeab7103109c9.jpg","text":"TemporaryFile(/tmp/multipartBody8054210889231843264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_49_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0675104244d28128fc455843f4766511.jpg","text":"TemporaryFile(/tmp/multipartBody8271861673408983715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_49_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f4c1cfad92f0270b23b8089c69230ae.jpg","text":"TemporaryFile(/tmp/multipartBody60098255811694754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_49_25_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e8e1ff94754f5f1b85b7f64dda0d994.jpg","text":"TemporaryFile(/tmp/multipartBody6164227128276794205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_48_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfc8331e6026d5b734a91b08392c9a59.jpg","text":"TemporaryFile(/tmp/multipartBody7437200115050125753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540922816,"filename":"image_30112025_22_49_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397129605","file1":"1397129603","file0":"1397129589","file4":"1397129610","file5":"1397129611","file3":"1397129607"},"map_files_photo_id_array":[{"photo_id":"1397129611","filename":"file5"},{"photo_id":"1397129605","filename":"file2"},{"photo_id":"1397129610","filename":"file4"},{"photo_id":"1397129603","filename":"file1"},{"photo_id":"1397129589","filename":"file0"},{"photo_id":"1397129607","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397129607":["hashtag1","hashtag2"]},{"1397129603":["hashtag1","hashtag2"]},{"1397129611":["hashtag1","hashtag2"]},{"1397129605":["hashtag1","hashtag2"]},{"1397129589":["hashtag1","hashtag2"]},{"1397129610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397129607, 1397129603, 1397129611, 1397129605, 1397129589, 1397129610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60727548599243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:15:02.907070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_14_10054.jpg', '/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_25_10630.jpg', '/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_35_9692.jpg', '/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_55_10706.jpg', '/home/pi/Desktop/images/30112025/22/50/image_30112025_22_51_05_9775.jpg', '/home/pi/Desktop/images/30112025/22/51/image_30112025_22_51_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_14_10054.jpg
/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_25_10630.jpg
/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_35_9692.jpg
/home/pi/Desktop/images/30112025/22/50/image_30112025_22_50_55_10706.jpg
/home/pi/Desktop/images/30112025/22/50/image_30112025_22_51_05_9775.jpg
/home/pi/Desktop/images/30112025/22/51/image_30112025_22_51_45_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397129628","1397129624","1397129623","1397129626","1397129620","1397129622"],"photo_ids_order":["1397129620","1397129622","1397129623","1397129624","1397129626","1397129628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7a06951a05cd59d16f97e15e32cd1e74.jpg","text":"TemporaryFile(/tmp/multipartBody876407002792586163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_51_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cd2174dea4ed10d21c4e3bc3c95ef5b7.jpg","text":"TemporaryFile(/tmp/multipartBody3394116610908806872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_50_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d3377b8215e787aa934f836e29dc34d.jpg","text":"TemporaryFile(/tmp/multipartBody6564405878633516136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_50_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2b2a2b56bb94efe61429d642e30d57b6.jpg","text":"TemporaryFile(/tmp/multipartBody1938754109674199625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_51_05_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d4bf22d4b98c1a7a22d280a3c62231af.jpg","text":"TemporaryFile(/tmp/multipartBody5477281433628665358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_50_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2fad822cd2ae807208448f35fd9ee1f.jpg","text":"TemporaryFile(/tmp/multipartBody4495853611547799231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764540963782,"filename":"image_30112025_22_50_25_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397129623","file1":"1397129622","file0":"1397129620","file4":"1397129626","file5":"1397129628","file3":"1397129624"},"map_files_photo_id_array":[{"photo_id":"1397129628","filename":"file5"},{"photo_id":"1397129623","filename":"file2"},{"photo_id":"1397129626","filename":"file4"},{"photo_id":"1397129622","filename":"file1"},{"photo_id":"1397129620","filename":"file0"},{"photo_id":"1397129624","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397129628":["hashtag1","hashtag2"]},{"1397129624":["hashtag1","hashtag2"]},{"1397129623":["hashtag1","hashtag2"]},{"1397129626":["hashtag1","hashtag2"]},{"1397129620":["hashtag1","hashtag2"]},{"1397129622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397129628, 1397129624, 1397129623, 1397129626, 1397129620, 1397129622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75455665588379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:15:42.340460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/57/image_31102025_13_57_14_3700.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_16_2688.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_19_2639.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_23_3622.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_26_2927.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_28_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_14_3700.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_16_2688.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_19_2639.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_23_3622.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_26_2927.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_28_2621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397129783","1397129744","1397129708","1397129854","1397129671","1397129820"],"photo_ids_order":["1397129671","1397129708","1397129744","1397129783","1397129820","1397129854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0f21cd2d6cef910dc339c17d3c66481b.jpg","text":"TemporaryFile(/tmp/multipartBody6975734643016627394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_23_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/30/6cb3d0009027f5ba96172cc90035be93.jpg","text":"TemporaryFile(/tmp/multipartBody8466701195991042844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_19_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/79449a0a29e5ee6f84a4de43c33413bf.jpg","text":"TemporaryFile(/tmp/multipartBody305396602607120385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_16_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a6468f8ef14df8aa1329793d4fcc270e.jpg","text":"TemporaryFile(/tmp/multipartBody2684885471903662046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86b5ce5be94514a45660b1098af5fa94.jpg","text":"TemporaryFile(/tmp/multipartBody7326329586468507155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_14_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/30/5fd75ac13d9b1938a014c8679746aee7.jpg","text":"TemporaryFile(/tmp/multipartBody1920301133213022377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541003211,"filename":"image_31102025_13_57_26_2927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397129744","file1":"1397129708","file0":"1397129671","file4":"1397129820","file5":"1397129854","file3":"1397129783"},"map_files_photo_id_array":[{"photo_id":"1397129854","filename":"file5"},{"photo_id":"1397129744","filename":"file2"},{"photo_id":"1397129820","filename":"file4"},{"photo_id":"1397129708","filename":"file1"},{"photo_id":"1397129671","filename":"file0"},{"photo_id":"1397129783","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397129783":["hashtag1","hashtag2"]},{"1397129744":["hashtag1","hashtag2"]},{"1397129708":["hashtag1","hashtag2"]},{"1397129854":["hashtag1","hashtag2"]},{"1397129671":["hashtag1","hashtag2"]},{"1397129820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397129783, 1397129744, 1397129708, 1397129854, 1397129671, 1397129820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.620476961135864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:16:22.516322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/51/image_30112025_22_51_54_9587.jpg', '/home/pi/Desktop/images/30112025/22/51/image_30112025_22_52_05_10732.jpg', '/home/pi/Desktop/images/30112025/22/52/image_30112025_22_52_24_9615.jpg', '/home/pi/Desktop/images/30112025/22/53/image_30112025_22_53_15_9590.jpg', '/home/pi/Desktop/images/30112025/22/53/image_30112025_22_53_24_9649.jpg', '/home/pi/Desktop/images/30112025/22/53/image_30112025_22_54_04_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/51/image_30112025_22_51_54_9587.jpg
/home/pi/Desktop/images/30112025/22/51/image_30112025_22_52_05_10732.jpg
/home/pi/Desktop/images/30112025/22/52/image_30112025_22_52_24_9615.jpg
/home/pi/Desktop/images/30112025/22/53/image_30112025_22_53_15_9590.jpg
/home/pi/Desktop/images/30112025/22/53/image_30112025_22_53_24_9649.jpg
/home/pi/Desktop/images/30112025/22/53/image_30112025_22_54_04_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130009","1397130011","1397130017","1397130055","1397129997","1397130007"],"photo_ids_order":["1397129997","1397130007","1397130009","1397130011","1397130017","1397130055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ca41f182d280e6c33007d1eae576215.jpg","text":"TemporaryFile(/tmp/multipartBody5581832609391939563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_52_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b3be06fe7f9669b9da5568bc1357167e.jpg","text":"TemporaryFile(/tmp/multipartBody7292361500238857464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_53_15_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1351c4539bf70fbd7d62df3b5ccb4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1868567042637153122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_53_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6110b150e8c2a04c76bb30dd2705bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7359467597214671562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_54_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2da7e9adc05f50563bf4238370d2cffe.jpg","text":"TemporaryFile(/tmp/multipartBody811182499617547388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_51_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3d210227edb1119047c0f6afad57de66.jpg","text":"TemporaryFile(/tmp/multipartBody4217587319014897522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541043249,"filename":"image_30112025_22_52_05_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130009","file1":"1397130007","file0":"1397129997","file4":"1397130017","file5":"1397130055","file3":"1397130011"},"map_files_photo_id_array":[{"photo_id":"1397130055","filename":"file5"},{"photo_id":"1397130009","filename":"file2"},{"photo_id":"1397130017","filename":"file4"},{"photo_id":"1397130007","filename":"file1"},{"photo_id":"1397129997","filename":"file0"},{"photo_id":"1397130011","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130009":["hashtag1","hashtag2"]},{"1397130011":["hashtag1","hashtag2"]},{"1397130017":["hashtag1","hashtag2"]},{"1397130055":["hashtag1","hashtag2"]},{"1397129997":["hashtag1","hashtag2"]},{"1397130007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130009, 1397130011, 1397130017, 1397130055, 1397129997, 1397130007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55153179168701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:17:03.270146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_15_10843.jpg', '/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_25_9743.jpg', '/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_39_13689.jpg', '/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_45_6678.jpg', '/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_34_9571.jpg', '/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_44_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_15_10843.jpg
/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_25_9743.jpg
/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_39_13689.jpg
/home/pi/Desktop/images/30112025/22/54/image_30112025_22_54_45_6678.jpg
/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_34_9571.jpg
/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_44_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130161","1397130155","1397130146","1397130107","1397130163","1397130166"],"photo_ids_order":["1397130107","1397130146","1397130155","1397130161","1397130163","1397130166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20aa338c95829ca197cd61f6ee3bffc2.jpg","text":"TemporaryFile(/tmp/multipartBody2912245138066851987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_54_45_6678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c554f1ea3ed6da0cfc8105347ce8366.jpg","text":"TemporaryFile(/tmp/multipartBody5593686430018999107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_54_39_13689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1f9cb61362c81d57920a46c81bc77463.jpg","text":"TemporaryFile(/tmp/multipartBody6165694205621860535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_54_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a401be6a3b75aa6ac011e421d0dd4c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3007233308832105726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_54_15_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfc062d9373316aec9dde31dade62a50.jpg","text":"TemporaryFile(/tmp/multipartBody8594242389684138702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_56_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3fbcae9321da63b33d4a5fec5180314a.jpg","text":"TemporaryFile(/tmp/multipartBody7536125496729799569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541084034,"filename":"image_30112025_22_56_44_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130155","file1":"1397130146","file0":"1397130107","file4":"1397130163","file5":"1397130166","file3":"1397130161"},"map_files_photo_id_array":[{"photo_id":"1397130166","filename":"file5"},{"photo_id":"1397130155","filename":"file2"},{"photo_id":"1397130163","filename":"file4"},{"photo_id":"1397130146","filename":"file1"},{"photo_id":"1397130107","filename":"file0"},{"photo_id":"1397130161","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130161":["hashtag1","hashtag2"]},{"1397130155":["hashtag1","hashtag2"]},{"1397130146":["hashtag1","hashtag2"]},{"1397130107":["hashtag1","hashtag2"]},{"1397130163":["hashtag1","hashtag2"]},{"1397130166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130161, 1397130155, 1397130146, 1397130107, 1397130163, 1397130166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3272500038147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:17:42.652909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/57/image_31102025_13_57_38_2974.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_41_2696.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_43_2828.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_46_2733.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_50_3689.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_53_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/13/57/image_31102025_13_57_38_2974.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_41_2696.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_43_2828.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_46_2733.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_50_3689.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_53_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":["1397130173","1397130176","1397130170","1397130172","1397130175","1397130174"],"photo_ids_order":["1397130170","1397130172","1397130173","1397130174","1397130175","1397130176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/db980bdc7a3c88ef1ca1a8d1fbedf1ac.jpg","text":"TemporaryFile(/tmp/multipartBody2070568519276671632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_43_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1a49275e8c633ce4f5a36c655a0bd31f.jpg","text":"TemporaryFile(/tmp/multipartBody6767265864053731976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_53_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/30/a0dfaec08053252f6c77f72e3198a00c.jpg","text":"TemporaryFile(/tmp/multipartBody2874802619534215457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_38_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8d6fdf51ba838a018e7f9e7d818e881e.jpg","text":"TemporaryFile(/tmp/multipartBody4365336090825484454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_41_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/56c4d50cf5235ea8f3b3989f7a5105d6.jpg","text":"TemporaryFile(/tmp/multipartBody4001675178901243231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_50_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/30/767989d51215913cf1db5e437d94760d.jpg","text":"TemporaryFile(/tmp/multipartBody8749608850885568221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541123549,"filename":"image_31102025_13_57_46_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130173","file1":"1397130172","file0":"1397130170","file4":"1397130175","file5":"1397130176","file3":"1397130174"},"map_files_photo_id_array":[{"photo_id":"1397130176","filename":"file5"},{"photo_id":"1397130173","filename":"file2"},{"photo_id":"1397130175","filename":"file4"},{"photo_id":"1397130172","filename":"file1"},{"photo_id":"1397130170","filename":"file0"},{"photo_id":"1397130174","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130173":["hashtag1","hashtag2"]},{"1397130176":["hashtag1","hashtag2"]},{"1397130170":["hashtag1","hashtag2"]},{"1397130172":["hashtag1","hashtag2"]},{"1397130175":["hashtag1","hashtag2"]},{"1397130174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130173, 1397130176, 1397130170, 1397130172, 1397130175, 1397130174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.123915672302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:18:22.813887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_54_10661.jpg', '/home/pi/Desktop/images/30112025/22/56/image_30112025_22_57_04_9636.jpg', '/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_14_9520.jpg', '/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_23_9863.jpg', '/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_44_9819.jpg', '/home/pi/Desktop/images/30112025/22/57/image_30112025_22_58_04_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/56/image_30112025_22_56_54_10661.jpg
/home/pi/Desktop/images/30112025/22/56/image_30112025_22_57_04_9636.jpg
/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_14_9520.jpg
/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_23_9863.jpg
/home/pi/Desktop/images/30112025/22/57/image_30112025_22_57_44_9819.jpg
/home/pi/Desktop/images/30112025/22/57/image_30112025_22_58_04_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130186","1397130185","1397130179","1397130188","1397130181","1397130183"],"photo_ids_order":["1397130179","1397130181","1397130183","1397130185","1397130186","1397130188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62bdbc4d9fae54c8e6d40de0b4b80164.jpg","text":"TemporaryFile(/tmp/multipartBody3111191045222892087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_57_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/55d3aa2001ec4806ee4237bb2220e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1169187172581734056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_57_23_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8c8c0b90cf50c6ec06f25d6dbf422a17.jpg","text":"TemporaryFile(/tmp/multipartBody8185913901127207189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_56_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1377c09dfe538a0d0da6fd13cdbd1749.jpg","text":"TemporaryFile(/tmp/multipartBody6109195093109582864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_58_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/875fc097702bbf40fb73ae9f46422333.jpg","text":"TemporaryFile(/tmp/multipartBody7129596267769849801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_57_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5be6c5515f735f16725cd3d5cdc1e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5852153008454555533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541163551,"filename":"image_30112025_22_57_14_9520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130183","file1":"1397130181","file0":"1397130179","file4":"1397130186","file5":"1397130188","file3":"1397130185"},"map_files_photo_id_array":[{"photo_id":"1397130188","filename":"file5"},{"photo_id":"1397130183","filename":"file2"},{"photo_id":"1397130186","filename":"file4"},{"photo_id":"1397130181","filename":"file1"},{"photo_id":"1397130179","filename":"file0"},{"photo_id":"1397130185","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130186":["hashtag1","hashtag2"]},{"1397130185":["hashtag1","hashtag2"]},{"1397130179":["hashtag1","hashtag2"]},{"1397130188":["hashtag1","hashtag2"]},{"1397130181":["hashtag1","hashtag2"]},{"1397130183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130186, 1397130185, 1397130179, 1397130188, 1397130181, 1397130183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0712571144104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:19:03.564444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_14_10812.jpg', '/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_24_9666.jpg', '/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_34_9757.jpg', '/home/pi/Desktop/images/30112025/22/59/image_30112025_23_00_04_9690.jpg', '/home/pi/Desktop/images/30112025/23/00/image_30112025_23_00_24_9797.jpg', '/home/pi/Desktop/images/30112025/23/01/image_30112025_23_01_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_14_10812.jpg
/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_24_9666.jpg
/home/pi/Desktop/images/30112025/22/59/image_30112025_22_59_34_9757.jpg
/home/pi/Desktop/images/30112025/22/59/image_30112025_23_00_04_9690.jpg
/home/pi/Desktop/images/30112025/23/00/image_30112025_23_00_24_9797.jpg
/home/pi/Desktop/images/30112025/23/01/image_30112025_23_01_14_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130197","1397130191","1397130190","1397130193","1397130195","1397130189"],"photo_ids_order":["1397130189","1397130190","1397130191","1397130193","1397130195","1397130197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fc658503a872a4c2db05a343182f6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8466296610258606630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_23_01_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6185e42efa8114c32a67aa3df470175c.jpg","text":"TemporaryFile(/tmp/multipartBody1704652083302598718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_22_59_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/52cf49be6b509a73864bad9840f32995.jpg","text":"TemporaryFile(/tmp/multipartBody1688308528132405588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_22_59_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9b83a07e7b3771411dfe4ca79f580f1.jpg","text":"TemporaryFile(/tmp/multipartBody5951679842675501745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_23_00_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd84524474b0e2c99d4eab2aa5554bf9.jpg","text":"TemporaryFile(/tmp/multipartBody3645621888964789539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_23_00_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7705a526106f3d13b6552da6a8017570.jpg","text":"TemporaryFile(/tmp/multipartBody9055293844238083618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541204553,"filename":"image_30112025_22_59_14_10812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130191","file1":"1397130190","file0":"1397130189","file4":"1397130195","file5":"1397130197","file3":"1397130193"},"map_files_photo_id_array":[{"photo_id":"1397130197","filename":"file5"},{"photo_id":"1397130191","filename":"file2"},{"photo_id":"1397130195","filename":"file4"},{"photo_id":"1397130190","filename":"file1"},{"photo_id":"1397130189","filename":"file0"},{"photo_id":"1397130193","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130197":["hashtag1","hashtag2"]},{"1397130191":["hashtag1","hashtag2"]},{"1397130190":["hashtag1","hashtag2"]},{"1397130193":["hashtag1","hashtag2"]},{"1397130195":["hashtag1","hashtag2"]},{"1397130189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130197, 1397130191, 1397130190, 1397130193, 1397130195, 1397130189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.952889919281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:19:42.855731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/57/image_31102025_13_57_55_2835.jpg', '/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_58_2709.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_05_2807.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_07_2558.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_10_2808.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_19_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_55_2835.jpg
/home/pi/Desktop/images/31102025/13/57/image_31102025_13_57_58_2709.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_05_2807.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_07_2558.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_10_2808.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_19_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130207","1397130204","1397130206","1397130208","1397130202","1397130205"],"photo_ids_order":["1397130202","1397130204","1397130205","1397130206","1397130207","1397130208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4aaac9eb909d60303e542c31140acd1.jpg","text":"TemporaryFile(/tmp/multipartBody4805038096280306222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_58_10_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/30/24e273e2d218e6ea17d9b0d5348c34a9.jpg","text":"TemporaryFile(/tmp/multipartBody1510338796884397839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_57_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/30/9dcefd53f97160857959cc003cd7082f.jpg","text":"TemporaryFile(/tmp/multipartBody3713615401159756484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_58_07_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/30/de0dfa6958fc8983fb5a3d61a078f697.jpg","text":"TemporaryFile(/tmp/multipartBody909299749780500091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_58_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/30/16095fa38f95add8c8ba8850fbb528b2.jpg","text":"TemporaryFile(/tmp/multipartBody4559016404772129082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_57_55_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/30/ab66a5a1d55264c210944342b7866491.jpg","text":"TemporaryFile(/tmp/multipartBody5804205983572836715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541243779,"filename":"image_31102025_13_58_05_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130205","file1":"1397130204","file0":"1397130202","file4":"1397130207","file5":"1397130208","file3":"1397130206"},"map_files_photo_id_array":[{"photo_id":"1397130208","filename":"file5"},{"photo_id":"1397130205","filename":"file2"},{"photo_id":"1397130207","filename":"file4"},{"photo_id":"1397130204","filename":"file1"},{"photo_id":"1397130202","filename":"file0"},{"photo_id":"1397130206","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130207":["hashtag1","hashtag2"]},{"1397130204":["hashtag1","hashtag2"]},{"1397130206":["hashtag1","hashtag2"]},{"1397130208":["hashtag1","hashtag2"]},{"1397130202":["hashtag1","hashtag2"]},{"1397130205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130207, 1397130204, 1397130206, 1397130208, 1397130202, 1397130205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76993250846863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:20:22.041794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/01/image_30112025_23_01_44_9582.jpg', '/home/pi/Desktop/images/30112025/23/01/image_30112025_23_02_04_10645.jpg', '/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_14_9951.jpg', '/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_24_9587.jpg', '/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_44_9561.jpg', '/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_54_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/01/image_30112025_23_01_44_9582.jpg
/home/pi/Desktop/images/30112025/23/01/image_30112025_23_02_04_10645.jpg
/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_14_9951.jpg
/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_24_9587.jpg
/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_44_9561.jpg
/home/pi/Desktop/images/30112025/23/02/image_30112025_23_02_54_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130219","1397130213","1397130216","1397130215","1397130217","1397130211"],"photo_ids_order":["1397130211","1397130213","1397130215","1397130216","1397130217","1397130219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/add4ccfb53ff58650e48a6ef3f87956c.jpg","text":"TemporaryFile(/tmp/multipartBody967792332660081388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_02_54_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c51510db403e149e02d5b23fc5f04c7.jpg","text":"TemporaryFile(/tmp/multipartBody9150830193700462266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_02_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/280b327cfe0ce886a82ad721f3bf54b3.jpg","text":"TemporaryFile(/tmp/multipartBody3381453742597265799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_02_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2922108bb158f3d24083a136bf1d12e3.jpg","text":"TemporaryFile(/tmp/multipartBody1009451427983489367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_02_14_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c018a09426eae432243075f8dfd51d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6548601696621621731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_02_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c2bd8db2ce92a18dcf374f5d30eac229.jpg","text":"TemporaryFile(/tmp/multipartBody749019082887559711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541282839,"filename":"image_30112025_23_01_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130215","file1":"1397130213","file0":"1397130211","file4":"1397130217","file5":"1397130219","file3":"1397130216"},"map_files_photo_id_array":[{"photo_id":"1397130219","filename":"file5"},{"photo_id":"1397130215","filename":"file2"},{"photo_id":"1397130217","filename":"file4"},{"photo_id":"1397130213","filename":"file1"},{"photo_id":"1397130211","filename":"file0"},{"photo_id":"1397130216","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130219":["hashtag1","hashtag2"]},{"1397130213":["hashtag1","hashtag2"]},{"1397130216":["hashtag1","hashtag2"]},{"1397130215":["hashtag1","hashtag2"]},{"1397130217":["hashtag1","hashtag2"]},{"1397130211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130219, 1397130213, 1397130216, 1397130215, 1397130217, 1397130211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0963180065155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:21:02.988942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_14_10713.jpg', '/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_24_9682.jpg', '/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_34_9688.jpg', '/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_54_9721.jpg', '/home/pi/Desktop/images/30112025/23/06/image_30112025_23_06_34_9794.jpg', '/home/pi/Desktop/images/30112025/23/06/image_30112025_23_06_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_14_10713.jpg
/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_24_9682.jpg
/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_34_9688.jpg
/home/pi/Desktop/images/30112025/23/05/image_30112025_23_05_54_9721.jpg
/home/pi/Desktop/images/30112025/23/06/image_30112025_23_06_34_9794.jpg
/home/pi/Desktop/images/30112025/23/06/image_30112025_23_06_44_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130225","1397130222","1397130221","1397130227","1397130220","1397130223"],"photo_ids_order":["1397130220","1397130221","1397130222","1397130223","1397130225","1397130227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f81a084c6e3d551a45936e2d74d5665b.jpg","text":"TemporaryFile(/tmp/multipartBody714889145178415662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_06_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c9502ceabfa305c6d8f4e4dc225ed6f.jpg","text":"TemporaryFile(/tmp/multipartBody1275643323723004176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_05_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/25629cb4c514607b5521239f455d56c5.jpg","text":"TemporaryFile(/tmp/multipartBody8360576917973381639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_05_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/852c636492ea59ee1d8c815bfb9736c3.jpg","text":"TemporaryFile(/tmp/multipartBody4669889768134944650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_06_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f568ef11469b2acdc15cf1c040b1def6.jpg","text":"TemporaryFile(/tmp/multipartBody6444283939265072285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_05_14_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e3c93266b4f0aaf7fc143533cc32cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody7861865758527858464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541323813,"filename":"image_30112025_23_05_54_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130222","file1":"1397130221","file0":"1397130220","file4":"1397130225","file5":"1397130227","file3":"1397130223"},"map_files_photo_id_array":[{"photo_id":"1397130227","filename":"file5"},{"photo_id":"1397130222","filename":"file2"},{"photo_id":"1397130225","filename":"file4"},{"photo_id":"1397130221","filename":"file1"},{"photo_id":"1397130220","filename":"file0"},{"photo_id":"1397130223","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130225":["hashtag1","hashtag2"]},{"1397130222":["hashtag1","hashtag2"]},{"1397130221":["hashtag1","hashtag2"]},{"1397130227":["hashtag1","hashtag2"]},{"1397130220":["hashtag1","hashtag2"]},{"1397130223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130225, 1397130222, 1397130221, 1397130227, 1397130220, 1397130223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91643762588501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:21:42.326448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/58/image_31102025_13_58_23_3704.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_26_2715.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_28_2809.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_31_2516.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_35_3689.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_37_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_23_3704.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_26_2715.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_28_2809.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_31_2516.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_35_3689.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_37_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130237","1397130231","1397130234","1397130236","1397130233","1397130235"],"photo_ids_order":["1397130231","1397130233","1397130234","1397130235","1397130236","1397130237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/20d4f552a383b0b367a77e73b9819337.jpg","text":"TemporaryFile(/tmp/multipartBody5127675815249246339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_37_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/30/81ffefb35cf8637d2edd1fb55b257f95.jpg","text":"TemporaryFile(/tmp/multipartBody6230186528187206376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_23_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/30/c3dc23d7088d4d9a87118f9893d6236c.jpg","text":"TemporaryFile(/tmp/multipartBody73490697401440001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_28_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/30/f932d0c890e175385a455e45ecc5a133.jpg","text":"TemporaryFile(/tmp/multipartBody703113094816624741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_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/30/575ccd8201bd8ee734b518f395103de4.jpg","text":"TemporaryFile(/tmp/multipartBody378695275073821312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_26_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7feacca67ea9aad3cb1d31b56b5ffcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5085268479725076246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541363279,"filename":"image_31102025_13_58_31_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130234","file1":"1397130233","file0":"1397130231","file4":"1397130236","file5":"1397130237","file3":"1397130235"},"map_files_photo_id_array":[{"photo_id":"1397130237","filename":"file5"},{"photo_id":"1397130234","filename":"file2"},{"photo_id":"1397130236","filename":"file4"},{"photo_id":"1397130233","filename":"file1"},{"photo_id":"1397130231","filename":"file0"},{"photo_id":"1397130235","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130237":["hashtag1","hashtag2"]},{"1397130231":["hashtag1","hashtag2"]},{"1397130234":["hashtag1","hashtag2"]},{"1397130236":["hashtag1","hashtag2"]},{"1397130233":["hashtag1","hashtag2"]},{"1397130235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130237, 1397130231, 1397130234, 1397130236, 1397130233, 1397130235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53014898300171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:22:22.548317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_14_9691.jpg', '/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_24_9703.jpg', '/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_54_9737.jpg', '/home/pi/Desktop/images/30112025/23/07/image_30112025_23_08_04_9709.jpg', '/home/pi/Desktop/images/30112025/23/08/image_30112025_23_08_24_9658.jpg', '/home/pi/Desktop/images/30112025/23/08/image_30112025_23_08_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_14_9691.jpg
/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_24_9703.jpg
/home/pi/Desktop/images/30112025/23/07/image_30112025_23_07_54_9737.jpg
/home/pi/Desktop/images/30112025/23/07/image_30112025_23_08_04_9709.jpg
/home/pi/Desktop/images/30112025/23/08/image_30112025_23_08_24_9658.jpg
/home/pi/Desktop/images/30112025/23/08/image_30112025_23_08_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130249","1397130240","1397130242","1397130245","1397130247","1397130241"],"photo_ids_order":["1397130240","1397130241","1397130242","1397130245","1397130247","1397130249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/616e8ed03cce24ecc314dc9ed3e73e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3753157514768352668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_08_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adc20de94cf5b7ed74d1914567de2c8e.jpg","text":"TemporaryFile(/tmp/multipartBody9186184702736619687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_07_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2679c704b404d381c9ac88db7db4cfce.jpg","text":"TemporaryFile(/tmp/multipartBody2837647986197949187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_07_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c249f633c0957c365df490ac2cc3d17e.jpg","text":"TemporaryFile(/tmp/multipartBody1027496021358731941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_08_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed066fda926f1946770ba553decdbf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7549531197007563697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_08_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/eedd6c85456200d079764b9d78ec704d.jpg","text":"TemporaryFile(/tmp/multipartBody4572050909713048605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541403338,"filename":"image_30112025_23_07_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130242","file1":"1397130241","file0":"1397130240","file4":"1397130247","file5":"1397130249","file3":"1397130245"},"map_files_photo_id_array":[{"photo_id":"1397130249","filename":"file5"},{"photo_id":"1397130242","filename":"file2"},{"photo_id":"1397130247","filename":"file4"},{"photo_id":"1397130241","filename":"file1"},{"photo_id":"1397130240","filename":"file0"},{"photo_id":"1397130245","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130249":["hashtag1","hashtag2"]},{"1397130240":["hashtag1","hashtag2"]},{"1397130242":["hashtag1","hashtag2"]},{"1397130245":["hashtag1","hashtag2"]},{"1397130247":["hashtag1","hashtag2"]},{"1397130241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130249, 1397130240, 1397130242, 1397130245, 1397130247, 1397130241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08972716331482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:23:03.346176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/08/image_30112025_23_09_04_9743.jpg', '/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_14_10684.jpg', '/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_24_9736.jpg', '/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_34_9666.jpg', '/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_43_9671.jpg', '/home/pi/Desktop/images/30112025/23/09/image_30112025_23_10_04_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/08/image_30112025_23_09_04_9743.jpg
/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_14_10684.jpg
/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_24_9736.jpg
/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_34_9666.jpg
/home/pi/Desktop/images/30112025/23/09/image_30112025_23_09_43_9671.jpg
/home/pi/Desktop/images/30112025/23/09/image_30112025_23_10_04_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130258","1397130252","1397130251","1397130250","1397130253","1397130256"],"photo_ids_order":["1397130250","1397130251","1397130252","1397130253","1397130256","1397130258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/45c19a48196e89311c19a083405e3afe.jpg","text":"TemporaryFile(/tmp/multipartBody862844755974157760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_10_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a777d0ad0e51a5be2141cd4537253f83.jpg","text":"TemporaryFile(/tmp/multipartBody2667225136212222571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_09_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e9eb29e78f84910173ea8c77a52ce915.jpg","text":"TemporaryFile(/tmp/multipartBody4456355503304901309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_09_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dd31a24923d6ba72560c037e1b7ccf0d.jpg","text":"TemporaryFile(/tmp/multipartBody3986143244915318272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_09_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fff3ab47797e76634129ab559499e31.jpg","text":"TemporaryFile(/tmp/multipartBody5390516139172835694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_09_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c8df933f6f3173f660d555507cfb801f.jpg","text":"TemporaryFile(/tmp/multipartBody2650510193633115409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541444120,"filename":"image_30112025_23_09_43_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130252","file1":"1397130251","file0":"1397130250","file4":"1397130256","file5":"1397130258","file3":"1397130253"},"map_files_photo_id_array":[{"photo_id":"1397130258","filename":"file5"},{"photo_id":"1397130252","filename":"file2"},{"photo_id":"1397130256","filename":"file4"},{"photo_id":"1397130251","filename":"file1"},{"photo_id":"1397130250","filename":"file0"},{"photo_id":"1397130253","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130258":["hashtag1","hashtag2"]},{"1397130252":["hashtag1","hashtag2"]},{"1397130251":["hashtag1","hashtag2"]},{"1397130250":["hashtag1","hashtag2"]},{"1397130253":["hashtag1","hashtag2"]},{"1397130256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130258, 1397130252, 1397130251, 1397130250, 1397130253, 1397130256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03810739517212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:23:42.676734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/58/image_31102025_13_58_40_2685.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_47_2743.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_49_2727.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_52_2851.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_56_3735.jpg', '/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_59_2975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_40_2685.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_47_2743.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_49_2727.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_52_2851.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_56_3735.jpg
/home/pi/Desktop/images/31102025/13/58/image_31102025_13_58_59_2975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130264","1397130267","1397130260","1397130263","1397130265","1397130261"],"photo_ids_order":["1397130260","1397130261","1397130263","1397130264","1397130265","1397130267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/388477109ea3a274e278073b2012069b.jpg","text":"TemporaryFile(/tmp/multipartBody5696197228369897322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_52_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/30/c1be4e3ce0c6c80a6423dd72e39ce5fd.jpg","text":"TemporaryFile(/tmp/multipartBody604792739800688490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_59_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0526febcec3446fb911a2fafde848794.jpg","text":"TemporaryFile(/tmp/multipartBody3460093043319942705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_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/30/4cb497699cbc684710b5d352a1ada6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3439127595663063458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_49_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0717cad9101149487d7a6c7eb101fb33.jpg","text":"TemporaryFile(/tmp/multipartBody2574816877966724028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_56_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/30/07ffe6c55da97e0bbae701f9100f5671.jpg","text":"TemporaryFile(/tmp/multipartBody2902351081454604356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541483549,"filename":"image_31102025_13_58_47_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130263","file1":"1397130261","file0":"1397130260","file4":"1397130265","file5":"1397130267","file3":"1397130264"},"map_files_photo_id_array":[{"photo_id":"1397130267","filename":"file5"},{"photo_id":"1397130263","filename":"file2"},{"photo_id":"1397130265","filename":"file4"},{"photo_id":"1397130261","filename":"file1"},{"photo_id":"1397130260","filename":"file0"},{"photo_id":"1397130264","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130264":["hashtag1","hashtag2"]},{"1397130267":["hashtag1","hashtag2"]},{"1397130260":["hashtag1","hashtag2"]},{"1397130263":["hashtag1","hashtag2"]},{"1397130265":["hashtag1","hashtag2"]},{"1397130261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130264, 1397130267, 1397130260, 1397130263, 1397130265, 1397130261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68108105659485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:24:21.850323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/10/image_30112025_23_10_14_9752.jpg', '/home/pi/Desktop/images/30112025/23/10/image_30112025_23_10_53_9701.jpg', '/home/pi/Desktop/images/30112025/23/10/image_30112025_23_11_03_10036.jpg', '/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_14_10751.jpg', '/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_34_9875.jpg', '/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_43_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/10/image_30112025_23_10_14_9752.jpg
/home/pi/Desktop/images/30112025/23/10/image_30112025_23_10_53_9701.jpg
/home/pi/Desktop/images/30112025/23/10/image_30112025_23_11_03_10036.jpg
/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_14_10751.jpg
/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_34_9875.jpg
/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_43_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130279","1397130270","1397130272","1397130281","1397130275","1397130277"],"photo_ids_order":["1397130270","1397130272","1397130275","1397130277","1397130279","1397130281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a4f089b4bcdfffc016b434691a2bb13b.jpg","text":"TemporaryFile(/tmp/multipartBody2762682652032917046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_11_34_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84c7a56ed36642a4509b81af7f12b589.jpg","text":"TemporaryFile(/tmp/multipartBody2162120332652556274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_10_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0fb1b2e5270570127deaecf8737b6b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4209502315934282316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_10_53_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a501eab7b5e415c07b9e7f816907dd77.jpg","text":"TemporaryFile(/tmp/multipartBody6200426594913106670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_11_43_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b177b4a0d149820893159ac846f07ead.jpg","text":"TemporaryFile(/tmp/multipartBody1640490497718082678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_11_03_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8389988fa0122baec90fddc88228f106.jpg","text":"TemporaryFile(/tmp/multipartBody6748042634899201938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541522593,"filename":"image_30112025_23_11_14_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130275","file1":"1397130272","file0":"1397130270","file4":"1397130279","file5":"1397130281","file3":"1397130277"},"map_files_photo_id_array":[{"photo_id":"1397130281","filename":"file5"},{"photo_id":"1397130275","filename":"file2"},{"photo_id":"1397130279","filename":"file4"},{"photo_id":"1397130272","filename":"file1"},{"photo_id":"1397130270","filename":"file0"},{"photo_id":"1397130277","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130279":["hashtag1","hashtag2"]},{"1397130270":["hashtag1","hashtag2"]},{"1397130272":["hashtag1","hashtag2"]},{"1397130281":["hashtag1","hashtag2"]},{"1397130275":["hashtag1","hashtag2"]},{"1397130277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130279, 1397130270, 1397130272, 1397130281, 1397130275, 1397130277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05912923812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:25:11.955921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_08_2545.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_11_2766.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_13_2729.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_17_3668.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_20_2573.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_22_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_08_2545.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_11_2766.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_13_2729.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_17_3668.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_20_2573.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_22_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130285","1397130290","1397130283","1397130292","1397130288","1397130282"],"photo_ids_order":["1397130282","1397130283","1397130285","1397130288","1397130290","1397130292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4cedad3c4e877afee7cbfafbde8fccef.jpg","text":"TemporaryFile(/tmp/multipartBody4451057301887141846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_13_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bab77574f8fb5295e7a06831c1231268.jpg","text":"TemporaryFile(/tmp/multipartBody1594479186490630989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_20_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/30/d36804fb8063f8bf0d2f6263b7ff82a2.jpg","text":"TemporaryFile(/tmp/multipartBody6870892424628659657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_11_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/30/386d36839d9d660bbc0f3c524eb030a4.jpg","text":"TemporaryFile(/tmp/multipartBody6343910561344894973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_22_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8a606e105cc459b1649b8b53d65a0493.jpg","text":"TemporaryFile(/tmp/multipartBody6767334378619482489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_17_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/01975a6bdaf6a88e69deb7902a2115b7.jpg","text":"TemporaryFile(/tmp/multipartBody6540724709079057935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541573462,"filename":"image_25112025_20_56_08_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130285","file1":"1397130283","file0":"1397130282","file4":"1397130290","file5":"1397130292","file3":"1397130288"},"map_files_photo_id_array":[{"photo_id":"1397130292","filename":"file5"},{"photo_id":"1397130285","filename":"file2"},{"photo_id":"1397130290","filename":"file4"},{"photo_id":"1397130283","filename":"file1"},{"photo_id":"1397130282","filename":"file0"},{"photo_id":"1397130288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130285":["hashtag1","hashtag2"]},{"1397130290":["hashtag1","hashtag2"]},{"1397130283":["hashtag1","hashtag2"]},{"1397130292":["hashtag1","hashtag2"]},{"1397130288":["hashtag1","hashtag2"]},{"1397130282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130285, 1397130290, 1397130283, 1397130292, 1397130288, 1397130282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29537343978882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:26:02.816396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_54_10709.jpg', '/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_24_10627.jpg', '/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_44_9676.jpg', '/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_54_10661.jpg', '/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_14_9690.jpg', '/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_24_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/11/image_30112025_23_11_54_10709.jpg
/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_24_10627.jpg
/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_44_9676.jpg
/home/pi/Desktop/images/30112025/23/12/image_30112025_23_12_54_10661.jpg
/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_14_9690.jpg
/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_24_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130296","1397130300","1397130302","1397130295","1397130294","1397130297"],"photo_ids_order":["1397130294","1397130295","1397130296","1397130297","1397130300","1397130302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3e71df49e52ef65bc00f96ff7d86d007.jpg","text":"TemporaryFile(/tmp/multipartBody6925241629776247102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_12_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7f6caa8de2cbf7b40a49939fbc2d8a51.jpg","text":"TemporaryFile(/tmp/multipartBody6540561708420361954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_13_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b96df5f5938bc86cc7a11fe7792f4065.jpg","text":"TemporaryFile(/tmp/multipartBody8153051348976427432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_13_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0dc78314b3fc918053a0e40e64d8500a.jpg","text":"TemporaryFile(/tmp/multipartBody4104376168214135509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_12_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1dec15924b580c658b00dab8be94c851.jpg","text":"TemporaryFile(/tmp/multipartBody6002405489378121558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_11_54_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fbe3a2626d971ece2f9406261939f214.jpg","text":"TemporaryFile(/tmp/multipartBody7193501821400481170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541623545,"filename":"image_30112025_23_12_54_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130296","file1":"1397130295","file0":"1397130294","file4":"1397130300","file5":"1397130302","file3":"1397130297"},"map_files_photo_id_array":[{"photo_id":"1397130302","filename":"file5"},{"photo_id":"1397130296","filename":"file2"},{"photo_id":"1397130300","filename":"file4"},{"photo_id":"1397130295","filename":"file1"},{"photo_id":"1397130294","filename":"file0"},{"photo_id":"1397130297","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130296":["hashtag1","hashtag2"]},{"1397130300":["hashtag1","hashtag2"]},{"1397130302":["hashtag1","hashtag2"]},{"1397130295":["hashtag1","hashtag2"]},{"1397130294":["hashtag1","hashtag2"]},{"1397130297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130296, 1397130300, 1397130302, 1397130295, 1397130294, 1397130297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.365078926086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:26:42.312341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/59/image_31102025_13_59_08_3600.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_13_2681.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_17_3687.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_20_2679.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_22_2897.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_25_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_08_3600.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_13_2681.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_17_3687.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_20_2679.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_22_2897.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_25_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130309","1397130311","1397130305","1397130308","1397130307","1397130310"],"photo_ids_order":["1397130305","1397130307","1397130308","1397130309","1397130310","1397130311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2243ec521b769a097f141ffcbbb240e4.jpg","text":"TemporaryFile(/tmp/multipartBody4536274858887488704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_20_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/30/1d9c8c67baaaa246af6dcfe0b47044a0.jpg","text":"TemporaryFile(/tmp/multipartBody7792723143741242060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_25_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/30/b52e8cd78f460f48c6b27cf220cc2843.jpg","text":"TemporaryFile(/tmp/multipartBody1889932556548256368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_08_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/30/73ac780d71a74cbfca81dd713f63cb20.jpg","text":"TemporaryFile(/tmp/multipartBody7769669376300468424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_17_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/30/480220f52f6fc1328f9a94fe7f5f3373.jpg","text":"TemporaryFile(/tmp/multipartBody912150853405221186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_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/30/3ffdea127eecab06c17ebb177ecf230f.jpg","text":"TemporaryFile(/tmp/multipartBody7398532126797108079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541663199,"filename":"image_31102025_13_59_22_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130308","file1":"1397130307","file0":"1397130305","file4":"1397130310","file5":"1397130311","file3":"1397130309"},"map_files_photo_id_array":[{"photo_id":"1397130311","filename":"file5"},{"photo_id":"1397130308","filename":"file2"},{"photo_id":"1397130310","filename":"file4"},{"photo_id":"1397130307","filename":"file1"},{"photo_id":"1397130305","filename":"file0"},{"photo_id":"1397130309","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130309":["hashtag1","hashtag2"]},{"1397130311":["hashtag1","hashtag2"]},{"1397130305":["hashtag1","hashtag2"]},{"1397130308":["hashtag1","hashtag2"]},{"1397130307":["hashtag1","hashtag2"]},{"1397130310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130309, 1397130311, 1397130305, 1397130308, 1397130307, 1397130310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44574236869812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:27:22.560236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_34_9686.jpg', '/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_44_10007.jpg', '/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_54_9671.jpg', '/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_28_14176.jpg', '/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_34_5819.jpg', '/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_54_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_34_9686.jpg
/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_44_10007.jpg
/home/pi/Desktop/images/30112025/23/13/image_30112025_23_13_54_9671.jpg
/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_28_14176.jpg
/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_34_5819.jpg
/home/pi/Desktop/images/30112025/23/14/image_30112025_23_14_54_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130318","1397130321","1397130320","1397130314","1397130323","1397130316"],"photo_ids_order":["1397130314","1397130316","1397130318","1397130320","1397130321","1397130323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/863f3c9747791641bd9ef1a5b174b7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6157635546685173404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_13_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ef0e80f2c621c20edaaac73bc7f7521.jpg","text":"TemporaryFile(/tmp/multipartBody8706440156136451763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_14_34_5819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b61e2cc8e8132b9971bedc55c01a8f11.jpg","text":"TemporaryFile(/tmp/multipartBody5186932183394935868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_14_28_14176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3938888a226c6d4f16d8f3751c5a8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5780323990462613800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_13_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/29674521ad4bf20708b49fe2c42d6b04.jpg","text":"TemporaryFile(/tmp/multipartBody2014139904793232768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_14_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6b7bfa47bcf55ccc1c0bd4b0e42da392.jpg","text":"TemporaryFile(/tmp/multipartBody4112393002531339665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541703313,"filename":"image_30112025_23_13_44_10007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130318","file1":"1397130316","file0":"1397130314","file4":"1397130321","file5":"1397130323","file3":"1397130320"},"map_files_photo_id_array":[{"photo_id":"1397130323","filename":"file5"},{"photo_id":"1397130318","filename":"file2"},{"photo_id":"1397130321","filename":"file4"},{"photo_id":"1397130316","filename":"file1"},{"photo_id":"1397130314","filename":"file0"},{"photo_id":"1397130320","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130318":["hashtag1","hashtag2"]},{"1397130321":["hashtag1","hashtag2"]},{"1397130320":["hashtag1","hashtag2"]},{"1397130314":["hashtag1","hashtag2"]},{"1397130323":["hashtag1","hashtag2"]},{"1397130316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130318, 1397130321, 1397130320, 1397130314, 1397130323, 1397130316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47340774536133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:28:03.137620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/14/image_30112025_23_15_04_9618.jpg', '/home/pi/Desktop/images/30112025/23/15/image_30112025_23_15_14_10243.jpg', '/home/pi/Desktop/images/30112025/23/15/image_30112025_23_16_04_10618.jpg', '/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_34_9727.jpg', '/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_44_9662.jpg', '/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_53_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/14/image_30112025_23_15_04_9618.jpg
/home/pi/Desktop/images/30112025/23/15/image_30112025_23_15_14_10243.jpg
/home/pi/Desktop/images/30112025/23/15/image_30112025_23_16_04_10618.jpg
/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_34_9727.jpg
/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_44_9662.jpg
/home/pi/Desktop/images/30112025/23/16/image_30112025_23_16_53_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130330","1397130327","1397130332","1397130326","1397130325","1397130328"],"photo_ids_order":["1397130325","1397130326","1397130327","1397130328","1397130330","1397130332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea0a0c4eeb10d42b7acd6c5b8efb5862.jpg","text":"TemporaryFile(/tmp/multipartBody2325372442880560401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_16_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4dfcab245e20fda983a560e2760c05e1.jpg","text":"TemporaryFile(/tmp/multipartBody1718904462462188119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_16_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d7e6789a6a299766b897243e004fd024.jpg","text":"TemporaryFile(/tmp/multipartBody3815640364906761033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_16_53_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/97b8ae94f798bd6f9ceb3c1794bd6fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7847232642697022220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_15_14_10243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/fba6ea24bc7f7a49df4cbdd6045f3e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5824557437449746148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_15_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/848da89d333289b163dab2624f8fda7b.jpg","text":"TemporaryFile(/tmp/multipartBody7254983921071351577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541743919,"filename":"image_30112025_23_16_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130327","file1":"1397130326","file0":"1397130325","file4":"1397130330","file5":"1397130332","file3":"1397130328"},"map_files_photo_id_array":[{"photo_id":"1397130332","filename":"file5"},{"photo_id":"1397130327","filename":"file2"},{"photo_id":"1397130330","filename":"file4"},{"photo_id":"1397130326","filename":"file1"},{"photo_id":"1397130325","filename":"file0"},{"photo_id":"1397130328","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130330":["hashtag1","hashtag2"]},{"1397130327":["hashtag1","hashtag2"]},{"1397130332":["hashtag1","hashtag2"]},{"1397130326":["hashtag1","hashtag2"]},{"1397130325":["hashtag1","hashtag2"]},{"1397130328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130330, 1397130327, 1397130332, 1397130326, 1397130325, 1397130328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64591121673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:28:42.834054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/59/image_31102025_13_59_28_2635.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_32_3797.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_34_2649.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_37_2703.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_41_3767.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_44_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_28_2635.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_32_3797.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_34_2649.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_37_2703.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_41_3767.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_44_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130336","1397130339","1397130341","1397130338","1397130340","1397130337"],"photo_ids_order":["1397130336","1397130337","1397130338","1397130339","1397130340","1397130341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9b7c77c422c70ac8a4f06b8c8802fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4274988677649709755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_28_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/30/c76ec71fa048f03b6b2a5e0abeea36d6.jpg","text":"TemporaryFile(/tmp/multipartBody553955905540759595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_37_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e3b470b40fc24d369d9dbf42588b628.jpg","text":"TemporaryFile(/tmp/multipartBody3383317620461788521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_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/30/33017631c6773e70a1cee550a5349654.jpg","text":"TemporaryFile(/tmp/multipartBody531573633563009994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_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/30/441c3c29c7b1a8fec18739cff77453e1.jpg","text":"TemporaryFile(/tmp/multipartBody2424423075112315857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_41_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/30/46d5df27109b93374b95253fa49f6438.jpg","text":"TemporaryFile(/tmp/multipartBody2094554269244469461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541783749,"filename":"image_31102025_13_59_32_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130338","file1":"1397130337","file0":"1397130336","file4":"1397130340","file5":"1397130341","file3":"1397130339"},"map_files_photo_id_array":[{"photo_id":"1397130341","filename":"file5"},{"photo_id":"1397130338","filename":"file2"},{"photo_id":"1397130340","filename":"file4"},{"photo_id":"1397130337","filename":"file1"},{"photo_id":"1397130336","filename":"file0"},{"photo_id":"1397130339","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130336":["hashtag1","hashtag2"]},{"1397130339":["hashtag1","hashtag2"]},{"1397130341":["hashtag1","hashtag2"]},{"1397130338":["hashtag1","hashtag2"]},{"1397130340":["hashtag1","hashtag2"]},{"1397130337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130336, 1397130339, 1397130341, 1397130338, 1397130340, 1397130337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78516960144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:29:22.067915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/16/image_30112025_23_17_04_10896.jpg', '/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_24_9624.jpg', '/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_34_10663.jpg', '/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_44_9551.jpg', '/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_54_9594.jpg', '/home/pi/Desktop/images/30112025/23/17/image_30112025_23_18_04_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/16/image_30112025_23_17_04_10896.jpg
/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_24_9624.jpg
/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_34_10663.jpg
/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_44_9551.jpg
/home/pi/Desktop/images/30112025/23/17/image_30112025_23_17_54_9594.jpg
/home/pi/Desktop/images/30112025/23/17/image_30112025_23_18_04_10841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130351","1397130353","1397130347","1397130344","1397130355","1397130349"],"photo_ids_order":["1397130344","1397130347","1397130349","1397130351","1397130353","1397130355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dafb93a2c852188349c41e91bef85a80.jpg","text":"TemporaryFile(/tmp/multipartBody385244327182418466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_17_44_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/824795e09c8fa3c51a2b4dcc720e9e54.jpg","text":"TemporaryFile(/tmp/multipartBody4252404270256733767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_17_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/edcc63975af5bd3c724731e6068bb67b.jpg","text":"TemporaryFile(/tmp/multipartBody3148054203487698777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_17_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23872199317de5b88ac39eec8c34d530.jpg","text":"TemporaryFile(/tmp/multipartBody8995146210008917271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_17_04_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/84430f28a9ad4ac6bb44df1124433d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2140828224835096103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_18_04_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e4d93b5d3df8fd4a71cd766d4ff8ae91.jpg","text":"TemporaryFile(/tmp/multipartBody2168231140441395041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541822821,"filename":"image_30112025_23_17_34_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130349","file1":"1397130347","file0":"1397130344","file4":"1397130353","file5":"1397130355","file3":"1397130351"},"map_files_photo_id_array":[{"photo_id":"1397130355","filename":"file5"},{"photo_id":"1397130349","filename":"file2"},{"photo_id":"1397130353","filename":"file4"},{"photo_id":"1397130347","filename":"file1"},{"photo_id":"1397130344","filename":"file0"},{"photo_id":"1397130351","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130351":["hashtag1","hashtag2"]},{"1397130353":["hashtag1","hashtag2"]},{"1397130347":["hashtag1","hashtag2"]},{"1397130344":["hashtag1","hashtag2"]},{"1397130355":["hashtag1","hashtag2"]},{"1397130349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130351, 1397130353, 1397130347, 1397130344, 1397130355, 1397130349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48258352279663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:30:02.600245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/18/image_30112025_23_18_54_9753.jpg', '/home/pi/Desktop/images/30112025/23/18/image_30112025_23_19_04_10560.jpg', '/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_14_9672.jpg', '/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_33_9795.jpg', '/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_44_10674.jpg', '/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/18/image_30112025_23_18_54_9753.jpg
/home/pi/Desktop/images/30112025/23/18/image_30112025_23_19_04_10560.jpg
/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_14_9672.jpg
/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_33_9795.jpg
/home/pi/Desktop/images/30112025/23/19/image_30112025_23_19_44_10674.jpg
/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_14_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130357","1397130365","1397130359","1397130362","1397130358","1397130360"],"photo_ids_order":["1397130357","1397130358","1397130359","1397130360","1397130362","1397130365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8b0342dd9855fee7ac288701d9b34b49.jpg","text":"TemporaryFile(/tmp/multipartBody1937376014004440985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_18_54_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86387623a298caaf0fb70ced7df83386.jpg","text":"TemporaryFile(/tmp/multipartBody902753470137577329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_20_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6dd2b7c6a70d58f20cde5ae0a159f27.jpg","text":"TemporaryFile(/tmp/multipartBody8656780611203165653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_19_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/438f1ed8b1b980e8096290cf4ae04106.jpg","text":"TemporaryFile(/tmp/multipartBody5919440661959455188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_19_44_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2986e732ef23a51ff6b969a6357c3cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8436594414451794352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_19_04_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed76259326b67ebcdbd65d1c590c08c3.jpg","text":"TemporaryFile(/tmp/multipartBody465360628203649802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541863394,"filename":"image_30112025_23_19_33_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130359","file1":"1397130358","file0":"1397130357","file4":"1397130362","file5":"1397130365","file3":"1397130360"},"map_files_photo_id_array":[{"photo_id":"1397130365","filename":"file5"},{"photo_id":"1397130359","filename":"file2"},{"photo_id":"1397130362","filename":"file4"},{"photo_id":"1397130358","filename":"file1"},{"photo_id":"1397130357","filename":"file0"},{"photo_id":"1397130360","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130357":["hashtag1","hashtag2"]},{"1397130365":["hashtag1","hashtag2"]},{"1397130359":["hashtag1","hashtag2"]},{"1397130362":["hashtag1","hashtag2"]},{"1397130358":["hashtag1","hashtag2"]},{"1397130360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130357, 1397130365, 1397130359, 1397130362, 1397130358, 1397130360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85388135910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:30:42.171865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/13/59/image_31102025_13_59_46_2728.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_49_2638.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_53_3710.jpg', '/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_55_2632.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_07_3015.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_11_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_46_2728.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_49_2638.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_53_3710.jpg
/home/pi/Desktop/images/31102025/13/59/image_31102025_13_59_55_2632.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_07_3015.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_11_3847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130371","1397130368","1397130370","1397130367","1397130372","1397130369"],"photo_ids_order":["1397130367","1397130368","1397130369","1397130370","1397130371","1397130372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/62e83cbf0b80319795d55dba93b04607.jpg","text":"TemporaryFile(/tmp/multipartBody2515131210019626569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_14_01_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/caab661fcf26d7f7adce49cc0b590e6a.jpg","text":"TemporaryFile(/tmp/multipartBody4478445892381490463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_13_59_49_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/30/4dc9aaa3a73c650a75d3a6cb1ab5f7f0.jpg","text":"TemporaryFile(/tmp/multipartBody6303881024565847263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_13_59_55_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/30/5c4569b7f8e744f6b41e898a1ec01705.jpg","text":"TemporaryFile(/tmp/multipartBody5186391280034841113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_13_59_46_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/30/5548f73acd98ce8444fb1e7c72a3a27d.jpg","text":"TemporaryFile(/tmp/multipartBody7362467736262929975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_14_01_11_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/30/edc31447d453e5d5677b9481ad1fed12.jpg","text":"TemporaryFile(/tmp/multipartBody900254844186090799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541903053,"filename":"image_31102025_13_59_53_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130369","file1":"1397130368","file0":"1397130367","file4":"1397130371","file5":"1397130372","file3":"1397130370"},"map_files_photo_id_array":[{"photo_id":"1397130372","filename":"file5"},{"photo_id":"1397130369","filename":"file2"},{"photo_id":"1397130371","filename":"file4"},{"photo_id":"1397130368","filename":"file1"},{"photo_id":"1397130367","filename":"file0"},{"photo_id":"1397130370","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130371":["hashtag1","hashtag2"]},{"1397130368":["hashtag1","hashtag2"]},{"1397130370":["hashtag1","hashtag2"]},{"1397130367":["hashtag1","hashtag2"]},{"1397130372":["hashtag1","hashtag2"]},{"1397130369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130371, 1397130368, 1397130370, 1397130367, 1397130372, 1397130369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37721061706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:31:22.320965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_34_9730.jpg', '/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_44_9692.jpg', '/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_54_9827.jpg', '/home/pi/Desktop/images/30112025/23/21/image_30112025_23_22_03_9728.jpg', '/home/pi/Desktop/images/30112025/23/22/image_30112025_23_22_54_10637.jpg', '/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_34_9730.jpg
/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_44_9692.jpg
/home/pi/Desktop/images/30112025/23/20/image_30112025_23_20_54_9827.jpg
/home/pi/Desktop/images/30112025/23/21/image_30112025_23_22_03_9728.jpg
/home/pi/Desktop/images/30112025/23/22/image_30112025_23_22_54_10637.jpg
/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_14_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130383","1397130377","1397130380","1397130379","1397130381","1397130375"],"photo_ids_order":["1397130375","1397130377","1397130379","1397130380","1397130381","1397130383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c94abefced8ba8577a6616915d69531.jpg","text":"TemporaryFile(/tmp/multipartBody8225666935222206068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_23_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d80b6afed9d6e89f304a0291af0c0fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5305776312393502408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_20_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/cbb753e537b0a7777d4c424b7dcb06d7.jpg","text":"TemporaryFile(/tmp/multipartBody6959235707144386896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_22_03_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2653ee720968c52b2580bccb4e4040d1.jpg","text":"TemporaryFile(/tmp/multipartBody4855076748558377978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_20_54_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e0819998985af6b7a1525215af2c714e.jpg","text":"TemporaryFile(/tmp/multipartBody9057275127779242560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_22_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aef75d6a7b1cb135520e2131f2b0ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody3744447465244755449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541943179,"filename":"image_30112025_23_20_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130379","file1":"1397130377","file0":"1397130375","file4":"1397130381","file5":"1397130383","file3":"1397130380"},"map_files_photo_id_array":[{"photo_id":"1397130383","filename":"file5"},{"photo_id":"1397130379","filename":"file2"},{"photo_id":"1397130381","filename":"file4"},{"photo_id":"1397130377","filename":"file1"},{"photo_id":"1397130375","filename":"file0"},{"photo_id":"1397130380","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130383":["hashtag1","hashtag2"]},{"1397130377":["hashtag1","hashtag2"]},{"1397130380":["hashtag1","hashtag2"]},{"1397130379":["hashtag1","hashtag2"]},{"1397130381":["hashtag1","hashtag2"]},{"1397130375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130383, 1397130377, 1397130380, 1397130379, 1397130381, 1397130375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.084163665771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:32:03.122621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_44_9639.jpg', '/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_54_10561.jpg', '/home/pi/Desktop/images/30112025/23/23/image_30112025_23_24_04_9637.jpg', '/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_24_10674.jpg', '/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_34_9707.jpg', '/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_43_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_44_9639.jpg
/home/pi/Desktop/images/30112025/23/23/image_30112025_23_23_54_10561.jpg
/home/pi/Desktop/images/30112025/23/23/image_30112025_23_24_04_9637.jpg
/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_24_10674.jpg
/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_34_9707.jpg
/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_43_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130392","1397130386","1397130388","1397130385","1397130390","1397130387"],"photo_ids_order":["1397130385","1397130386","1397130387","1397130388","1397130390","1397130392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9daf8712a8b734b8cf232bef94e9546f.jpg","text":"TemporaryFile(/tmp/multipartBody7389812289394640644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_24_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/aacd917915187835f7879cfdb3cbaf9c.jpg","text":"TemporaryFile(/tmp/multipartBody1390637161769328512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_23_54_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a39563b29e17c07faa35b69051869e37.jpg","text":"TemporaryFile(/tmp/multipartBody747066164789413192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_24_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2284076f5fbc6c2018d71f7281d2843b.jpg","text":"TemporaryFile(/tmp/multipartBody6191996417954585302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_23_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6d726fedcf4d9f253e076cc132ff5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2747640535037024110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_24_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3b728b74a0056a499fdfee6a1901f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody111129426379155954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764541983840,"filename":"image_30112025_23_24_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130387","file1":"1397130386","file0":"1397130385","file4":"1397130390","file5":"1397130392","file3":"1397130388"},"map_files_photo_id_array":[{"photo_id":"1397130392","filename":"file5"},{"photo_id":"1397130387","filename":"file2"},{"photo_id":"1397130390","filename":"file4"},{"photo_id":"1397130386","filename":"file1"},{"photo_id":"1397130385","filename":"file0"},{"photo_id":"1397130388","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130392":["hashtag1","hashtag2"]},{"1397130386":["hashtag1","hashtag2"]},{"1397130388":["hashtag1","hashtag2"]},{"1397130385":["hashtag1","hashtag2"]},{"1397130390":["hashtag1","hashtag2"]},{"1397130387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130392, 1397130386, 1397130388, 1397130385, 1397130390, 1397130387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59275150299072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:32:42.686148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/01/image_31102025_14_01_13_2736.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_16_2909.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_19_2656.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_22_3519.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_28_2795.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_41_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_13_2736.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_16_2909.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_19_2656.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_22_3519.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_28_2795.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_41_3538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130398","1397130402","1397130401","1397130400","1397130399","1397130403"],"photo_ids_order":["1397130398","1397130399","1397130400","1397130401","1397130402","1397130403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/03d52aa40dd723b734e0cb688ccd9eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1893463061614133038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_13_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/30/f1f1e190beffec958ac4f6ae39ab9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7710798838001244928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_28_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/30/71ef16d72f38f0e920f9631e3f410d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7143588271062784660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_22_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/30/03dca118400c3149fc1db9b7be83222e.jpg","text":"TemporaryFile(/tmp/multipartBody3546150739062643678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_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/30/534c37d7d71c370ab3a21130c0a7a98c.jpg","text":"TemporaryFile(/tmp/multipartBody1965359254239270962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_16_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/30/9546e4f2a510b06d37f2356d0dc9108a.jpg","text":"TemporaryFile(/tmp/multipartBody1615256623226309901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542023555,"filename":"image_31102025_14_01_41_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130400","file1":"1397130399","file0":"1397130398","file4":"1397130402","file5":"1397130403","file3":"1397130401"},"map_files_photo_id_array":[{"photo_id":"1397130403","filename":"file5"},{"photo_id":"1397130400","filename":"file2"},{"photo_id":"1397130402","filename":"file4"},{"photo_id":"1397130399","filename":"file1"},{"photo_id":"1397130398","filename":"file0"},{"photo_id":"1397130401","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130398":["hashtag1","hashtag2"]},{"1397130402":["hashtag1","hashtag2"]},{"1397130401":["hashtag1","hashtag2"]},{"1397130400":["hashtag1","hashtag2"]},{"1397130399":["hashtag1","hashtag2"]},{"1397130403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130398, 1397130402, 1397130401, 1397130400, 1397130399, 1397130403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76555943489075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:33:21.972336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_54_10562.jpg', '/home/pi/Desktop/images/30112025/23/24/image_30112025_23_25_04_9694.jpg', '/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_13_9716.jpg', '/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_24_10909.jpg', '/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_34_9626.jpg', '/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/24/image_30112025_23_24_54_10562.jpg
/home/pi/Desktop/images/30112025/23/24/image_30112025_23_25_04_9694.jpg
/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_13_9716.jpg
/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_24_10909.jpg
/home/pi/Desktop/images/30112025/23/25/image_30112025_23_25_34_9626.jpg
/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_34_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130414","1397130408","1397130416","1397130410","1397130412","1397130406"],"photo_ids_order":["1397130406","1397130408","1397130410","1397130412","1397130414","1397130416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ba08f4582c1dc54d82b9f21c011cc5ac.jpg","text":"TemporaryFile(/tmp/multipartBody171974652041202727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_25_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/11da638c3ae4b95fbd0f31f13650575c.jpg","text":"TemporaryFile(/tmp/multipartBody6835569096029712740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_25_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b04180c645b16aabd980b1477814b462.jpg","text":"TemporaryFile(/tmp/multipartBody5408017700682391699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_26_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/baaa07e99b5141edb1abfa5510d79714.jpg","text":"TemporaryFile(/tmp/multipartBody812131580080597485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_25_13_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/adcefa34d495ee51179116b116134e30.jpg","text":"TemporaryFile(/tmp/multipartBody1072085535691483943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_25_24_10909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7aab6ee0db972770ad96b2bc698c1afd.jpg","text":"TemporaryFile(/tmp/multipartBody8138919922258282113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542062763,"filename":"image_30112025_23_24_54_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130410","file1":"1397130408","file0":"1397130406","file4":"1397130414","file5":"1397130416","file3":"1397130412"},"map_files_photo_id_array":[{"photo_id":"1397130416","filename":"file5"},{"photo_id":"1397130410","filename":"file2"},{"photo_id":"1397130414","filename":"file4"},{"photo_id":"1397130408","filename":"file1"},{"photo_id":"1397130406","filename":"file0"},{"photo_id":"1397130412","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130414":["hashtag1","hashtag2"]},{"1397130408":["hashtag1","hashtag2"]},{"1397130416":["hashtag1","hashtag2"]},{"1397130410":["hashtag1","hashtag2"]},{"1397130412":["hashtag1","hashtag2"]},{"1397130406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130414, 1397130408, 1397130416, 1397130410, 1397130412, 1397130406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48137879371643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:34:02.662734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_44_10712.jpg', '/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_54_9670.jpg', '/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_34_9716.jpg', '/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_44_10817.jpg', '/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_54_9655.jpg', '/home/pi/Desktop/images/30112025/23/27/image_30112025_23_28_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_44_10712.jpg
/home/pi/Desktop/images/30112025/23/26/image_30112025_23_26_54_9670.jpg
/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_34_9716.jpg
/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_44_10817.jpg
/home/pi/Desktop/images/30112025/23/27/image_30112025_23_27_54_9655.jpg
/home/pi/Desktop/images/30112025/23/27/image_30112025_23_28_04_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130423","1397130420","1397130425","1397130419","1397130421","1397130418"],"photo_ids_order":["1397130418","1397130419","1397130420","1397130421","1397130423","1397130425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d0f1f706df4e11ad8837a217663c2586.jpg","text":"TemporaryFile(/tmp/multipartBody7291443838329461811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_27_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b1659d56c785250121daaf669ee96332.jpg","text":"TemporaryFile(/tmp/multipartBody5785043854842153878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_27_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e2aa60010a2c7287703805387939f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5958604512661075168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_28_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83b994ec75557e891e92d7358c55f93c.jpg","text":"TemporaryFile(/tmp/multipartBody6771447364346911320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_26_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7f1fef9bc7654d9c175842001db64e6.jpg","text":"TemporaryFile(/tmp/multipartBody925782822538615877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_27_44_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0876707e286eb38eeb9b54bb49ef902e.jpg","text":"TemporaryFile(/tmp/multipartBody3565382763321170625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542103535,"filename":"image_30112025_23_26_44_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130420","file1":"1397130419","file0":"1397130418","file4":"1397130423","file5":"1397130425","file3":"1397130421"},"map_files_photo_id_array":[{"photo_id":"1397130425","filename":"file5"},{"photo_id":"1397130420","filename":"file2"},{"photo_id":"1397130423","filename":"file4"},{"photo_id":"1397130419","filename":"file1"},{"photo_id":"1397130418","filename":"file0"},{"photo_id":"1397130421","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130423":["hashtag1","hashtag2"]},{"1397130420":["hashtag1","hashtag2"]},{"1397130425":["hashtag1","hashtag2"]},{"1397130419":["hashtag1","hashtag2"]},{"1397130421":["hashtag1","hashtag2"]},{"1397130418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130423, 1397130420, 1397130425, 1397130419, 1397130421, 1397130418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94773530960083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:34:42.008687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/01/image_31102025_14_01_43_2729.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_46_2704.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_49_2750.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_52_2884.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_56_3884.jpg', '/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_58_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_43_2729.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_46_2704.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_49_2750.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_52_2884.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_56_3884.jpg
/home/pi/Desktop/images/31102025/14/01/image_31102025_14_01_58_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":["1397130432","1397130431","1397130434","1397130430","1397130433","1397130436"],"photo_ids_order":["1397130430","1397130431","1397130432","1397130433","1397130434","1397130436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5b2997edda7e0fa3f902d992e1043cc.jpg","text":"TemporaryFile(/tmp/multipartBody7018727253144104557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_49_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/30/e12a0087d15269b1cc35e8afd5da61c6.jpg","text":"TemporaryFile(/tmp/multipartBody966566306056407070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_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/30/b1634d61e84cfeaf7bc3f43e6143e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody1557308168950042942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_56_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/30/bc2dc42fed5271b75519fb3ce2d0fca6.jpg","text":"TemporaryFile(/tmp/multipartBody6637512630253035500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ce5e83716823d3c90962c5f77d9cfe8a.jpg","text":"TemporaryFile(/tmp/multipartBody5800136954331982667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_52_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/30/10258da873d4c19ec0f6619157cdff57.jpg","text":"TemporaryFile(/tmp/multipartBody1701491019602871628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542142931,"filename":"image_31102025_14_01_58_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130432","file1":"1397130431","file0":"1397130430","file4":"1397130434","file5":"1397130436","file3":"1397130433"},"map_files_photo_id_array":[{"photo_id":"1397130436","filename":"file5"},{"photo_id":"1397130432","filename":"file2"},{"photo_id":"1397130434","filename":"file4"},{"photo_id":"1397130431","filename":"file1"},{"photo_id":"1397130430","filename":"file0"},{"photo_id":"1397130433","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130432":["hashtag1","hashtag2"]},{"1397130431":["hashtag1","hashtag2"]},{"1397130434":["hashtag1","hashtag2"]},{"1397130430":["hashtag1","hashtag2"]},{"1397130433":["hashtag1","hashtag2"]},{"1397130436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130432, 1397130431, 1397130434, 1397130430, 1397130433, 1397130436)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.10137462615967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:35:32.220356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_29_2634.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_32_3652.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_38_2631.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_41_3664.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_44_2830.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_47_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_29_2634.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_32_3652.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_38_2631.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_41_3664.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_44_2830.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_47_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130444","1397130446","1397130443","1397130442","1397130445","1397130447"],"photo_ids_order":["1397130442","1397130443","1397130444","1397130445","1397130446","1397130447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/82ec56500b7e502ff3d4c430ea29e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2346946864000820043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_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/30/ab36794ef2475f8c3ee84adafcfab9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7698250961577057904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_44_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/8f46a15801e7e398a0ba45818e46d32a.jpg","text":"TemporaryFile(/tmp/multipartBody6912211721081078740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_32_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/30/cfffbff1edac236e0ec768c6a43703bc.jpg","text":"TemporaryFile(/tmp/multipartBody7876908084194184765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_29_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/30/de4874990755403abbc0b3662a499645.jpg","text":"TemporaryFile(/tmp/multipartBody6332976032510766800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_41_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/30/509559a2b98038cd33932232d050884e.jpg","text":"TemporaryFile(/tmp/multipartBody4053637236132931569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542194148,"filename":"image_25112025_20_56_47_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130444","file1":"1397130443","file0":"1397130442","file4":"1397130446","file5":"1397130447","file3":"1397130445"},"map_files_photo_id_array":[{"photo_id":"1397130447","filename":"file5"},{"photo_id":"1397130444","filename":"file2"},{"photo_id":"1397130446","filename":"file4"},{"photo_id":"1397130443","filename":"file1"},{"photo_id":"1397130442","filename":"file0"},{"photo_id":"1397130445","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130444":["hashtag1","hashtag2"]},{"1397130446":["hashtag1","hashtag2"]},{"1397130443":["hashtag1","hashtag2"]},{"1397130442":["hashtag1","hashtag2"]},{"1397130445":["hashtag1","hashtag2"]},{"1397130447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130444, 1397130446, 1397130443, 1397130442, 1397130445, 1397130447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84167146682739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:36:12.240348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_50_3517.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_53_2515.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_56_3652.jpg', '/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_59_2568.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_05_3601.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_08_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_50_3517.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_53_2515.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_56_3652.jpg
/home/pi/Desktop/images/25112025/20/56/image_25112025_20_56_59_2568.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_05_3601.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_08_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130456","1397130458","1397130449","1397130451","1397130454","1397130448"],"photo_ids_order":["1397130448","1397130449","1397130451","1397130454","1397130456","1397130458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7047c36919ad8e5dffe3dbf5747bc45c.jpg","text":"TemporaryFile(/tmp/multipartBody7674560861896264061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_57_05_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/30/14000d40575cd9404d5ba0ad935df6af.jpg","text":"TemporaryFile(/tmp/multipartBody6215828216035842426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_57_08_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b6638638ebaeee40b1ee3b2a5bf99cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7583510287802131588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_56_53_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/30/6bb4695937b30ff3da8d015de05cee99.jpg","text":"TemporaryFile(/tmp/multipartBody4771967683812142591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_56_56_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/30/174eb96da8549d626f86f5ce1c5b3411.jpg","text":"TemporaryFile(/tmp/multipartBody4882931644378875794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_56_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/30/55657fa77ac88570f67b1d492a7bff4e.jpg","text":"TemporaryFile(/tmp/multipartBody5795975673560202658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542234042,"filename":"image_25112025_20_56_50_3517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130451","file1":"1397130449","file0":"1397130448","file4":"1397130456","file5":"1397130458","file3":"1397130454"},"map_files_photo_id_array":[{"photo_id":"1397130458","filename":"file5"},{"photo_id":"1397130451","filename":"file2"},{"photo_id":"1397130456","filename":"file4"},{"photo_id":"1397130449","filename":"file1"},{"photo_id":"1397130448","filename":"file0"},{"photo_id":"1397130454","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130456":["hashtag1","hashtag2"]},{"1397130458":["hashtag1","hashtag2"]},{"1397130449":["hashtag1","hashtag2"]},{"1397130451":["hashtag1","hashtag2"]},{"1397130454":["hashtag1","hashtag2"]},{"1397130448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130456, 1397130458, 1397130449, 1397130451, 1397130454, 1397130448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48424816131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:37:03.162612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/28/image_30112025_23_28_44_9718.jpg', '/home/pi/Desktop/images/30112025/23/28/image_30112025_23_29_04_9697.jpg', '/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_24_9838.jpg', '/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_34_10720.jpg', '/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_44_9620.jpg', '/home/pi/Desktop/images/30112025/23/30/image_30112025_23_30_24_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/28/image_30112025_23_28_44_9718.jpg
/home/pi/Desktop/images/30112025/23/28/image_30112025_23_29_04_9697.jpg
/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_24_9838.jpg
/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_34_10720.jpg
/home/pi/Desktop/images/30112025/23/29/image_30112025_23_29_44_9620.jpg
/home/pi/Desktop/images/30112025/23/30/image_30112025_23_30_24_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130462","1397130467","1397130461","1397130460","1397130463","1397130465"],"photo_ids_order":["1397130460","1397130461","1397130462","1397130463","1397130465","1397130467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32069f8fd5f7b9ca0b50937f549c7010.jpg","text":"TemporaryFile(/tmp/multipartBody2458801845815901210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_29_24_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/80c68a96e9b8f0d0b39fde447c034bde.jpg","text":"TemporaryFile(/tmp/multipartBody8052036070964718254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_30_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea5f83a27e104076359fcddeabc1ab7d.jpg","text":"TemporaryFile(/tmp/multipartBody7273328458238466176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_29_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1b3729e3e892ae2e1d7bc995c3f6a1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5110666713792836819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_28_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ad34bb61d5bcc3cea48a6e0807d3acf0.jpg","text":"TemporaryFile(/tmp/multipartBody8358264151441839022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_29_34_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/220e09ab9d579b7cecf9e0ca91c4f800.jpg","text":"TemporaryFile(/tmp/multipartBody5146799151639317152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542283946,"filename":"image_30112025_23_29_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130462","file1":"1397130461","file0":"1397130460","file4":"1397130465","file5":"1397130467","file3":"1397130463"},"map_files_photo_id_array":[{"photo_id":"1397130467","filename":"file5"},{"photo_id":"1397130462","filename":"file2"},{"photo_id":"1397130465","filename":"file4"},{"photo_id":"1397130461","filename":"file1"},{"photo_id":"1397130460","filename":"file0"},{"photo_id":"1397130463","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130462":["hashtag1","hashtag2"]},{"1397130467":["hashtag1","hashtag2"]},{"1397130461":["hashtag1","hashtag2"]},{"1397130460":["hashtag1","hashtag2"]},{"1397130463":["hashtag1","hashtag2"]},{"1397130465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130462, 1397130467, 1397130461, 1397130460, 1397130463, 1397130465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.853878021240234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:37:42.468050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/02/image_31102025_14_02_01_2836.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_04_2873.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_07_2772.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_11_3877.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_13_2744.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_16_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_01_2836.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_04_2873.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_07_2772.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_11_3877.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_13_2744.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_16_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":["1397130477","1397130476","1397130470","1397130473","1397130475","1397130474"],"photo_ids_order":["1397130470","1397130473","1397130474","1397130475","1397130476","1397130477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bff08dbffddcecd067a65907e13fc88a.jpg","text":"TemporaryFile(/tmp/multipartBody4143933983057198335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_16_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/30/b85661672813e4dadbdeab26599fe4dc.jpg","text":"TemporaryFile(/tmp/multipartBody8689273266421591792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_13_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/30/858db60a9442eac40198684244974efa.jpg","text":"TemporaryFile(/tmp/multipartBody843211363991105941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_01_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/30/f63c6a37595b96886ce09277aad9e27b.jpg","text":"TemporaryFile(/tmp/multipartBody2672712006013381049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_04_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/30/aa7ca13850e7cca5b9917dc46678603a.jpg","text":"TemporaryFile(/tmp/multipartBody7271793880705855370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_11_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/30/540ee3e76cb0e562de8fffa1c8cb483d.jpg","text":"TemporaryFile(/tmp/multipartBody4205107307718513338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542323329,"filename":"image_31102025_14_02_07_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130474","file1":"1397130473","file0":"1397130470","file4":"1397130476","file5":"1397130477","file3":"1397130475"},"map_files_photo_id_array":[{"photo_id":"1397130477","filename":"file5"},{"photo_id":"1397130474","filename":"file2"},{"photo_id":"1397130476","filename":"file4"},{"photo_id":"1397130473","filename":"file1"},{"photo_id":"1397130470","filename":"file0"},{"photo_id":"1397130475","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130477":["hashtag1","hashtag2"]},{"1397130476":["hashtag1","hashtag2"]},{"1397130470":["hashtag1","hashtag2"]},{"1397130473":["hashtag1","hashtag2"]},{"1397130475":["hashtag1","hashtag2"]},{"1397130474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130477, 1397130476, 1397130470, 1397130473, 1397130475, 1397130474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55732703208923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:38:22.616436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/30/image_30112025_23_30_43_9602.jpg', '/home/pi/Desktop/images/30112025/23/31/image_30112025_23_31_24_10769.jpg', '/home/pi/Desktop/images/30112025/23/31/image_30112025_23_31_44_10754.jpg', '/home/pi/Desktop/images/30112025/23/31/image_30112025_23_32_04_10049.jpg', '/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_14_9620.jpg', '/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_23_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/30/image_30112025_23_30_43_9602.jpg
/home/pi/Desktop/images/30112025/23/31/image_30112025_23_31_24_10769.jpg
/home/pi/Desktop/images/30112025/23/31/image_30112025_23_31_44_10754.jpg
/home/pi/Desktop/images/30112025/23/31/image_30112025_23_32_04_10049.jpg
/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_14_9620.jpg
/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_23_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130482","1397130487","1397130484","1397130486","1397130489","1397130480"],"photo_ids_order":["1397130480","1397130482","1397130484","1397130486","1397130487","1397130489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d96e6e28a505ff126ace0de574a2a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody3897919752593729564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_31_24_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37f4a4d9b80047099a3a46e9393195e7.jpg","text":"TemporaryFile(/tmp/multipartBody6170585404915587913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_32_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/17222ded5e9d3153101fcc573a317af2.jpg","text":"TemporaryFile(/tmp/multipartBody5175322076437562022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_31_44_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/925c7bad0944b90678e8e8bf1926d4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2558752647789538536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_32_04_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5d81c68184727dbfd407b7d9c54be327.jpg","text":"TemporaryFile(/tmp/multipartBody2523615206628765217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_32_23_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b2ceffc384aeb9d6b806702858e4686a.jpg","text":"TemporaryFile(/tmp/multipartBody285679658326085585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542363362,"filename":"image_30112025_23_30_43_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130484","file1":"1397130482","file0":"1397130480","file4":"1397130487","file5":"1397130489","file3":"1397130486"},"map_files_photo_id_array":[{"photo_id":"1397130489","filename":"file5"},{"photo_id":"1397130484","filename":"file2"},{"photo_id":"1397130487","filename":"file4"},{"photo_id":"1397130482","filename":"file1"},{"photo_id":"1397130480","filename":"file0"},{"photo_id":"1397130486","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130482":["hashtag1","hashtag2"]},{"1397130487":["hashtag1","hashtag2"]},{"1397130484":["hashtag1","hashtag2"]},{"1397130486":["hashtag1","hashtag2"]},{"1397130489":["hashtag1","hashtag2"]},{"1397130480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130482, 1397130487, 1397130484, 1397130486, 1397130489, 1397130480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09043216705322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:39:03.540713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_54_9845.jpg', '/home/pi/Desktop/images/30112025/23/32/image_30112025_23_33_04_10736.jpg', '/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_24_9694.jpg', '/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_34_10688.jpg', '/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_54_9744.jpg', '/home/pi/Desktop/images/30112025/23/33/image_30112025_23_34_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/32/image_30112025_23_32_54_9845.jpg
/home/pi/Desktop/images/30112025/23/32/image_30112025_23_33_04_10736.jpg
/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_24_9694.jpg
/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_34_10688.jpg
/home/pi/Desktop/images/30112025/23/33/image_30112025_23_33_54_9744.jpg
/home/pi/Desktop/images/30112025/23/33/image_30112025_23_34_04_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130494","1397130491","1397130496","1397130490","1397130492","1397130495"],"photo_ids_order":["1397130490","1397130491","1397130492","1397130494","1397130495","1397130496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/83b213aeac0fb60eabb6d6088281bd3f.jpg","text":"TemporaryFile(/tmp/multipartBody4741486929165267101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_33_34_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/abfd59a5c7865de84b759f83b983ec79.jpg","text":"TemporaryFile(/tmp/multipartBody5403640949294844548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_33_04_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d8e14774b45fcdacfc4c2c4de694b390.jpg","text":"TemporaryFile(/tmp/multipartBody8147329494388428060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_34_04_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/86f1ea2ad2c0c999a609a81bf9f7afb9.jpg","text":"TemporaryFile(/tmp/multipartBody4164271470381379564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_32_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3317d325b625b43fa9e45eae081e0d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4910651944885989871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_33_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73c9601c9e0d12e2356965d870a30793.jpg","text":"TemporaryFile(/tmp/multipartBody4919265224641479654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542404640,"filename":"image_30112025_23_33_54_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130492","file1":"1397130491","file0":"1397130490","file4":"1397130495","file5":"1397130496","file3":"1397130494"},"map_files_photo_id_array":[{"photo_id":"1397130496","filename":"file5"},{"photo_id":"1397130492","filename":"file2"},{"photo_id":"1397130495","filename":"file4"},{"photo_id":"1397130491","filename":"file1"},{"photo_id":"1397130490","filename":"file0"},{"photo_id":"1397130494","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130494":["hashtag1","hashtag2"]},{"1397130491":["hashtag1","hashtag2"]},{"1397130496":["hashtag1","hashtag2"]},{"1397130490":["hashtag1","hashtag2"]},{"1397130492":["hashtag1","hashtag2"]},{"1397130495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130494, 1397130491, 1397130496, 1397130490, 1397130492, 1397130495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42014122009277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:39:42.880806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/02/image_31102025_14_02_19_2749.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_22_3680.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_25_2765.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_28_2681.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_31_2692.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_34_3795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_19_2749.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_22_3680.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_25_2765.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_28_2681.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_31_2692.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_34_3795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130504","1397130501","1397130500","1397130503","1397130498","1397130502"],"photo_ids_order":["1397130498","1397130500","1397130501","1397130502","1397130503","1397130504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/72d7c872bc2682b5be697e04877204a9.jpg","text":"TemporaryFile(/tmp/multipartBody7404779852657016699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_34_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/30/81977230b237adf402ab434a539cd458.jpg","text":"TemporaryFile(/tmp/multipartBody1225614061712500105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_25_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/30/fd9a85b5c5305c7b832600fc5901128e.jpg","text":"TemporaryFile(/tmp/multipartBody8040286397584058748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_22_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/928e175ebcc072a2a06460ee35bcb9aa.jpg","text":"TemporaryFile(/tmp/multipartBody2830514570925876569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f75c31d3222c3496d325f63d21b91f73.jpg","text":"TemporaryFile(/tmp/multipartBody7910202628236350314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_19_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/09a4fb87c5d763107188193b25d0e7af.jpg","text":"TemporaryFile(/tmp/multipartBody1412937159236102477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542443762,"filename":"image_31102025_14_02_28_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130501","file1":"1397130500","file0":"1397130498","file4":"1397130503","file5":"1397130504","file3":"1397130502"},"map_files_photo_id_array":[{"photo_id":"1397130504","filename":"file5"},{"photo_id":"1397130501","filename":"file2"},{"photo_id":"1397130503","filename":"file4"},{"photo_id":"1397130500","filename":"file1"},{"photo_id":"1397130498","filename":"file0"},{"photo_id":"1397130502","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130504":["hashtag1","hashtag2"]},{"1397130501":["hashtag1","hashtag2"]},{"1397130500":["hashtag1","hashtag2"]},{"1397130503":["hashtag1","hashtag2"]},{"1397130498":["hashtag1","hashtag2"]},{"1397130502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130504, 1397130501, 1397130500, 1397130503, 1397130498, 1397130502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30629563331604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:40:22.012085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/34/image_30112025_23_34_34_9766.jpg', '/home/pi/Desktop/images/30112025/23/34/image_30112025_23_35_04_9773.jpg', '/home/pi/Desktop/images/30112025/23/35/image_30112025_23_35_14_9739.jpg', '/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_14_9267.jpg', '/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_24_10662.jpg', '/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_34_9892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/34/image_30112025_23_34_34_9766.jpg
/home/pi/Desktop/images/30112025/23/34/image_30112025_23_35_04_9773.jpg
/home/pi/Desktop/images/30112025/23/35/image_30112025_23_35_14_9739.jpg
/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_14_9267.jpg
/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_24_10662.jpg
/home/pi/Desktop/images/30112025/23/36/image_30112025_23_36_34_9892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130513","1397130507","1397130512","1397130515","1397130509","1397130511"],"photo_ids_order":["1397130507","1397130509","1397130511","1397130512","1397130513","1397130515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9b393e019ae4d6d34dd5f3972f0421d2.jpg","text":"TemporaryFile(/tmp/multipartBody9076080076085520336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_36_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/906dd0cde880c42ebf7606d2d6af0688.jpg","text":"TemporaryFile(/tmp/multipartBody8208379472499039093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_34_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c9cb48a35137d4e76f348f223311dfde.jpg","text":"TemporaryFile(/tmp/multipartBody8832591837556526571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_36_14_9267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bd70390863f8984a07dce675fb408ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2873542285005147058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_36_34_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7b6836898750991485bb11726f6372cb.jpg","text":"TemporaryFile(/tmp/multipartBody718115264824195160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_35_04_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/3c00ba3d08fcb59b8498bf6a1a04b989.jpg","text":"TemporaryFile(/tmp/multipartBody2448520014239769814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542482756,"filename":"image_30112025_23_35_14_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130511","file1":"1397130509","file0":"1397130507","file4":"1397130513","file5":"1397130515","file3":"1397130512"},"map_files_photo_id_array":[{"photo_id":"1397130515","filename":"file5"},{"photo_id":"1397130511","filename":"file2"},{"photo_id":"1397130513","filename":"file4"},{"photo_id":"1397130509","filename":"file1"},{"photo_id":"1397130507","filename":"file0"},{"photo_id":"1397130512","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130513":["hashtag1","hashtag2"]},{"1397130507":["hashtag1","hashtag2"]},{"1397130512":["hashtag1","hashtag2"]},{"1397130515":["hashtag1","hashtag2"]},{"1397130509":["hashtag1","hashtag2"]},{"1397130511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130513, 1397130507, 1397130512, 1397130515, 1397130509, 1397130511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40197229385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:41:02.961423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/36/image_30112025_23_37_04_9865.jpg', '/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_14_9834.jpg', '/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_34_10627.jpg', '/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_44_9835.jpg', '/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_54_9628.jpg', '/home/pi/Desktop/images/30112025/23/37/image_30112025_23_38_04_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/36/image_30112025_23_37_04_9865.jpg
/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_14_9834.jpg
/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_34_10627.jpg
/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_44_9835.jpg
/home/pi/Desktop/images/30112025/23/37/image_30112025_23_37_54_9628.jpg
/home/pi/Desktop/images/30112025/23/37/image_30112025_23_38_04_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130516","1397130519","1397130521","1397130518","1397130523","1397130517"],"photo_ids_order":["1397130516","1397130517","1397130518","1397130519","1397130521","1397130523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/de1f9250d551edebc3fab8531878139e.jpg","text":"TemporaryFile(/tmp/multipartBody3074783749021660213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_37_04_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b5aca0312a9529d7e60dc8397d1cb076.jpg","text":"TemporaryFile(/tmp/multipartBody5028511908825602893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_37_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/67c5cd2c18fd5cd0fe8a35d74fdcb88e.jpg","text":"TemporaryFile(/tmp/multipartBody8663517537343267638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_37_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0982287e26a274cce589c5a680f6b832.jpg","text":"TemporaryFile(/tmp/multipartBody9021289401655326261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_37_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dac5cbf44e94e0bf6ef1df2e61a71921.jpg","text":"TemporaryFile(/tmp/multipartBody8002075326588302607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_38_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef1ecdeaf9286b6d94bdce32bf07bc02.jpg","text":"TemporaryFile(/tmp/multipartBody796227754681143461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542523768,"filename":"image_30112025_23_37_14_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130518","file1":"1397130517","file0":"1397130516","file4":"1397130521","file5":"1397130523","file3":"1397130519"},"map_files_photo_id_array":[{"photo_id":"1397130523","filename":"file5"},{"photo_id":"1397130518","filename":"file2"},{"photo_id":"1397130521","filename":"file4"},{"photo_id":"1397130517","filename":"file1"},{"photo_id":"1397130516","filename":"file0"},{"photo_id":"1397130519","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130516":["hashtag1","hashtag2"]},{"1397130519":["hashtag1","hashtag2"]},{"1397130521":["hashtag1","hashtag2"]},{"1397130518":["hashtag1","hashtag2"]},{"1397130523":["hashtag1","hashtag2"]},{"1397130517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130516, 1397130519, 1397130521, 1397130518, 1397130523, 1397130517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21046853065491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:41:42.377769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/02/image_31102025_14_02_37_2729.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_40_2683.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_43_3588.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_46_2990.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_49_2620.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_52_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/14/02/image_31102025_14_02_37_2729.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_40_2683.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_43_3588.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_46_2990.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_49_2620.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_52_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130528","1397130531","1397130525","1397130530","1397130527","1397130529"],"photo_ids_order":["1397130525","1397130527","1397130528","1397130529","1397130530","1397130531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7ac937ddf5fb1427818136587cc5d783.jpg","text":"TemporaryFile(/tmp/multipartBody8035068093118367379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_43_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/30/cb6a3cde38a5c2b24cc3160c0a2de013.jpg","text":"TemporaryFile(/tmp/multipartBody832841865588394445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_52_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/30/ecf93dbdfec7f2baa7085cb02219f433.jpg","text":"TemporaryFile(/tmp/multipartBody8965518883374741553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_37_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2e24e2c3e5caa6585e704abb8fe4017d.jpg","text":"TemporaryFile(/tmp/multipartBody8699991871316262472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_49_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4f560ed9c1aa3b0abda6873200a057fe.jpg","text":"TemporaryFile(/tmp/multipartBody1243420968835891983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_40_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/30/1f7de05e0255ac4affb2515df4d31015.jpg","text":"TemporaryFile(/tmp/multipartBody6694587745211188049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542563320,"filename":"image_31102025_14_02_46_2990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130528","file1":"1397130527","file0":"1397130525","file4":"1397130530","file5":"1397130531","file3":"1397130529"},"map_files_photo_id_array":[{"photo_id":"1397130531","filename":"file5"},{"photo_id":"1397130528","filename":"file2"},{"photo_id":"1397130530","filename":"file4"},{"photo_id":"1397130527","filename":"file1"},{"photo_id":"1397130525","filename":"file0"},{"photo_id":"1397130529","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130528":["hashtag1","hashtag2"]},{"1397130531":["hashtag1","hashtag2"]},{"1397130525":["hashtag1","hashtag2"]},{"1397130530":["hashtag1","hashtag2"]},{"1397130527":["hashtag1","hashtag2"]},{"1397130529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130528, 1397130531, 1397130525, 1397130530, 1397130527, 1397130529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66280007362366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:42:22.585214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/38/image_30112025_23_38_24_9608.jpg', '/home/pi/Desktop/images/30112025/23/38/image_30112025_23_38_44_9594.jpg', '/home/pi/Desktop/images/30112025/23/38/image_30112025_23_39_04_10695.jpg', '/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_14_9796.jpg', '/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_24_9614.jpg', '/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_34_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/38/image_30112025_23_38_24_9608.jpg
/home/pi/Desktop/images/30112025/23/38/image_30112025_23_38_44_9594.jpg
/home/pi/Desktop/images/30112025/23/38/image_30112025_23_39_04_10695.jpg
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_14_9796.jpg
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_24_9614.jpg
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_34_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130540","1397130543","1397130533","1397130536","1397130538","1397130546"],"photo_ids_order":["1397130533","1397130536","1397130538","1397130540","1397130543","1397130546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d225d9069bd0e801de8161a0f281698a.jpg","text":"TemporaryFile(/tmp/multipartBody5905529757287598306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_39_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b0ed3b31ea51924d1b21206da0e20fad.jpg","text":"TemporaryFile(/tmp/multipartBody7328197097523775355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_39_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f2719da0ae4302d9169a68b85fe8ab11.jpg","text":"TemporaryFile(/tmp/multipartBody8381483203285596523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_38_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/28aaece02f2b7e7ff3ffa2c8cb74ed52.jpg","text":"TemporaryFile(/tmp/multipartBody3936065885345743729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_38_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/620aefc4ceae97d6a3a3fef672d56769.jpg","text":"TemporaryFile(/tmp/multipartBody6052437018025798337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_39_04_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1d8a651fe04c16fdd6d926c862a45c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4660218821404271816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542603399,"filename":"image_30112025_23_39_34_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130538","file1":"1397130536","file0":"1397130533","file4":"1397130543","file5":"1397130546","file3":"1397130540"},"map_files_photo_id_array":[{"photo_id":"1397130546","filename":"file5"},{"photo_id":"1397130538","filename":"file2"},{"photo_id":"1397130543","filename":"file4"},{"photo_id":"1397130536","filename":"file1"},{"photo_id":"1397130533","filename":"file0"},{"photo_id":"1397130540","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130540":["hashtag1","hashtag2"]},{"1397130543":["hashtag1","hashtag2"]},{"1397130533":["hashtag1","hashtag2"]},{"1397130536":["hashtag1","hashtag2"]},{"1397130538":["hashtag1","hashtag2"]},{"1397130546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130540, 1397130543, 1397130533, 1397130536, 1397130538, 1397130546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08338022232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:43:03.424776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_44_9642.jpg', '/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_54_9613.jpg', '/home/pi/Desktop/images/30112025/23/39/image_30112025_23_40_04_10833.jpg', '/home/pi/Desktop/images/30112025/23/40/image_30112025_23_40_14_9705.jpg', '/home/pi/Desktop/images/30112025/23/41/image_30112025_23_41_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_44_9642.jpg
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_39_54_9613.jpg
/home/pi/Desktop/images/30112025/23/39/image_30112025_23_40_04_10833.jpg
/home/pi/Desktop/images/30112025/23/40/image_30112025_23_40_14_9705.jpg
/home/pi/Desktop/images/30112025/23/41/image_30112025_23_41_54_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130549","1397130551","1397130548","1397130550","1397130553"],"photo_ids_order":["1397130548","1397130549","1397130550","1397130551","1397130553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/be66b13c2718425e806d173ef30a0b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1461219437600021049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542644193,"filename":"image_30112025_23_39_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/60eae3c7dbc02d87fb384762dc70f3a2.jpg","text":"TemporaryFile(/tmp/multipartBody6146112824706399183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542644193,"filename":"image_30112025_23_40_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1bfeea37d61ab74352fda243abff9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4377517796179354338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542644193,"filename":"image_30112025_23_39_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bf12c474300bbdb996179d700cf623e.jpg","text":"TemporaryFile(/tmp/multipartBody1033704274100750196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542644193,"filename":"image_30112025_23_40_04_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ef404046a92099a698c287ae1abde877.jpg","text":"TemporaryFile(/tmp/multipartBody2680769371534004720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542644193,"filename":"image_30112025_23_41_54_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130550","file1":"1397130549","file0":"1397130548","file4":"1397130553","file3":"1397130551"},"map_files_photo_id_array":[{"photo_id":"1397130550","filename":"file2"},{"photo_id":"1397130553","filename":"file4"},{"photo_id":"1397130549","filename":"file1"},{"photo_id":"1397130548","filename":"file0"},{"photo_id":"1397130551","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130549":["hashtag1","hashtag2"]},{"1397130551":["hashtag1","hashtag2"]},{"1397130548":["hashtag1","hashtag2"]},{"1397130550":["hashtag1","hashtag2"]},{"1397130553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130549, 1397130551, 1397130548, 1397130550, 1397130553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.124846935272217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:43:42.727488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/02/image_31102025_14_02_55_3650.jpg', '/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_58_2653.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_01_2644.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_04_3674.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_07_2677.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_10_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_55_3650.jpg
/home/pi/Desktop/images/31102025/14/02/image_31102025_14_02_58_2653.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_01_2644.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_04_3674.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_07_2677.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_10_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130561","1397130558","1397130557","1397130560","1397130562","1397130564"],"photo_ids_order":["1397130557","1397130558","1397130560","1397130561","1397130562","1397130564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/493a81cefd3e76714900bcdd6b953d43.jpg","text":"TemporaryFile(/tmp/multipartBody5801974296764565833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_03_04_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7cbda74586dc3651f694049644fda529.jpg","text":"TemporaryFile(/tmp/multipartBody5216685163784736158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_02_58_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/30/2862681c91cc6b89c38463c2c603db0d.jpg","text":"TemporaryFile(/tmp/multipartBody2053255469848609474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_02_55_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a62f976410f0839fc38040f01cd8619e.jpg","text":"TemporaryFile(/tmp/multipartBody8618521294941434655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_03_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/30/05427deb99f615a592791d5492eaf071.jpg","text":"TemporaryFile(/tmp/multipartBody2485907581278015473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_03_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/30/b03be7198a3e53ef79ecd06211d2eb65.jpg","text":"TemporaryFile(/tmp/multipartBody7733969373790184040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542683612,"filename":"image_31102025_14_03_10_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130560","file1":"1397130558","file0":"1397130557","file4":"1397130562","file5":"1397130564","file3":"1397130561"},"map_files_photo_id_array":[{"photo_id":"1397130564","filename":"file5"},{"photo_id":"1397130560","filename":"file2"},{"photo_id":"1397130562","filename":"file4"},{"photo_id":"1397130558","filename":"file1"},{"photo_id":"1397130557","filename":"file0"},{"photo_id":"1397130561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130561":["hashtag1","hashtag2"]},{"1397130558":["hashtag1","hashtag2"]},{"1397130557":["hashtag1","hashtag2"]},{"1397130560":["hashtag1","hashtag2"]},{"1397130562":["hashtag1","hashtag2"]},{"1397130564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130561, 1397130558, 1397130557, 1397130560, 1397130562, 1397130564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.910269021987915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:44:21.976001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/41/image_30112025_23_42_04_9856.jpg', '/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_14_9631.jpg', '/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_23_9587.jpg', '/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_34_10829.jpg', '/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_44_9878.jpg', '/home/pi/Desktop/images/30112025/23/43/image_30112025_23_44_04_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/41/image_30112025_23_42_04_9856.jpg
/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_14_9631.jpg
/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_23_9587.jpg
/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_34_10829.jpg
/home/pi/Desktop/images/30112025/23/43/image_30112025_23_43_44_9878.jpg
/home/pi/Desktop/images/30112025/23/43/image_30112025_23_44_04_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130576","1397130575","1397130578","1397130568","1397130571","1397130573"],"photo_ids_order":["1397130568","1397130571","1397130573","1397130575","1397130576","1397130578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/69fec513691f70fa79044ed97310e827.jpg","text":"TemporaryFile(/tmp/multipartBody310773476738348240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_43_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/dfa71bc131a8b4c394d8a12d6c58c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody7170843078754104002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_43_34_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/32c378b4e69078db91506e9a04ad776c.jpg","text":"TemporaryFile(/tmp/multipartBody7017440567705861935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_44_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/979db8fb18588d51b46e4ef0d0bf8ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2230217211575208786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_42_04_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/70ab5ef88e1cb10a4ad24bece4ba8966.jpg","text":"TemporaryFile(/tmp/multipartBody8165230668192118334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_43_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64363b9f679f26c6d633f1e1cfbe3109.jpg","text":"TemporaryFile(/tmp/multipartBody6243067651548347207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542722720,"filename":"image_30112025_23_43_23_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130573","file1":"1397130571","file0":"1397130568","file4":"1397130576","file5":"1397130578","file3":"1397130575"},"map_files_photo_id_array":[{"photo_id":"1397130578","filename":"file5"},{"photo_id":"1397130573","filename":"file2"},{"photo_id":"1397130576","filename":"file4"},{"photo_id":"1397130571","filename":"file1"},{"photo_id":"1397130568","filename":"file0"},{"photo_id":"1397130575","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130576":["hashtag1","hashtag2"]},{"1397130575":["hashtag1","hashtag2"]},{"1397130578":["hashtag1","hashtag2"]},{"1397130568":["hashtag1","hashtag2"]},{"1397130571":["hashtag1","hashtag2"]},{"1397130573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130576, 1397130575, 1397130578, 1397130568, 1397130571, 1397130573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49774622917175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:45:02.714834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_24_9907.jpg', '/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_24_9907.jpg
/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_34_9750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130580","1397130579"],"photo_ids_order":["1397130579","1397130580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1564583d75a9a5929b6a2a57c26a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4791893806133872130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542763344,"filename":"image_30112025_23_44_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4a32b46997e9577eaa10c8b093dba079.jpg","text":"TemporaryFile(/tmp/multipartBody8263704669625822356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542763344,"filename":"image_30112025_23_44_24_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397130580","file0":"1397130579"},"map_files_photo_id_array":[{"photo_id":"1397130580","filename":"file1"},{"photo_id":"1397130579","filename":"file0"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130580":["hashtag1","hashtag2"]},{"1397130579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130580, 1397130579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.27207040786743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:45:22.106280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_54_10705.jpg', '/home/pi/Desktop/images/30112025/23/45/image_30112025_23_45_24_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/44/image_30112025_23_44_54_10705.jpg
/home/pi/Desktop/images/30112025/23/45/image_30112025_23_45_24_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130584","1397130583"],"photo_ids_order":["1397130583","1397130584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23b030b346d9a9145d563423c3fa822b.jpg","text":"TemporaryFile(/tmp/multipartBody7294925234176574201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542782661,"filename":"image_30112025_23_45_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/64db89c4193160d5b7db98746268ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody6493019147859135411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542782661,"filename":"image_30112025_23_44_54_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1397130584","file0":"1397130583"},"map_files_photo_id_array":[{"photo_id":"1397130584","filename":"file1"},{"photo_id":"1397130583","filename":"file0"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130584":["hashtag1","hashtag2"]},{"1397130583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130584, 1397130583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.341079235076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:45:42.088473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/03/image_31102025_14_03_13_3628.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_16_2665.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_19_2733.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_22_3598.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_28_2704.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_31_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_13_3628.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_16_2665.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_19_2733.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_22_3598.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_28_2704.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_31_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130590","1397130592","1397130586","1397130589","1397130591","1397130588"],"photo_ids_order":["1397130586","1397130588","1397130589","1397130590","1397130591","1397130592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f0854fb7f3b4e3369ecb4ec49c8ac07d.jpg","text":"TemporaryFile(/tmp/multipartBody6841368137726541699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_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/30/47b15f5da49ad594c91728a6eb2becf0.jpg","text":"TemporaryFile(/tmp/multipartBody2307807268494215308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_31_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/30/0f90369dc39e4014025bdb2aabca20bd.jpg","text":"TemporaryFile(/tmp/multipartBody389341353145634927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_13_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/338f14ca7ffbc2a811c1628ce5c4241c.jpg","text":"TemporaryFile(/tmp/multipartBody1406854666936858285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_19_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/30/8e4c6738aac4dc87a974d9cb0e41a17c.jpg","text":"TemporaryFile(/tmp/multipartBody6569470184687056903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_28_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/bcb2591fe85edf1d13776a61934a7b32.jpg","text":"TemporaryFile(/tmp/multipartBody1463312320622881263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542802971,"filename":"image_31102025_14_03_16_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130589","file1":"1397130588","file0":"1397130586","file4":"1397130591","file5":"1397130592","file3":"1397130590"},"map_files_photo_id_array":[{"photo_id":"1397130592","filename":"file5"},{"photo_id":"1397130589","filename":"file2"},{"photo_id":"1397130591","filename":"file4"},{"photo_id":"1397130588","filename":"file1"},{"photo_id":"1397130586","filename":"file0"},{"photo_id":"1397130590","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130590":["hashtag1","hashtag2"]},{"1397130592":["hashtag1","hashtag2"]},{"1397130586":["hashtag1","hashtag2"]},{"1397130589":["hashtag1","hashtag2"]},{"1397130591":["hashtag1","hashtag2"]},{"1397130588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130590, 1397130592, 1397130586, 1397130589, 1397130591, 1397130588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39186668395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:46:22.280775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/45/image_30112025_23_45_34_10698.jpg', '/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_14_10674.jpg', '/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_24_9711.jpg', '/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_34_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/45/image_30112025_23_45_34_10698.jpg
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_14_10674.jpg
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_24_9711.jpg
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_34_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130599","1397130595","1397130597","1397130601"],"photo_ids_order":["1397130595","1397130597","1397130599","1397130601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ec0c560e0638f2b39dc64055519e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1045755827832812807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542842929,"filename":"image_30112025_23_46_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a1082d2486f19abf45748e3c09cd9004.jpg","text":"TemporaryFile(/tmp/multipartBody9221527174370316454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542842929,"filename":"image_30112025_23_45_34_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/0461bb82163261d9d6d5fb21c5875cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1900195548844174760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542842929,"filename":"image_30112025_23_46_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/31ed73fe173f553604a283fb80aceb83.jpg","text":"TemporaryFile(/tmp/multipartBody8809182217913614753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542842929,"filename":"image_30112025_23_46_34_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130599","file1":"1397130597","file0":"1397130595","file3":"1397130601"},"map_files_photo_id_array":[{"photo_id":"1397130599","filename":"file2"},{"photo_id":"1397130597","filename":"file1"},{"photo_id":"1397130595","filename":"file0"},{"photo_id":"1397130601","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130599":["hashtag1","hashtag2"]},{"1397130595":["hashtag1","hashtag2"]},{"1397130597":["hashtag1","hashtag2"]},{"1397130601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130599, 1397130595, 1397130597, 1397130601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.18009901046753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:47:03.366669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_11_3543.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_14_2656.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_17_2780.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_23_2644.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_26_2682.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_29_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_11_3543.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_14_2656.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_17_2780.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_23_2644.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_26_2682.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_29_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130612","1397130606","1397130608","1397130605","1397130610","1397130604"],"photo_ids_order":["1397130604","1397130605","1397130606","1397130608","1397130610","1397130612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5331c70491b169127ac23529172dc913.jpg","text":"TemporaryFile(/tmp/multipartBody8776854263152614040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_29_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/30/8a65d0a8249921d2f9f53c7ee2cead19.jpg","text":"TemporaryFile(/tmp/multipartBody2814082742298720621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_17_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/30/91be86a8732fe0b0466d19584af35de3.jpg","text":"TemporaryFile(/tmp/multipartBody7839160429385220396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_23_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/071671c5dd5f286b4dabbda485a18fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1604344600962093754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_14_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/30/4a8a6b20ff6e0182a570772c791d1916.jpg","text":"TemporaryFile(/tmp/multipartBody7802735636162407848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_26_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/4bf2c0cb936e54b736ea133881f35439.jpg","text":"TemporaryFile(/tmp/multipartBody2744374095958055884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542884679,"filename":"image_25112025_20_57_11_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130606","file1":"1397130605","file0":"1397130604","file4":"1397130610","file5":"1397130612","file3":"1397130608"},"map_files_photo_id_array":[{"photo_id":"1397130612","filename":"file5"},{"photo_id":"1397130606","filename":"file2"},{"photo_id":"1397130610","filename":"file4"},{"photo_id":"1397130605","filename":"file1"},{"photo_id":"1397130604","filename":"file0"},{"photo_id":"1397130608","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130612":["hashtag1","hashtag2"]},{"1397130606":["hashtag1","hashtag2"]},{"1397130608":["hashtag1","hashtag2"]},{"1397130605":["hashtag1","hashtag2"]},{"1397130610":["hashtag1","hashtag2"]},{"1397130604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130612, 1397130606, 1397130608, 1397130605, 1397130610, 1397130604)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.286309003829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:48:02.372813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:48:11.852898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_34_2628.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_38_3537.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_41_2682.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_44_3485.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_47_2741.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_53_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_34_2628.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_38_3537.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_41_2682.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_44_3485.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_47_2741.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_53_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130621","1397130618","1397130626","1397130623","1397130616","1397130625"],"photo_ids_order":["1397130616","1397130618","1397130621","1397130623","1397130625","1397130626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ca70251bc7336c7095e19fbf3a61e67e.jpg","text":"TemporaryFile(/tmp/multipartBody9093170728916811328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_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/30/4288433dddd2780abafccdc186c9ffb1.jpg","text":"TemporaryFile(/tmp/multipartBody968926906623063213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_38_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/30/a770d0ff7189593dec697d05437b0c53.jpg","text":"TemporaryFile(/tmp/multipartBody6473913184238981820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_53_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5ea394bc09ac83a0190e05a01a2d7b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3736650115814626102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_44_3485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/23fc70a55192406c9cfcd6b6e162ae91.jpg","text":"TemporaryFile(/tmp/multipartBody6583860995345192903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_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/30/febdf61e32811e8da17603b33f7433a9.jpg","text":"TemporaryFile(/tmp/multipartBody2146377821488994112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764542957335,"filename":"image_25112025_20_57_47_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130621","file1":"1397130618","file0":"1397130616","file4":"1397130625","file5":"1397130626","file3":"1397130623"},"map_files_photo_id_array":[{"photo_id":"1397130626","filename":"file5"},{"photo_id":"1397130621","filename":"file2"},{"photo_id":"1397130625","filename":"file4"},{"photo_id":"1397130618","filename":"file1"},{"photo_id":"1397130616","filename":"file0"},{"photo_id":"1397130623","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130621":["hashtag1","hashtag2"]},{"1397130618":["hashtag1","hashtag2"]},{"1397130626":["hashtag1","hashtag2"]},{"1397130623":["hashtag1","hashtag2"]},{"1397130616":["hashtag1","hashtag2"]},{"1397130625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130621, 1397130618, 1397130626, 1397130623, 1397130616, 1397130625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.80557417869568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:49:04.592992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:49:13.786501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_56_2646.jpg', '/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_59_2676.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_02_3533.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_06_3878.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_12_5607.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_13_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_56_2646.jpg
/home/pi/Desktop/images/25112025/20/57/image_25112025_20_57_59_2676.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_02_3533.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_06_3878.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_12_5607.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_13_1779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130633","1397130632","1397130635","1397130629","1397130634","1397130631"],"photo_ids_order":["1397130629","1397130631","1397130632","1397130633","1397130634","1397130635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/7d380e1d19521c1969b577961db238b3.jpg","text":"TemporaryFile(/tmp/multipartBody6689022857696746098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_58_06_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b216f9aa5ef37a1716cc4a471165879c.jpg","text":"TemporaryFile(/tmp/multipartBody7504254153959404704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_58_02_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3696580acb70b25306ca88bf06d9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2245533484876036799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_58_13_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/30/082a5b8cda28d0c44e3d5c7cca8fb274.jpg","text":"TemporaryFile(/tmp/multipartBody1244078438717537910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_57_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/30/1e51bf8553dc38e08bb0eabd3076fb82.jpg","text":"TemporaryFile(/tmp/multipartBody1602687717500611340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_58_12_5607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/833d5f1f8b1781bf746d78e270f1aaff.jpg","text":"TemporaryFile(/tmp/multipartBody3871062701804551940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543019475,"filename":"image_25112025_20_57_59_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130632","file1":"1397130631","file0":"1397130629","file4":"1397130634","file5":"1397130635","file3":"1397130633"},"map_files_photo_id_array":[{"photo_id":"1397130635","filename":"file5"},{"photo_id":"1397130632","filename":"file2"},{"photo_id":"1397130634","filename":"file4"},{"photo_id":"1397130631","filename":"file1"},{"photo_id":"1397130629","filename":"file0"},{"photo_id":"1397130633","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130633":["hashtag1","hashtag2"]},{"1397130632":["hashtag1","hashtag2"]},{"1397130635":["hashtag1","hashtag2"]},{"1397130629":["hashtag1","hashtag2"]},{"1397130634":["hashtag1","hashtag2"]},{"1397130631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130633, 1397130632, 1397130635, 1397130629, 1397130634, 1397130631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83765244483948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:50:04.355083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_54_9629.jpg', '/home/pi/Desktop/images/30112025/23/46/image_30112025_23_47_04_9649.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_14_10683.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_54_9605.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_48_04_9768.jpg', '/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_24_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_54_9629.jpg
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_47_04_9649.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_14_10683.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_54_9605.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_48_04_9768.jpg
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_24_9654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1704041957855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:50:13.834220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_15_1513.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_16_1621.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_20_3513.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_23_2525.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_31_2643.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_35_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_15_1513.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_16_1621.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_20_3513.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_23_2525.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_31_2643.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_35_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130653","1397130649","1397130640","1397130643","1397130646","1397130651"],"photo_ids_order":["1397130640","1397130643","1397130646","1397130649","1397130651","1397130653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/73e7e528f5a86c6525c869170ec306c3.jpg","text":"TemporaryFile(/tmp/multipartBody4766160910363795540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_35_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/30/571fb219825f772b02fb01b8a427ccee.jpg","text":"TemporaryFile(/tmp/multipartBody5950224198188561217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_23_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/30/48e6e21d7594ee58cf79257ebd376116.jpg","text":"TemporaryFile(/tmp/multipartBody5047688859049193223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_15_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9fb3310bcb6078fec9ca82099ffe91c7.jpg","text":"TemporaryFile(/tmp/multipartBody9148171401422097751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_16_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/30/3faa16426225a99c4eae667103564002.jpg","text":"TemporaryFile(/tmp/multipartBody3630242839973152167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_20_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/30/aed9243b44816465932cbcd7cde097ae.jpg","text":"TemporaryFile(/tmp/multipartBody3360743282925900921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543075432,"filename":"image_25112025_20_58_31_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130646","file1":"1397130643","file0":"1397130640","file4":"1397130651","file5":"1397130653","file3":"1397130649"},"map_files_photo_id_array":[{"photo_id":"1397130653","filename":"file5"},{"photo_id":"1397130646","filename":"file2"},{"photo_id":"1397130651","filename":"file4"},{"photo_id":"1397130643","filename":"file1"},{"photo_id":"1397130640","filename":"file0"},{"photo_id":"1397130649","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130653":["hashtag1","hashtag2"]},{"1397130649":["hashtag1","hashtag2"]},{"1397130640":["hashtag1","hashtag2"]},{"1397130643":["hashtag1","hashtag2"]},{"1397130646":["hashtag1","hashtag2"]},{"1397130651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130653, 1397130649, 1397130640, 1397130643, 1397130646, 1397130651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64805221557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:51:03.990941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_54_9629.jpg', '/home/pi/Desktop/images/30112025/23/46/image_30112025_23_47_04_9649.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_14_10683.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_54_9605.jpg', '/home/pi/Desktop/images/30112025/23/47/image_30112025_23_48_04_9768.jpg', '/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_24_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_46_54_9629.jpg
/home/pi/Desktop/images/30112025/23/46/image_30112025_23_47_04_9649.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_14_10683.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_47_54_9605.jpg
/home/pi/Desktop/images/30112025/23/47/image_30112025_23_48_04_9768.jpg
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_24_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130657","1397130656","1397130659","1397130661","1397130655","1397130663"],"photo_ids_order":["1397130655","1397130656","1397130657","1397130659","1397130661","1397130663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a315de700f3e435c043e746b71ecea17.jpg","text":"TemporaryFile(/tmp/multipartBody1348879580454312091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_47_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/c7eec1b18aca49799577ccef5ce4e1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1178211350937043905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_47_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5578bce201b4005bc37aec3c965b5106.jpg","text":"TemporaryFile(/tmp/multipartBody4264238504560437307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_47_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ea622b59695eaf8c2327e55a9c2fb839.jpg","text":"TemporaryFile(/tmp/multipartBody6100627800670442283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_48_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9306d1182315d00c916dc1766444c621.jpg","text":"TemporaryFile(/tmp/multipartBody3982563379186076135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_46_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/b7181bd42241d853a247d0d31ca3b231.jpg","text":"TemporaryFile(/tmp/multipartBody1792098071223336496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543126581,"filename":"image_30112025_23_48_24_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130657","file1":"1397130656","file0":"1397130655","file4":"1397130661","file5":"1397130663","file3":"1397130659"},"map_files_photo_id_array":[{"photo_id":"1397130663","filename":"file5"},{"photo_id":"1397130657","filename":"file2"},{"photo_id":"1397130661","filename":"file4"},{"photo_id":"1397130656","filename":"file1"},{"photo_id":"1397130655","filename":"file0"},{"photo_id":"1397130659","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130657":["hashtag1","hashtag2"]},{"1397130656":["hashtag1","hashtag2"]},{"1397130659":["hashtag1","hashtag2"]},{"1397130661":["hashtag1","hashtag2"]},{"1397130655":["hashtag1","hashtag2"]},{"1397130663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130657, 1397130656, 1397130659, 1397130661, 1397130655, 1397130663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53674030303955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:51:43.331075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/03/image_31102025_14_03_43_3786.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_46_2736.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_49_2720.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_52_3637.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_55_2575.jpg', '/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_58_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_43_3786.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_46_2736.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_49_2720.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_52_3637.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_55_2575.jpg
/home/pi/Desktop/images/31102025/14/03/image_31102025_14_03_58_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130674","1397130671","1397130668","1397130670","1397130673","1397130672"],"photo_ids_order":["1397130668","1397130670","1397130671","1397130672","1397130673","1397130674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e62717c430592bacc98741ccb518f66.jpg","text":"TemporaryFile(/tmp/multipartBody2117588392917318036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_58_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2ba89adac43d83d96941cb8a46b425e8.jpg","text":"TemporaryFile(/tmp/multipartBody6806601627261266045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_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/30/6021bfb7890da5a09820858aebb49fae.jpg","text":"TemporaryFile(/tmp/multipartBody7135136522004281996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_43_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/30/0b7b18745d9058740d7a7d90b1969c39.jpg","text":"TemporaryFile(/tmp/multipartBody8590403755445190262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_46_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/30/6f259c83d0fbef4f9be19eb4181682fd.jpg","text":"TemporaryFile(/tmp/multipartBody295468314673811920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_55_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/30/9b063a960be6b21a707f3c7eb97af351.jpg","text":"TemporaryFile(/tmp/multipartBody1271701883033969329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543164183,"filename":"image_31102025_14_03_52_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130671","file1":"1397130670","file0":"1397130668","file4":"1397130673","file5":"1397130674","file3":"1397130672"},"map_files_photo_id_array":[{"photo_id":"1397130674","filename":"file5"},{"photo_id":"1397130671","filename":"file2"},{"photo_id":"1397130673","filename":"file4"},{"photo_id":"1397130670","filename":"file1"},{"photo_id":"1397130668","filename":"file0"},{"photo_id":"1397130672","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130674":["hashtag1","hashtag2"]},{"1397130671":["hashtag1","hashtag2"]},{"1397130668":["hashtag1","hashtag2"]},{"1397130670":["hashtag1","hashtag2"]},{"1397130673":["hashtag1","hashtag2"]},{"1397130672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130674, 1397130671, 1397130668, 1397130670, 1397130673, 1397130672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.203550577163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:52:22.611928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_34_9658.jpg', '/home/pi/Desktop/images/30112025/23/48/image_30112025_23_49_04_9711.jpg', '/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_14_10209.jpg', '/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_54_10716.jpg', '/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_14_9804.jpg', '/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_24_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_34_9658.jpg
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_49_04_9711.jpg
/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_14_10209.jpg
/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_54_10716.jpg
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_14_9804.jpg
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_24_9635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6583812236785889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:52:32.626405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_38_2683.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_44_3449.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_46_2705.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_50_3608.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_53_2559.jpg', '/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_55_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_38_2683.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_44_3449.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_46_2705.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_50_3608.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_53_2559.jpg
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_55_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130689","1397130691","1397130685","1397130688","1397130682","1397130690"],"photo_ids_order":["1397130682","1397130685","1397130688","1397130689","1397130690","1397130691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/721ccf08e2170298da42be98a6201468.jpg","text":"TemporaryFile(/tmp/multipartBody7350812011158561729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_50_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/30/3caaeabbf9fe964b0dbe678c74f12599.jpg","text":"TemporaryFile(/tmp/multipartBody5436319408670678080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_55_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ccc46d8320e2845cc213de26296f20e4.jpg","text":"TemporaryFile(/tmp/multipartBody405589265657559594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_44_3449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/37b4a260629da097b63324fdd151db61.jpg","text":"TemporaryFile(/tmp/multipartBody8970594361403753156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_46_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/30/10c4e233c5f831378b564d39a1ce1cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2487160733805851432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_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/30/2b3afbde9d4f4e6a17b8629f3983693a.jpg","text":"TemporaryFile(/tmp/multipartBody2960745346644021997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543214606,"filename":"image_25112025_20_58_53_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130688","file1":"1397130685","file0":"1397130682","file4":"1397130690","file5":"1397130691","file3":"1397130689"},"map_files_photo_id_array":[{"photo_id":"1397130691","filename":"file5"},{"photo_id":"1397130688","filename":"file2"},{"photo_id":"1397130690","filename":"file4"},{"photo_id":"1397130685","filename":"file1"},{"photo_id":"1397130682","filename":"file0"},{"photo_id":"1397130689","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130689":["hashtag1","hashtag2"]},{"1397130691":["hashtag1","hashtag2"]},{"1397130685":["hashtag1","hashtag2"]},{"1397130688":["hashtag1","hashtag2"]},{"1397130682":["hashtag1","hashtag2"]},{"1397130690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130689, 1397130691, 1397130685, 1397130688, 1397130682, 1397130690)","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 = 1397130688 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_46_2705.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.008941888809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:53:32.718881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_59_3655.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_02_2764.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_04_2651.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_07_2764.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_11_3683.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_14_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/58/image_25112025_20_58_59_3655.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_02_2764.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_04_2651.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_07_2764.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_11_3683.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_14_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130692","1397130695","1397130698","1397130697","1397130694","1397130693"],"photo_ids_order":["1397130692","1397130693","1397130694","1397130695","1397130697","1397130698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/2359e780f06f930c5fe1a6a85d3246ed.jpg","text":"TemporaryFile(/tmp/multipartBody7946930185090146536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_58_59_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/d1b9cff9f5d37b26fee8fdbf36b81ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1188401136952056102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_59_07_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/30/ecd94a87bbe9e6ca629afa218035ea59.jpg","text":"TemporaryFile(/tmp/multipartBody6620627684077778023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_59_14_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1e8a22bc1c563aadd2bc5e877f7de086.jpg","text":"TemporaryFile(/tmp/multipartBody1895016001182183098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_59_11_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/30/092fbe5d610521fc495172eb88a91204.jpg","text":"TemporaryFile(/tmp/multipartBody66505430397210024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_59_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/30/1a0782fc487c5d829747d049eae9d381.jpg","text":"TemporaryFile(/tmp/multipartBody7376177756611541430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543274520,"filename":"image_25112025_20_59_02_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130694","file1":"1397130693","file0":"1397130692","file4":"1397130697","file5":"1397130698","file3":"1397130695"},"map_files_photo_id_array":[{"photo_id":"1397130698","filename":"file5"},{"photo_id":"1397130694","filename":"file2"},{"photo_id":"1397130697","filename":"file4"},{"photo_id":"1397130693","filename":"file1"},{"photo_id":"1397130692","filename":"file0"},{"photo_id":"1397130695","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130692":["hashtag1","hashtag2"]},{"1397130695":["hashtag1","hashtag2"]},{"1397130698":["hashtag1","hashtag2"]},{"1397130697":["hashtag1","hashtag2"]},{"1397130694":["hashtag1","hashtag2"]},{"1397130693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130692, 1397130695, 1397130698, 1397130697, 1397130694, 1397130693)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.79645228385925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:54:22.150969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_34_9658.jpg', '/home/pi/Desktop/images/30112025/23/48/image_30112025_23_49_04_9711.jpg', '/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_14_10209.jpg', '/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_54_10716.jpg', '/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_14_9804.jpg', '/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_24_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_48_34_9658.jpg
/home/pi/Desktop/images/30112025/23/48/image_30112025_23_49_04_9711.jpg
/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_14_10209.jpg
/home/pi/Desktop/images/30112025/23/49/image_30112025_23_49_54_10716.jpg
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_14_9804.jpg
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_24_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130705","1397130710","1397130707","1397130703","1397130712","1397130709"],"photo_ids_order":["1397130703","1397130705","1397130707","1397130709","1397130710","1397130712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/df929ea281f38cbae65260d36b6c7043.jpg","text":"TemporaryFile(/tmp/multipartBody3954772024765900086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_49_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5c66c9a04cef1780b9f66d648d88a951.jpg","text":"TemporaryFile(/tmp/multipartBody2066701526543058059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_50_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/a15e22cecd2fba837a7551ba13865bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4525708998231377423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_49_14_10209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9009f4942b2d52c8e2b5e9ddfc07cc11.jpg","text":"TemporaryFile(/tmp/multipartBody6744703311361539885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_48_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/f3116fa359b0c5184e7354eac7ed6ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8879165596040938621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_50_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/670e79f79be82b45765b10541551e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody9079920628585616180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543322859,"filename":"image_30112025_23_49_54_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130707","file1":"1397130705","file0":"1397130703","file4":"1397130710","file5":"1397130712","file3":"1397130709"},"map_files_photo_id_array":[{"photo_id":"1397130712","filename":"file5"},{"photo_id":"1397130707","filename":"file2"},{"photo_id":"1397130710","filename":"file4"},{"photo_id":"1397130705","filename":"file1"},{"photo_id":"1397130703","filename":"file0"},{"photo_id":"1397130709","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130705":["hashtag1","hashtag2"]},{"1397130710":["hashtag1","hashtag2"]},{"1397130707":["hashtag1","hashtag2"]},{"1397130703":["hashtag1","hashtag2"]},{"1397130712":["hashtag1","hashtag2"]},{"1397130709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130705, 1397130710, 1397130707, 1397130703, 1397130712, 1397130709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84270143508911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-30 23:55:02.785385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_44_9661.jpg', '/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_54_10678.jpg', '/home/pi/Desktop/images/30112025/23/51/image_30112025_23_51_44_9746.jpg', '/home/pi/Desktop/images/30112025/23/51/image_30112025_23_52_04_10467.jpg', '/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_23_9750.jpg', '/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_34_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_44_9661.jpg
/home/pi/Desktop/images/30112025/23/50/image_30112025_23_50_54_10678.jpg
/home/pi/Desktop/images/30112025/23/51/image_30112025_23_51_44_9746.jpg
/home/pi/Desktop/images/30112025/23/51/image_30112025_23_52_04_10467.jpg
/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_23_9750.jpg
/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_34_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130714","1397130713","1397130716","1397130721","1397130715","1397130718"],"photo_ids_order":["1397130713","1397130714","1397130715","1397130716","1397130718","1397130721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/13b7c1412c62c46b0d78e9d48efdb5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5629884655009450843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_50_54_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/5bb2595215695c621b0ccb5de105a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody1866598584531410566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_50_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/43abae142cf7c23c0ebc160252e4a104.jpg","text":"TemporaryFile(/tmp/multipartBody8654723732586133279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_52_04_10467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/129717a32b1bf16595cbb3e5408934d1.jpg","text":"TemporaryFile(/tmp/multipartBody2406663406638251754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_52_34_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/91e87fa2cbd2423c5f452012ecd85e09.jpg","text":"TemporaryFile(/tmp/multipartBody5986296184862252005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_51_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e63720a4fa079fca9603bcc87cf3cbeb.jpg","text":"TemporaryFile(/tmp/multipartBody6505438999183412879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543363541,"filename":"image_30112025_23_52_23_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130715","file1":"1397130714","file0":"1397130713","file4":"1397130718","file5":"1397130721","file3":"1397130716"},"map_files_photo_id_array":[{"photo_id":"1397130721","filename":"file5"},{"photo_id":"1397130715","filename":"file2"},{"photo_id":"1397130718","filename":"file4"},{"photo_id":"1397130714","filename":"file1"},{"photo_id":"1397130713","filename":"file0"},{"photo_id":"1397130716","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130714":["hashtag1","hashtag2"]},{"1397130713":["hashtag1","hashtag2"]},{"1397130716":["hashtag1","hashtag2"]},{"1397130721":["hashtag1","hashtag2"]},{"1397130715":["hashtag1","hashtag2"]},{"1397130718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130714, 1397130713, 1397130716, 1397130721, 1397130715, 1397130718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8627724647522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-30 23:55:42.380188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_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/14/03/image_31102025_14_04_01_3680.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_04_2898.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_07_2735.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_10_2752.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_13_3736.jpg', '/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_16_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/14/03/image_31102025_14_04_01_3680.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_04_2898.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_07_2735.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_10_2752.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_13_3736.jpg
/home/pi/Desktop/images/31102025/14/04/image_31102025_14_04_16_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130732","1397130729","1397130731","1397130725","1397130728","1397130730"],"photo_ids_order":["1397130725","1397130728","1397130729","1397130730","1397130731","1397130732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/e803efbecf355fce4b28144eedcabd71.jpg","text":"TemporaryFile(/tmp/multipartBody3366848513959241236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_16_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/30/f9e892db1ce9cbf556109380e91c742f.jpg","text":"TemporaryFile(/tmp/multipartBody6618071081706638570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_07_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/30/35aae88e99a1434888609b16eab19675.jpg","text":"TemporaryFile(/tmp/multipartBody7172862973697572975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_13_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/30/070d5b8231b87705c6a3c336cc8c0057.jpg","text":"TemporaryFile(/tmp/multipartBody1995433675534774730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_01_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/30/689eda28c26fb3873cdf4f9fdf36794b.jpg","text":"TemporaryFile(/tmp/multipartBody1819329051065438675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_04_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/30/12d96ffb34d2fc64cb4ebac9325c56ae.jpg","text":"TemporaryFile(/tmp/multipartBody7657900094871334283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543403277,"filename":"image_31102025_14_04_10_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130729","file1":"1397130728","file0":"1397130725","file4":"1397130731","file5":"1397130732","file3":"1397130730"},"map_files_photo_id_array":[{"photo_id":"1397130732","filename":"file5"},{"photo_id":"1397130729","filename":"file2"},{"photo_id":"1397130731","filename":"file4"},{"photo_id":"1397130728","filename":"file1"},{"photo_id":"1397130725","filename":"file0"},{"photo_id":"1397130730","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1397130732":["hashtag1","hashtag2"]},{"1397130729":["hashtag1","hashtag2"]},{"1397130731":["hashtag1","hashtag2"]},{"1397130725":["hashtag1","hashtag2"]},{"1397130728":["hashtag1","hashtag2"]},{"1397130730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1397130732, 1397130729, 1397130731, 1397130725, 1397130728, 1397130730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.120343923568726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-30 23:56:22.622282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
  port_id : 29028864
  datou_current_id : 4142295
in upload_from_sqlite, uploading in 29028864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_44_9799.jpg', '/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_54_9611.jpg', '/home/pi/Desktop/images/30112025/23/52/image_30112025_23_53_04_9964.jpg', '/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_34_9746.jpg', '/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_44_10643.jpg', '/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4142295&datou=0
/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_44_9799.jpg
/home/pi/Desktop/images/30112025/23/52/image_30112025_23_52_54_9611.jpg
/home/pi/Desktop/images/30112025/23/52/image_30112025_23_53_04_9964.jpg
/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_34_9746.jpg
/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_44_10643.jpg
/home/pi/Desktop/images/30112025/23/53/image_30112025_23_53_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130741","1397130735","1397130743","1397130737","1397130740","1397130739"],"photo_ids_order":["1397130735","1397130737","1397130739","1397130740","1397130741","1397130743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/33a7bfc4d56a1e75bbbdf70d116b2f68.jpg","text":"TemporaryFile(/tmp/multipartBody6144089875373846231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_53_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/9e95529ee067d8cb444db42a3be629eb.jpg","text":"TemporaryFile(/tmp/multipartBody5985259273774333943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_52_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ac80cda9b65c07b937ee919686cbdc5.jpg","text":"TemporaryFile(/tmp/multipartBody6320017846856932435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_53_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/6ccb1af0c1cb2a8c51f0a91546729607.jpg","text":"TemporaryFile(/tmp/multipartBody1116097842042742764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_52_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/ed47329eaf7677ac47ce3c1b796e0df2.jpg","text":"TemporaryFile(/tmp/multipartBody1653695963002389995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_53_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/698fc4f3a78746bcc73287b597383076.jpg","text":"TemporaryFile(/tmp/multipartBody4075309287144506988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543443368,"filename":"image_30112025_23_53_04_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130739","file1":"1397130737","file0":"1397130735","file4":"1397130741","file5":"1397130743","file3":"1397130740"},"map_files_photo_id_array":[{"photo_id":"1397130743","filename":"file5"},{"photo_id":"1397130739","filename":"file2"},{"photo_id":"1397130741","filename":"file4"},{"photo_id":"1397130737","filename":"file1"},{"photo_id":"1397130735","filename":"file0"},{"photo_id":"1397130740","filename":"file3"}],"portfolio_id":29028864,"hashtag_by_photo_ids":[{"1397130741":["hashtag1","hashtag2"]},{"1397130735":["hashtag1","hashtag2"]},{"1397130743":["hashtag1","hashtag2"]},{"1397130737":["hashtag1","hashtag2"]},{"1397130740":["hashtag1","hashtag2"]},{"1397130739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29028864 used, photo_id : ArrayBuffer(1397130741, 1397130735, 1397130743, 1397130737, 1397130740, 1397130739)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.0149199962616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-30 23:57:13.445373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251130 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_17_3513.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_32_2965.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_33_1550.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_35_1690.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_38_2687.jpg', '/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_40_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_17_3513.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_32_2965.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_33_1550.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_35_1690.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_38_2687.jpg
/home/pi/Desktop/images/25112025/20/59/image_25112025_20_59_40_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1397130753","1397130755","1397130746","1397130748","1397130750","1397130744"],"photo_ids_order":["1397130744","1397130746","1397130748","1397130750","1397130753","1397130755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/88c252460814a1fe8be2ce1a0265419a.jpg","text":"TemporaryFile(/tmp/multipartBody6539044893400272593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_38_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/30/1ff2e33d47a7c34a466709b71dc42a54.jpg","text":"TemporaryFile(/tmp/multipartBody1065349917358173349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_40_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/30/d06f5ea80d3faa2257af5979d4fb01ec.jpg","text":"TemporaryFile(/tmp/multipartBody7102998873287560138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_32_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/30/758bf98e3c7f5161f8995ace6d2e8f07.jpg","text":"TemporaryFile(/tmp/multipartBody3697412622872100135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_33_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/30/8a968aaac908b4d87c42c91e81c394bc.jpg","text":"TemporaryFile(/tmp/multipartBody32823070121675399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_35_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/30/beeb0896d7ebe24730c4fc71e892d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody4745047450949369401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764543495371,"filename":"image_25112025_20_59_17_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1397130748","file1":"1397130746","file0":"1397130744","file4":"1397130753","file5":"1397130755","file3":"1397130750"},"map_files_photo_id_array":[{"photo_id":"1397130755","filename":"file5"},{"photo_id":"1397130748","filename":"file2"},{"photo_id":"1397130753","filename":"file4"},{"photo_id":"1397130746","filename":"file1"},{"photo_id":"1397130744","filename":"file0"},{"photo_id":"1397130750","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1397130753":["hashtag1","hashtag2"]},{"1397130755":["hashtag1","hashtag2"]},{"1397130746":["hashtag1","hashtag2"]},{"1397130748":["hashtag1","hashtag2"]},{"1397130750":["hashtag1","hashtag2"]},{"1397130744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1397130753, 1397130755, 1397130746, 1397130748, 1397130750, 1397130744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.69778323173523 secondes ---
